/* Taaltraining Indonesisch — statische website */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/figtree.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-italic.woff2") format("woff2");
}

:root {
  /* Kleuren uit het logo (rood-witte vlag) */
  --red: #a33a3a;
  --red-dark: #7c2828;
  --red-soft: #fbeeec;
  --gold: #e9a23b;
  --cream: #fbf6ef;
  --text: #2a2220;
  --muted: #655854;
  --border: #eadfd6;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(42, 34, 32, .06), 0 8px 24px rgba(42, 34, 32, .08);
  --container: 1160px;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; margin: 0 0 .5em; color: var(--text); letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5.2vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .3em; }
strong { font-weight: 700; }
[lang="id"] { font-style: italic; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.lead { font-size: 1.14em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .88em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red-dark); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow { display: inline-block; font-size: 14.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .7em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(42, 34, 32, .08); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.logo:hover { color: var(--text); }
.logo img { width: 64px; height: 64px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.logo-name { font-weight: 800; font-size: 21px; }
.logo-sub { font-size: 14.5px; color: var(--muted); font-weight: 500; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm); white-space: nowrap;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px;
}
.main-nav a:hover { background: var(--red-soft); color: var(--red-dark); }
.main-nav a[aria-current="page"] { color: var(--red); background: var(--red-soft); }
.main-nav .nav-cta a { background: var(--red); color: #fff; margin-left: 8px; padding: 9px 20px; }
.main-nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }

.menu-toggle {
  display: none; width: 50px; height: 50px; border: 0; border-radius: var(--radius-sm);
  background: var(--red-soft); cursor: pointer; position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute; left: 13px; width: 24px; height: 3px; border-radius: 2px;
  background: var(--red-dark); content: ""; transition: transform .2s, top .2s, opacity .2s;
}
.menu-toggle span { top: 24px; }
.menu-toggle span::before { top: -8px; left: 0; }
.menu-toggle span::after { top: 8px; left: 0; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 14px 24px rgba(42, 34, 32, .1);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 19px; }
  .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 420px) {
  .logo img { width: 52px; height: 52px; }
  .logo-name { font-size: 18.5px; }
  .logo-sub { font-size: 13px; }
}

/* ---------- Knoppen ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 17.5px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); color: #fff; }
.button-gold { background: var(--gold); color: var(--text); }
.button-gold:hover { background: #d78f28; color: var(--text); }
.button-outline { border-color: var(--red); color: var(--red); background: #fff; }
.button-outline:hover { background: var(--red-soft); color: var(--red-dark); }
.button-white { background: #fff; color: var(--red-dark); }
.button-white:hover { background: var(--red-soft); color: var(--red-dark); }
.button-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.button-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button svg { flex: none; width: 20px; height: 20px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: #3b2b22; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 22, 16, .86) 0%, rgba(40, 22, 16, .6) 48%, rgba(40, 22, 16, .12) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 140px); padding-bottom: clamp(80px, 12vw, 140px); }
.hero-content { max-width: 640px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; }
.hero p { font-size: 1.16em; color: rgba(255, 255, 255, .92); margin-bottom: 1.6em; }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(40, 22, 16, .55), rgba(40, 22, 16, .85)); } }

/* ---------- Kernpunten ---------- */
.usp { background: var(--cream); border-bottom: 1px solid var(--border); }
.usp ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.usp li { margin: 0; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.usp svg { flex: none; width: 28px; height: 28px; color: var(--red); }
@media (max-width: 960px) { .usp ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usp ul { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Secties ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-portrait { max-width: 400px; margin: 0 auto; width: 100%; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.icon-card h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.icon svg { width: 22px; height: 22px; }
.icon-card p { color: var(--muted); font-size: 17px; }
.icon-card a.more { font-weight: 700; text-decoration: none; }
.icon-card a.more:hover { text-decoration: underline; }

/* Vinkjeslijst */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .55em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a33a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Stappen */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: stap; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: stap; margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(stap); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 14px;
}
.steps h3 { font-size: 19px; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); font-size: 17px; }

/* Locaties */
.location { display: flex; flex-direction: column; }
.location h3 { font-size: 21px; margin-bottom: .3em; }
.location address { font-style: normal; color: var(--muted); }
.location .tag { align-self: flex-start; margin-bottom: 12px; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-size: 14px; font-weight: 700; }
.tag-gold { background: #fdf0da; color: #7a4d0b; }

/* Ervaringen */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; position: relative; padding-top: 34px; }
.quote blockquote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 76px; line-height: 1; color: var(--gold); font-weight: 800; }
.quote blockquote p { font-size: 17px; }
.quote figcaption { margin-top: auto; font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 15.5px; }

/* Instagram-blok */
.insta { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #fdf0da, var(--red-soft)); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.insta h2 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: .2em; }
.insta p { margin: 0; color: var(--muted); }

/* Oproep */
.cta-band { background: var(--red); color: rgba(255, 255, 255, .92); }
.cta-band .container { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding-top: clamp(44px, 6vw, 64px); padding-bottom: clamp(44px, 6vw, 64px); }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 620px; }

/* ---------- Paginakop ---------- */
.page-head { position: relative; color: #fff; background: #3b2b22; overflow: hidden; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 22, 16, .85), rgba(40, 22, 16, .45)); }
.page-head .container { position: relative; z-index: 1; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head p { font-size: 1.14em; color: rgba(255, 255, 255, .92); max-width: 720px; margin: 0; }
.page-head-plain { background: var(--cream); color: var(--text); border-bottom: 1px solid var(--border); }
.page-head-plain::after { display: none; }
.page-head-plain h1 { color: var(--text); }
.page-head-plain p { color: var(--muted); }
.breadcrumb { font-size: 15.5px; margin-bottom: 12px; opacity: .85; }
.page-head .breadcrumb a { color: inherit; }

/* Snelnavigatie binnen een pagina */
.chips { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { margin: 0; }
.chips a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; text-decoration: none; font-weight: 600; color: var(--text); font-size: 16.5px; }
.chips a:hover { border-color: var(--red); color: var(--red); }

/* Cursusblokken */
.course { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--border); }
.course:last-of-type { border-bottom: 0; }
.course h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.course h3 { font-size: 20px; margin-top: 1.2em; }
.course-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
@media (max-width: 880px) { .course-cols { grid-template-columns: 1fr; } }

/* Tabellen (prijzen en rooster) */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: 17px; }
caption { text-align: left; padding: 16px 20px 0; font-weight: 800; font-size: 19px; }
th, td { text-align: left; padding: 12px 20px; vertical-align: top; }
thead th { background: var(--cream); font-size: 14.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid var(--border); }
tbody th { font-weight: 700; }
td.price { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: 12px 0; }
  table.stack tbody tr + tr { border-top: 1px solid var(--border); }
  table.stack th, table.stack td { display: flex; gap: 12px; padding: 4px 18px; border: 0 !important; }
  table.stack td::before { content: attr(data-label); flex: 0 0 96px; font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 2px; }
  td.price { white-space: normal; }
}

.note { background: var(--cream); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1em; }
.note > :last-child { margin-bottom: 0; }

/* ---------- Formulier ---------- */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 17.5px; color: var(--text); background: #fff;
  border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-soft); }
