/* 3POLIS – kleuren en lettertypes overgenomen van de oorspronkelijke Wix-site */
:root {
  --navy: #1e2d3b;
  --navy-2: #3d5975;
  --lichtblauw: #c0d2e5;
  --groen-licht: #badead;
  --groen: #8fbd7f;
  --groen-donker: #509c35;
  --grijs-licht: #f7f7f7;
  --grijs: #949494;
  --tekst: #3b3a3a;
  --wit: #ffffff;
  --kop: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --body: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 980px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--wit);
  color: var(--tekst);
  font: 300 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--kop); font-weight: 800; margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--wit);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px;
}
.logo { display: block; background: var(--wit); padding: 6px 10px; flex-shrink: 0; }
.logo img { width: 170px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  display: block; padding: 8px 10px;
  font: 800 14px/1.4 var(--kop); letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; color: var(--wit);
  transition: color .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--groen); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .logo img { width: 140px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 3px; background: var(--wit); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .nav { max-height: 80vh; overflow-y: auto; }
  .nav ul { flex-direction: column; padding: 8px 0 16px; }
  .nav a { padding: 12px 16px; font-size: 16px; border-top: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--wit);
  background: var(--navy) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(30, 45, 59, .25); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(40px, 9vw, 60px); line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,.4); margin: 0; }
