/* ============================================================
   BroodZoeker — Landingspagina stylesheet
   Pas de variabelen onderaan :root aan om kleuren, lettertypen
   en afmetingen eenvoudig te wijzigen.
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* --- Design tokens (pas hier aan) --- */
:root {
  --color-bg:           #F7F3EB; /* achtergrond */
  --color-text:         #3D2614; /* hoofdtekst */
  --color-muted:        #7A6657; /* subtekst */
  --color-primary:      #C97030; /* oranje-bruin accent (altijd) */
  --color-secondary:    #6E7D3A; /* olijfgroen accent (overal) */
  --color-border:       #DDD5CC; /* randen */
  --color-white:        #FFFFFF;

  --font-sans:   'DM Sans', sans-serif;
  --font-serif:  'Fraunces', serif;

  --radius-phone-sm: 1.5rem; /* afronding telefoon (mobiel) */
  --radius-phone-lg: 2rem;   /* afronding telefoon (desktop) */

  --max-width: 1200px;
}

/* --- Reset & basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Navigatie --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

/* --- Hero sectie --- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 1rem 1.5rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* --- Tekstkolom --- */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 36rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.50);
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* Koptekst */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-title .accent-primary {
  color: var(--color-primary);
  font-style: italic;
}

.hero-title .accent-secondary {
  color: var(--color-secondary);
  font-style: italic;
}

/* Subtekst */
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 28rem;
  margin-bottom: 2.5rem;
}

/* --- Aanmeldformulier --- */
.signup-wrapper {
  width: 100%;
  max-width: 28rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.signup-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: 9999px;
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.signup-input:focus {
  border-color: var(--color-primary);
}

.signup-input::placeholder {
  color: var(--color-muted);
}

.signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.signup-btn:hover { opacity: 0.85; }
.signup-btn:disabled { opacity: 0.6; cursor: default; }

.signup-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
  padding-left: 0.5rem;
}

/* Statusberichten */
.signup-success {
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(110,125,58,0.10);
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  display: none; /* zichtbaar via JS */
}

.signup-error {
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(201,112,48,0.10);
  color: var(--color-primary);
  font-size: 0.9rem;
  display: none; /* zichtbaar via JS */
}

/* --- Telefoonmockups --- */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  flex: 1;
}

.phone {
  width: 42%;
  max-width: 190px;
  border-radius: var(--radius-phone-sm);
  overflow: hidden;
  border: 4px solid var(--color-white);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.12);
  background: var(--color-white);
}

.phone img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Tweede telefoon iets lager */
.phone--offset { margin-top: 2rem; }

/* --- Footer --- */
.footer {
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(221,213,204,0.60);
  padding-top: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  text-decoration: none;
}

.footer-brand:hover { opacity: 1; }

.footer-logo {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  filter: grayscale(1);
}

.footer-logo img { width: 100%; height: 100%; object-fit: cover; }

.footer-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ============================================================
   Responsief — tablet & desktop
   ============================================================ */

@media (min-width: 640px) {
  .nav       { padding-left: 3rem; padding-right: 3rem; }
  .hero      { padding-left: 3rem; padding-right: 3rem; }
  .footer    { padding-left: 3rem; padding-right: 3rem; }

  .signup-form { flex-direction: row; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .phones { gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1rem;
  }

  .hero-text { margin-top: 0; }

  .hero-title { font-size: 4.5rem; }

  .hero-sub { font-size: 1.25rem; }

  .phones {
    gap: 2rem;
    justify-content: center;
  }

  .phone {
    max-width: 240px;
    border-radius: var(--radius-phone-lg);
    border-width: 6px;
  }

  .phone--offset { margin-top: 4rem; }
}
