/*
 Theme Name:   TuchtrechtHulp
 Theme URI:    https://tuchtrechthulp.nl
 Description:  Child theme voor TuchtrechtHulp.nl — Astra parent
 Author:       TuchtrechtHulp
 Template:     astra
 Version:      1.3.0
 License:      GNU General Public License v2 or later
 Text Domain:  tuchtrechthulp
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  --ink:        #0D1824;
  --ink-2:      #152032;
  --ink-3:      #1E2E42;
  --gold:       #C9A84C;
  --gold-dim:   #A07830;
  --gold-glow:  rgba(201,168,76,.18);
  --cream:      #F5F0E8;
  --cream-dim:  rgba(245,240,232,.72); /* ↑ verhoogd van .58 → .72 */
  --cream-text: #E8E3D8;              /* nieuw: voor bodytekst op donker */
  --white:      #FFFFFF;
  --danger:     #C0392B;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'DM Sans', sans-serif;

  --h1: clamp(2.4rem, 5vw, 3.9rem);
  --h2: clamp(1.8rem, 3.5vw, 2.8rem);
  --h3: clamp(1.2rem, 2.2vw, 1.6rem);

  --s1: .5rem; --s2: 1rem; --s3: 1.75rem;
  --s4: 3rem;  --s5: 5rem; --s6: 7.5rem;

  --ease: cubic-bezier(.23,.68,.42,.98);
  --dur:  .35s;
  --shadow: 0 8px 40px rgba(0,0,0,.45);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--cream-text);  /* ↑ betere leesbaarheid als basiskleur */
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: var(--gold); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: #E8C870; }
ul, ol  { list-style: none; }

p { color: var(--cream-text); }

/* ================================================================
   ASTRA STRIP
   ================================================================ */
.ast-container,
.ast-page-builder-template .ast-content-area,
.site-content          { max-width: none !important; padding: 0 !important; }
#masthead,
.ast-primary-header-bar,
.ast-above-header-section,
.ast-builder-grid-row-container,
.ast-builder-header-element,
.ast-header-break-point,
.main-header-bar,
.ast-main-header-wrap,
.site-header { display: none !important; }
#colophon,
.ast-footer-area          { display: none !important; }
body.ast-full-width-layout .ast-container { padding: 0 !important; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  color: var(--cream);
  line-height: 1.18;
  font-weight: 700;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: 1.05rem; font-weight: 600; }

.eyebrow {
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .6rem;
}

/* Lead text — meer contrast */
.lead {
  font-size: 1.08rem;
  color: var(--cream-text);
  line-height: 1.82;
}

.heading-rule {
  display: block;
  width: 44px; height: 2px;
  background: var(--gold);
  margin: 1.1rem 0;
}
.heading-rule--center { margin: 1.1rem auto; }

/* ================================================================
   LAYOUT
   ================================================================ */
.tth-wrap            { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--s3); }
.tth-wrap--narrow    { max-width: 820px; }
.tth-wrap--wide      { max-width: 1480px; }

.tth-section         { padding: var(--s5) 0; }
.tth-section--lg     { padding: var(--s6) 0; }
.tth-section--sm     { padding: var(--s4) 0; }

.grid-2   { display: grid; grid-template-columns: 1fr 1fr;       gap: var(--s4); }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
.grid-4   { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s3); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ================================================================
   HEADER
   ================================================================ */
.tth-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(13,24,36,.94);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: background var(--dur) var(--ease), box-shadow var(--dur);
}
.tth-header.solid {
  background: var(--ink);
  box-shadow: 0 4px 32px rgba(0,0,0,.5);
}
.tth-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--s3);
  gap: var(--s3);
}
.tth-logo { display: flex; align-items: center; flex-shrink: 0; }
.tth-logo img { height: 44px; width: auto; }
.tth-logo .custom-logo-link { display: flex; align-items: center; }
.tth-logo .custom-logo-link img { height: 44px; width: auto; }
.tth-logo .custom-logo { height: 44px; width: auto; }
.tth-logo-text {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.01em;
}
.tth-logo-text em { color: var(--gold); font-style: normal; }

