/* KAM3 – Uw partner voor de Duitse markt */
:root {
  --groen: #6eb599;
  --groen-donker: #4f9479;
  --rood: #e1003a;
  --wit: #fff;
  --tekst: #1d1d1b;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1400px;
  --pad: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--wit);
  background: var(--groen);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--wit); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Hero (flyer pagina 1) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(50vw, 92vh);
  max-height: 900px;
}
.hero__foto { position: relative; overflow: hidden; background: #cfd8dc; }
.hero__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 50%;
}
.hero__panel {
  position: relative;
  background: var(--groen);
  min-height: 420px;
}
.hero__wordmark {
  position: absolute;
  left: 11%; top: 11%;
  height: 76%;
  width: auto;
  margin: 0;
}
.hero__wordmark img { height: 100%; width: auto; }
.hero__claim {
  position: absolute;
  left: 50%; top: 47.5%;
  width: 24%;
  aspect-ratio: 1;
  background: var(--rood);
  margin: 0;
  padding: 0.6em 0.7em;
  font-size: clamp(14px, 1.45vw, 22px);
  font-weight: 400;
  line-height: 1.3;
}

/* ---------- Informatie (flyer pagina 2) ---------- */
.info { background: var(--groen); }
.info__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 110px) var(--pad) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.35fr 3fr 3fr;
  column-gap: clamp(24px, 3.6vw, 56px);
  row-gap: 40px;
  font-size: clamp(16px, 1.25vw, 18px);
}
.info__adres { font-size: 0.78em; line-height: 1.45; }
.info__adres address { font-style: normal; margin: 0.15em 0 2.4em; }
.info__logo { width: 100%; max-width: 190px; }
.info h2, .info h3 {
  font-weight: 700; margin: 0 0 0.35em; line-height: 1.2;
}
.info h2 { font-size: 1.35em; }
.info h3 { font-size: 1em; margin-top: 1.6em; }
.info p { margin: 0; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.info strong.merk { font-size: 1.35em; font-weight: 700; line-height: 1; }
.info p.cta { text-align: left; }

.referenties {
  grid-column: 1 / -1;
  font-size: 0.75em;
  padding-top: clamp(16px, 2vw, 32px);
}
.referenties h2 { font-size: 1em; margin-bottom: 0.9em; }
.referenties ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.2em 0;
}
.referenties li:not(:last-child)::after { content: "\00a0-\00a0"; }

/* ---------- Footer / mini-impressum ---------- */
.footer { background: var(--groen-donker); font-size: 14px; }
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 26px var(--pad);
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  justify-content: space-between; align-items: baseline;
}
.footer p { margin: 0; }
.footer nav a { margin-left: 18px; }
.footer nav a:first-child { margin-left: 0; }

/* Contact-obfuscatie: zonder JS tekst omgedraaid opgeslagen */
.obf { unicode-bidi: bidi-override; direction: rtl; white-space: nowrap; }
.obf.is-ready { unicode-bidi: normal; direction: ltr; }

/* ---------- Juridische pagina ---------- */
.legal-header {
  background: var(--groen);
  padding: 18px var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.legal-header img { height: 28px; width: auto; }
.legal-header a { text-decoration: none; font-size: 15px; }
.legal-hero { position: relative; height: clamp(220px, 42vw, 560px); overflow: hidden; }
.legal-hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: 10% 82%;
}
.legal {
  background: var(--wit); color: var(--tekst);
}
.legal__inner {
  max-width: 820px; margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  font-size: 16px;
}
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.15; margin: 0 0 0.4em; }
.legal h2 { font-size: 22px; margin: 2.2em 0 0.5em; padding-top: 0.8em; border-top: 3px solid var(--groen); }
.legal h3 { font-size: 17px; margin: 1.6em 0 0.3em; }
.legal h4 { font-size: 16px; font-weight: 700; margin: 1.4em 0 0.3em; }
.legal p, .legal li { margin: 0 0 0.8em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal p, .legal li, .legal h1, .legal h2, .legal h3, .legal h4 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.legal a { color: var(--groen-donker); }
.legal .obf { color: var(--tekst); }
.legal a.obf { color: var(--groen-donker); }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.lang-switch a {
  text-decoration: none; padding: 6px 14px; border: 2px solid var(--groen);
  color: var(--tekst); font-weight: 500; font-size: 14px;
}
.lang-switch a[aria-current="true"] { background: var(--groen); color: var(--wit); }
.lang-block[hidden] { display: none; }
.note { font-size: 14px; color: #555; }

/* ---------- Smalle schermen ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__foto { aspect-ratio: 4 / 5; max-height: 80vh; }
  .hero__panel {
    min-height: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 28px; padding: 40px var(--pad) 48px;
  }
  .hero__wordmark { position: static; height: auto; width: min(70vw, 320px); }
  .hero__wordmark img { width: 100%; height: auto; }
  .hero__claim {
    position: static; width: auto; aspect-ratio: auto;
    font-size: 20px; padding: 14px 18px;
  }
  .hero__claim br { display: none; }

  .info__inner { grid-template-columns: 1fr; row-gap: 36px; }
  .info__adres { order: 3; display: flex; gap: 24px; align-items: flex-start; }
  .info__adres address { margin: 0; }
  .info__logo { max-width: 120px; flex: 0 0 120px; order: -1; }
  .info__bureau { order: 1; }
  .info__historie { order: 2; }
  .referenties { order: 4; }
  .info p { text-align: left; }

  .footer__inner { flex-direction: column; }
  .footer nav a { margin: 0 18px 0 0; }
}
@media (max-width: 420px) {
  .info__adres { flex-direction: column; }
}
