/* Noonaa — tijdelijke pagina
   Kleuren uit de huisstijl: wave hero.svg (#354a59 / #deae8f) en het logoblad (#a64724). */

:root {
  --donker:     #354a59;  /* donkergrijsblauw, uit wave hero.svg */
  --zand:       #deae8f;  /* zandkleurige golf, uit wave hero.svg */
  --terracotta: #a64724;  /* huisstijl-terracotta */
  --wit:        #ffffff;
  --grijs:      #5c6670;

  --maxbreedte: 1440px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wit);
  color: var(--donker);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI",
               system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxbreedte);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.75rem) var(--gutter);
  background: var(--wit);
}

.header__logo { display: inline-flex; }

.header__logo img {
  width: auto;
  height: clamp(1.75rem, 4.5vw, 2.5rem);
}

.header__contact {
  flex: none;
  background: var(--terracotta);
  color: var(--wit);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9375rem, 2.2vw, 1rem);
  line-height: 1;
  padding: 0.75em 1.6em;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.header__contact:hover,
.header__contact:focus-visible { background: #8c3b1d; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: var(--maxbreedte);
  margin-inline: auto;
  background: var(--wit);
}

.hero__img {
  width: 100%;
  height: auto;
}

/* zachte overgang van de bovenrand naar wit */
.hero__fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 26%;
  background: linear-gradient(to bottom, var(--wit) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* de golf overlapt de onderkant van de foto en loopt door in het donkere vlak */
.hero__wave {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: -13%;
}

/* ---------- Tekstblok op het donkere vlak ---------- */

.intro {
  background: var(--donker);
  color: var(--wit);
  text-align: center;
  padding: clamp(0.5rem, 2vw, 1.5rem) var(--gutter) clamp(3.5rem, 9vw, 6rem);
  /* de golf eindigt al in deze kleur; marge-top negatief houdt de naad dicht */
  margin-top: -1px;
}

.intro__title {
  margin: 0 auto;
  max-width: 20ch;
  font-size: clamp(1.875rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.intro__text {
  margin: clamp(1rem, 3vw, 1.5rem) auto 0;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
}

.intro__contact { margin: clamp(1.5rem, 4vw, 2.25rem) 0 0; }

.intro__mail {
  color: var(--zand);
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 2px;
}

.intro__mail:hover,
.intro__mail:focus-visible { color: var(--wit); }

/* ---------- Footer ---------- */

.footer {
  background: var(--wit);
  padding: clamp(1.75rem, 5vw, 2.75rem) var(--gutter);
}

.footer__line {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--grijs);
}

/* ---------- Toegankelijkheid ---------- */

a:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.intro a:focus-visible { outline-color: var(--zand); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Contactformulier ---------- */

.formulier {
  max-width: 34rem;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: left;
}

.formulier__veld { margin: 0 0 1.25rem; }

.formulier__veld label,
.formulier__keuze label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wit);
}

.formulier__veld label { display: block; margin-bottom: 0.4rem; }

.formulier__optioneel { font-weight: 400; color: rgba(255, 255, 255, 0.7); }

.formulier input[type="text"],
.formulier input[type="email"],
.formulier textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  font: inherit;
  font-size: 1rem;
  color: var(--donker);
  background: var(--wit);
  border: 2px solid transparent;
  border-radius: 0.6rem;
}

.formulier textarea { resize: vertical; min-height: 6rem; }

.formulier input:focus-visible,
.formulier textarea:focus-visible {
  outline: none;
  border-color: var(--zand);
  box-shadow: 0 0 0 3px rgba(222, 174, 143, 0.45);
}

.formulier__keuze {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}

.formulier__keuze input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--terracotta);
}

.formulier__keuze label { font-weight: 400; line-height: 1.45; }

/* spamvangnet: onzichtbaar voor bezoekers, wel aanwezig voor bots */
.formulier__vangnet {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.formulier__knop {
  display: block;
  width: 100%;
  padding: 0.85em 1.6em;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--wit);
  background: var(--terracotta);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.formulier__knop:hover,
.formulier__knop:focus-visible { background: #8c3b1d; }

.formulier__knop:focus-visible {
  outline: 3px solid var(--zand);
  outline-offset: 3px;
}

.formulier__avg {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* bevestigings- en foutpagina van contact.php */
.intro--kaal { padding-top: clamp(3rem, 9vw, 6rem); }

@media (min-width: 34rem) {
  .formulier__knop { width: auto; min-width: 12rem; }
}
