/* ===== Wolk: opleidingen webdesign & generatieve AI ===== */

/* Zelf gehoste lettertypes (geen Google Fonts, dus geen bezoekersdata naar Google) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/sora.woff2") format("woff2");
}

:root {
  /* Kleuren afgeleid van het Wolk-logo: antraciet letters, teal wolkje */
  --ink: #2e3538;
  --ink-soft: #5a686c;
  --teal: #17a398;
  --teal-deep: #0f817c;
  --teal-tint: #e8f5f4;
  --cloud: #f6f9f9;
  --white: #ffffff;
  --border: #e2e9e9;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(46, 53, 56, 0.18);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

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

a { color: var(--teal-deep); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}

.logo img { height: 66px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active { color: var(--teal-deep); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 2px solid var(--teal-deep);
}

.nav .btn { padding: 10px 22px; }

/* Menuregel hierboven kleurt links grijs; de knop in het menu moet witte tekst houden */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--teal-tint) 0%, #ffffff 70%);
  overflow: hidden;
}

.hero .wrap {
  max-width: 820px;
  padding-top: 88px;
  padding-bottom: 104px;
}

.hero .clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.eyebrow {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--teal-deep);
  border: 1px solid #c5e6e3;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 em { font-style: normal; color: var(--teal-deep); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 34em;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Sections ===== */
section { padding: 80px 0; }

.section-head { max-width: 620px; margin-bottom: 48px; }

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.section-head p { color: var(--ink-soft); }

/* ===== Aanbod cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
}

.card h3 { font-size: 1.25rem; margin: 10px 0 12px; }

.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card a { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; }

/* ===== Pijnpunten ===== */
.pain .say {
  font-style: italic;
  color: var(--ink-soft);
  background: var(--teal-tint);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; max-width: 760px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
}

.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--teal-deep);
  font-weight: 400;
}

.faq details[open] summary::after { content: "−"; }

.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* ===== USP strip ===== */
.usps { background: var(--ink); color: #fff; }

.usps .section-head h2 { color: #fff; }
.usps .section-head p { color: #b7c6c8; }

.usps .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.usp h3 { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }

.usp h3 span { margin-right: 10px; }

.usp p { color: #b7c6c8; font-size: 0.95rem; }

/* ===== Testimonials ===== */
.testimonials { background: var(--cloud); }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.quote .stars { color: #f5a623; letter-spacing: 3px; margin-bottom: 12px; }

.quote p { font-size: 0.97rem; color: var(--ink-soft); font-style: italic; }

.quote footer { margin-top: 14px; font-weight: 600; font-size: 0.9rem; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 64px 32px;
}

.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }

.cta-band p { color: #d4efec; margin-bottom: 28px; max-width: 36em; margin-inline: auto; }

/* ===== Kalender ===== */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.filter-btn.active { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

.training-list { display: grid; gap: 16px; }

.training {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.training .date {
  text-align: center;
  font-family: var(--font-head);
}

.training .date .day { font-size: 1.6rem; font-weight: 700; color: var(--teal-deep); }

.training .date .month { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

.training h3 { font-size: 1.1rem; margin-bottom: 4px; }

.training .meta { font-size: 0.9rem; color: var(--ink-soft); }

.training .meta .tag {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--teal-deep);
  border-radius: 6px;
  padding: 1px 10px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-right: 8px;
}

.training .btn { padding: 10px 20px; font-size: 0.88rem; white-space: nowrap; }

.empty-state {
  background: var(--teal-tint);
  border: 1px dashed #b3dcd9;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}

.empty-state h3 { font-size: 1.2rem; margin-bottom: 10px; }

.empty-state p { color: var(--ink-soft); max-width: 44em; margin: 0 auto; }

.empty-state ul {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 18px auto;
  color: var(--ink);
  font-weight: 500;
}

.empty-state li { padding: 4px 0 4px 26px; position: relative; }

.empty-state li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { font-size: 1.1rem; margin: 24px 0 6px; }

.contact-info p { color: var(--ink-soft); }

form { display: grid; gap: 18px; }

label { font-weight: 600; font-size: 0.92rem; display: grid; gap: 6px; }

input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--cloud);
  width: 100%;
}

input:focus, textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  background: #fff;
}

textarea { min-height: 150px; resize: vertical; }

/* Lokveld tegen spamrobots: uit beeld, maar niet display:none (dat slaan bots over) */
.niet-invullen {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== Tekstpagina's (privacyverklaring) ===== */
.prose { max-width: 720px; }

.prose h2 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
}

.prose h2:first-child { margin-top: 0; }

.prose p { color: var(--ink-soft); margin-bottom: 14px; }

.prose .bijgewerkt { margin-top: 40px; font-size: 0.85rem; }

/* ===== Page hero (subpages) ===== */
.page-hero {
  background: linear-gradient(160deg, var(--teal-tint) 0%, #ffffff 80%);
  padding: 64px 0 48px;
}

.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 12px; }

.page-hero p { color: var(--ink-soft); max-width: 40em; }

/* ===== Footer ===== */
footer.site {
  background: var(--ink);
  color: #b7c6c8;
  padding: 56px 0 32px;
  font-size: 0.92rem;
}

footer.site .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer.site h4 { color: #fff; font-family: var(--font-head); margin-bottom: 14px; font-size: 1rem; }

footer.site a { color: #b7c6c8; text-decoration: none; }

footer.site a:hover { color: #fff; }

footer.site ul { list-style: none; display: grid; gap: 8px; }

footer.site .bottom {
  border-top: 1px solid #48565a;
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .training { grid-template-columns: 80px 1fr; }
  .training .btn { grid-column: 2; justify-self: start; }
  .nav-links { gap: 18px; }
  .nav-links li.hide-mobile { display: none; }
  section { padding: 56px 0; }
}