.tth-nav ul          { display: flex; gap: .15rem; }
.tth-nav ul li       { position: relative; }
.tth-nav ul li > a {
  display: block;
  padding: .45rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream-text);
  transition: color var(--dur);
  white-space: nowrap;
}
.tth-nav ul li > a:hover,
.tth-nav ul li.current-menu-item > a { color: var(--gold); }
.tth-nav ul li > a::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.tth-nav ul li > a:hover::after,
.tth-nav ul li.current-menu-item > a::after { transform: scaleX(1); }

.tth-nav .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--dur) var(--ease);
  z-index: 300;
  display: block;
}
.tth-nav .sub-menu li {
  display: block;
  float: none;
  width: 100%;
}
.tth-nav li:hover > .sub-menu,
.tth-nav li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.tth-nav .sub-menu li > a {
  padding: .55rem 1.1rem;
  font-size: .78rem;
  color: var(--cream-text);
  letter-spacing: .03em;
  border-bottom: 1px solid var(--ink-3);
  text-transform: none;
  font-weight: 500;
}
.tth-nav .sub-menu li:last-child > a { border-bottom: none; }
.tth-nav .sub-menu li > a:hover {
  color: var(--gold);
  background: rgba(201,168,76,.06);
  padding-left: 1.4rem;
}
.tth-nav .sub-menu li > a::after { display: none; }
.tth-nav .sub-menu .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  border-left: 2px solid rgba(201,168,76,.25);
  margin-left: var(--s2);
  background: transparent;
  min-width: auto;
  top: auto;
  left: auto;
}

.tth-header-right { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }
.tth-phone-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream-text);
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.tth-phone-link:hover { color: var(--gold); }

/* Verberg telefoonnummer tekst vanaf 1280px */
@media (max-width: 1280px) {
  .tth-phone-link span { display: none; }
}

/* Verberg volledige header-right vanaf 1100px */
@media (max-width: 1100px) {
  .tth-header-right { display: none; }
}

.tth-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  z-index: 210;
  flex-shrink: 0;
}
.tth-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream);
  transition: all var(--dur);
}
.tth-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.tth-hamburger.open span:nth-child(2) { opacity: 0; }
.tth-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 1100px) {
  .tth-hamburger { display: flex; }
  .tth-nav {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    background: var(--ink) !important;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s3);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 400 !important;
    display: flex !important;
  }
  .tth-nav.open {
    transform: translateX(0) !important;
  }
  .tth-nav.open { transform: none; }
  .tth-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .tth-nav ul li > a {
    padding: .85rem 0;
    font-size: .92rem;
    border-bottom: 1px solid var(--ink-3);
    color: var(--cream);
  }
  .tth-nav ul li > a::after { display: none; }
  .tth-nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    border-left: 2px solid var(--gold);
    margin-left: 1rem;
    background: transparent;
    display: none;
  }
  .tth-nav .sub-menu.mobile-open { display: block; }
  .tth-nav .sub-menu li { display: block; width: 100%; }
  .tth-nav .sub-menu li > a { border-bottom: none; font-size: .85rem; padding: .45rem 1rem; }
}

