/* Excellus Akademie – DE static replica
   Brand: anthracite #2b2b2b, teal #34b1ca, navy #0d1267, orange #f86634
   Fonts: Jost (headings), Lato (body) */

:root {
  --teal: #34b1ca;
  --teal-dark: #2a93a8;
  --navy: #0d1267;
  --orange: #f86634;
  --orange-dark: #e2521f;
  --ink: #2b2b2b;
  --grey: #5a5f6b;
  --light: #f4f7f9;
  --line: #e4e9ee;
  --white: #ffffff;
  --radius: 10px;
  --maxw: 1180px;
  --shadow: 0 12px 30px rgba(13, 18, 103, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", "Jost", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Jost", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  font-family: "Jost", sans-serif;
  margin: 0 0 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s ease;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); text-decoration: none; color:#fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); text-decoration: none; color:#fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color:#fff; text-decoration:none; }
.btn-light { background:#fff; color: var(--navy); }
.btn-light:hover { background: var(--light); text-decoration:none; }

.link-arrow {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo img { height: 42px; width: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0; padding: 0;
}
.main-nav a {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  color: var(--navy);
  font-size: 16px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--teal); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(13,18,103,.72), rgba(13,18,103,.62)), url("../img/hero.jpg") center/cover no-repeat;
}
.hero-inner {
  padding: 110px 24px 120px;
  max-width: 820px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--teal); }
