
:root{--forest:#1b493c;--cream:#f6f5ee;--paper:#fffefa;--rust:#99633c}
html{scroll-behavior:auto;scrollbar-gutter:stable}
body{margin:0;background:var(--cream);color:#1a3229;font-family:"Source Sans 3","Segoe UI",sans-serif}
body.gated{overflow:hidden}
#opening:focus,#current-step:focus{outline:none}
.hero{box-sizing:border-box;display:flex;align-items:end;position:relative;isolation:isolate;color:white;background:#344b33 url("../beelden/brahma.jpg") center 50%/cover no-repeat;padding:clamp(14px,3vw,42px) max(5vw,calc((100vw - 1360px)/2));height:clamp(95px,15svh,180px)}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,26,17,.82),rgba(8,26,17,.38) 48%,rgba(8,26,17,.06) 78%)}
.hero p{font-size:clamp(.9rem,1.3vw,1.2rem);margin:0 0 .55em;line-height:1.4}
.hero h1{font:500 clamp(1.55rem,3.6vw,3.1rem)/1 Georgia,serif;letter-spacing:-.045em;color:white;margin:0}
.hero h1 em{font-weight:400;color:#f2dfad}
:is(.gated,.entering) .hero{height:100svh;align-items:center;background-position:center 54%}
:is(.gated,.entering) .hero h1{font-size:clamp(3rem,6.5vw,6.5rem);max-width:11ch;line-height:.99}
:is(.gated,.entering) .hero p{max-width:34ch}
.show-btn,.hero .show-btn{border:0;display:inline-flex;align-items:center;border-radius:6px;background:#f1dfae;color:#16372b;padding:.85rem 1.4rem;font-weight:700;min-height:47px}
.hero-in>.show-btn,#access{margin-top:clamp(14px,3vh,32px)}
#access label{display:block;font-weight:650;margin-bottom:.45rem}
#access div{display:flex;gap:8px}#access input{border:0;border-radius:5px;padding:10px;min-width:0;width:170px;background:#fffefa;color:#183629;font:inherit}
.track{background:var(--paper);border-bottom:1px solid #d9dfd4;position:sticky;top:0;z-index:3}
.track ol{max-width:1040px;list-style:none;display:flex;justify-content:space-between;margin:0 auto;padding:15px 5vw;gap:12px}
.track li{display:flex;align-items:center;gap:.55em;color:#68736a;font-weight:600;font-size:1rem}
.track li span{width:1.85em;height:1.85em;border-radius:50%;display:grid;place-items:center;border:1px solid #c7d1c5}
.track .now,.track .past{color:var(--forest)}.track .now span{background:var(--forest);color:white}.track .past span{background:#e5eddf}
.peek,.flow-content{width:min(1390px,92%);margin:auto}.peek{padding:2vh 0;font:1.6rem Georgia,serif;color:#6d786c}.flow-content{padding:25px 0 15vh}
#current-step{scroll-margin-top:78px;min-height:78svh}
.flow-heading{margin:14px 0 20px}.flow-heading>span{color:#526c5d;font-weight:650}.flow-heading h2{margin:2px 0;font:500 clamp(2rem,4vw,3.25rem)/1.16 Georgia,serif;letter-spacing:-.035em}
.completed-step{padding:8px 0;border-bottom:1px solid #d6ded2;color:#5e6f63}.completed-step span{margin-right:.5em}
.sheet,.fees,.animal-grid{background:var(--paper);border:1px solid #dbe1d6;border-radius:11px;margin:14px 0;padding:clamp(15px,2.3vw,30px)}
.sheet,.fees{max-width:920px}.sheet h3,.fees h3{font:500 1.7rem Georgia,serif;margin:0 0 8px}.fees{display:flex;justify-content:space-between;gap:20px;background:#edf1e6}.amounts{min-width:min(320px,48%)}.price-line,.final-total{display:flex;justify-content:space-between;gap:1.5rem}.price-line:first-child{font-size:1.14rem;margin-bottom:.45rem}
.animal-grid{padding:0}.flow-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:20px;flex-wrap:wrap}.flow-actions>button:only-child{margin-left:auto}
.sheet input:not([type=checkbox]):not([type=radio]),.sheet select{font:inherit;padding:9px 12px;border:1px solid #acb9aa;border-radius:6px;background:white}
.quantity{display:flex;gap:12px;align-items:center;margin-top:.8rem}
.confirmation{max-width:700px}.confirmation>label,.confirmation>small{display:block;margin:14px 0 6px}.confirmation .check{display:flex;gap:10px;align-items:center}.final-total{padding:16px 0;margin:16px 0;border-block:1px solid var(--line)}
@media(max-width:650px){.hero{padding-inline:5vw}:is(.gated,.entering) .hero{background-position:54% center}.track ol{padding:9px 2vw;gap:2px}.track li{font-size:.76rem;flex:1;flex-direction:column;gap:3px}.fees{display:block}.amounts{margin-top:12px}.flow-content{width:94%}.animal-grid{max-width:100%}.flow-actions{gap:8px}.sheet{padding:16px}}
@media(max-height:520px){:is(.gated,.entering) .hero{height:100svh}:is(.gated,.entering) .hero h1{font-size:2.7rem;max-width:none}.hero-in>.show-btn,#access{margin-top:8px}.hero-in p{margin-bottom:3px}}
@media(max-height:370px){body.gated{overflow:auto}}


:is(.gated,.entering) .hero-in{padding-bottom:clamp(40px,7svh,72px)}
:is(.gated,.entering) .hero-in::after{content:"";display:block;height:90px}
:is(.gated,.entering) .hero-in{position:relative}
:is(.gated,.entering) .hero-in>.show-btn,:is(.gated,.entering) #access{position:absolute;top:calc(100% - 90px - clamp(40px,7svh,72px));left:0}
.gated .hero-in [role="alert"]{position:absolute;top:calc(100% - 20px);margin:0;font-size:.9rem}
.gated .track{position:fixed;inset:auto 0 0}
.price-line b{font-weight:400}
.price-line:first-child,.price-line:first-child b{font-weight:750}
.price-line:first-child{padding-bottom:.45rem;border-bottom:1px solid #cbd6c6}
@media(max-height:520px){:is(.gated,.entering) .hero-in{padding-bottom:20px}:is(.gated,.entering) .hero-in>.show-btn,:is(.gated,.entering) #access{top:calc(100% - 110px)}}

#access div{align-items:center;flex-wrap:wrap}#access input{width:4.5ch;box-sizing:content-box;text-align:center;font-weight:700;letter-spacing:.12em;text-transform:uppercase} #access input::placeholder{opacity:.5}

/* V6: behoud oorspronkelijke typografie; alleen de verenigingsregel regular. */
.hero .hero-intro{font-weight:400;}
:is(.gated,.entering) .hero .hero-intro{max-width:none;}
@media(min-width:651px){.hero .hero-intro{white-space:nowrap;}}

/* Keep the introductory line on the full-screen opening only. */
body:not(.gated):not(.entering) .hero .hero-intro{display:none;}

/* V8: focus the compact header on the Brahma heads, not the bodies. */
body:not(.gated):not(.entering) .hero{background-position:center 23%;}
@media(max-width:650px){body:not(.gated):not(.entering) .hero{background-position:center 12%;}}

/* V9: compact header only: keep the title left and the Brahma head right. */
body:not(.gated):not(.entering) .hero {
  background-color:#20392b;
  background-image:linear-gradient(90deg,#20392b 0%,#20392b 40%,rgba(32,57,43,.87) 44%,rgba(20,39,29,.19) 61%,rgba(8,26,17,.08) 100%),url("../beelden/brahma.jpg");
  background-size:100% 100%,60% auto;
  background-position:center,right 23%;
  background-repeat:no-repeat;
}
body:not(.gated):not(.entering) .hero:before{background:none;}
body:not(.gated):not(.entering) .hero-in{max-width:58%;}
@media(max-width:650px){
  body:not(.gated):not(.entering) .hero{background-size:100% 100%,56% auto;background-position:center,right 23%;}
  body:not(.gated):not(.entering) .hero-in{max-width:58%;}
}

/* V10: step-specific summaries and read-only review cards. */
.animal-item.read-only{grid-template-columns:auto minmax(0,1fr)}
.review-back{display:flex;flex-wrap:wrap;gap:8px}

/* V11: smaller inscription heading; consistent back navigation. */
.fees-animals h3,.fees-lunch h3{font-size:1.45rem;}

/* V13: highlight voluntary donation, leave catalogue unboxed. */
.confirmation .donation-panel{padding:clamp(16px,2.3vw,24px);border:1px solid #dbe1d6;border-radius:9px;background:#edf1e6;}
.confirmation .donation-panel h3{color:var(--forest);}
.confirmation .donation-panel p{margin:10px 0 16px;line-height:1.5;}
.confirmation .donation-panel label{display:block;margin-bottom:6px;}
.confirmation .donation-panel input{width:min(150px,100%);box-sizing:border-box;}
.confirmation .confirmation-note{color:#526c5d;font-size:.85rem;margin:7px 0 0;line-height:1.5;text-align:right;}

/* V18: match the inset spacing of the lunch and review panels. */
.animal-grid{padding:clamp(15px,2.3vw,30px);overflow:visible;min-width:0;}
.animal-grid h3{font:500 1.45rem Georgia,serif;color:var(--pine);margin:0 0 16px;}
.animal-grid .animal-table-scroll{overflow:auto;max-width:100%;border:1px solid #dbe1d6;border-radius:8px;}
.animal-grid .animal-table-scroll thead th{border-top:0;}
.animal-grid .animal-table-scroll th:first-child,.animal-grid .animal-table-scroll td:first-child{padding-left:12px;}
.animal-grid .animal-table-scroll th:last-child,.animal-grid .animal-table-scroll td:last-child{padding-right:12px;}
@media(max-width:650px){.animal-grid{padding:16px;}}


/* V21: contribution tiles without visible radio dots. Native radios remain keyboard accessible. */
.confirmation .donation-choices{border:0;padding:0;margin:0;min-width:0;}
.confirmation .donation-choices legend{padding:0;margin:0 0 8px;font:inherit;}
.confirmation .donation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
.confirmation .donation-panel .donation-option{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--paper);border:1px solid #cbd6c6;border-radius:8px;padding:12px 8px;margin:0;cursor:pointer;min-width:0;position:relative;min-height:46px;color:#1b493c;transition:background-color .15s,border-color .15s;}
.confirmation .donation-panel .donation-option:hover{border-color:#799588;background:#f5f7f1;}
.confirmation .donation-panel .donation-option.selected,.confirmation .donation-panel .donation-option:has(input:checked){background:#1b493c;color:#fff;border-color:#1b493c;}
.confirmation .donation-panel .donation-option:has(input:focus-visible){outline:3px solid #9dbfab;outline-offset:3px;}
.confirmation .donation-panel .donation-option input{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;clip-path:inset(50%);overflow:hidden;}
.confirmation .donation-custom{margin-top:14px;}
@media(max-width:520px){.confirmation .donation-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* V23: compact saved-animal actions, always on one line. */
.animal-grid .saved-animal-actions{white-space:nowrap;vertical-align:middle;}
.animal-grid .animal-action-bar{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;width:max-content;}
.animal-grid .animal-icon-action{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;min-height:34px;padding:0;margin:0;}
.animal-grid .animal-icon-action svg{width:17px;height:17px;pointer-events:none;}
.animal-grid .animal-icon-action[data-action="remove"]:hover{color:#9a5748;background:#fff5f2;border-color:#e3c5bf;}

.animal-add{margin-top:14px;display:flex;justify-content:flex-start}.add-animal-button{appearance:none;border:0;background:none;color:var(--pine);font:600 .98rem 'Source Sans 3','Segoe UI',sans-serif;padding:0;cursor:pointer;text-decoration:none}.add-animal-button:hover{text-decoration:underline}.animal-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.animal-grid .icon-only{min-width:30px;width:30px;padding:0;font-size:1.05rem;line-height:1}.animal-grid .writing td:last-child{white-space:nowrap}.animal-grid .writing .mini{display:inline-flex;align-items:center;justify-content:center}

/* V25: stable table geometry and clear add action. */
.animal-grid .animal-table-scroll table{table-layout:fixed;width:100%;min-width:1120px;}
.animal-grid .animal-table-scroll .writing td{width:auto;}
.animal-grid .animal-table-scroll .writing td:nth-child(8){width:auto;}
.animal-grid .animal-table-scroll th,.animal-grid .animal-table-scroll td{box-sizing:border-box;overflow-wrap:anywhere;}
.animal-grid .animal-table-scroll .writing select,.animal-grid .animal-table-scroll .writing input:not([type=checkbox]){min-width:0;width:100%;}
.animal-grid .row-check{white-space:normal;}
.animal-grid .add-animal-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #cbd6c6;border-radius:7px;background:#f0f4ed;color:var(--pine);padding:9px 13px;font-weight:600;line-height:1.25;}
.animal-grid .add-animal-button svg{width:17px;height:17px;flex:none;pointer-events:none;}
.animal-grid .add-animal-button:hover:not(:disabled){background:#e3ebdf;border-color:#a9bfae;text-decoration:none;}
.animal-grid .add-animal-button:disabled{opacity:.5;cursor:not-allowed;}

/* V26: keep table and add action inset consistently with the other panels. */
.flow-content .animal-grid{box-sizing:border-box;padding:clamp(15px,2.3vw,30px);}
.flow-content .animal-grid .animal-add{margin:16px 0 0;}
@media(max-width:650px){.flow-content .animal-grid{padding:16px;}}

/* v32 */
.review-grid .animal-table-scroll tbody{background:#f3f4f1;color:#435047}.review-grid .animal-table-scroll td,.review-grid .animal-table-scroll th{padding-top:10px;padding-bottom:10px}.animal-grid .animal-table-scroll table{min-width:1250px}.confirmation .volunteer-panel input[type=checkbox]{width:auto;min-width:16px}.confirmation .volunteer-panel label.check{display:flex;align-items:center;gap:8px}.youth-check{display:flex;gap:8px;margin-top:12px;font-size:.9rem}.youth-check input{width:auto;}

/* v38: a used personal code leads to a dedicated message, not the form. */
body.already-registered.gated{overflow:auto}
body.already-registered.gated .hero{height:auto;min-height:100svh}
body.already-registered.gated .hero-in{padding-bottom:0}
body.already-registered.gated .hero-in::after{display:none}
.already-notice{max-width:min(460px,90vw);margin-top:24px;padding:20px 24px;background:#eaf0e5;color:#193c31;border:1px solid #cddcc8;border-radius:9px;outline-offset:4px}
.already-notice h2{font:600 1.35rem/1.25 "Source Sans 3","Segoe UI",sans-serif;margin:0 0 10px;color:#193c31}
.already-notice h2 .inline-icon{width:22px;height:22px;vertical-align:-4px;color:#42734c}
body.already-registered .hero .already-notice p{font-size:1rem;max-width:none;margin:0 0 10px}
.already-notice .button{margin-top:6px}

/* v41 – confirmation, following the approved reference */
.sheet.finished{box-sizing:border-box;max-width:770px;width:100%;margin:14px auto;padding:22px 20px 19px;background:#f3f3eb;border:1px solid #d8dcd0;border-radius:11px;text-align:center;color:#163b31;font-family:'Source Sans 3','Segoe UI',sans-serif;font-size:1rem;line-height:1.6}
.finished .finished-check{display:flex;justify-content:center;color:#477b53;margin:0 0 12px}.finished-check svg{width:27px;height:27px}
.sheet.finished h3{font:600 1.45rem/1.35 'Source Sans 3','Segoe UI',sans-serif;margin:0 0 12px;color:#153e35}
.finished .finished-summary{margin:0 0 20px;font-size:.98rem}.finished hr{border:0;border-top:1px solid #d4dbce;margin:0 0 20px}
.finished .finished-message{margin:0 auto 12px;max-width:680px}.finished .finished-change{background:#e4ebdc;border-radius:8px;padding:16px;text-align:left;color:#183b30}
.finished-change h4{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:1rem;font-weight:600}.finished-change h4 svg{width:19px;height:19px;flex:none;color:#345443}.finished-change p{margin:0}.finished .finished-footer{margin:10px 0 0;font-size:.86rem;color:#60756b}
@media(max-width:520px){.sheet.finished{padding:18px 14px}.finished .finished-change{padding:14px}}