/* Mobiel: telefoonnummer bovenaan nav-overlay */
.tth-mobile-phone {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--ink-3);
  margin-bottom: var(--s2);
  font-size: .92rem;
  font-weight: 600;
  color: var(--gold);
}
@media (max-width: 1100px) { .tth-mobile-phone { display: flex; } }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.8rem;
  font-family: var(--f-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--gold {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.btn--gold:hover {
  background: #E8C870; border-color: #E8C870; color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,.28);
}
.btn--outline {
  background: transparent; color: var(--cream);
  border-color: rgba(245,240,232,.36);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark {
  background: var(--ink); color: var(--gold); border-color: var(--ink);
}
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--gold); }
.btn--sm  { padding: .5rem 1.2rem; font-size: .72rem; }
.btn--lg  { padding: 1rem 2.4rem; font-size: .85rem; }

/* ================================================================
   HERO
   ================================================================ */
.tth-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
  padding-top: 72px;
  isolation: isolate;
}
.tth-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.036) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.tth-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0; width: 44%;
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 70%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.tth-hero-content { position: relative; z-index: 2; padding: var(--s5) 0 var(--s6); }
.tth-hero-wrap {
  max-width: 1480px; margin: 0 auto; padding: 0 var(--s3);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s5); align-items: center;
}
@media (max-width: 900px) {
  .tth-hero-wrap { grid-template-columns: 1fr; }
  .tth-hero-right { display: none; }
}
.tth-hero-glyph {
  font-family: var(--f-display);
  font-size: clamp(12rem, 20vw, 22rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,.1);
  line-height: 1;
  user-select: none; pointer-events: none;
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%); z-index: 1;
}
.tth-hero-left > * { animation: heroIn .75s var(--ease) both; }
.tth-hero-left > *:nth-child(2) { animation-delay: .1s; }
.tth-hero-left > *:nth-child(3) { animation-delay: .2s; }
.tth-hero-left > *:nth-child(4) { animation-delay: .3s; }
.tth-hero-left > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.tth-hero-left h1 { margin-bottom: var(--s2); }
.tth-hero-left .lead { color: #C8C2B4; margin-bottom: var(--s3); max-width: 560px; }
.tth-hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }

.tth-trust-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.trust-pill {
  display: flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(245,240,232,.65);
  padding: .3rem .75rem;
  border: 1px solid var(--ink-3);
  background: rgba(255,255,255,.02);
}
.trust-pill svg { color: var(--gold); flex-shrink: 0; }

.tth-hero-right {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5px; background: var(--gold-dim);
}
.stat-cell {
  background: var(--ink-2); padding: var(--s3);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 155px; position: relative; overflow: hidden;
  transition: background var(--dur);
}
.stat-cell:hover { background: var(--ink-3); }
.stat-cell:nth-child(1) { background: var(--ink-3); }
.stat-cell-num {
  font-family: var(--f-display); font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: .3rem;
}
.stat-cell-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,240,232,.72);
}
.stat-cell-bg {
  position: absolute; top: .5rem; right: .75rem;
  font-family: var(--f-display); font-size: 5rem;
  color: rgba(201,168,76,.06); font-weight: 700;
  line-height: 1; user-select: none;
}

.tth-hero-bar { position: relative; z-index: 3; background: var(--gold); padding: .85rem 0; }
.tth-hero-bar-inner {
  max-width: 1480px; margin: 0 auto; padding: 0 var(--s3);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: var(--s2);
}
.tth-hero-bar-text {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); display: flex; align-items: center; gap: .5rem;
}
.spoed-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--danger); color: var(--white);
  padding: .38rem .9rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  animation: spoed-pulse 2.5s infinite;
}
.spoed-badge:hover { color: var(--white); }
@keyframes spoed-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(192,57,43,.5); }
  60%      { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
}

/* ================================================================
   SECTOR CARDS
   ================================================================ */
.tth-sectors { background: var(--ink); padding: var(--s6) 0; }
.tth-sector-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: var(--ink-3); border: 1.5px solid var(--ink-3);
}
@media (max-width: 900px) { .tth-sector-grid { grid-template-columns: 1fr; } }

.tth-sector-card {
  background: var(--ink-2); padding: var(--s4) var(--s3);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: background var(--dur);
}
.tth-sector-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.tth-sector-card:hover::before { transform: scaleX(1); }
.tth-sector-card:hover { background: var(--ink-3); }
.tth-sector-icon {
  width: 48px; height: 48px; border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s2); transition: background var(--dur);
}
.tth-sector-icon svg { width: 22px; height: 22px; color: var(--gold); }
.tth-sector-card:hover .tth-sector-icon { background: var(--gold-glow); }
.tth-sector-card h3  { color: var(--cream); margin-bottom: .5rem; font-size: 1.25rem; }
.tth-sector-card > p { color: var(--cream-text); font-size: .9rem; margin-bottom: var(--s2); flex: 1; line-height: 1.75; }
.tth-sector-links { margin-bottom: var(--s3); }
.tth-sector-links li { border-top: 1px solid var(--ink-3); }
.tth-sector-links li:first-child { border-top: none; }
.tth-sector-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .48rem 0; color: rgba(245,240,232,.75);
  font-size: .78rem; font-weight: 500;
  transition: color var(--dur), padding-left var(--dur);
}
.tth-sector-links a::after { content: '→'; color: var(--gold); font-size: .68rem; }
.tth-sector-links a:hover { color: var(--gold); padding-left: .35rem; }

