/* Portfolio Websitegroei. Huisstijl v2.1, header en hero zoals op websitegroei.nl. */

/* Lettertypes van de eigen map, niet van Google. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(huisstijl/fonts/Inter-Regular.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(huisstijl/fonts/Inter-Bold.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url(huisstijl/fonts/Inter-ExtraBold.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(huisstijl/fonts/poppins-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #0f1535; --purple: #a37cf8; --purple-deep: #6b42d6;
  --lav: #eeeaff; --cream: #f7f5f1; --orange: #ff842e; --white: #fff;
  --muted: #686b7a; --line: #dedde5;
  --label-op-navy: #c8baff; --tekst-op-navy: #d8dbe6;
  --kop: Poppins, ui-sans-serif, system-ui, sans-serif;
  --tekst: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font: 400 17px/1.65 var(--tekst); color: var(--muted); background: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.naar-inhoud { position: absolute; left: -9999px; }
.naar-inhoud:focus { left: 12px; top: 12px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 9px; }

/* Header */
.balk { position: sticky; top: 0; z-index: 99; background: rgba(247,245,241,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.balk .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.merk img { height: 36px; width: auto; }
.balk nav { display: flex; align-items: center; gap: 28px; }
.balk nav a { font: 700 14px/1.2 var(--tekst); color: var(--ink); }
.balk nav a:hover { color: var(--purple-deep); }
.balk nav a.nav-cta { background: var(--orange); padding: 12px 18px; border-radius: 999px; white-space: nowrap; }
.balk nav a.nav-cta:hover { background: #ff9a52; color: var(--ink); }

/* Hero */
.kop { background: var(--ink); padding: 82px 0 84px; }
.eyebrow { font: 800 11px/1.2 var(--tekst); letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple-deep); }
.kop .eyebrow, .contact .eyebrow { color: var(--label-op-navy); }
h1 { font: 700 clamp(40px, 6vw, 56px)/1.05 var(--kop); letter-spacing: -0.045em; color: var(--white); margin: 18px 0 20px; overflow-wrap: anywhere; }
.kop .intro { font-size: 20px; color: var(--tekst-op-navy); }

/* Groepen en projectvakken */
.groepen { padding: clamp(48px, 7vw, 84px) 0 clamp(72px, 9vw, 96px); }
.groep + .groep { margin-top: clamp(64px, 9vw, 104px); }
.groepkop { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 26px; }
h2 { font: 700 clamp(30px, 4vw, 42px)/1.08 var(--kop); letter-spacing: -0.04em; color: var(--ink); }
.klein { font-size: 13px; }

.werk { background: var(--vlak, var(--white)); border-radius: 22px; padding: clamp(18px, 3vw, 36px); }
.werk + .werk { margin-top: 24px; }
.werk-kop { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: clamp(16px, 2.4vw, 26px); }
h3 { font: 700 clamp(24px, 3vw, 28px)/1.12 var(--kop); letter-spacing: -0.035em; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 9px; background: var(--white); color: var(--ink); border-radius: 6px; padding: 8px 12px; font: 800 11px/1 var(--tekst); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9e6b; }
.status.dev::before { background: var(--purple); }
.werk-body { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.beeld { position: relative; }
.venster { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 8px 8px; transition: transform .2s ease; }
.venster:hover, .telefoon:hover { transform: translateY(-3px); }
.stippen { display: flex; gap: 6px; padding: 11px 6px; }
.stippen i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.venster img { width: 100%; border-radius: 10px; aspect-ratio: 1440 / 932; object-fit: cover; object-position: top; }
.telefoon { position: absolute; right: clamp(10px, 3%, 36px); bottom: clamp(-18px, -1.5vw, -8px); width: clamp(84px, 19%, 200px); display: block; background: var(--ink); border-radius: clamp(12px, 2vw, 24px); padding: clamp(4px, .7vw, 8px); transition: transform .2s ease; }
.telefoon img { width: 100%; border-radius: clamp(8px, 1.5vw, 17px); aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.info { display: flex; flex-direction: column; padding-block: 6px; }
.branche { font: 800 11px/1.3 var(--tekst); letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple-deep); }
.zin { font: 700 clamp(22px, 2.3vw, 28px)/1.12 var(--kop); letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; margin-block: 14px; }
.info p:not([class]) { color: var(--ink); opacity: .78; }
.knoppen { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); font: 700 16px/1.2 var(--tekst); transition: background .2s ease; }
.knop:hover { background: #232a55; }
.knop.tweede { background: transparent; color: var(--ink); }
.knop.tweede:hover { background: #0f15350d; }
.knop.actie { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 800; }
.knop.actie:hover { background: #ff9a52; border-color: #ff9a52; }

/* Contactblok */
.contact { background: var(--ink); color: var(--tekst-op-navy); padding: clamp(56px, 8vw, 96px) 0; }
.contact .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.foto { width: clamp(170px, 24vw, 280px); aspect-ratio: 4 / 5; border-radius: 22px; object-fit: cover; object-position: 50% 100%; }
.contact h2 { color: var(--white); margin: 14px 0 28px; }

/* Ontwerp schermvullend bekijken */
.kijker { padding: 0; border: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; background: var(--cream); color: var(--ink); }
.kijker[open] { display: flex; flex-direction: column; }
.kijker-balk { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px clamp(10px, 2vw, 20px); background: var(--ink); color: var(--white); }
.kijker-balk strong { font: 700 15px/1.3 var(--tekst); text-align: center; }
.kijker-terug { justify-self: start; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: 700 15px/1.2 var(--tekst); cursor: pointer; }
.kijker-weergave { justify-self: end; display: flex; gap: 4px; padding: 4px; border: 1.5px solid #ffffff55; border-radius: 999px; }
.kijker-weergave button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--white); font: 700 14px/1 var(--tekst); cursor: pointer; }
.kijker-weergave button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.kijker-podium { position: relative; flex: 1; min-height: 0; display: flex; justify-content: center; }
/* De ontwerpen zijn groot: deze tekst staat achter het ontwerp en is te zien tot het geladen is. */
.kijker-podium::before { content: "Ontwerp wordt geladen…"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 15px/1.3 var(--tekst); color: var(--muted); }
.kijker-podium iframe { position: relative; border: 0; width: 100%; height: 100%; }
.kijker-podium.mobiel { padding: 16px; }
.kijker-podium.mobiel iframe { width: 390px; max-width: 100%; border-radius: 22px; box-shadow: 0 0 0 8px var(--ink); }

@media (max-width: 860px) {
  .werk-body { grid-template-columns: 1fr; }
  .info { padding-top: 14px; }
  .knop { justify-content: center; }
  .contact .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .balk nav a:not(.nav-cta) { display: none; }
  .kop { padding: 64px 0 66px; }
  .kijker-balk { grid-template-columns: auto 1fr; }
  .kijker-balk strong { text-align: right; font-size: 13px; }
  .kijker-weergave, .kijker-terug .lang { display: none; }
  .kijker-podium.mobiel { padding: 0; }
  .kijker-podium.mobiel iframe { width: 100%; border-radius: 0; box-shadow: none; }
}
@media (max-width: 400px) {
  .merk { min-width: 0; }
  .merk img { height: auto; max-height: 28px; }
  .balk nav a.nav-cta { padding: 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .venster, .telefoon, .knop { transition: none; }
}
