/* RoosterAssistent — Landingspagina CSS
   ======================================
   Geen externe requests. Geen frameworks. Geen JavaScript.
   Alles self-hosted. Enige afhankelijkheden: Inter-font (woff2) + SVG-logo's.
*/

/* -----------------------------------------------------------------------
   FONTS — self-hosted Inter, geen Google Fonts CDN
   ----------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------------------------------------------------
   RESET + BASIS
   ----------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #1C1917;
  background-color: #FAFAF9;
}

/* Focus-ring — keyboard-navigatie zichtbaar */
:focus-visible {
  outline: 2px solid #0D9488;
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------
   HEADER
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  height: 64px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.site-header__login {
  font-size: 0.85rem;
  color: #78716C;
  text-decoration: none;
  font-weight: 400;
}

.site-header__login:hover {
  color: #0D9488;
}

/* -----------------------------------------------------------------------
   HERO
   ----------------------------------------------------------------------- */
.hero {
  background-color: #FAFAF9;
  padding: 5rem 2rem;
  text-align: center;
}

.hero__inner {
  max-width: 740px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #115E59;
  line-height: 1.2;
}

.hero__sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: #1C1917;
  line-height: 1.6;
  margin-top: 1rem;
}

.hero__cta {
  display: inline-block;
  margin-top: 1.75rem;
  background-color: #0F766E;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: background-color 0.15s ease;
}

.hero__cta:hover {
  background-color: #115E59;
}

/* -----------------------------------------------------------------------
   PRODUCT-SCREENSHOT (sectie 3)
   ----------------------------------------------------------------------- */
.product-preview {
  background: #FFFFFF;
  padding: 3rem 2rem;
}

.product-preview__inner {
  max-width: 860px;
  margin: 0 auto;
}

.product-screenshot-wrapper {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto; /* Horizontaal scrollen op smal scherm */
}

.product-screenshot-figure {
  border: 1px solid #E7E5E4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden; /* border-radius toepassen op de img */
  margin: 0;
  display: inline-block; /* Zodat figure niet breder is dan de img op smal scherm */
  min-width: 700px;      /* Niet meeschalen op mobiel — horizontaal scrollen */
}

.product-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 860px; /* Op desktop: nooit breder dan de sectie-inner */
}

.product-screenshot-caption {
  font-size: 0.75rem;
  color: #78716C;
  text-align: center;
  padding: 0.5rem 1rem 0.75rem;
  background: #FFFFFF;
}

/* -----------------------------------------------------------------------
   PROBLEEM → OPLOSSING
   ----------------------------------------------------------------------- */
.probleem-oplossing {
  background: #FAFAF9;
  padding: 4rem 2rem;
}

.probleem-oplossing__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.kolom__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kolom__label--probleem {
  color: #EA580C;
}

.kolom__label--oplossing {
  color: #0D9488;
}

.kolom h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #115E59;
  margin-top: 0.5rem;
}

.kolom p {
  font-size: 1rem;
  font-weight: 400;
  color: #1C1917;
  line-height: 1.7;
  margin-top: 1rem;
}

/* -----------------------------------------------------------------------
   DRIE USP'S
   ----------------------------------------------------------------------- */
.usps {
  background: #FFFFFF;
  padding: 4rem 2rem;
}

.usps__inner {
  max-width: 960px;
  margin: 0 auto;
}

.usps__header {
  font-size: 1.5rem;
  font-weight: 600;
  color: #115E59;
  text-align: center;
  margin-bottom: 2.5rem;
}

.usps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.usp-kaart {
  background: #FAFAF9;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #E7E5E4;
}

.usp-kaart__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #CCFBF1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #0D9488;
}

.usp-kaart h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #115E59;
  margin-top: 1rem;
}

.usp-kaart p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #78716C;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* -----------------------------------------------------------------------
   CONTACT
   ----------------------------------------------------------------------- */
.contact {
  background: #0F766E;
  padding: 4rem 2rem;
}

.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
}

.contact__sub {
  font-size: 1rem;
  font-weight: 400;
  color: #CCFBF1;
  margin-top: 0.75rem;
}

.contact__blok {
  margin-top: 2.5rem;
}

.contact__naam {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  display: block;
}

.contact__lijn {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 400;
  color: #CCFBF1;
  text-decoration: none;
}

.contact__lijn:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* -----------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------- */
.site-footer {
  background: #115E59;
  padding: 2rem;
  color: #CCFBF1;
  font-size: 0.85rem;
  font-weight: 400;
}

.site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.site-footer__logo img {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-footer__col p {
  line-height: 1.7;
  color: #CCFBF1;
}

.site-footer__col a {
  color: #CCFBF1;
  text-decoration: none;
}

.site-footer__col a:hover {
  color: #FFFFFF;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.site-footer__copyright {
  color: rgba(204, 251, 241, 0.6);
}

.site-footer__login-link {
  color: #CCFBF1;
  text-decoration: none;
}

.site-footer__login-link:hover {
  color: #FFFFFF;
}

/* -----------------------------------------------------------------------
   RESPONSIVE — Tablet (481px – 767px)
   ----------------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 767px) {
  .usps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .probleem-oplossing__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__top {
    grid-template-columns: auto 1fr;
  }

  .site-footer__top .site-footer__col:last-child {
    grid-column: 2;
  }
}

/* -----------------------------------------------------------------------
   RESPONSIVE — Mobiel (≤480px)
   ----------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero__sub {
    font-size: 1rem;
  }

  .usps__grid {
    grid-template-columns: 1fr;
  }

  .probleem-oplossing__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .usps h2,
  .usps__header {
    font-size: 1.2rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* -----------------------------------------------------------------------
   RESPONSIVE — Header mobiel/small tablet (≤560px) — Addendum 1 (12 juni 2026)
   ----------------------------------------------------------------------- */
@media (max-width: 560px) {
  .site-header__logo img {
    max-height: 20px;
    width: auto;
  }

  .site-header__login {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-header__login-ext {
    display: none; /* verbergt " voor gebruikers" — zichtbaar resultaat: "Inloggen →" */
  }
}
/* Op 561–767px en ≥768px: .site-header__login-ext is display: inline (browser default) */
/* Resultaat: "Inloggen voor gebruikers →" — volledig zichtbaar, geen extra CSS nodig */

/* -----------------------------------------------------------------------
   RESPONSIVE — Desktop (≥768px)
   ----------------------------------------------------------------------- */
@media (min-width: 768px) {
  .probleem-oplossing__inner {
    grid-template-columns: 1fr 1fr;
  }

  .usps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