/* ================================================================
   INTRO SECTION — contrast gefixet
   ================================================================ */
.tth-intro { background: var(--ink-2); padding: var(--s6) 0; position: relative; overflow: hidden; }
.tth-intro::after {
  content: '§'; position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-size: 32vw; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(201,168,76,.045);
  line-height: 1; user-select: none; pointer-events: none;
}
.tth-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s6); align-items: start; position: relative; z-index: 1;
}
@media (max-width: 860px) { .tth-intro-grid { grid-template-columns: 1fr; } }

/* Lead in intro — expliciet wit contrast */
.tth-intro .lead { color: #D8D2C6; }

.tth-checklist { margin: var(--s2) 0; }
.tth-checklist li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .6rem 0; border-bottom: 1px solid rgba(245,240,232,.1);
  font-size: .92rem;
  color: #D0C9BC; /* ↑ was cream-dim, nu merkbaar lichter */
}
.tth-checklist li:last-child { border-bottom: none; }
.tth-checklist li::before {
  content: '';
  width: 17px; height: 17px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9A84C'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 3px;
}

.tth-pull-quote {
  border-left: 2px solid var(--gold);
  padding: var(--s2) var(--s3);
  background: rgba(201,168,76,.07);
  margin-bottom: var(--s3);
}
.tth-pull-quote p {
  font-family: var(--f-display);
  font-size: 1.15rem; font-style: italic;
  color: var(--cream); line-height: 1.55;
}

.tth-only-for {
  background: var(--ink); border: 1px solid var(--ink-3);
  border-top: 2px solid var(--gold); padding: var(--s3);
}
.tth-only-for-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem;
  color: #D0C9BC; /* ↑ beter leesbaar */
  padding: .45rem 0;
}
.tth-only-for-item::before {
  content: '';
  width: 15px; height: 15px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9A84C'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tth-only-for-disclaimer {
  margin-top: var(--s2); padding-top: var(--s2);
  border-top: 1px solid var(--ink-3);
  font-size: .72rem;
  color: rgba(245,240,232,.45); /* ↑ iets lichter dan voorheen */
  letter-spacing: .08em; text-transform: uppercase;
}

/* ================================================================
   WERKWIJZE
   ================================================================ */
.tth-werkwijze { background: var(--ink); padding: var(--s6) 0; }
.tth-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.5px; background: var(--ink-3); margin-top: var(--s4);
}
@media (max-width: 900px) { .tth-steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .tth-steps { grid-template-columns: 1fr; } }
.tth-step { background: var(--ink-2); padding: var(--s3); transition: background var(--dur); }
.tth-step:hover { background: var(--ink-3); }
.tth-step-num {
  font-family: var(--f-display); font-size: 3.5rem; font-weight: 700;
  color: rgba(201,168,76,.15); line-height: 1; margin-bottom: .75rem;
}
.tth-step h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cream);
  margin-bottom: .35rem; font-family: var(--f-body);
}
.tth-step p { font-size: .82rem; color: #C8C2B4; } /* ↑ betere leesbaarheid */

/* ================================================================
   BEROEPSGROEPEN
   ================================================================ */
.tth-beroepen { background: var(--ink-2); padding: var(--s6) 0; }
.tth-beroepen-grid { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: var(--s3); }
.tth-beroep-tag {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border: 1px solid var(--ink-3);
  background: var(--ink); font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; color: rgba(245,240,232,.75);
  transition: all var(--dur); cursor: default;
}
.tth-beroep-tag:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-glow); transform: translateY(-2px);
}
.tth-beroep-tag svg { width: 13px; height: 13px; color: var(--gold-dim); flex-shrink: 0; }