.hero p { font-size: 20px; max-width: 640px; margin-bottom: 32px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Intro tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.tile {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile-img { height: 170px; background-size: cover; background-position: center; }
.tile-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.tile-body h3 { font-size: 22px; }
.tile-body p { color: var(--grey); flex: 1; }
.tile-body .link-arrow { margin-top: 14px; }

/* ---------- Section base ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--light); }
.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--grey); font-size: 19px; }

/* ---------- Featured training ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature .tag {
  display: inline-block;
  background: rgba(52,177,202,.14);
  color: var(--teal-dark);
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.feature h2 { font-size: 34px; }
.feature p { color: var(--grey); }
.feature .price { font-family: "Jost", sans-serif; font-size: 22px; color: var(--navy); font-weight: 600; margin: 8px 0 22px; }
.feature .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 28px; font-size: 19px; }

/* ---------- Partners ---------- */
.partners { padding: 64px 0; text-align: center; border-top: 1px solid var(--line); }
.partners h3 { color: var(--grey); font-weight: 500; font-size: 18px; margin-bottom: 34px; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 46px;
}
.partners-grid img { height: 64px; width: auto; filter: grayscale(1); opacity: .65; transition: all .2s; }
.partners-grid img:hover { filter: none; opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0d4d; color: rgba(255,255,255,.75); padding: 70px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--teal); text-decoration: none; }
.footer-logo { background:#fff; padding: 10px 14px; border-radius: 8px; display:inline-block; margin-bottom: 18px; }
.footer-logo img { height: 34px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-contact p { margin: 0 0 10px; }
.socials { display: flex; gap: 14px; margin-top: 18px; }
.socials a { background: rgba(255,255,255,.1); width: 42px; height: 42px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.socials a:hover { background: var(--teal); }
.socials img { height: 20px; width: 20px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 24px; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* ---------- Subpage hero ---------- */
.page-hero { background: var(--navy); color:#fff; padding: 70px 0; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { color:#fff; font-size: clamp(30px, 5vw, 48px); max-width: 820px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.7); }

.content-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.prose h2 { font-size: 28px; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; color: var(--grey); }
.prose li { margin-bottom: 8px; }
.prose p { color: var(--grey); }

.day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0; }
.day-card { background: var(--light); border-radius: var(--radius); padding: 22px 24px; }
.day-card h3 { color: var(--teal-dark); font-size: 18px; margin-bottom: 8px; }
.day-card ul { margin: 0; padding-left: 18px; color: var(--grey); font-size: 15px; }

.booking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.booking-card .price { font-family:"Jost",sans-serif; font-size: 30px; color: var(--navy); font-weight: 700; }
.booking-card .price small { display:block; font-size: 14px; color: var(--grey); font-weight: 400; margin-top: 4px; }
.booking-card .meta { list-style: none; padding: 0; margin: 22px 0; border-top: 1px solid var(--line); }
.booking-card .meta li { padding: 12px 0; border-bottom: 1px solid var(--line); display:flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.booking-card .meta span:first-child { color: var(--grey); }
.booking-card .meta span:last-child { font-weight: 600; color: var(--navy); text-align: right; }
.booking-card .btn { width: 100%; text-align: center; }
.booking-card .note { font-size: 13px; color: var(--grey); margin-top: 14px; text-align:center; }

.dates { margin-top: 18px; }
.date-row { display:flex; justify-content: space-between; align-items:center; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.date-row:last-child { border-bottom: 0; }
.badge { font-family:"Jost",sans-serif; font-size: 12px; font-weight:600; padding: 4px 12px; border-radius: 50px; }
.badge-open { background: rgba(52,177,202,.15); color: var(--teal-dark); }
.badge-full { background: #f1d9d4; color: #b73226; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px;
  }
  .main-nav.open ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .tiles { grid-template-columns: 1fr; margin-top: -50px; }
  .feature { grid-template-columns: 1fr; }
  .feature .feature-img { order: -1; }
  .content-wrap { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .day-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===================== ADMIN / BEHEER ===================== */
.admin-body { background: var(--light); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Login */
.login-card {
  max-width: 380px; margin: 8vh auto; background: #fff; padding: 40px;
  border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
}
.login-logo { height: 40px; width: auto; margin: 0 auto 20px; }
.login-card h1 { font-size: 24px; margin-bottom: 20px; }
.login-card label { display:block; text-align:left; font-family:"Jost",sans-serif; font-weight:600; font-size:14px; margin-bottom:6px; color: var(--navy); }
.login-card input { width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px; font-size:16px; margin-bottom:18px; }
.login-card .btn { width: 100%; }
.login-error { background:#f1d9d4; color:#b73226; padding:10px; border-radius:8px; font-size:14px; margin-bottom:16px; }

/* Admin top bar */
.admin-top { position: sticky; top: 0; z-index: 50; background:#fff; border-bottom:1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.admin-top-inner { max-width: 900px; margin:0 auto; padding: 12px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.admin-brand { display:flex; align-items:center; gap:12px; font-family:"Jost",sans-serif; font-weight:600; color:var(--navy); }
.admin-brand img { height: 30px; width:auto; }
.admin-actions { display:flex; gap:10px; flex-wrap:wrap; }
.admin-saved { max-width:900px; margin: 16px auto 0; padding:12px 16px; background:rgba(52,177,202,.15); color:var(--teal-dark); border-radius:8px; font-weight:600; }

.admin-wrap { max-width: 900px; margin: 0 auto; padding: 24px 20px 80px; }
.admin-help { color: var(--grey); font-size:15px; margin-bottom: 20px; }

details { background:#fff; border:1px solid var(--line); border-radius:var(--radius); margin-bottom:14px; overflow:hidden; }
details > summary { cursor:pointer; padding:16px 20px; font-family:"Jost",sans-serif; font-weight:600; color:var(--navy); font-size:17px; list-style:none; }
details > summary::-webkit-details-marker { display:none; }
details > summary::before { content:"▸ "; color:var(--teal); }
details[open] > summary::before { content:"▾ "; }
details[open] > summary { border-bottom:1px solid var(--line); }
details > *:not(summary) { margin-left:20px; margin-right:20px; }
details > summary + * { margin-top:18px; }
details > *:last-child { margin-bottom:20px; }

.fld { display:block; margin-bottom:16px; }
.fld > span { display:block; font-family:"Jost",sans-serif; font-weight:600; font-size:13px; color:var(--navy); margin-bottom:5px; }
.fld input[type=text], .fld textarea, .fld select {
  width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font-size:15px; font-family:inherit; color:var(--ink); background:#fff;
}
.fld textarea { resize:vertical; line-height:1.5; }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.row3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:0 16px; }
fieldset { border:1px solid var(--line); border-radius:8px; padding:16px 18px 4px; margin-bottom:18px; }
fieldset legend { font-family:"Jost",sans-serif; font-weight:600; color:var(--teal-dark); padding:0 8px; font-size:14px; }

.img-fld .img-row { display:flex; align-items:center; gap:14px; }
.img-fld img { height:56px; width:auto; max-width:120px; border-radius:6px; border:1px solid var(--line); background:#fff; object-fit:contain; }
.img-fld small, fieldset small, details > small { display:block; color:var(--grey); font-size:12px; margin-top:4px; }

.date-edit { display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap:0 12px; padding:12px; background:var(--light); border-radius:8px; margin-bottom:10px; }
.admin-footer-actions { margin-top:24px; }

@media (max-width: 700px) {
  .row2, .row3, .date-edit { grid-template-columns: 1fr; }
}

/* ---- Tweede box op de TNCC-pagina ---- */
.booking-card.card2 { margin-top: 20px; }
.booking-card .card-title { font-family: "Jost", sans-serif; font-weight: 600; color: var(--navy); font-size: 24px; margin: 0 0 18px; }
.card2 .card2-body { color: var(--grey); font-size: 15px; margin: 0 0 16px; }

/* checkbox-veld in het beheer */
.fld.fld-check { display: flex; align-items: center; gap: 10px; }
.fld.fld-check > span { margin: 0; font-family: "Jost", sans-serif; font-weight: 600; font-size: 14px; color: var(--navy); }
.fld.fld-check input { width: auto; }
