/*
 * De website van Studomus. Dezelfde kleuren en hetzelfde lettertype als de
 * app (src/app/globals.css), zodat wie van de website naar de app gaat
 * hetzelfde merk ziet.
 */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-muted: #f1efe9;
  --border: #e3e1da;
  --text: #1b1f1d;
  --text-soft: #3f4643;
  --text-muted: #5b635f;
  --green: #2f5d50;
  --green-dark: #1f4238;
  --green-deep: #173229;
  --green-soft: #dceae4;
  --green-softer: #f0f5f2;
  --device: #1c201e;
  --radius: 14px;
  --shadow: 0 30px 60px -20px rgba(23, 50, 41, 0.35), 0 12px 24px -12px rgba(23, 50, 41, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 8px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-soft);
  font-size: 1.15rem;
}

/* ------------------------------------------------------------------ */
/* Knoppen                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-light {
  background: #fff;
  color: var(--green-dark);
}

/* ------------------------------------------------------------------ */
/* Kop en voet                                                         */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(246, 245, 241, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--green);
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 28px;
  align-items: center;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-row nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.brand-small {
  font-size: 1rem;
}

.brand-small img {
  border-radius: 7px;
}

.fine {
  grid-column: 1 / -1;
}

/* ------------------------------------------------------------------ */
/* Toestellen: laptop, tablet, gsm                                     */
/* ------------------------------------------------------------------ */

.device img {
  width: 100%;
}

.laptop {
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(23, 50, 41, 0.22));
}

.laptop-screen {
  padding: 2.2% 2.2% 2.6%;
  background: var(--device);
  border-radius: 18px 18px 6px 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.laptop-screen img {
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.laptop-base {
  position: relative;
  height: 14px;
  margin: 0 -6%;
  background: linear-gradient(#d9d8d3, #b9b8b2);
  border-radius: 0 0 16px 16px;
}

.laptop-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 6px;
  transform: translateX(-50%);
  background: #a9a8a2;
  border-radius: 0 0 8px 8px;
}

.tablet {
  padding: 2.4%;
  background: var(--device);
  border-radius: 28px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tablet-screen img {
  border-radius: 12px;
  aspect-ratio: 1180 / 820;
  object-fit: cover;
  object-position: top left;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 11px;
  background: var(--device);
  border-radius: 46px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 1;
  width: 28%;
  height: 22px;
  transform: translateX(-50%);
  background: var(--device);
  border-radius: 20px;
}

.phone-screen {
  overflow: hidden;
  border-radius: 36px;
  background: var(--bg);
}

.phone-screen img {
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
}

/* ------------------------------------------------------------------ */
/* Opening                                                             */
/* ------------------------------------------------------------------ */

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(220, 234, 228, 0.9), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

.hero-visual {
  position: relative;
  padding: 0 0 40px 0;
}

.hero-phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 27%;
  min-width: 150px;
  padding: 7px;
  border-radius: 30px;
}

.hero-phone::before {
  top: 13px;
  height: 14px;
}

.hero-phone .phone-screen {
  border-radius: 24px;
}

/* ------------------------------------------------------------------ */
/* Band met drie kernpunten                                            */
/* ------------------------------------------------------------------ */

.band {
  background: var(--green-deep);
  color: #fff;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 34px 0;
}

.band-grid div {
  display: grid;
  gap: 2px;
}

.band-grid strong {
  font-size: 1.15rem;
}

.band-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Secties                                                             */
/* ------------------------------------------------------------------ */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2 {
  margin-bottom: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature h3 {
  margin: 18px 0 8px;
}

.feature p {
  color: var(--text-soft);
  font-size: 0.97rem;
}

.icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--green-soft);
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Afwisselend: tekst links, toestel rechts, en omgekeerd. */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}

.showcase-reverse .showcase-text {
  order: 2;
}

.showcase-text h2 {
  margin-bottom: 18px;
}

.showcase-text > p {
  color: var(--text-soft);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--text-soft);
  font-size: 0.97rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231f4238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat;
}

/* Voor huurders: drie gsm's op een donkere achtergrond. */
.section-dark {
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(47, 93, 80, 0.55), transparent 70%),
    var(--green-deep);
  color: #fff;
}

.section-dark .eyebrow {
  color: #a9d3c3;
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark .section-head {
  margin-inline: auto;
  text-align: center;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 40px;
  align-items: start;
}

.phones figure {
  margin: 0;
}

.phones .phone {
  max-width: none;
}

.phone-raised {
  transform: translateY(-28px);
}

.phones figcaption {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Veiligheid */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust div {
  padding: 30px;
  background: var(--surface);
}

.trust h3 {
  margin-bottom: 8px;
}

.trust p {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.legal-links {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Over ons */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
}

.about p + p {
  margin-top: 16px;
}

.about p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* Contact */
.contact {
  padding-top: 0;
  background: var(--surface);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(169, 211, 195, 0.25), transparent 70%),
    var(--green);
  color: #fff;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.contact-actions address {
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Kleinere schermen                                                   */
/* ------------------------------------------------------------------ */

/* Zo werkt het: vier stappen. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--text-soft);
  font-size: 0.97rem;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.phones-light figcaption {
  color: var(--text-soft);
}

/* De talen onder de gsm's. */
.langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 64px;
}

.langs p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
}

.langs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.langs li {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-mail {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .steps,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .showcase,
  .about,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .showcase-reverse .showcase-text {
    order: 0;
  }

  .features,
  .trust {
    grid-template-columns: 1fr 1fr;
  }

  .phones {
    grid-template-columns: repeat(3, minmax(0, 220px));
    gap: 24px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .nav {
    display: none;
  }

  .header-row {
    justify-content: space-between;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .section {
    padding: 72px 0;
  }

  .band-grid,
  .steps,
  .features,
  .trust {
    grid-template-columns: 1fr;
  }

  .phones {
    grid-template-columns: minmax(0, 260px);
    gap: 40px;
  }

  .phone-raised {
    transform: none;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .footer-row {
    grid-template-columns: 1fr;
  }

  .footer-row nav {
    justify-content: flex-start;
  }
}