/* ================================================================
   KENNISBANK CARDS
   ================================================================ */
.tth-kb { background: var(--ink); padding: var(--s6) 0; }
.tth-kb-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5px; background: var(--ink-3); margin-top: var(--s4);
}
@media (max-width: 960px) { .tth-kb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tth-kb-grid { grid-template-columns: 1fr; } }
.tth-kb-card {
  background: var(--ink-2); padding: var(--s3);
  display: flex; flex-direction: column; transition: background var(--dur);
}
.tth-kb-card:hover { background: var(--ink-3); }
.tth-kb-card--featured { padding: var(--s4); }
.tth-kb-card--featured .tth-kb-card-title { font-size: 1.35rem; }
.tth-kb-tag {
  display: inline-block; font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-dim);
  padding: .2rem .65rem; margin-bottom: var(--s2); align-self: flex-start;
}
.tth-kb-card-title {
  font-family: var(--f-display); font-size: 1rem; color: var(--cream);
  margin-bottom: .5rem; line-height: 1.3; flex: 1;
}
.tth-kb-card-excerpt {
  font-size: .83rem; color: #C0BAB0; /* ↑ was cream-dim, nu leesbaar */
  margin-bottom: var(--s2); line-height: 1.7;
}
.tth-kb-link {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: .35rem; align-self: flex-start;
  transition: gap var(--dur);
}
.tth-kb-link:hover { gap: .55rem; color: var(--gold); }

/* ================================================================
   CTA BAND
   ================================================================ */
.tth-cta { background: var(--gold); padding: var(--s4) 0; position: relative; overflow: hidden; }
.tth-cta::before {
  content: ''; position: absolute; left: -5%; top: -100%;
  width: 38%; height: 300%; background: rgba(0,0,0,.06);
  transform: rotate(-12deg); pointer-events: none;
}
.tth-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); flex-wrap: wrap; position: relative; z-index: 1;
}
.tth-cta h2   { color: var(--ink); font-size: var(--h3); margin-bottom: .25rem; }
.tth-cta p    { color: rgba(13,24,36,.68); font-size: .9rem; }
.tth-cta-btns { display: flex; gap: var(--s2); flex-wrap: wrap; flex-shrink: 0; }

/* ================================================================
   CONTACT SECTION — contrast gefixet
   ================================================================ */
.tth-contact { background: var(--ink-2); padding: var(--s6) 0; }
.tth-contact-grid {
  display: grid; grid-template-columns: 1fr 1.55fr;
  gap: var(--s5); align-items: start;
}
@media (max-width: 860px) { .tth-contact-grid { grid-template-columns: 1fr; } }

