/* Eigen beeldtaal per planner-app (8 nov 2026, Björn: "niet allemaal hetzelfde, laat je gaan").
   Elke sectie krijgt .th .th-<thema> en een gekleurde kopband (.th-kop) met een grote tekening; het paneel van de app schuift er half over.
   Alleen vorm: de apps en hun eigen css blijven ongewijzigd. Per thema: --kop (band), --kop-inkt (tekst op de band), --rand (inkt), --accent. */

/* ---- gedeeld ---- */
.th { position: relative; isolation: isolate; padding-top: 22px; }
.th-kop { position: relative; overflow: hidden; border-radius: 26px; padding: 26px 30px 92px; background: var(--kop); color: var(--kop-inkt); min-height: 250px; }
.th-kop > * { position: relative; z-index: 1; }
.th-kop .terug { color: var(--kop-inkt); opacity: .85; font-weight: 700; }
.th-kop .klus-titel { color: var(--kop-inkt) !important; font-size: clamp(2.2rem, 4.4vw, 3.3rem); letter-spacing: -.02em; margin: 14px 0 8px; max-width: calc(100% - 230px); }
.th-kop .k-noot, .th-kop .k-noot a { color: var(--kop-inkt) !important; opacity: .85; max-width: calc(100% - 230px); }
.th-kop .status.beta { background: var(--accent); color: var(--rand); }
.th-embleem { position: absolute; right: 30px; bottom: 76px; width: clamp(150px, 20vw, 230px); z-index: 1; color: var(--rand); pointer-events: none; }
.th-embleem svg { display: block; width: 100%; height: auto; overflow: visible; }
.th .em-t { font: 800 20px Gabarito, system-ui, sans-serif; }
/* het paneel en de tabs schuiven over de band */
.th [id$="app"] { position: relative; z-index: 2; margin: -64px 18px 0; }
.th .k-stappen { flex-wrap: wrap; margin-top: 0; }
.th .k-stappen button { background: #fff; color: var(--rand); box-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.th .k-stappen button.aan { background: var(--accent); color: var(--accent-inkt, var(--rand)); }
.th .k-paneel { position: relative; box-shadow: 0 22px 44px rgba(0, 0, 0, .12); }
.th .k-melding { position: relative; }
@media (max-width: 700px) {
  .th { padding-top: 12px; }
  .th-communie .th-embleem { top: 40px; }
  .th-communie .th-kop .klus-titel { margin-top: 40px; }
  .th-kop { border-radius: 20px; padding: 18px 18px 84px; min-height: 0; }
  .th-kop .klus-titel, .th-kop .k-noot { max-width: none; }
  .th-kop .klus-titel { font-size: 2rem; margin-top: 34px; overflow-wrap: anywhere; }
  .th-embleem { width: 78px; top: 10px; right: 12px; bottom: auto; }
  .th [id$="app"] { margin: -60px 6px 0; }
}
@media print {
  .th { padding: 0; background: none !important; }
  .th-kop { background: none !important; color: #000; min-height: 0; padding: 0; }
  .th-kop::before, .th-kop::after, .th-embleem, .th .k-paneel::before, .th .k-paneel::after { display: none !important; }
  .th [id$="app"] { margin: 0; }
  .th .k-paneel { border: 0 !important; box-shadow: none !important; }
}

/* ---- Verhuis: petrol band met een weg, karton en plakband ---- */
.th-verhuis { --kop: #12343b; --kop-inkt: #fff; --rand: #12343b; --accent: #f5b82e; }
.th-verhuis .th-embleem { color: #fff; }
.th-verhuis .th-kop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(#1d4a53, #1d4a53) 0 0 / 100% 100%; }
.th-verhuis .th-kop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 4px; z-index: 1; background: repeating-linear-gradient(90deg, #f5b82e 0 28px, transparent 28px 52px); }
.th-verhuis .k-paneel { border: 1.5px solid #d9c3a3; border-radius: 8px; }
.th-verhuis .k-paneel::before { content: ""; position: absolute; top: -10px; right: 34px; width: 120px; height: 22px; rotate: 2deg; background: rgba(245, 184, 46, .85); border-radius: 2px; }
.th-verhuis .k-stappen button { border-radius: 6px; }
.th-verhuis #verhuisapp .knop { background: #12343b; border-radius: 10px; }
.th-verhuis #verhuisapp .knop.rustig { background: #f4e8d8; color: #12343b; }

/* ---- Communie: hemel met vlaggetjes en een grasheuvel ---- */
.th-communie { --kop: #bfe3ff; --kop-inkt: #1f2d5a; --rand: #1f2d5a; --accent: #ffc93c; }
.th-communie .th-kop { padding-top: 50px; }
.th-communie .th-kop::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='46'%3E%3Cpath d='M0 4 Q84 22 168 4' fill='none' stroke='%231f2d5a' stroke-width='2.5'/%3E%3Cpath d='M14 8 l18 3 l-7 22z' fill='%23ff7aa2' stroke='%231f2d5a' stroke-width='2'/%3E%3Cpath d='M56 13 l18 1 l-9 22z' fill='%23ffc93c' stroke='%231f2d5a' stroke-width='2'/%3E%3Cpath d='M98 14 l18 -1 l-9 22z' fill='%2335a866' stroke='%231f2d5a' stroke-width='2'/%3E%3Cpath d='M138 11 l18 -3 l-11 22z' fill='%239fd8ff' stroke='%231f2d5a' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0; }
.th-communie .th-kop::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px; border-radius: 50%; background: #35a866; box-shadow: 0 -12px 0 #5cc183; }
.th-communie .k-paneel { border: 3px solid #1f2d5a; border-radius: 22px; box-shadow: 8px 8px 0 #1f2d5a; }
.th-communie .k-stappen button { border: 3px solid #1f2d5a; border-radius: 999px; box-shadow: none; }
.th-communie #communieapp .knop { background: #ff7aa2; color: #1f2d5a; border: 3px solid #1f2d5a; border-radius: 999px; box-shadow: 0 4px 0 #1f2d5a; }
.th-communie #communieapp .knop.rustig { background: #fff; box-shadow: none; }
@media (max-width: 700px) { .th-communie .k-paneel { box-shadow: 5px 5px 0 #1f2d5a; } }

/* ---- HACCP: koelcel-blauw met tegels, roestvrij staal ---- */
.th-haccp { --kop: #173847; --kop-inkt: #fff; --rand: #173847; --accent: #7fd1f5; }
.th-haccp .th-embleem { color: #fff; }
.th-haccp .th-kop { background-image: linear-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1.5px, transparent 1.5px); background-size: 44px 44px; }
.th-haccp .k-paneel { border: 1px solid #cdd9e0; border-radius: 14px; }
.th-haccp .k-paneel::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 6px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, #b8c6ce, #eef3f6 40%, #a9b8c1 60%, #e6edf1); }
.th-haccp .k-stappen button { border-radius: 8px; }

/* ---- Keuring: veiligheidsgeel met klembord ---- */
.th-keuring { --kop: #ffd400; --kop-inkt: #1d1d1d; --rand: #1d1d1d; --accent: #1d1d1d; --accent-inkt: #ffd400; }
.th-keuring .th-kop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: repeating-linear-gradient(-45deg, #1d1d1d 0 18px, #ffd400 18px 36px); }
.th-keuring .k-paneel { border: 0; border-radius: 10px; padding-top: 36px; box-shadow: 0 0 0 1.5px #c9cdd0, 0 22px 40px rgba(0, 0, 0, .14); }
.th-keuring .k-paneel::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; translate: -50% 0; background: #3a3a3a; border-radius: 8px; box-shadow: inset 0 -6px 0 #1d1d1d; }
.th-keuring .k-stappen button { border: 2px solid #1d1d1d; border-radius: 4px; box-shadow: none; }
.th-keuring [id$="app"] { margin-top: -58px; }

/* ---- Catering: bosgroen linnen, menukaart met messing ---- */
.th-catering { --kop: #2f4a3a; --kop-inkt: #f6f1e7; --rand: #2f4a3a; --accent: #b08d57; --accent-inkt: #fff; }
.th-catering .th-embleem { color: #f6f1e7; }
.th-catering .th-kop { background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 7px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 7px); }
.th-catering .k-paneel { border: 1px solid #b08d57; border-radius: 4px; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #d9c7a6, 0 22px 44px rgba(47, 74, 58, .16); padding: 30px; }
.th-catering .k-stappen button { border-radius: 4px; }
@media (max-width: 700px) { .th-catering .k-paneel { padding: 22px 18px; } }

/* ---- Klus: indigo werkplaats met gaatjesbord ---- */
.th-klus { --kop: #2c2a7c; --kop-inkt: #fff; --rand: #2c2a7c; --accent: #ffc83a; }
.th-klus .th-embleem { color: #fff; }
.th-klus .th-kop { background-image: radial-gradient(circle, rgba(255, 255, 255, .16) 2.4px, transparent 2.8px); background-size: 26px 26px; }
.th-klus .k-paneel { border-radius: 20px; }
/* meetlint: geel met maatstreepjes, elke vijfde langer */
.th-klus .k-paneel::before { content: ""; position: absolute; top: 12px; left: 22px; right: 22px; height: 12px; border-radius: 3px; background: repeating-linear-gradient(90deg, #2c2a7c 0 2px, transparent 2px 50px) 0 0 / 100% 12px no-repeat, repeating-linear-gradient(90deg, #2c2a7c 0 1.5px, transparent 1.5px 10px) 0 0 / 100% 6px no-repeat, #ffc83a; }
.th-klus .k-paneel { padding-top: 38px; }
.th-klus .k-stappen button { border-radius: 999px; }

/* ---- Epodex: blauwdruk met hars ---- */
.th-epodex { --kop: #134b66; --kop-inkt: #fff; --rand: #133b4c; --accent: #f2a93b; }
.th-epodex .th-embleem { color: #fff; }
.th-epodex .th-kop { background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 22px 22px, 22px 22px, 110px 110px, 110px 110px; }
.th-epodex .k-paneel { border: 1.5px solid #1f8a8a; border-radius: 10px; }
.th-epodex .k-stappen button { border-radius: 8px; }

/* ---- Trouw: wijnrood met een champagne boog ---- */
.th-trouw { --kop: #6e1f33; --kop-inkt: #fbf3e6; --rand: #6e1f33; --accent: #e8c98f; }
.th-trouw .th-embleem { color: #fbf3e6; }
.th-trouw .th-kop::after { content: ""; position: absolute; right: -40px; top: -60px; width: 380px; height: 420px; border: 22px solid rgba(232, 201, 143, .22); border-radius: 50% 50% 0 0; }
.th-trouw .k-paneel { border: 1px solid #e8d5b0; border-radius: 22px; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px #efe3cc, 0 22px 44px rgba(110, 31, 51, .14); }
.th-trouw .k-stappen button { border-radius: 999px; }

/* ---- Oplever: leisteen met een rij bakstenen ---- */
.th-oplever { --kop: #2f3e46; --kop-inkt: #fff; --rand: #2f3e46; --accent: #e07a5a; --accent-inkt: #fff; }
.th-oplever .th-embleem { color: #fff; }
.th-oplever .th-kop { background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 30px 30px; }
.th-oplever .th-kop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: repeating-linear-gradient(90deg, #b4553a 0 58px, #2f3e46 58px 62px) 0 0 / 100% 12px no-repeat, repeating-linear-gradient(90deg, #2f3e46 0 30px, #a44c33 30px 88px, #2f3e46 88px 92px) 0 14px / 100% 14px no-repeat; }
.th-oplever .k-paneel { border-radius: 14px; }
/* een rij bakstenen met voegen, zoals onderaan de band */
.th-oplever .k-paneel::before { content: ""; position: absolute; top: 12px; left: 22px; right: 22px; height: 12px; background: repeating-linear-gradient(90deg, #b4553a 0 34px, #fff 34px 37px); border-radius: 2px; }
.th-oplever .k-paneel { padding-top: 38px; }
.th-oplever .k-stappen button { border-radius: 4px; }

/* ---- bijstellingen na het nakijken ---- */
.th-keuring .th-kop .status.beta { background: #1d1d1d; color: #ffd400; }
/* Klus en Epodex tonen boven hun tabs nog een melding; de tekening staat daarom hoger en de band van Epodex laat er plaats voor */
.th-klus .th-embleem, .th-epodex .th-embleem { bottom: 100px; width: clamp(130px, 17vw, 200px); }
.th-klus .th-kop, .th-epodex .th-kop { min-height: 270px; }
.th-epodex .epx-band { max-width: calc(100% - 230px); position: relative; z-index: 1; }
@media (max-width: 700px) {
  .th-klus .th-embleem, .th-epodex .th-embleem { bottom: auto; width: 78px; }
  .th-epodex .epx-band { max-width: none; }
}

/* ---- Symptoomdagboek: notitieboekje, zeegroen met perzik, gelinieerd papier ---- */
.th-symptoom { --kop: #1f4f56; --kop-inkt: #fff; --rand: #1f4f56; --accent: #f6c7a8; }
.th-symptoom .th-embleem { color: #10292d; }
.th-symptoom .th-kop::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 31px, rgba(255, 255, 255, .07) 31px 32px); pointer-events: none; }
.th-symptoom .th-kop::before { content: ""; position: absolute; top: 0; bottom: 0; left: 64px; width: 2px; background: rgba(246, 199, 168, .45); }
.th-symptoom .k-paneel { border: 1.5px solid #d6e3dd; border-radius: 14px; background: #fff linear-gradient(90deg, transparent 0 22px, rgba(246, 199, 168, .5) 22px 24px, transparent 24px) 0 0 / 100% 100% no-repeat; padding-left: 40px; }
.th-symptoom .k-stappen button { border-radius: 10px 10px 4px 4px; }
@media (max-width: 700px) { .th-symptoom .k-paneel { padding-left: 26px; background-position: -12px 0; } .th-symptoom .th-kop::before { left: 30px; } }