.hero .sub { font: 800 clamp(18px, 3vw, 25px)/1 var(--kop); margin-top: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* ---------- Drie kolommen (Actueel / Informatie / Contact) ---------- */
.kolommen { display: grid; grid-template-columns: repeat(3, 1fr); }
.kolom { padding: 48px 28px 56px; text-align: center; }
.kolom.actueel { background: var(--groen-licht); }
.kolom.informatie { background: var(--groen); }
.kolom.contact { background: var(--groen-donker); color: var(--wit); }
.kolom h2 { font-size: 38px; line-height: 1; color: var(--navy); }
.kolom.contact h2 { color: var(--wit); }
.streep { width: 60px; height: 10px; background: var(--navy); border: 0; margin: 18px auto 28px; }
.kolom h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.kolom.contact h3 { color: var(--wit); }
.kolom p { font-size: 18px; line-height: 1.5; }
.kolom.contact a { text-decoration: none; }
.kolom.contact a:hover { text-decoration: underline; }

.kamertype { display: block; text-decoration: none; margin: 0 auto 28px; max-width: 330px; }
.kamertype .foto { position: relative; overflow: hidden; }
.kamertype img { width: 100%; aspect-ratio: 330 / 246; object-fit: cover; transition: transform .5s; }
.kamertype:hover img { transform: scale(1.05); }
.kamertype .label {
  position: absolute; top: 12px; left: 0;
  background: var(--navy); color: var(--wit);
  font: 800 14px/1 var(--kop); letter-spacing: .05em; padding: 8px 12px;
}
.kamertype h3 { margin: 12px 0 0; font-size: 22px; color: var(--navy); }

@media (max-width: 860px) {
  .kolommen { grid-template-columns: 1fr; }
  .kolom { padding: 40px 16px 44px; }
}

/* ---------- Concept / Ontspanning (tekst + beeld) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split .tekst { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.split .beeld { min-height: 420px; background: center / cover no-repeat; }
.split h2 { font-size: clamp(36px, 6vw, 55px); color: var(--navy); line-height: 1.1; margin-bottom: 0; }
.split .klein { font: 800 13px/1 var(--kop); letter-spacing: .12em; text-transform: uppercase; color: var(--grijs); margin-bottom: 6px; }
.split .streep { margin: 18px 0 28px; }
.split p { line-height: 1.7; }
.ontspanning .tekst { background: var(--grijs-licht); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .tekst { padding: 44px 16px; }
  .split .beeld { min-height: 0; aspect-ratio: 4 / 3; }
  .ontspanning .beeld { order: -1; }
}

/* ---------- Troeven (icoon + titel + tekst) ---------- */
.troeven { display: grid; gap: 28px; }
.troef { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: start; }
.troef .icoon { position: relative; width: 70px; height: 70px; }
.troef .icoon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.troef .icoon img + img { opacity: 0; }
.troef:hover .icoon img + img { opacity: 1; }
.troef h3 { font-size: 22px; color: var(--navy); margin: 6px 0 4px; }
.troef p { margin: 0; font-size: 15px; line-height: 1.5; }

/* ---------- Subpagina's ---------- */
.pagina { padding: 56px 0 72px; }
.pagina h1 { font-size: clamp(36px, 7vw, 55px); color: var(--navy); text-align: center; margin: 0; }
.pagina > .wrap > .streep { margin: 18px auto 36px; }
.terug {
  display: inline-block; text-decoration: none;
  font: 800 14px/1 var(--kop); letter-spacing: .05em;
  color: var(--wit); background: var(--navy); padding: 12px 22px;
  transition: background .3s;
}
.terug:hover { background: var(--groen-donker); }
.prijs { text-align: center; font-size: 20px; line-height: 1.5; margin: 24px auto 40px; max-width: 640px; }
.prijs strong { font: 800 22px/1.4 var(--kop); color: var(--navy); }

.kamer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grondplan { background: var(--wit); border: 1px solid #e5e5e5; padding: 12px; }
.grondplan img { margin: 0 auto; max-height: 640px; width: auto; }
@media (max-width: 760px) {
  .kamer { grid-template-columns: 1fr; gap: 32px; }
}

.galerij-sectie { background: var(--grijs-licht); padding: 56px 0; }
.galerij-sectie h2 { text-align: center; color: var(--navy); font-size: 32px; }
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 24px; }
.galerij button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; display: block; }
.galerij img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s, opacity .3s; }
.galerij button:hover img { transform: scale(1.05); opacity: .9; }
@media (max-width: 480px) { .galerij { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  background: rgba(15, 22, 30, .94); color: var(--wit);
}
.lightbox::backdrop { background: rgba(15, 22, 30, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: var(--wit); border: 0;
  width: 48px; height: 48px; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .sluit { top: 16px; right: 16px; }
.lightbox .vorige { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .volgende { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .teller { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 14px; }

/* ---------- Ligging ---------- */
.ligging { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ligging h2 { color: var(--navy); font-size: 25px; display: flex; align-items: center; gap: 14px; }
.ligging h2 img { width: 56px; }
.afstanden { list-style: none; margin: 0; padding: 0; }
.afstanden li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e3e3e3; font-size: 16px; }
.afstanden li span:last-child { font-weight: 700; white-space: nowrap; color: var(--navy); }
.kaart { width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--grijs-licht); }
@media (max-width: 760px) { .ligging { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 22px; color: var(--navy); margin: 0 0 4px; }
.contact-info p { margin-bottom: 22px; }
.contact-info a { color: var(--groen-donker); font-weight: 400; }
.form label { display: block; font-size: 14px; font-weight: 400; margin-bottom: 4px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--tekst);
  padding: 10px 12px; border: 1px solid #c6c6c6; background: var(--wit); margin-bottom: 14px;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--groen-donker); outline-offset: 0; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form .rij { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form button {
  font: 800 15px/1 var(--kop); letter-spacing: .05em; color: var(--wit);
  background: var(--navy); border: 0; padding: 14px 30px; cursor: pointer; transition: background .3s;
}
.form button:hover { background: var(--groen-donker); }
.form .noot { font-size: 13px; color: var(--grijs); margin-top: 10px; }
.contact-beeld { margin-top: 56px; }
.contact-beeld img { width: 100%; max-height: 420px; object-fit: cover; }
.opslag { background: var(--grijs-licht); padding: 24px; margin-top: 40px; font-size: 16px; }
.opslag p { margin: 0 0 6px; }
.opslag a { color: var(--groen-donker); font-weight: 400; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form .rij { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--grijs-licht); padding: 22px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer img { width: 30px; height: 30px; }

/* ---------- Student: How to survive in 3POLIS ---------- */
.hero-student { min-height: min(70vh, 560px); gap: 14px; }
.hero-student::before { background: rgba(30, 45, 59, .45); }
.hero-logo { width: min(340px, 70vw); background: var(--wit); padding: 10px 18px; }

.inhoud { background: var(--groen-donker); position: sticky; top: 76px; z-index: 40; }
.inhoud .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding-top: 10px; padding-bottom: 10px; }
.inhoud a { color: var(--wit); text-decoration: none; font: 800 14px/1 var(--kop); letter-spacing: .05em; text-transform: uppercase; padding: 8px 12px; }
.inhoud a:hover { background: rgba(255,255,255,.15); }
@media (max-width: 860px) { .inhoud { top: 76px; } .inhoud a { font-size: 13px; padding: 8px 8px; } }

.handleiding-blok { padding: 56px 0 24px; scroll-margin-top: 130px; }
.handleiding-blok:nth-of-type(even) { background: var(--grijs-licht); }
.handleiding-blok h2 { font-size: clamp(34px, 6vw, 48px); color: var(--navy); text-align: center; margin: 0; }
.handleiding-blok > .wrap > .streep { margin: 18px auto 40px; }

.item { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid #e3e3e3; scroll-margin-top: 140px; }
.item:first-of-type { border-top: 0; padding-top: 0; }
.item-icoon { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.item-icoon img { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.item h3 { font-size: 24px; color: var(--navy); margin: 4px 0 12px; }
.item h4 { font: 800 16px/1.3 var(--kop); color: var(--groen-donker); margin: 18px 0 6px; }
.item p, .item li { font-size: 16px; line-height: 1.65; }
.item p { margin: 0 0 .8em; }
.item ul { margin: 0 0 1em; padding-left: 1.3em; }
.item li { margin-bottom: 4px; }
.item a { color: var(--groen-donker); font-weight: 400; }
.ico-inline { display: inline-block; height: 1.4em; width: auto; vertical-align: -.35em; margin: 0 2px; }
.ico-inline.wit { filter: brightness(0); }
.item-fotos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 12px; align-items: start; }
.item-fotos img { width: 100%; }
@media (max-width: 600px) {
  .item { grid-template-columns: 1fr; gap: 12px; }
  .item-icoon { width: 60px; height: 60px; }
  .item-icoon img { width: 34px; height: 34px; }
  .item-fotos { grid-template-columns: 1fr; }
}

.vragen { background: var(--navy); color: var(--wit); padding: 64px 0; }
.vragen .wrap { max-width: 720px; }
.vragen h2 { font-size: clamp(18px, 2.6vw, 22px); line-height: 1.5; font-weight: 700; margin-bottom: 16px; }
.vragen .form { margin-top: 28px; }
.vragen .form button { background: var(--groen-donker); }
.vragen .form button:hover { background: var(--groen); }
.vragen .noot { color: var(--lichtblauw); }

/* ---------- SEO-update: taalknop, subtitel H1, intro, FAQ ---------- */
.nav { flex: 1; }
.taal {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 36px; padding: 0 10px;
  font: 800 14px/1 var(--kop); letter-spacing: .05em; text-decoration: none;
  color: var(--wit); border: 2px solid var(--groen); border-radius: 4px;
  transition: background .3s, color .3s;
}
.taal:hover { background: var(--groen); color: var(--navy); }
@media (max-width: 860px) { .taal { margin-left: auto; } }

.h1-sub { display: block; font: 700 clamp(16px, 2.6vw, 20px)/1.3 var(--kop); color: var(--groen-donker); margin-top: 10px; letter-spacing: .01em; }
.intro { max-width: 720px; margin: 0 auto 8px; text-align: center; font-size: 18px; line-height: 1.7; }
.cta { text-align: center; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.kolom .terug { margin-top: 8px; }
.split .tekst a { color: var(--groen-donker); font-weight: 400; }

.faq { padding: 64px 0 72px; }
.faq .wrap { max-width: 760px; }
.faq h2 { font-size: clamp(30px, 5vw, 42px); color: var(--navy); text-align: center; margin: 0; }
.faq details { border-bottom: 1px solid #e3e3e3; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 40px 18px 0; font: 800 18px/1.4 var(--kop); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--groen-donker); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; line-height: 1.7; }

.site-footer p { margin: 0; line-height: 1.6; }
.site-footer a { color: var(--groen-donker); }