/* Lead en bodytekst in contact — maximaal contrast */
.tth-contact .lead { color: #D8D2C6; }
.tth-contact > div > p { color: #C8C2B4; }

.tth-contact-detail {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .85rem 0; border-bottom: 1px solid rgba(245,240,232,.1);
}
.tth-contact-detail:last-of-type { border-bottom: none; }
.tth-contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
}
.tth-contact-icon svg { width: 15px; height: 15px; color: var(--gold); }
.tth-contact-label {
  font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,240,232,.65); /* ↑ was .58, nu leesbaar */
  display: block; margin-bottom: .2rem;
}
.tth-contact-value {
  font-size: .95rem;
  color: #E0DAD0; /* ↑ duidelijk zichtbaar wit-crème */
  font-weight: 500;
}
.tth-contact-value a { color: #E0DAD0; }
.tth-contact-value a:hover { color: var(--gold); }

/* Form */
.tth-form {
  background: var(--ink); border: 1px solid var(--ink-3);
  border-top: 2px solid var(--gold); padding: var(--s4);
}
.tth-form h3 { margin-bottom: var(--s3); font-size: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.tth-form .fg { margin-bottom: var(--s2); }
.tth-form label {
  display: block; font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,240,232,.7); /* ↑ was dim, nu duidelijker */
  margin-bottom: .35rem;
}
.tth-form input, .tth-form select, .tth-form textarea {
  width: 100%; padding: .7rem 1rem;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  color: var(--cream); font-family: var(--f-body);
  font-size: .9rem; outline: none;
  transition: border-color var(--dur); border-radius: 0; appearance: none;
}
.tth-form input:focus, .tth-form select:focus, .tth-form textarea:focus { border-color: var(--gold); }
.tth-form textarea { resize: vertical; min-height: 120px; }
.tth-form select option { background: var(--ink-2); }
.tth-form-spoed {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: var(--s2); font-size: .85rem;
  color: rgba(245,240,232,.75); /* ↑ was .58 */
}
.tth-form-spoed input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; }
.form-status {
  display: none; padding: .7rem 1rem; margin-bottom: var(--s2);
  font-size: .83rem; border-left: 2px solid;
}
.form-status--ok    { border-color: #27ae60; background: rgba(39,174,96,.08); color: #2ecc71; }
.form-status--error { border-color: var(--danger); background: rgba(192,57,43,.08); color: #e87070; }

/* ================================================================
   PAGE BANNER
   ================================================================ */
.tth-page-banner {
  background: var(--ink-2); padding: calc(72px + var(--s4)) 0 var(--s4);
  border-bottom: 1px solid var(--ink-3); position: relative; overflow: hidden;
}
.tth-page-banner::after {
  content: attr(data-glyph); position: absolute; right: 2%; top: 50%;
  transform: translateY(-50%); font-family: var(--f-display);
  font-size: 18rem; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,.07);
  line-height: 1; user-select: none; pointer-events: none;
}
.tth-breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .7rem; color: rgba(245,240,232,.6); margin-bottom: .75rem;
}
.tth-breadcrumb a { color: var(--gold); }
.tth-breadcrumb-sep { color: var(--ink-3); }
.tth-page-banner h1 { color: var(--cream); }
.tth-page-banner .lead { max-width: 640px; margin-top: .6rem; color: #C8C2B4; }

/* ================================================================
   BEROEPSGROEP PAGINA — procedure blokken
   ================================================================ */
.tth-proc-block {
  background: var(--ink-2); display: flex; gap: var(--s2);
  padding: var(--s2); transition: background var(--dur);
  border-bottom: 1px solid var(--ink-3);
}
.tth-proc-block:last-child { border-bottom: none; }
.tth-proc-block:hover { background: var(--ink-3); }
.tth-proc-num {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 700;
  color: var(--gold-dim); line-height: 1.1; min-width: 2.8rem; flex-shrink: 0;
}
.tth-proc-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cream); margin-bottom: .2rem;
}
.tth-proc-desc { font-size: .84rem; color: #C0BAB0; }

/* Maatregel-kaarten */
.tth-maatregel {
  background: var(--ink-2); padding: var(--s2);
  transition: background var(--dur);
}
.tth-maatregel:hover { background: var(--ink-3); }
.tth-maatregel-title { font-weight: 700; color: var(--cream); font-size: .88rem; margin-bottom: .3rem; }
.tth-maatregel-desc  { font-size: .78rem; color: #B8B2A8; }

/* ================================================================
   FOOTER
   ================================================================ */
.tth-footer { background: var(--ink); border-top: 1px solid var(--ink-3); padding: var(--s5) 0 0; }
.tth-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--ink-3);
}
@media (max-width: 900px) { .tth-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tth-footer-grid { grid-template-columns: 1fr; } }
.tth-footer-brand p { font-size: .86rem; color: rgba(245,240,232,.65); margin: var(--s2) 0; line-height: 1.72; }
.tth-footer-col h5 {
  font-family: var(--f-body); font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--s2); padding-bottom: .5rem; border-bottom: 1px solid var(--ink-3);
}
.tth-footer-col ul li { margin-bottom: .45rem; }
.tth-footer-col ul li a { font-size: .84rem; color: rgba(245,240,232,.6); transition: color var(--dur); }
.tth-footer-col ul li a:hover { color: var(--gold); }
.tth-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s2) 0; font-size: .74rem; color: rgba(245,240,232,.28);
  flex-wrap: wrap; gap: var(--s2);
}
.tth-footer-legal { display: flex; gap: var(--s2); }
.tth-footer-legal a { color: rgba(245,240,232,.28); }
.tth-footer-legal a:hover { color: var(--gold); }

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.tth-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tth-reveal.visible { opacity: 1; transform: none; }
.tth-reveal:nth-child(2) { transition-delay: .1s; }
.tth-reveal:nth-child(3) { transition-delay: .2s; }
.tth-reveal:nth-child(4) { transition-delay: .3s; }

