/* Casa del Pescatore – warm crème, olijfgroen, tomaatrood */
:root {
  --creme: #FAF4E8; --kaart: #FFFDF8; --rand: #E4D8C2; --rand-donker: #A8946F; --zand: #F1E7D2; --zand-licht: #F6EEDD;
  --olijf: #55622A; --olijf-donker: #3D471D; --olijf-licht: #E9ECD6; --olijf-rand: #C9CFA4;
  --rood: #BF3A22; --rood-donker: #7A2414; --rood-licht: #FBEAE4; --rood-rand: #E8B9AC;
  --tekst: #2B2118; --zacht: #5A4C3D;
  --kop: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --lees: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--tekst); font-family: var(--lees); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; }
h1, h2, h3, .h3, .logo, legend.h3 { font-family: var(--kop); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--olijf); }
a:hover { color: var(--olijf-donker); }
:focus-visible { outline: 3px solid var(--tekst); outline-offset: 2px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tekst); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.zacht { color: var(--zacht); }
.klein { font-size: .88rem; }
.sterk, .sterk-label { font-weight: 700; }
.midden { text-align: center; }
.bovenkop { display: block; font-family: var(--lees); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olijf); margin: 0 0 .3em; }
.blok-tekst { display: block; }
.leeg { background: var(--zand-licht); border: 1px dashed var(--rand-donker); border-radius: 14px; padding: 18px; color: var(--zacht); }

