:root {
  --page: #f6f3ef;
  --paper: #f6f2ed;
  --sage: #c0c3b2;
  --green: #3a3d2d;
  --green-deep: #383c2c;
  --ink: #383c31;
  --orange: #b26646;
  --icon-bg: #dfddd3;

  --display: "Aptos Display", Aptos, "Segoe UI", Arial, sans-serif;
  --body: Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(calc(100% - 20px), 1020px);
  margin: 8px auto 10px;
  overflow: hidden;
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 3px 18px rgba(31, 36, 30, 0.15);
}

/* HEADER */

.site-header {
  height: 79px;
  display: flex;
  align-items: center;
  padding: 0 35px;
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #1f3325;
  text-decoration: none;
}

.brand-logo {
  width: 67px;
  height: 57px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  transform: translateY(-1px);
}

.brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-since {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1;
}

/* HERO */

.hero {
  position: relative;
  height: 462px;
  overflow: hidden;
  background: var(--sage);
}

.hero-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  top: -34px;
  left: 25.2%;
  width: 80%;
  max-width: none;
  height: auto;
}

.hero-panel {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 47.5%;
  background: var(--sage);
}

/* De ronde uitsnede die het voorbeeld kenmerkt */
.hero-panel::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -82px;
  width: 180px;
  height: 534px;
  border-radius: 50%;
  background: var(--sage);
  transform: scaleX(0.76);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 76px;
  left: 56px;
  max-width: 380px;
}

.hero h1 {
  margin: 0;
  color: #31372f;
  font-family: var(--display);
  font-size: 61px;
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.5px;
}

.accent {
  display: block;
  background: var(--orange);
  border-radius: 999px;
}

.accent-large {
  width: 130px;
  height: 4px;
  margin: 21px 0 24px 2px;
  transform: rotate(-1.5deg);
}

.hero-copy p {
  margin: 0;
  color: #383c31;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

/* VALUES */

.values {
  height: 177px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  padding: 34px 117px 0;
  background: var(--paper);
}

.value {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--icon-bg);
}

.value-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #30382f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value h2 {
  margin: 10px 0 0;
  color: #30372f;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
}

.accent-small {
  width: 47px;
  height: 2.5px;
  margin-top: 9px;
  transform: rotate(-1deg);
}

/* CONTACT */

.contact-band {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(105deg, #3c3f30 0%, #3a3d2d 48%, #383c2c 100%);
}

.email-button {
  min-width: 384px;
  height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  padding: 0 28px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.email-button svg {
  width: 34px;
  height: 27px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.email-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 4px;
}

/* FOOTER */

.site-footer {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.site-footer a {
  color: #30372f;
  font-family: var(--display);
  font-size: 17px;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.desktop-only {
  display: initial;
}

/* =========================================================
   TABLET / MOBIEL
   De hero wordt mobiel bewust opnieuw opgebouwd:
   eerst volledig leesbare tekst, daarna de foto.
   ========================================================= */

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header {
    height: auto;
    min-height: 88px;
    padding:
      max(14px, env(safe-area-inset-top))
      24px
      13px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 61px;
    height: 53px;
  }

  .brand-copy {
    transform: none;
  }

  .brand-name {
    font-size: clamp(20px, 5.6vw, 25px);
  }

  .brand-since {
    margin-top: 4px;
    font-size: 12px;
  }

  .hero {
    display: grid;
    grid-template-rows: auto auto;
    height: auto;
    overflow: visible;
    background: var(--sage);
  }

  .hero-photo-wrap {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: clamp(290px, 73vw, 420px);
    overflow: hidden;
    background: var(--sage);
  }

  .hero-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 58% center;
  }

  .hero-panel {
    display: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    grid-row: 1;
    top: auto;
    left: auto;
    max-width: none;
    padding: 48px 38px 38px;
    background: var(--sage);
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 10.6vw, 70px);
    line-height: 1;
    letter-spacing: -1px;
  }

  .accent-large {
    width: 128px;
    height: 4px;
    margin: 25px 0 25px 2px;
  }

  .hero-copy p {
    max-width: 470px;
    font-size: clamp(16px, 3.9vw, 19px);
    line-height: 1.5;
  }

  .desktop-only {
    display: none;
  }

  .values {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 32px 14px 29px;
  }

  .value-icon {
    width: 54px;
    height: 54px;
  }

  .value-icon svg {
    width: 34px;
    height: 34px;
  }

  .value h2 {
    margin-top: 10px;
    font-size: clamp(16px, 4vw, 20px);
    white-space: nowrap;
  }

  .accent-small {
    width: 43px;
    margin-top: 8px;
  }

  .contact-band {
    height: auto;
    min-height: 112px;
    padding: 22px 20px;
  }

  .email-button {
    width: min(100%, 410px);
    min-width: 0;
    height: 62px;
    gap: 15px;
    padding: 0 20px;
    font-size: clamp(16px, 4vw, 19px);
    text-align: center;
  }

  .email-button svg {
    width: 30px;
    height: 24px;
  }

  .site-footer {
    height: auto;
    min-height: 74px;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }

  .site-footer a {
    font-size: 16px;
  }
}

/* =========================================================
   TELEFOONS
   ========================================================= */

@media (max-width: 480px) {
  .site-header {
    min-height: 82px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand-logo {
    width: 55px;
    height: 49px;
  }

  .brand-name {
    font-size: clamp(18px, 5.4vw, 22px);
  }

  .brand-since {
    font-size: 11px;
  }

  .hero-copy {
    padding: 38px 30px 31px;
  }

  .hero h1 {
    font-size: clamp(45px, 12.4vw, 59px);
    line-height: 1.01;
  }

  .accent-large {
    width: 112px;
    margin-top: 21px;
    margin-bottom: 21px;
  }

  .hero-copy p {
    max-width: 330px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-photo-wrap {
    height: clamp(285px, 78vw, 360px);
  }

  .hero-photo {
    object-position: 57% center;
  }

  .values {
    padding: 30px 8px 27px;
    gap: 0;
  }

  .value-icon {
    width: 50px;
    height: 50px;
  }

  .value-icon svg {
    width: 31px;
    height: 31px;
  }

  .value h2 {
    font-size: clamp(14px, 4.1vw, 17px);
  }

  .accent-small {
    width: 39px;
  }

  .contact-band {
    min-height: 104px;
    padding: 20px 16px;
  }

  .email-button {
    height: 59px;
    gap: 12px;
    padding: 0 15px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .email-button svg {
    width: 27px;
    height: 22px;
  }

  .site-footer {
    min-height: 68px;
  }

  .site-footer a {
    font-size: 15px;
  }
}

/* Zeer kleine toestellen */
@media (max-width: 360px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo {
    width: 51px;
    height: 45px;
  }

  .brand-name {
    font-size: 17px;
  }

  .hero-copy {
    padding-left: 23px;
    padding-right: 23px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .value h2 {
    font-size: 13px;
  }

  .email-button {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .email-button {
    transition: none;
  }
}