/* ================================================================
   UTILITIES
   ================================================================ */
.u-center { text-align: center; }
.u-mt-sm  { margin-top: var(--s2); }
.u-mt-md  { margin-top: var(--s3); }
.u-mt-lg  { margin-top: var(--s4); }
.u-mb-md  { margin-bottom: var(--s3); }
.u-gold   { color: var(--gold); }

@media print {
  .tth-header, .tth-footer, .tth-cta { display: none; }
  body { background: #fff; color: #000; }
}

/* ================================================================
   V1.3 ADDITIONS — mobiel & touch verbeteringen
   ================================================================ */

/* Minimum touch target 44px voor alle knoppen */
.btn {
  min-height: 44px;
}

/* Hero actions op mobiel: knoppen vol breed */
@media (max-width: 600px) {
  .tth-hero-actions {
    flex-direction: column;
  }
  .tth-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  /* Warn-bar compact op mobiel */
  .tth-hero-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  /* Contact grid stacking aanpassen */
  .tth-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Sector-grid mobiel: wat meer ruimte */
@media (max-width: 600px) {
  .tth-sector-card {
    padding: var(--s3) var(--s2);
  }
}

/* Form inputs mobiel — grotere touch targets */
@media (max-width: 768px) {
  .tth-form input,
  .tth-form select,
  .tth-form textarea {
    padding: .85rem 1rem;
    font-size: 1rem; /* voorkomt iOS zoom */
  }
  .tth-form label {
    font-size: .68rem;
  }
}

/* Nav dropdowns mobiel — extra padding voor touch */
@media (max-width: 1100px) {
  .tth-nav .sub-menu li > a {
    padding: .7rem 1rem;
    font-size: .9rem;
  }
}

/* Spoed badge mobiel */
@media (max-width: 600px) {
  .spoed-badge {
    width: 100%;
    justify-content: center;
    padding: .55rem 1rem;
  }
}

/* CTA band mobiel */
@media (max-width: 600px) {
  .tth-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tth-cta-btns {
    width: 100%;
    flex-direction: column;
  }
  .tth-cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Maatregelen grid mobiel */
@media (max-width: 768px) {
  .tth-maatregelen-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .tth-maatregelen-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Beroepsgroepen grid mobiel — betere spacing */
@media (max-width: 600px) {
  .tth-beroepen-grid {
    gap: .4rem;
  }
  .tth-beroep-tag {
    font-size: .75rem;
    padding: .6rem .9rem;
  }
}

/* Stat board mobiel */
@media (max-width: 600px) {
  .tth-hero-right {
    display: none;
  }
}

/* Footer logo */
.tth-footer-brand .tth-footer-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: var(--s2);
}

@media (max-width: 600px) {
  .tth-footer-brand .tth-footer-logo {
    max-width: 200px;
  }
}


/* ── Team-sectie ──────────────────────────────────── */
.tth-team { background: var(--ink); padding: var(--s6) 0; }
.tth-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
@media (max-width: 900px) { .tth-team-grid { grid-template-columns: 1fr; gap: var(--s2); } }

.tth-team-card {
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tth-team-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tth-team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tth-team-body {
  padding: var(--s3);
}
.tth-team-name {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 var(--s1) 0;
  line-height: 1.2;
}
.tth-team-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
