/* =========================================================
   Scolavisa - huisstijl & layout
   Kleuren: zwart #000, oranje #F8A500, links rgb(226,39,6)
   Geen frameworks. Mobile-first, responsive.
   ========================================================= */

:root {
  --black: #000000;
  --orange: #F8A500;
  --orange-soft: #ffb733;
  --red: rgb(226, 39, 6);
  --red-dark: rgb(184, 30, 3);

  --ink: #14110d;
  --paper: #ffffff;
  --cream: #fff8ec;
  --sand: #fdefd6;
  --muted: #5f574c;
  --line: rgba(0, 0, 0, 0.1);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.22);

  --radius: 14px;
  --radius-lg: 24px;
  --maxw: 1160px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1rem; }

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

ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 40px);
}

.section {
  padding-block: clamp(56px, 9vw, 110px);
  position: relative;
}
.section--alt { background: var(--cream); }
.section--dark {
  background: var(--black);
  color: #f4f1ea;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark a { color: var(--orange); }
.section--dark a:hover { color: var(--orange-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.section--dark .eyebrow { color: var(--orange); }

.section__head {
  max-width: 720px;
  margin-bottom: clamp(30px, 5vw, 54px);
}
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p { color: #cfc7ba; }

.text-orange { color: var(--orange); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--orange-soft); color: var(--black); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn--ghost:hover { background: rgba(248, 165, 0, 0.14); color: inherit; }

.btn--dark {
  background: var(--black);
  color: #fff;
}
.btn--dark:hover { background: #1c1c1c; color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand img { height: 34px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.nav__menu a:hover,
.nav__menu a.is-active {
  background: var(--sand);
  color: var(--black);
  text-decoration: none;
}

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
}
.lang-switch a {
  padding: 0.38rem 0.7rem;
  color: var(--muted);
  line-height: 1;
}
.lang-switch a:hover { background: var(--sand); color: var(--black); text-decoration: none; }
.lang-switch a.is-active { background: var(--black); color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  height: 3px;
  width: 26px;
  margin-inline: auto;
  background: var(--black);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, #000 0%, #1a1712 55%, #2a2013 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 78% 18%, rgba(248, 165, 0, 0.35), transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(226, 39, 6, 0.25), transparent 42%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(70px, 12vw, 140px);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(248, 165, 0, 0.16);
  border: 1px solid rgba(248, 165, 0, 0.4);
  color: var(--orange);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); }
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #e7e1d6;
  max-width: 46ch;
  margin-bottom: 1.8rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; font-size: 1.05rem; }
.hero__stats { display: grid; gap: 1.1rem; }
.hero__stat { display: flex; align-items: baseline; gap: 0.7rem; }
.hero__stat b {
  font-size: 2rem;
  color: var(--orange);
  font-weight: 800;
  line-height: 1;
}
.hero__stat span { color: #d9d2c6; font-size: 0.95rem; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(248, 165, 0, 0.5);
}
.card__logo {
  height: 46px;
  width: auto;
  margin-bottom: 1.1rem;
  object-fit: contain;
  object-position: left center;
}
.card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--orange);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.card p { color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 0.5rem; }
.card__link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card__link::after { content: "\2192"; transition: transform var(--transition); }
.card__link:hover::after { transform: translateX(4px); }

/* Sub-apps within CLASS */
.subapps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}
.subapp {
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--cream);
}
.subapp img { height: 30px; width: auto; margin-bottom: 0.55rem; }
.subapp h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.subapp p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Feature list with icons */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
}
.feature-list .tick {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  display: grid; place-items: center;
  font-weight: 900; font-size: 0.85rem;
  margin-top: 2px;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
  max-width: 360px;
}
.about__photo img { width: 100%; height: auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact__aside p { color: #cfc7ba; }
.contact__methods { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact__methods li { display: flex; gap: 0.8rem; align-items: center; margin: 0; }
.contact__methods .ico {
  width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(248,165,0,0.15);
  border: 1px solid rgba(248,165,0,0.35);
  display: grid; place-items: center;
  color: var(--orange); font-size: 1.1rem;
}

.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(248, 165, 0, 0.2);
}
.field textarea { resize: vertical; min-height: 130px; }

.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__note { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.form__submit { width: 100%; justify-content: center; margin-top: 0.4rem; }

.form-alert {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}
.form-alert.is-visible { display: block; }
.form-alert--ok { background: #e7f6e7; color: #1c6b23; border: 1px solid #b6e0b6; }
.form-alert--err { background: #fdecea; color: #a12414; border: 1px solid #f3bcb4; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0a0a;
  color: #b9b2a6;
  padding-block: clamp(40px, 6vw, 64px) 1.5rem;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand img {
  height: 40px;
  margin-bottom: 0.9rem;
  /* Lichte "chip" achter het (grotendeels zwarte) logo, zodat het leesbaar
     blijft op de donkere footer. Crème i.p.v. puur wit voor zachter contrast. */
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 12px;
  box-sizing: content-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.footer__col h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer__col a { color: #cfc7ba; }
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.3rem;
  font-size: 0.82rem;
  color: #857d70;
}
.footer__bottom a { color: #9a9384; }
.footer__credit { max-width: 100%; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 480px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__photo { margin-inline: auto; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.6rem;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: 0.9rem 1rem; border-radius: 10px; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .subapps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
