/* v5 (25-11-2026, Ali): grote cookiekaart (4/5 van het scherm), logo, foto koekje in twee,
   drie even grote keuzes op het eerste scherm. Losstaand: gebruikt tws-cookie.css niet. */
.tc5{--tc-blue:#1A73E8;--tc-ink:#0f1b2d;--tc-text:#3a4456;--tc-soft:#5b6576;--tc-line:#e6eaf0;--tc-green:#1e8e3e;font-family:inherit;color:var(--tc-ink)}
.tc5 *,.tc5 *::before,.tc5 *::after{box-sizing:border-box}
html.tc5-lock,html.tc5-lock body{overflow:hidden!important}
.tc5-veil{position:fixed;inset:0;z-index:2147482990;background:rgba(15,27,45,.42);opacity:0;pointer-events:none;transition:opacity .3s}
.tc5-veil.is-open{opacity:1;pointer-events:auto}
.tc5-card{position:fixed;z-index:2147483000;left:50%;bottom:12px;width:min(560px,calc(100% - 24px));height:80vh;height:80dvh;max-height:780px;background:#fff;border-radius:26px;box-shadow:0 24px 60px rgba(15,27,45,.3);display:flex;flex-direction:column;transform:translate(-50%,115%);visibility:hidden;transition:transform .5s cubic-bezier(.2,.8,.2,1),visibility 0s .5s}
.tc5-card.is-open{transform:translate(-50%,0);visibility:visible;transition:transform .5s cubic-bezier(.2,.8,.2,1),visibility 0s}
.tc5-inner{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:22px 24px 6px;display:flex;flex-direction:column}
.tc5-logo{display:block;height:34px;width:auto;margin:0 auto 14px}
.tc5-art{display:flex;justify-content:center;margin:0 0 14px}
.tc5-art img{width:min(210px,52vw);height:auto;mix-blend-mode:multiply}
.tc5-card.is-open .tc5-art img{animation:tc5pop .7s cubic-bezier(.2,.9,.3,1.2) .35s both}
@keyframes tc5pop{from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}
.tc5 h2.tc5-title{font-family:inherit;font-size:clamp(23px,6vw,29px);line-height:1.12;font-weight:800;color:var(--tc-ink);margin:0 0 12px;text-align:center;text-wrap:balance;letter-spacing:0}
.tc5 p{margin:0 0 11px;font-size:16px;line-height:1.55;color:var(--tc-text)}
.tc5 p.tc5-lead{font-size:17px;font-weight:500;color:var(--tc-ink);text-align:center;margin-bottom:14px}
.tc5 a.tc5-inline{color:var(--tc-blue);text-decoration:underline}
.tc5-actions{padding:14px 24px 16px;border-top:1px solid var(--tc-line);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.tc5 .tc5-btn{font-family:inherit;font-size:15.5px;font-weight:600;line-height:1.2;min-height:54px;padding:12px 16px;border-radius:16px;border:0;cursor:pointer;width:100%;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;transition:transform .15s,box-shadow .2s,background .2s;-webkit-tap-highlight-color:transparent}
.tc5 .tc5-btn:active{transform:scale(.98)}
.tc5 .tc5-main{background:linear-gradient(180deg,#2b80ef,#1A73E8);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 6px 16px rgba(26,115,232,.28)}
.tc5 .tc5-main:hover{color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 8px 22px rgba(26,115,232,.36)}
.tc5 .tc5-soft{background:#eef3fd;color:var(--tc-ink);box-shadow:0 0 0 1px #d6e2fb inset}
.tc5 .tc5-soft:hover{background:#e4edfc;color:var(--tc-ink)}
.tc5 .tc5-link{grid-column:1/-1;background:none;color:var(--tc-ink);min-height:44px;gap:8px}
.tc5 .tc5-link::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.tc5 .tc5-link:hover{color:var(--tc-blue)}
.tc5 p.tc5-small{grid-column:1/-1;text-align:center;font-size:13px;color:var(--tc-soft);margin:0}
.tc5 .tc5-btn:focus-visible,.tc5 .tc5-x:focus-visible,.tc5 .tc5-tog:focus-visible{outline:3px solid #FBBC05;outline-offset:2px}
@media (max-width:380px){.tc5-actions{grid-template-columns:1fr}}
@media (max-height:640px){.tc5-art{display:none}}

.tc5-modal{position:fixed;z-index:2147483001;left:50%;top:50%;width:min(560px,calc(100% - 24px));max-height:88vh;max-height:88dvh;background:#fff;border-radius:26px;box-shadow:0 24px 60px rgba(15,27,45,.32);display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translate(-50%,-46%);transition:opacity .25s,transform .25s,visibility 0s .25s}
.tc5-modal.is-open{opacity:1;visibility:visible;transform:translate(-50%,-50%);transition:opacity .25s,transform .25s,visibility 0s}
.tc5-mhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px 0}
.tc5 h2.tc5-mtitle{font-family:inherit;margin:0;font-size:25px;line-height:1.15;font-weight:800;color:var(--tc-ink)}
.tc5 .tc5-x{width:44px;height:44px;border-radius:50%;border:0;background:#f1f4f8;font-size:24px;line-height:1;cursor:pointer;color:var(--tc-ink);flex:none;padding:0}
.tc5-mbody{overflow-y:auto;min-height:0;padding:12px 24px 4px}
.tc5-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:16px 0;border-top:1px solid var(--tc-line)}
.tc5 h3.tc5-rt{font-family:inherit;margin:0;font-size:18px;font-weight:700;color:var(--tc-ink);line-height:1.3}
.tc5 .tc5-rt label{color:inherit;font:inherit;opacity:1;cursor:pointer;margin:0}
.tc5 .tc5-row p{grid-column:1/-1;margin:0;font-size:15px;color:var(--tc-soft)}
.tc5-always{color:var(--tc-green);font-weight:700;font-size:14px;align-self:center}
.tc5 .tc5-tog{-webkit-appearance:none;appearance:none;width:56px;height:32px;border-radius:999px;background:#d7dde6;position:relative;cursor:pointer;align-self:center;transition:background .2s;margin:0;border:0}
.tc5 .tc5-tog::after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.tc5 .tc5-tog:checked{background:var(--tc-blue)}
.tc5 .tc5-tog:checked::after{transform:translateX(24px)}
.tc5-mfoot{padding:14px 24px 18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;border-top:1px solid var(--tc-line)}
@media (prefers-reduced-motion:reduce){.tc5-card,.tc5-modal,.tc5-veil{transition:none}.tc5-card.is-open .tc5-art img{animation:none}}

/* 25-11 17.20: knoppen exact even breed */
.tc5 .tc5-actions>.tc5-btn,.tc5 .tc5-mfoot>.tc5-btn{min-width:0;padding:12px 10px;font-size:15px}

/* 25-11 17.50 (Ali): mobiel bijna volledig scherm, enkel de actiebalk (43px) blijft zichtbaar; kleinere letters zodat alle tekst zonder scrollen past. Terug: back-up tws-cookie-v5.css.bak-20261125-volscherm in de sandbox. */
@media (max-width:600px){
.tc5-card{top:50px;bottom:8px;height:auto;max-height:none;width:calc(100% - 16px);border-radius:22px}
.tc5-inner{padding:14px 18px 2px}
.tc5-logo{height:26px;margin:0 auto 8px}
.tc5-art{margin:0 0 8px}.tc5-art img{width:min(104px,28vw)}
.tc5 h2.tc5-title{font-size:20px;line-height:1.15;margin:0 0 8px}
.tc5 p{font-size:13.5px;line-height:1.42;margin:0 0 7px}
.tc5 p.tc5-lead{font-size:14.5px;line-height:1.4;margin-bottom:9px}
.tc5-actions{padding:10px 18px 8px;gap:6px 8px}
.tc5 .tc5-actions>.tc5-btn{min-height:46px;font-size:14.5px;padding:10px 8px;border-radius:14px}
.tc5 .tc5-link{min-height:30px}
.tc5 p.tc5-small{font-size:12px}
}

/* 25-11 17.55 (Ali): geen lege ruimte meer. Het koekje vult de vrije hoogte (min 76px, max 220px hoog), de titel schaalt mee met de schermhoogte (20 tot 25px). */
@media (max-width:600px){
.tc5-art{position:relative;flex:1 1 0;min-height:76px;max-height:220px;margin:2px 0 10px}
.tc5 .tc5-art img{position:absolute;inset:0;margin:auto;width:100%;height:100%;object-fit:contain}
.tc5 h2.tc5-title{font-size:clamp(20px,3.4dvh,25px)}
}

/* 25-11 18.10 (Ali): koekje 20% kleiner. Het vak vult nog steeds de vrije hoogte, het koekje gebruikt er 80% van en staat in het midden. */
@media (max-width:600px){
.tc5 .tc5-art img{height:80%;width:80%}
}