.form-note { background: var(--red-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 4px; }
.contact-list strong { display: block; }
.aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 880px) { .aside { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: #2a1d19; color: rgba(255, 255, 255, .8); font-size: 16.5px; }
.site-footer a { color: #fff; }
.site-footer .container { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 36px; padding-top: 54px; padding-bottom: 42px; }
@media (max-width: 820px) { .site-footer .container { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h2 { color: #fff; font-size: 18px; margin-bottom: .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.site-footer p { margin-bottom: .6em; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font-weight: 800; font-size: 20px; line-height: 1.2; }
.footer-logo img { width: 58px; height: 58px; background: #fff; border-radius: 50%; padding: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 15px; color: rgba(255, 255, 255, .62); }

.scroll-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .3);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--red-dark); color: #fff; }
.scroll-top svg { width: 22px; height: 22px; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(70px, 12vw, 140px) 0; }
.not-found img { width: 160px; margin: 0 auto 24px; }
.not-found .buttons { justify-content: center; }

@media print {
  .site-header, .site-footer, .scroll-top, .cta-band, .contact-form, .insta { display: none; }
  .hero, .page-head { color: var(--text); background: none; }
  .hero::after, .page-head::after, .hero > img, .page-head > img { display: none; }
  .hero h1, .page-head h1, .hero p, .page-head p { color: var(--text); }
  body { font-size: 12pt; }
}