/* opmaak */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap-middel { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.wrap-smal { max-width: 560px; margin: 0 auto; padding: 0 18px; }
.blok { padding-top: 40px; padding-bottom: 40px; }
.stapel { display: flex; flex-direction: column; gap: 18px; }
.stapel > * { margin-top: 0; margin-bottom: 0; }
.rij { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rij.tussen { justify-content: space-between; }
.knoppen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.twee { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.rooster { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.blok-kop { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.blok-kop h1, .blok-kop h2 { margin-bottom: .15em; }
.blok-kop p { margin: 0; }
.kolommen { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; margin-bottom: 22px; }
.kol-breed { flex: 3 1 440px; min-width: 0; }
.kol-smal { flex: 2 1 300px; min-width: 0; }
.kol-half { flex: 1 1 320px; min-width: 0; }

/* kop en voet */
.site-kop { border-bottom: 1px solid var(--rand); background: var(--creme); }
.kop-rij { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-size: 1.55rem; color: var(--tekst); text-decoration: none; margin: 0; }
.hoofdnav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hoofdnav a { color: var(--tekst); font-weight: 600; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.hoofdnav a:hover, .hoofdnav a.actief { border-bottom-color: var(--olijf); }
.site-voet { border-top: 1px solid var(--rand); padding: 22px 0; color: var(--zacht); font-size: .92rem; margin-top: 30px; }

/* knoppen */
.knop, .knop-klein { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 999px; border: 2px solid transparent; min-height: 48px; padding: 8px 22px; text-align: center; }
.knop-rood { background: var(--rood); color: #fff; }
.knop-rood:hover { background: #A5301B; color: #fff; }
.knop-lijn { background: transparent; border-color: var(--olijf); color: var(--olijf-donker); }
.knop-lijn:hover { background: var(--olijf-licht); }
.knop-gevaar { background: transparent; border-color: #C98A7B; color: var(--rood-donker); }
.knop-gevaar:hover { background: var(--rood-licht); }
.knop-groot { min-height: 56px; font-size: 1.08rem; width: 100%; }
.knop-klein { min-height: 44px; padding: 6px 14px; font-size: .9rem; border: 1px solid #CDBE9F; background: var(--kaart); color: var(--tekst); border-radius: 12px; }
.knop-klein:hover { background: var(--zand-licht); }
.knop-klein.knop-gevaar { border-color: #C98A7B; color: var(--rood-donker); }
.rechts { margin-left: auto; }
.link-knop { background: none; border: 0; font: inherit; font-weight: 600; color: var(--tekst); text-decoration: underline; cursor: pointer; padding: 10px 14px; min-height: 44px; text-align: left; }
.rond { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #CDBE9F; background: var(--kaart); color: var(--tekst); font-size: 1.5rem; line-height: 1; cursor: pointer; font-weight: 700; }
.rond-vol { background: var(--olijf); border-color: var(--olijf); color: #fff; }
.pijl { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #CDBE9F; background: var(--creme); color: var(--tekst); font: inherit; font-weight: 700; cursor: pointer; }
.pijl:disabled, .knop-klein:disabled { opacity: .4; cursor: default; }

/* meldingen en labels */
.melding { border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 0 0 18px; border: 1px solid var(--olijf-rand); background: var(--olijf-licht); }
.melding-fout { background: var(--rood-licht); border-color: var(--rood-rand); color: var(--rood-donker); }
.melding-info { background: var(--zand-licht); border-color: var(--rand); font-weight: 400; }
.melding-waarschuwing { background: #FFF4D6; border-color: #D9B45A; font-weight: 400; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
main > .melding { max-width: 1160px; margin: 16px auto; }
.pil { display: inline-block; align-self: flex-start; background: var(--olijf-licht); border: 1px solid var(--olijf-rand); color: var(--tekst); font-size: .82rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.pil-licht { background: var(--kaart); border-color: #CDBE9F; }
.pil-rood, .status-gesloten { background: var(--rood-licht); border-color: var(--rood-rand); }
.status-concept, .status-afgerond { background: var(--zand-licht); border-color: #CDBE9F; }
strong.status { background: none; border: 0; }

/* kaarten en foto's */
.kaart { background: var(--kaart); border: 1px solid var(--rand); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.kaart.vlak { padding: 24px; overflow: visible; }
.kaart-foto { display: block; aspect-ratio: 3 / 2; background: #E9DCC3; }
.kaart-inhoud { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.kaart-inhoud p, .kaart-inhoud h2, .kaart-inhoud h3 { margin: 0; }
.kaart-inhoud h2 a, .kaart-inhoud h3 a { color: var(--tekst); text-decoration: none; }
.kaart-inhoud h2 a:hover, .kaart-inhoud h3 a:hover { text-decoration: underline; }
.rijkaart { flex-direction: row; align-items: center; gap: 14px; padding: 12px; color: var(--tekst); text-decoration: none; }
.rijkaart > span { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.foto { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-leeg { display: flex; align-items: center; justify-content: center; text-align: center; background: #E9DCC3; color: var(--zacht); font-weight: 600; font-size: .85rem; min-height: 80px; padding: 8px; }
.foto.mini { flex: 0 0 76px; width: 76px; height: 76px; min-height: 0; border-radius: 12px; }
.grote-foto { aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #E9DCC3; }
.kleine-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 12px; }
.kleine-fotos .foto { aspect-ratio: 4 / 3; border-radius: 14px; height: auto; }

/* home */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding-top: 48px; padding-bottom: 36px; }
.hero-tekst { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.hero-tekst > * { margin: 0; }
.hero-tekst h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: 1.05; }
.intro { font-size: 1.12rem; color: var(--zacht); max-width: 34em; }
.hero-foto { flex: 1 1 360px; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #E9DCC3; }
.aankondiging { background: var(--olijf-licht); border: 1px solid var(--olijf-rand); border-radius: 18px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; }
.aankondiging > div { display: flex; flex-direction: column; }
.aank-titel { font-family: var(--kop); font-size: 1.45rem; font-weight: 600; }
.aank-info { font-weight: 600; color: var(--olijf-donker); }
.pijlen { display: flex; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 1px solid #CDBE9F; background: var(--kaart); color: var(--tekst); font-weight: 700; text-decoration: none; }
.chip.actief { background: var(--olijf); border-color: var(--olijf); color: #fff; }
/* Alleen de pizzarij scrolt horizontaal; de pagina zelf nooit. */
.pizzarij { display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pizzarij::-webkit-scrollbar { display: none; }
.pizzakaart { flex: 0 0 min(290px, 78vw); scroll-snap-align: start; }
.scrollbalk { height: 6px; background: var(--rand); border-radius: 999px; overflow: hidden; margin: 4px 0 8px; }
.scrollbalk-vul { height: 6px; width: 40%; background: var(--olijf); border-radius: 999px; }
.score { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .92rem; }

/* detailpagina's */
.detail { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; margin-bottom: 28px; }
.detail-fotos { flex: 3 1 400px; min-width: 0; }
.detail-tekst { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-tekst > * { margin: 0; }
.detail-tekst ul { margin: 0; padding-left: 20px; }
blockquote { margin: 0 0 10px; font-style: italic; }
blockquote footer { font-style: normal; }
.feiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.feiten.drie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feiten.breed { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 22px 0; }
.feiten > div { background: var(--creme); border: 1px solid var(--rand); border-radius: 12px; padding: 9px 12px; }
.feiten dt { font-size: .8rem; color: var(--zacht); }
.feiten dd { margin: 0; font-weight: 700; }
.feiten dd.groot { font-family: var(--kop); font-size: 1.5rem; font-weight: 600; }
.tipvak { background: var(--olijf-licht); border: 1px solid var(--olijf-rand); border-radius: 18px; padding: 20px 22px; }
.tipvak ul { margin: 0; padding-left: 20px; }
.tipvak p:last-child { margin-bottom: 0; }

/* recept en tijdspad */
.tijdspad-vak { margin: 26px 0; }
.tijdspad { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tijdspad li { background: var(--creme); border: 2px solid var(--rand); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tijdspad li.laatste { background: var(--olijf-licht); border-color: var(--olijf); }
.tp-dag { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--olijf-donker); }
.tp-tijd { font-family: var(--kop); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.tp-uitleg { font-size: .86rem; color: var(--zacht); }
.tp-nacht { font-size: .8rem; font-weight: 700; color: var(--rood-donker); }
.tipvak .tijdspad li { background: var(--kaart); border-color: var(--olijf-rand); }
.tipvak .tijdspad li.laatste { background: var(--olijf); border-color: var(--olijf); color: #fff; }
.tipvak .tijdspad li.laatste .tp-dag, .tipvak .tijdspad li.laatste .tp-uitleg { color: #fff; }
.recept-kolommen { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.recept-kolommen > .kaart { flex: 1 1 320px; gap: 14px; }
.stappen-vak { flex: 2 1 440px; min-width: 0; }
.bollenkiezer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--olijf-licht); border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.bollenkiezer > div { display: flex; align-items: center; gap: 8px; }
.bollenkiezer input { width: 70px; text-align: center; font-family: var(--kop); font-size: 1.3rem; font-weight: 600; }
.ingredienten { list-style: none; margin: 0; padding: 0; }
.ingredienten li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EFE6D3; }
.rekenregel { background: var(--creme); border-radius: 12px; padding: 11px 14px; margin: 0; font-size: .93rem; }
.stappen { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.stap { flex-direction: row; gap: 14px; align-items: flex-start; padding: 16px !important; }
.stap > div { flex: 1 1 auto; min-width: 0; }
.stap h3 { font-family: var(--lees); font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; }
.stap p { margin: 0 0 4px; }
.stapnr { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--olijf); color: #fff; font-family: var(--kop); font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.foto.stapfoto { flex: 0 0 110px; width: 110px; height: 82px; border-radius: 12px; }

/* formulieren */
.veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.veld label, fieldset > legend { font-weight: 700; }
.veld-rij { flex-direction: row; align-items: center; gap: 10px; }
.velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.veld-breed { grid-column: 1 / -1; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=number], input[type=date], input[type=datetime-local], select, textarea {
  font: inherit; color: var(--tekst); background: #fff; border: 1px solid var(--rand-donker); border-radius: 10px; padding: 9px 12px; min-height: 48px; width: 100%; max-width: 100%; }
textarea { resize: vertical; min-height: 0; }
input.smal, .smal { width: 90px; flex: 0 0 90px; }
input[aria-invalid=true] { border: 2px solid var(--rood); }
.veldfout { color: var(--rood-donker); font-weight: 700; font-size: .9rem; }
.verplicht { color: var(--rood-donker); font-weight: 400; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.kaart { border: 1px solid var(--rand); padding: 24px; display: block; }
legend { padding: 0; margin-bottom: 8px; }
fieldset.kaart > legend { float: left; width: 100%; }
fieldset.kaart > legend + * { clear: both; }
.keuzeregel { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 0; }
.keuzeregel input[type=checkbox], .vinkvak { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--olijf); }
fieldset.kaart .keuzeregel { border-top: 1px solid #EFE6D3; }
.vakjes { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.vakjes legend { width: 100%; }
.rijen { display: flex; flex-direction: column; gap: 8px; }
.rijen > p { margin: 0 0 4px; }
.invoerrij { display: flex; flex-wrap: wrap; gap: 8px; }
.invoerrij > input[type=text]:not(.smal) { flex: 3 1 170px; width: auto; }
.invoerrij > select { flex: 1 1 100px; width: auto; }
.staprij { display: grid; grid-template-columns: 1fr 170px; gap: 10px; background: var(--creme); border: 1px solid var(--rand); border-radius: 14px; padding: 12px; }
.staprij .smal { width: 100%; flex: none; }
.formvoet { border-top: 1px solid #EFE6D3; padding-top: 18px; }
.bestand { font: inherit; max-width: 100%; min-height: 44px; }
.zoekform .rij { flex-wrap: nowrap; max-width: 460px; }
.schakelregel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #EFE6D3; }
.schakelaar { appearance: none; -webkit-appearance: none; flex: 0 0 64px; width: 64px; height: 34px; border-radius: 999px; background: #8A7A5C; position: relative; cursor: pointer; margin: 5px 0; border: 0; min-height: 0; padding: 0; }
.schakelaar::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s; }
.schakelaar:checked { background: var(--olijf); }
.schakelaar:checked::after { left: 34px; }
.invoer-eenheid { display: inline-flex; align-items: center; gap: 6px; }
.invoer-eenheid input { width: 96px; }

/* gastpagina's */
.gast-inhoud { padding-top: 26px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.gast-inhoud > * { margin-top: 0; margin-bottom: 0; }
.gast-inhoud h1 { font-size: 2rem; }
.avondvak { gap: 3px; padding: 16px !important; }
.avondvak .pil { margin-top: 8px; white-space: normal; }
.menu { display: flex; flex-direction: column; gap: 12px; }
.menu legend { font-family: var(--kop); font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.menukaart { position: relative; display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--kaart); border: 3px solid var(--rand); cursor: pointer; }
.menutekst { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; padding-right: 34px; }
.menukaart .vinkje { display: none; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--olijf); color: #fff; align-items: center; justify-content: center; }
.menukaart:has(input:checked) { border-color: var(--olijf); background: #F1F3E2; }
.menukaart:has(input:checked) .vinkje { display: flex; }
.menukaart:has(input:focus-visible) { outline: 3px solid var(--tekst); outline-offset: 2px; }
.menukaart:has(input:disabled) { cursor: default; }
.menukaart.gekozen-js { border-color: var(--olijf); background: #F1F3E2; }
.menukaart.gekozen-js .vinkje { display: flex; }
.bevestigbalk { position: sticky; bottom: 0; background: var(--creme); padding: 12px 0 6px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--rand); }
.bevestigbalk p { margin: 0; }
.kaart.gekozen { border: 3px solid var(--olijf); background: #F1F3E2; }
.vink-groot { width: 64px; height: 64px; border-radius: 50%; background: var(--olijf); color: #fff; display: flex; align-items: center; justify-content: center; }
.sterren { display: flex; flex-wrap: wrap; gap: 6px; }
.sterren legend { width: 100%; }
.sterren label { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--rand); background: var(--kaart); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sterren svg { fill: none; stroke: #8A5A12; stroke-width: 1.5; stroke-linejoin: round; }
.sterren label.aan svg { fill: #D9982B; }
.sterren input:focus-visible + label { outline: 3px solid var(--tekst); outline-offset: 2px; }

/* beheer */
.beheer-schil { display: flex; flex-wrap: wrap; min-height: 100vh; }
.beheer-zij { flex: 1 1 220px; background: var(--zand); border-right: 1px solid var(--rand); padding: 22px 14px; }
.beheer-inhoud { flex: 999 1 560px; min-width: 0; padding: 32px clamp(16px, 4vw, 40px) 60px; }
.beheer-inhoud > * { margin-bottom: 20px; }
.beheer-inhoud h1 { font-size: 2.2rem; margin-bottom: .2em; }
.beheer-merk { margin-bottom: 16px; padding: 0 6px; }
.beheer-merk .logo { font-size: 1.35rem; }
.label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olijf); }
.beheer-menu > summary { display: none; font-weight: 700; padding: 12px 14px; cursor: pointer; border: 1px solid #CDBE9F; border-radius: 12px; background: var(--kaart); min-height: 44px; }
.beheer-menu nav { display: flex; flex-direction: column; gap: 2px; }
.beheer-menu nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--tekst); font-weight: 600; text-decoration: none; }
.beheer-menu nav a:hover { background: var(--zand-licht); }
.beheer-menu nav a.actief { background: var(--olijf); color: #fff; font-weight: 700; }
.los-inhoud { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px 16px; }
.los-merk { text-align: center; }
.los-merk .logo { font-size: 2rem; }
.los-form { width: 100%; max-width: 440px; padding: 30px !important; }
.los-form h1 { font-size: 1.8rem; }
.tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tegel { background: var(--creme); border-radius: 16px; padding: 16px 18px; }
.tegel-groen { background: var(--olijf-licht); }
.tegel-rood { background: var(--rood-licht); }
.tegel-wit { background: var(--kaart); border: 1px solid var(--rand); }
.cijfer { display: block; font-family: var(--kop); font-size: 2.6rem; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.voortgang { height: 10px; background: #EFE6D3; border-radius: 999px; overflow: hidden; }
.voortgang > div { height: 10px; background: var(--olijf); border-radius: 999px; }
.lijst { list-style: none; margin: 0; padding: 0; }
.lijst li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 8px 0; border-bottom: 1px solid #EFE6D3; }
.lijst li:last-child { border-bottom: 0; }
.itemlijst { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.avondkiezer { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.avondkiezer select { width: auto; }
.avondregel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 3px 0; }
.statusrij { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.statusrij li { padding: 10px 12px; border-radius: 12px; font-weight: 700; text-align: center; background: var(--creme); color: var(--zacht); border: 1px solid var(--rand); }
.statusrij li.actief { background: var(--olijf); color: #fff; border-color: var(--olijf); }
.tabel { width: 100%; border-collapse: collapse; background: var(--kaart); border: 1px solid var(--rand); border-radius: 18px; overflow: hidden; text-align: left; }
.tabel thead th { background: var(--zand-licht); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--zacht); padding: 12px 14px; }
.tabel td, .tabel tbody th { padding: 10px 14px; border-top: 1px solid #EFE6D3; vertical-align: middle; font-weight: 400; }
.tabel tbody th { font-weight: 700; }
.tabel td form.rij input[type=text] { flex: 1 1 150px; width: auto; }
.tabel td form.rij select { flex: 1 1 130px; width: auto; }
tr.gedaan th, li.gedaan strong { text-decoration: line-through; color: var(--zacht); }
.alleen-print { display: none; }
.plakbalk { position: sticky; bottom: 0; background: var(--creme); padding: 12px 0; border-top: 1px solid var(--rand); }
.fotobeheer { display: flex; flex-direction: column; gap: 12px; }
.fotorij { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--creme); border: 1px solid var(--rand); border-radius: 14px; padding: 12px; }
.fotoalt { flex: 1 1 260px; min-width: 0; }
.fotoalt .rij { flex-wrap: nowrap; }
.fotoupload { align-items: flex-end; }
.stapfoto-blok { border: 1px solid var(--rand); border-radius: 14px; padding: 10px 14px; }
.stapfoto-blok summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.stapfoto-blok .fotobeheer { margin-top: 10px; }

/* bakvolgorde: grote aanraakknoppen */
.bakbord { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: start; }
.bakkolom { border: 1px solid var(--rand); border-radius: 20px; padding: 14px; background: var(--zand-licht); }
.bak-oven { background: var(--rood-licht); }
.bak-geserveerd { background: var(--olijf-licht); }
.bakkolom h2 { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; }
.teller { font-family: var(--lees); font-size: .95rem; font-weight: 700; background: var(--kaart); border: 1px solid #CDBE9F; border-radius: 999px; padding: 2px 12px; }
.baklijst { display: flex; flex-direction: column; gap: 12px; min-height: 30px; }
.bakkaart { background: var(--kaart); border: 1px solid #CDBE9F; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bakkaart[draggable=true] { cursor: grab; }
.bakkaart.sleept { opacity: .45; }
.bakkop { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.bakgast { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.bakpizza { font-family: var(--kop); font-size: 1.4rem; font-weight: 600; color: var(--olijf-donker); }
.bakwens { margin: 0; background: var(--rood-licht); border: 1px solid var(--rood-rand); border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.bakknop { width: 100%; min-height: 62px; border: 0; border-radius: 14px; background: var(--rood); color: #fff; font: inherit; font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.bakknop-oven { background: var(--olijf); }
.terugknop { width: 100%; min-height: 46px; border: 1px solid #CDBE9F; border-radius: 12px; background: transparent; color: var(--tekst); font: inherit; font-weight: 700; cursor: pointer; }

/* smal scherm */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .beheer-zij { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--rand); padding: 14px; }
  .beheer-merk { margin-bottom: 10px; }
  .beheer-menu > summary { display: block; }
  .beheer-menu nav { margin-top: 8px; }
  .staprij { grid-template-columns: 1fr; }
  .stap { flex-wrap: wrap; }
  .feiten.drie { grid-template-columns: 1fr; }
  /* beheertabellen worden kaarten */
  .kaarttabel, .kaarttabel tbody, .kaarttabel tr, .kaarttabel td, .kaarttabel tbody th { display: block; width: 100%; }
  .kaarttabel { border: 0; background: none; border-radius: 0; }
  .kaarttabel thead { display: none; }
  .kaarttabel tr { background: var(--kaart); border: 1px solid var(--rand); border-radius: 16px; margin-bottom: 12px; padding: 8px 4px; }
  .kaarttabel td, .kaarttabel tbody th { border: 0; padding: 6px 12px; }
  .kaarttabel td[data-label]::before, .kaarttabel tbody th[data-label]::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zacht); }
  /* boodschappen: vinkje en naam op één regel, voorraad en 'nog te kopen' naast elkaar */
  .boodschaptabel tr { display: grid; grid-template-columns: 48px 1fr 1fr; align-items: center; padding: 6px 8px; }
  .boodschaptabel td, .boodschaptabel tbody th { width: auto; padding: 5px 6px; }
  .boodschaptabel td:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .boodschaptabel tbody th { grid-area: 1 / 2 / 2 / 4; font-size: 1.05rem; }
  .boodschaptabel td:nth-child(1)::before, .boodschaptabel tbody th::before { display: none !important; }
  .boodschaptabel td:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
  .boodschaptabel td:nth-child(6) { grid-area: 2 / 3 / 3 / 4; }
  .boodschaptabel td:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
  .boodschaptabel td:nth-child(4) { grid-area: 3 / 3 / 4 / 4; }
  .boodschaptabel .invoer-eenheid input { width: 80px; }
}

@media print {
  body { background: #fff; font-size: 12pt; }
  .beheer-zij, .niet-print, .site-kop, .site-voet, .melding, .skip { display: none !important; }
  .alleen-print { display: inline; }
  .beheer-inhoud { padding: 0; }
  .tabel, .kaart, .tegel { border-color: #999; }
  .invoer-eenheid input { border: 0; padding: 0; min-height: 0; width: 60px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Accountmenu: bereikbaar op de website en in beheer. */
.account-menu { position: relative; margin-left: auto; }
.account-menu > summary { cursor: pointer; padding: 10px 16px; min-height: 44px; border: 1px solid var(--olijf); border-radius: 8px; font-weight: 600; }
.account-menu > summary:focus-visible, .account-paneel a:focus-visible, .account-paneel button:focus-visible { outline: 3px solid var(--olijf); outline-offset: 3px; }
.account-paneel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 100; width: 280px; max-width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto; padding: 10px; background: #faf4e8; color: #2b2118; border: 1px solid #ded2bd; border-radius: 12px; box-shadow: 0 12px 32px #2b211826; }
.account-paneel a, .account-paneel button { display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; min-height: 44px; text-align: left; color: #2b2118; text-decoration: none; border-radius: 6px; }
.account-paneel a:hover, .account-paneel button:hover { background: #e9e3d4; }
.account-email { margin: 0 0 6px; padding: 8px 12px; overflow-wrap: anywhere; font-size: .85rem; border-bottom: 1px solid #ded2bd; }
.account-paneel form { margin: 4px 0 0; }
.beheer-merk .account-menu { margin-top: 16px; }
.beheer-merk .account-paneel { left: 0; right: auto; }
@media print { .account-menu { display: none; } }

/* Pizzadetail: foto en informatie delen dezelfde boven- en onderlijn. */
.pizza-detail { padding-top: 32px; padding-bottom: 48px; }
.pizza-detail > .pizza-terug { margin: 0 0 24px; }
.pizza-terug a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.pizza-detail .detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; margin-bottom: 0; }
.pizza-detail .detail-fotos { display: flex; flex-direction: column; min-width: 0; }
.pizza-detail .grote-foto { position: relative; flex: 1; min-height: 380px; aspect-ratio: auto; border-radius: 20px; }
.pizza-detail .grote-foto > .foto { position: absolute; inset: 0; width: 100%; height: 100%; }
.pizza-detail .detail-tekst { gap: 18px; align-items: stretch; }
.pizza-detail .detail-tekst > .pil { align-self: flex-start; }
.pizza-detail .detail-tekst h1 { font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.pizza-detail .detail-tekst .intro { max-width: none; font-size: 1.05rem; line-height: 1.7; }
.pizza-detail .detail-tekst > .kaart { padding: 22px 24px; border-radius: 18px; }
.pizza-detail .detail-tekst > .kaart:last-child { margin-top: auto; }
.pizza-detail .detail-tekst .kaart h2 { margin-bottom: 12px; }
.pizza-detail .detail-tekst ul { padding-left: 21px; }
.pizza-detail .detail-tekst li + li { margin-top: 4px; }
.pizza-detail > h2 { margin-top: 36px; }
@media (max-width: 760px) {
  .pizza-detail { padding-top: 20px; padding-bottom: 32px; }
  .pizza-detail > .pizza-terug { margin-bottom: 16px; }
  .pizza-detail .detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pizza-detail .grote-foto { flex: none; min-height: 0; aspect-ratio: 4 / 3; border-radius: 18px; }
  .pizza-detail .detail-tekst { gap: 16px; }
  .pizza-detail .detail-tekst h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .pizza-detail .detail-tekst > .kaart { padding: 20px; }
}

/* Elk kaartbeeld krijgt hetzelfde vaste kader, los van het originele fotoformaat. */
.kaart-foto {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.kaart-foto > .foto {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.pizzakaart { min-width: 0; }
.pizzakaart .kaart-inhoud { flex: 1; }

/* Dagboek: alle onderdelen delen per rij dezelfde uitlijning. */
.dagboek-overzicht > .intro { max-width: 52em; margin-bottom: 28px; }
.dagboek-rooster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dagboekkaart { min-width: 0; }
.dagboekkaart .kaart-inhoud { flex: 1; padding: 20px; gap: 14px; }
.dagboekkaart time { font-size: .75rem; letter-spacing: .06em; }
.dagboekkaart h2 { line-height: 1.25; overflow-wrap: anywhere; }
.dagboekkaart .feiten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dagboekkaart .feiten > div { padding: 10px 12px; min-width: 0; }
.dagboekkaart .feiten dt { font-size: .75rem; }
.dagboekkaart .feiten dd { overflow-wrap: anywhere; }
.dagboekkaart .dagboek-samenvatting { line-height: 1.6; color: var(--zacht); }
.dagboekkaart .dagboek-leeslink { display: flex; align-items: center; min-height: 44px; margin-top: auto; text-underline-offset: 4px; }
@supports (grid-template-rows: subgrid) {
  .dagboekkaart { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
  .dagboekkaart .kaart-inhoud { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 14px; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .dagboek-rooster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dagboek-rooster { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dagboekkaart .kaart-inhoud { padding: 18px; }
}
