/* ===========================================================
   beterwerken.ai — stylesheet
   Static site for Hostinger. No build step, no dependencies.
   Brand palette & fonts per merkprofiel (Notion Brand page).
   =========================================================== */

:root {
  /* Brand palette (definitief) */
  --creme:     #FBEEDE;   /* dominant background */
  --aubergine: #5A2A47;   /* rich accent / closing sections */
  --aubergine-dk:#48203A;
  --coral:     #E8553D;   /* buttons, kickers, lines */
  --coral-dk:  #CF4329;
  --ink:       #2D1B2A;   /* primary text */
  --ink-soft:  #6A5763;   /* secondary text */
  --surface:   #FFFFFF;   /* cards / alt panels */
  --line:      #EAD9C6;   /* hairlines on creme */
  --coral-sft: #FBE2D9;   /* coral tint */
  --heading:   #5A2A47;   /* koppen in aubergine */
  --hero-bg:   #2D1B2A;   /* donker aubergine vlak (hero + header) */
  --hero-panel:#FBEEDE;   /* crème paneel in de hero */
  --shadow:    0 22px 48px -26px rgba(45,27,42,.35);
  --radius:    16px;
  --maxw:      1140px;
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --creme:     #1E1018;   /* page background */
  --surface:   #2A1622;   /* cards / panels */
  --ink:       #FBEEDE;   /* primary text */
  --ink-soft:  #C6B0BB;   /* secondary text */
  --line:      rgba(251,238,222,.14);
  --coral:     #F26A52;
  --coral-dk:  #FF8067;
  --coral-sft: rgba(242,106,82,.16);
  --aubergine: #5A2A47;
  --heading:   #FBEEDE;   /* koppen licht in donker thema */
  --hero-panel:#2A1622;   /* donker paneel in de hero (donker thema) */
  --shadow:    0 22px 48px -26px rgba(0,0,0,.6);
}
[data-theme="dark"] .site-header { background: rgba(30,16,24,.85); }
[data-theme="dark"] .hero-badge { background: var(--surface); }
[data-theme="dark"] .form input,
[data-theme="dark"] .form textarea { background: rgba(251,238,222,.05); color: var(--ink); }
[data-theme="dark"] .footer { background: #150A10; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--creme);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--heading);
  line-height: 1.14;
  font-weight: 600;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-dk); }

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

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 26px; height: 2px; background: var(--coral);
  vertical-align: middle; margin-right: 10px; transform: translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 16px;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(232,85,61,.7);
}
.btn-primary:hover { background: var(--coral-dk); color:#fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--creme); color: var(--aubergine); }
.btn-light:hover { background:#fff; color: var(--aubergine); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(251,238,222,.10);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 23px; color: #FBEEDE; letter-spacing: -.01em;
}
.brand .b { color: var(--coral); }
.brand .ai { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(251,238,222,.82); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 11px 20px; font-size: 13px; color:#fff; }
.nav-cta:hover { color:#fff; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; width:42px; height:42px; padding:0; }
.nav-toggle span { display:block; width:22px; height:2px; margin:5px auto; background:#FBEEDE; transition:.25s; }

.nav-right { display:flex; align-items:center; gap:8px; }
.theme-toggle {
  display:grid; place-items:center; width:40px; height:40px;
  border:1px solid rgba(251,238,222,.22); border-radius:50%;
  background: transparent; color: #FBEEDE; cursor:pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { border-color: var(--coral); color: var(--coral); }
.theme-toggle .ico-moon { display:none; }
[data-theme="dark"] .theme-toggle .ico-sun  { display:none; }
[data-theme="dark"] .theme-toggle .ico-moon { display:block; }

/* ---------- Hero (Lovable-stijl: donker vlak · foto links · crème paneel rechts) ---------- */
.hero { background: var(--hero-bg); padding: 0; }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch; width: 100%; }
.hero-photo { position: relative; min-height: 520px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-panel {
  background: var(--hero-panel);
  align-self: center;
  margin: 48px clamp(20px, 4vw, 72px) 48px 48px;
  padding: 48px clamp(30px, 3.4vw, 52px);
}
.hero-panel .eyebrow { margin-bottom: 18px; }
.hero-panel h1 {
  color: var(--ink); font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -.01em; margin-bottom: .5em; line-height: 1.1;
}
.hero-panel h1 .accent { color: var(--aubergine); display: block; }
.hero-panel .lead { font-size: 18px; color: var(--ink-soft); max-width: 30em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions .btn { text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.hero-micro {
  margin-top: 22px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.hero-micro span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); display: inline-block; }
[data-theme="dark"] .hero-panel h1 .accent { color: #D8A9BC; }

/* ---------- Generic section ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { font-size: 18px; }

/* ---------- Value blocks (01–03) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  background: var(--creme); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-num { font-family:'Playfair Display',serif; font-size:15px; font-weight:600; color: var(--coral); letter-spacing:.1em; }
.value-card h3 { font-size: 22px; margin: 14px 0 10px; }
.value-card p { margin: 0; font-size: 15.5px; }

/* ---------- Approach (steps) ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; padding: 34px 28px; border:1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-num {
  width:46px; height:46px; display:grid; place-items:center; border-radius:50%;
  background: var(--aubergine); color: #FBEEDE;
  font-family:'Playfair Display',serif; font-weight:600; font-size:19px; margin-bottom:18px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; }

/* ---------- Audience (voor wie) ---------- */
.aud-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.aud-card {
  background: var(--creme); border:1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  display:flex; gap:18px; align-items:flex-start;
}
.section.alt .aud-card { background: var(--creme); }
.aud-ico {
  flex: 0 0 44px; width:44px; height:44px; border-radius:12px;
  background: var(--coral-sft); color: var(--coral-dk);
  display:grid; place-items:center;
}
.aud-ico svg { width:23px; height:23px; display:block; }
.aud-card h3 { font-size: 19px; margin: 2px 0 6px; }
.aud-card p { margin:0; font-size: 15px; }

/* Aubergine sectievariant (rijk vlak) */
.section.aubergine { background: var(--aubergine); border-block: none; }
.section.aubergine .section-head h2 { color: #fff; }
.section.aubergine .section-head p { color: rgba(251,238,222,.82); }
.section.aubergine .eyebrow { color: #F4A48F; }
.section.aubergine .eyebrow::before { background: #F4A48F; }
.section.aubergine .aud-card {
  background: rgba(251,238,222,.06);
  border-color: rgba(251,238,222,.16);
}
.section.aubergine .aud-card h3 { color: #fff; }
.section.aubergine .aud-card p { color: rgba(251,238,222,.78); }
.section.aubergine .aud-ico { background: rgba(244,164,143,.18); color: #F4A48F; }

/* ---------- About ---------- */
.about-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items:center; }
.about-media img { width:100%; border-radius: 22px; box-shadow: var(--shadow); object-fit:cover; aspect-ratio: 4/5; }
.about-text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.about-sign { margin-top: 18px; font-style: italic; color: var(--aubergine); font-weight:500; }

/* ---------- CTA (aubergine closer) ---------- */
.cta { background: var(--aubergine); color: #FBEEDE; }
.cta-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; }
.cta h2 { color:#fff; font-size: clamp(30px,3.6vw,42px); }
.cta p { color: rgba(251,238,222,.82); font-size: 18px; }
.cta .eyebrow { color: #F4A48F; }
.cta .eyebrow::before { background:#F4A48F; }
.cta-card {
  background: var(--creme); color: var(--ink);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.cta-card h3 { font-size: 22px; margin-bottom: 4px; }
.cta-card .muted { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.form { display:flex; flex-direction:column; gap:12px; }
.form label { font-size: 13px; font-weight:500; color: var(--ink); margin-bottom: -6px; }
.form input, .form textarea {
  font-family:'DM Sans',sans-serif; font-size:15px;
  padding:13px 15px; border:1px solid var(--line); border-radius:10px;
  background:#fff; color: var(--ink); width:100%;
}
.form input:focus, .form textarea:focus { outline:2px solid var(--coral); border-color: transparent; }
.form .fine { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 0; }
.form-status { font-size: 14px; margin: 2px 0 0; padding: 11px 14px; border-radius: 10px; }
.form-status.ok { background: rgba(60,140,90,.14); color: #2f7d52; border: 1px solid rgba(60,140,90,.3); }
.form-status.error { background: var(--coral-sft); color: var(--coral-dk); border: 1px solid rgba(232,85,61,.32); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  font-family:'Playfair Display',serif; font-size: 20px; color: var(--heading);
  padding: 22px 40px 22px 0; position:relative;
}
.faq-q::after {
  content:"+"; position:absolute; right:4px; top:50%; transform: translateY(-50%);
  font-family:'DM Sans',sans-serif; font-size:26px; color: var(--coral); transition: transform .25s;
}
.faq-item.open .faq-q::after { content:"\2013"; }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; font-size: 16px; margin:0; }

/* ---------- Footer ---------- */
.footer { background: var(--aubergine); color: rgba(251,238,222,.8); padding: 56px 0 32px; }
.footer-grid { display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; align-items:flex-start; }
.footer .brand { color:#fff; }
.footer .brand .b { color: var(--coral); } .footer .brand .ai { color: var(--coral); }
.footer p { color: rgba(251,238,222,.7); font-size:14px; max-width: 30em; }
.footer-links { display:flex; gap: 12px; }
.social {
  display:grid; place-items:center; width:42px; height:42px; border-radius:50%;
  border:1px solid rgba(251,238,222,.22); color: rgba(251,238,222,.85);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.social:hover { color:#fff; border-color: var(--coral); background: rgba(232,85,61,.16); }
.social svg { width:19px; height:19px; display:block; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top:1px solid rgba(251,238,222,.15); font-size:13px; color: rgba(251,238,222,.6); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .about-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order:-1; max-width: 440px; }
  .value-grid, .approach-grid, .aud-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 360px; }
  .hero-panel { margin: 0; padding: 40px 22px 44px; }
}
@media (max-width: 720px) {
  .nav-links {
    position:absolute; top:72px; left:0; right:0; flex-direction:column; gap:0;
    background: var(--hero-bg); border-bottom:1px solid rgba(251,238,222,.12); padding:10px 0; display:none;
  }
  .nav-links.open { display:flex; }
  .nav-links li { width:100%; }
  .nav-links a { display:block; padding:14px 24px; width:100%; }
  .nav-toggle { display:block; }
  .nav-cta { display:none; }
  .hero-badge { left: 12px; }
}
