/* Hide header plaque and make header texts white on mobile */
@media (max-width: 900px) {
  .about-hero-inner::after {
    display: none !important;
  }

  .about-plaque,
  .plaque-brandline {
    display: none !important;
  }
  /* header text color reset: undo white */

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 30;
  }
  .nav-toggle-bar {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s;
  }
  #siteMenu {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 16px #0002;
    border-radius: 0 0 12px 12px;
    padding: 16px 0;
    display: none;
    flex-direction: column;
    z-index: 25;
  }
  #siteMenu.open {
    display: flex;
  }
  .site-nav ul li {
    margin: 8px 0;
    text-align: center;
  }
  .site-nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
  }
  .container.nav {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: relative;
  }
  .nav-toggle {
    order: 2;
    margin-left: 8px;
    margin-right: 0;
  }
  .nav-cart.mobile-only {
    order: 1;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    max-width: 40px;
    overflow: hidden;
    top: 0;
    right: 0;
  }
  .about-hero-inner h1,
  .about-hero-inner p,
  .about-hero-inner .plaque-brandline,
  .about-hero-inner .plaque-brandtext {
    color: #fff !important;
    text-shadow: 0 4px 24px #000e, 0 2px 8px #000a, 0 1px 0 #0008;
  }
  .about-hero-inner .about-title.typewriter {
    text-align: left;
    margin-left: 0;
    padding-left: 24px;
    width: auto;
    max-width: 90vw;
  }
  .section-title h2 + .subtle {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    text-align: left;
    font-size: 1em;
  }
  .about-hero-inner .about-title.typewriter {
    text-align: left;
    margin-left: 0;
    padding-left: 24px;
    width: auto;
    max-width: 90vw;
  }
}
/* Show cart icon outside nav only on mobile */
.nav-cart.mobile-only {
  display: none;
}
@media (max-width: 900px) {
  .site-nav .nav-cart-item {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 8px;
  }
  .nav-cart.mobile-only {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 0;
    margin-right: 8px;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    z-index: 20;
  }
  .container.nav {
    display: flex;
    align-items: center;
    position: relative;
  }
  .site-nav {
    flex: 1 1 auto;
  }
}
@media (min-width: 900px) and (max-width: 1400px) {
  .footer-plaque .plaque-line.subtle {
    display: none !important;
  }

  .footer-plaque .plaque-content{
    transform: translateY(14px);
  }
}
/* --- HEADER: Verberg plaque en maak header-teksten wit op middenpagina's (laptop) --- */
@media (min-width: 900px) and (max-width: 1400px) {
  /* Verberg de plaque in de header op middenpagina's */
  .page-about .about-plaque,
  .page-maatwerk .about-plaque,
  .page-portfolio .about-plaque,
  .page-shop .about-plaque {
    display: none !important;
  }
  /* Maak header-teksten wit */
  .page-about .about-hero-inner h1,
  .page-about .about-hero-inner p,
  .page-about .about-hero-inner .plaque-brandline,
  .page-about .about-hero-inner .plaque-brandtext,
  .page-maatwerk .about-hero-inner h1,
  .page-maatwerk .about-hero-inner p,
  .page-maatwerk .about-hero-inner .plaque-brandline,
  .page-maatwerk .about-hero-inner .plaque-brandtext,
  .page-portfolio .about-hero-inner h1,
  .page-portfolio .about-hero-inner p,
  .page-portfolio .about-hero-inner .plaque-brandline,
  .page-portfolio .about-hero-inner .plaque-brandtext,
  .page-shop .about-hero-inner h1,
  .page-shop .about-hero-inner p,
  .page-shop .about-hero-inner .plaque-brandline,
  .page-shop .about-hero-inner .plaque-brandtext {
    color: #fff !important;
    text-shadow: 0 4px 24px #000e, 0 2px 8px #000a, 0 1px 0 #0008;
  }
}
/* --- HEADER-TEKSTEN OPTIMALISATIE VOOR LAPTOPS (900px-1400px) --- */
@media (min-width: 900px) and (max-width: 1400px) {
  .brand-badge {
    width: 14px;
    height: 14px;
  }
  .brand-title strong {
    font-size: 8px;
    letter-spacing: 0px;
  }
  .brand-title span {
    font-size: 6px;
  }
  .brand-text {
    font-size: 9px;
    letter-spacing: 0px;
  }
  .nav {
    gap: 0;
    padding-left: 0;
    padding-right: 0;
    min-height: 24px;
  }
  nav ul {
    gap: 0;
  }
  nav a {
    font-size: 8px;
    padding: 1px 2px;
    border-radius: 4px;
  }
  .lang-switch a {
    font-size: 7px;
    padding: 1px 2px;
    border-radius: 4px;
  }
  .nav-cart {
    width: 12px;
    height: 12px;
    border-radius: 3px;
  }
  .cart-count {
    min-width: 7px;
    height: 7px;
    font-size: 5px;
  }
}
@media (max-width: 700px) {
  .site-footer,
  .site-footer *,
  .footer-plaque .plaque-line,
  .footer-plaque .plaque-line.subtle,
  .footer-plaque .plaque-brand,
  .footer-credit,
  .footer-copy,
  .footer-credit a,
  .footer-copy a,
  .footer-plaque a {
    color: #fff !important;
    fill: #fff !important;
    border-color: #fff !important;
    text-shadow: none !important;
    opacity: 1 !important;
    background: none !important;
  }
}
@media (max-width: 700px) {
  html, body {
    overflow-x: hidden !important;
  }
}
@media (max-width: 700px){
  .shop-help-grid .pad {
    padding-top: 40px;
  }
}
@media (max-width: 700px){
  .shop-help-media {
    height: 230px;
  }
}
@media (max-width: 700px){
  .shop-help-grid{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .maatwerk-content .container {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px;
  }
  .maatwerk-content .container > * {
    width: 100% !important;
  }
}

  .footer-credit {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.1 !important;
  }
@media (max-width: 700px) {
  .site-footer,
  .footer-plaque,
  .footer-plaque .plaque-content {
    background: none !important;
  }
  .footer-plaque .plaque-content {
    border-radius: 0;
    padding: 16px 10px 2px 10px;
    margin-bottom: 4px;
    transform: translateY(-32px);
  }
}
}

@media (max-width: 700px) {
  .footer-plaque .plaque-content {
    margin-bottom: 8px;
  }
/* Mobiele houten plaque-blok direct boven footer */
.mobile-plaque-block {
  display: none;
}

@media (max-width: 700px) {
  .mobile-plaque-block {
    display: block;
    width: 100%;
    height: 56px;
    background: url('../images/portfolio/plaque-hout.png') center/cover no-repeat;
    margin: 0 auto -8px auto;
  }
}
html {
  background: url("../images/optimized/Wooden-wall-1920.jpg") center center/cover no-repeat fixed !important;
}
/* Forceer transparante footer zodat houten achtergrond altijd zichtbaar blijft */
footer,
.footer-inner {
  background: transparent !important;
}
@media (max-width: 700px) {
  body:not(.page-home) .footer-plaque .plaque-line {
    margin-top: 5px;
    position: relative;
    top: -17px;
  }
}
}
@media (max-width: 700px) {
  body:not(.page-home) .plaque-brandline {
    right: 16%;
  }
}
@media (max-width: 700px) {
  body:not(.page-home) .about-title {
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 94vw !important;
  }
  body:not(.page-home) .about-subtitle {
    margin-top: 4px !important;
  }
}
:root{
  --mist: #8E8F92;
  --blue: #6D8798;
  --green: #7D8A78;
  --sand: #D8CFBF;
  --offwhite: #F4F1EC;
  --ink: #1F1E1C;

  --cardShadow: 0 10px 30px rgba(0,0,0,.18);
  --radius: 18px;

  --fontTitle: "Modern No. 20", "Iowan Old Style", "Georgia", serif;
  --fontBody: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --fontScript: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }

body{
  margin:0;
  color: var(--ink);
  font-family: var(--fontBody);
  line-height: 1.55;

  /* Doorlopende houten achtergrond (ENIGE plek waar het staat) */
  /* cache-bust toegevoegd zodat vervangingen in /images/ direct zichtbaar worden */
  background-image: url("../images/optimized/Wooden-wall-1920.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  position: relative;
  overflow-x: hidden;
}

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

@supports (content-visibility: auto) {
  .story,
  .about-story,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

/* Lightbox-enabled images: subtle hover effect */
.gallery img,
.shop-help-media img,
.product-media img,
.shop-hero-plaque img,
.shop-hero-media img{
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.gallery img:hover,
.shop-help-media img:hover,
.product-media img:hover,
.shop-hero-plaque img:hover,
.shop-hero-media img:hover{
  transform: scale(1.02);
  filter: brightness(1.04);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

/* About frame uses precise transforms; no hover effect */
.about-frame img{
  transition: filter .25s ease;
}

.about-frame img:hover{
  filter: brightness(1.14);
}

.container{
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(244,241,236,.75);
  border-bottom: 1px solid rgba(31,30,28,.10);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}

.brand-badge{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(141,143,146,.35), rgba(109,135,152,.25));
  border: 1px solid rgba(31,30,28,.12);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  display:grid;
  place-items:center;
  font-family: var(--fontTitle);
  font-weight: 700;
  letter-spacing: .5px;
}

.brand-title{
  display:flex;
  flex-direction: column;
}

.brand-title strong{
  font-family: var(--fontTitle);
  font-size: 18px;
  letter-spacing: .2px;
  line-height: 1.1;
}

.brand-title span{
  font-size: 12px;
  opacity: .75;
}

nav ul{
  list-style:none;
  display:flex;
  gap: 14px;
  margin:0;
  padding:0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: .2s ease;
  font-size: 14px;
  opacity: .9;
  white-space: nowrap;
}

nav a:hover{
  border-color: rgba(31,30,28,.14);
  background: rgba(244,241,236,.70);
  transform: translateY(-1px);
}

.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch span{
  opacity: .5;
  font-size: 12px;
}

.lang-switch a{
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(31,30,28,.14);
  background: rgba(244,241,236,.78);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  text-decoration:none;
  font-size: 14px;
  transition: .2s ease;
  cursor: pointer;
  user-select: none;
}

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

.btn.primary{
  background: linear-gradient(145deg, rgba(109,135,152,.35), rgba(141,143,146,.25));
  border-color: rgba(31,30,28,.12);
}

/* ========== HOME (STACKED) ========== */
.home { padding: 0; }

/* BLOK 1: HOUT HERO (TRANSPARANT, want body heeft de achtergrond) */
.hero-wood{
  background: transparent;
  min-height: 720px;
  position: relative;
  overflow: visible; /* frames mogen onder de hero uitsteken */
  padding-bottom: 140px; /* minder ruimte nodig nu frames aan de onderkant zijn verankerd */
}

.hero-wood-inner{
  position: relative;  /* anker voor absolute items */
  min-height: 720px;
  padding: 34px 0;
}

/* RAMSTUGA linksboven */
.hero-brand{
  position:absolute;
  left: 0;
  top: 18px;
  font-family: var(--fontTitle);
  letter-spacing: .12em;
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.page-home .hero-brand{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fontTitle);
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 6px 16px rgba(0,0,0,.35);
  left: 50% !important;
}

.page-home .hero-brand::before{
  content: "";
  width: clamp(34px, 3.1vw, 48px);
  height: clamp(34px, 3.1vw, 48px);
  flex: 0 0 auto;
  background: url("/assets/logo.png") center / contain no-repeat;
}

.about-hero-inner .page-hero-brand{
  display: none;
}

@media (min-width: 901px){
  .about-hero-inner .page-hero-brand{
    position: absolute;
    left: 50%;
    top: clamp(4px, 0.6vw, 10px);
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    font-family: var(--fontTitle);
    font-size: clamp(15px, 1.55vw, 22px);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 6px 16px rgba(0,0,0,.35);
  }

  .about-hero-inner .page-hero-brand::before{
    content: "";
    width: clamp(30px, 2.6vw, 42px);
    height: clamp(30px, 2.6vw, 42px);
    flex: 0 0 auto;
    background: url("/assets/logo.png") center / contain no-repeat;
  }

  /* Keep page title below the top-centered brand line */
  body:not(.page-home) .about-title{
    margin-top: clamp(76px, 8vw, 128px) !important;
    transform: translateY(clamp(52px, 6vw, 92px)) rotate(-9deg) !important;
  }
}

/* Schuine headline (parallax-ready via CSS vars) */
.hero-wood-title{
  position:absolute;
  left: 0;
  top: 240px; /* iets lager geplaatst voor meer ruimte boven */
  margin: 0;

  font-family: var(--fontTitle);
  font-weight: 700;
  /* iets kleinere hero-kop om overlap met frames te voorkomen */
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: 1.02;
  letter-spacing: .02em;

  /* wit voor maximale helderheid */
  color: #ffffff;

  text-shadow:
    0 8px 28px rgba(0,0,0,.75),
    0 36px 92px rgba(0,0,0,.60);

  /* parallax vars */
  --titleY: 0px;
  --titleRot: -14deg;

  z-index: 10; /* zorg dat de titel boven de frames ligt */

  will-change: transform;
  transform: translateY(var(--titleY)) rotate(var(--titleRot));
  transform-origin: left top;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Frames container */
.hero-frames{
  position:absolute;
  left: 50%;
  bottom: -120px; /* verankerd onder de hero zodat frames niet worden afgesneden */
  top: auto;
  transform: translateX(-50%);
  width: min(760px, 92vw);
  height: 420px;
  pointer-events:none;
  z-index: 1; /* frames iets onder de titel */
  animation: frames-in 900ms ease-out both;
}

/* Responsive tweaks for hero on smaller screens */
@media (max-width: 700px) {
  .hero-wood{
    background-image: url("../images/optimized/Wooden-wall-1920.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-wood-title{
    left: 0;
    top: 190px; /* iets minder downshift voor medium mobiel */
    font-size: clamp(36px, 10.5vw, 72px);
  }

  .hero-frames{
    top: 210px; /* nog iets hoger */
    bottom: auto;
    width: min(560px, 92vw);
    height: 360px;
  }

  .frame-blue{
    height: 320px;
    right: -10px;
    top: 10px;
  }

  .frame-grey{
    right: 140px;
    top: 210px;
    height: 240px;
  }

  .hero-wood{
    padding-bottom: 120px; /* minder ruimte nodig doordat frames hoger staan */
  }

  .hero-wood-inner{
    min-height: 620px;
    padding: 24px 0;
  }
}

@media (max-width: 420px) {
  .hero-wood-title{
    left: 0;
    top: 300px; /* nog lager op mobiel */
    font-size: clamp(26px, 10.5vw, 52px);
  }

  .hero-frames{
    top: 160px; /* nog iets hoger op klein scherm */
    bottom: auto;
    width: min(420px, 92vw);
    height: 260px;
  }

  .frame-blue{
    height: 240px;
    right: -8px;
    top: 18px;
  }

  .frame-grey{
    right: 110px;
    top: 210px;
    height: 180px;
  }

  .hero-wood{
    padding-bottom: 100px; /* minder ruimte door hogere frames */
  }

  .hero-wood-inner{
    min-height: 520px;
    padding: 20px 0;
  }
}

/* Frame basis (parallax vars) */
.frame{
  position:absolute;
  width: auto;
  filter: drop-shadow(0 30px 46px rgba(0,0,0,.45));

  --scrollY: 0px;
  --rot: 0deg;

  will-change: transform;
}

@keyframes frames-in{
  0%{
    opacity: 0;
    transform: translateX(-50%) translateX(-120px);
  }
  100%{
    opacity: 1;
    transform: translateX(-50%) translateX(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-frames{
    animation: none;
  }
}

/* Positions + sizes (geen transform hier! rotatie komt uit --rot) */
.frame-blue{
  right: -20px;
  top: 20px; /* lager geplaatst */
  height: 420px;
  --rot: 10deg;
}

.frame-grey{
  right: 360px;
  top: 260px; /* lager geplaatst */
  height: 300px;
  --rot: -8deg;
}

/* Winkelwagen — altijd zichtbaar */
.hero-cart{
  position:absolute;
  left: 24px;
  bottom: 24px;
  z-index: 999;

  display:flex;
  align-items:center;
  justify-content:center;

  width: 64px;
  height: 64px;
  border-radius: 20px;

  background: rgba(0,0,0,.55);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,.35);
  box-shadow:
    0 20px 40px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.15);

  text-decoration:none;
}

.hero-cart:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.65);
}

/* BLOK 2: LINNEN/CREAM STORY */
.story{
  position: relative;
  margin-top: 220px;
  padding: 110px 0 140px;
  background-color: rgba(244,241,236,.96);
  background-image:
    linear-gradient(rgba(244,241,236,.82), rgba(244,241,236,.82)),
    url("../images/optimized/Wooden-wall-1920.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: soft-light;
  border-top: none;
}

.story-inner{
  display:flex;
  justify-content:center;
}

.story-text{
  width: min(980px, 92vw);
}

.story-text h2{
  margin: 0 0 22px;
  font-family: var(--fontTitle);
  font-size: 48px;
  line-height: 1.05;
}

.story-text p{
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 18px;
  opacity: .9;
  max-width: 60ch;
}

.story-actions{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.story-actions .btn{
  font-size: 16px;
  padding: 14px 20px;
}

/* Sections (overig) */
section{ padding: 26px 0; }

.section-title{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

/* Shop + Maatwerk: make helper subtitle more readable */
.page-shop .section-title .subtle,
.maatwerk .section-title .subtle,
.page-shop .subtle,
.maatwerk .subtle{
  font-size: 16px;
  opacity: .85;
}

h2{
  margin:0;
  font-family: var(--fontTitle);
  font-size: 26px;
  letter-spacing: .2px;
}

.subtle{ opacity: .72; font-size: 13px; }

.mobile-only{ display: none; }

.typewriter{
  font-family: "Courier New", Courier, "Lucida Console", monospace;
  letter-spacing: .02em;
  position: relative;
  left: 70px;
}

/* Hero headings should never inherit the generic typewriter horizontal offset */
.about-title.typewriter,
.hero-wood-title.typewriter{
  left: 0;
}

/* Hero subtitle may also use .typewriter; never shift it horizontally */
.about-subtitle.typewriter{
  left: 0;
}

/* Automatic fallback when hero text does not fit inside plaque */
.about-hero-inner.hero-plaque-fallback .about-plaque,
.about-hero-inner.hero-plaque-fallback .shop-hero-plaque{
  display: none !important;
}

.about-hero-inner.hero-plaque-fallback .about-title,
.about-hero-inner.hero-plaque-fallback .about-subtitle,
.about-hero-inner.hero-plaque-fallback .plaque-brandline,
.about-hero-inner.hero-plaque-fallback .plaque-brandtext{
  color: #fff !important;
  text-shadow: 0 4px 24px #000e, 0 2px 8px #000a, 0 1px 0 #0008 !important;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  border-radius: var(--radius);
  background: rgba(244,241,236,.86);
  border: 1px solid rgba(31,30,28,.12);
  box-shadow: var(--cardShadow);
  overflow:hidden;
}

.pad{ padding: 18px; }

.kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 6px;
}

.card h3{
  margin: 0 0 8px;
  font-family: var(--fontTitle);
  font-size: 18px;
}

.card p{
  margin: 0;
  opacity: .88;
  font-size: 14px;
}

.meta{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31,30,28,.12);
  background: rgba(244,241,236,.60);
}

/* Portfolio gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.shot{
  grid-column: span 4;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(31,30,28,.12);
  background: rgba(244,241,236,.70);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  position: relative;
}

.shot img{
  width:100%;
  height: 220px;
  object-fit: cover;
}

.label{
  position:absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(244,241,236,.86);
  border: 1px solid rgba(31,30,28,.12);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  opacity: .92;
  box-shadow: 0 10px 20px rgba(0,0,0,.10);
}

/* Portfolio project pair: text + before/after images */
.project-pair{
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: center;
}

.project-pair-copy p{
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  opacity: .9;
}

.project-pair-price{
  margin-top: 10px !important;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  opacity: 1 !important;
}

.project-pair-actions{
  margin-top: 12px;
}

.project-pair-gallery{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.project-pair-gallery .shot{
  grid-column: span 3;
}

/* Form */
form{ display:grid; gap: 12px; }

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label{
  display:grid;
  gap: 6px;
  font-size: 13px;
  opacity: .9;
}

input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31,30,28,.18);
  background: rgba(244,241,236,.82);
  font-family: var(--fontBody);
  font-size: 14px;
  outline: none;
}

textarea{ min-height: 110px; resize: vertical; }

.form-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.intro{ margin:0 0 14px; opacity:.88; }

.fineprint{
  font-size: 13px;
  opacity: .8;
  margin: 10px 0 0;
}

/* Footer */
footer{ padding: 30px 0 40px; opacity: .9; }

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}

.footer-title{
  margin:0 0 8px;
  font-family: var(--fontTitle);
}

.footer-lead{ margin:0; opacity:.88; }
.footer-contact{ margin:0 0 10px; opacity:.88; }

/* Contact buttons in footer (grote, zichtbare actieknoppen) */
.contact-buttons{
  /* verborgen: we vervangen inline contact-buttons door een vaste floating knop */
  display: none;
}
.contact-buttons .btn{
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(109,135,152,1), rgba(141,143,146,1));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(0,0,0,.20);
}
.contact-buttons .btn:hover{
  transform: translateY(-2px);
}

/* Small icons before links (no external assets) */
.contact-buttons a[href^="tel:"]::before{ content: "📞 "; }
.contact-buttons a[href^="sms:"]::before{ content: "📩 "; }
.contact-buttons a[href^="mailto:"]::before{ content: "✉️ "; }
.contact-buttons a[href*="wa.me"]::before{ content: "💬 "; }

/* Vaste floating contactknop rechtsonder */
.floating-contact{
  position: fixed;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.floating-contact .contact-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity .2s ease, transform .2s ease, max-height .2s ease;
}
.floating-contact.open .contact-actions{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 320px;
}
.floating-contact .contact-toggle{
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
}
.floating-contact .btn{
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(109,135,152,1), rgba(141,143,146,1));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  width: auto;
  max-width: min(240px, 92vw);
}
.floating-contact .btn.secondary{
  background: rgba(244,241,236,.98);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

@media (max-width: 900px){
  .floating-contact{
    right: max(20px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  body:not(.page-home) .floating-contact{
    right: max(72px, env(safe-area-inset-right));
  }
  .floating-contact .btn{ padding: 10px 12px; }
}

/* Positioneer contact-knoppen rechtsonder binnen tekstblokken */
.card.pad,
.story-text,
.about-text,
.about-hero-inner{
  position: relative;
  --hero-plaque-max: 1380px; /* stel hier de maximale schaal van de header-plaque in */
  --hero-plaque-min: 860px;
}
.card.pad .contact-buttons,
.story-text .contact-buttons,
.about-text .contact-buttons,
.about-hero-inner .contact-buttons{
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
}

@media (max-width: 900px){
  .card.pad .contact-buttons,
  .story-text .contact-buttons,
  .about-text .contact-buttons,
  .about-hero-inner .contact-buttons{
    position: static;
    margin-top: 12px;
  }
}

/* ========== NAV TOGGLE ========== */
.nav-toggle{
  display:none;
  border:1px solid rgba(31,30,28,.18);
  background: rgba(244,241,236,.78);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
}

@media (max-width: 560px){
  .nav-toggle{ display:inline-flex; }
  nav ul{
    display:none;
    position:absolute;
    right: 4vw;
    top: 60px;
    flex-direction: column;
    gap: 8px;
    background: rgba(244,241,236,.95);
    border: 1px solid rgba(31,30,28,.12);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    min-width: 220px;
  }
  nav ul.open{ display:flex; }
}

@media (max-width: 900px){
  body{
    background-attachment: scroll;
    min-height: 100vh;
  }
}

@media (max-width: 420px){
  /* overige mobile tweaks */

  .site-header{ padding: 12px; }
  header .nav{ padding: 10px 0; gap: 8px; }
  .site-logo{ height: 48px; }
  .brand-text{ font-size: 14px; }

  nav ul{
    left: 4vw;
    right: 4vw;
    min-width: unset;
  }

  nav a{
    padding: 8px 10px;
    font-size: 13px;
  }

  .nav-cart{
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .cart-count{
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .btn{
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 14px;
  }

  .floating-contact{
    left: auto;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 6px;
    align-items: flex-end;
  }

  body:not(.page-home) .floating-contact{
    right: max(80px, env(safe-area-inset-right));
  }

  .floating-contact .btn{
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 10px;
    width: auto;
    max-width: min(220px, 92vw);
    justify-content: flex-start;
  }

  .shop-top-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .shop-top-actions .btn{
    width: 100%;
    justify-content: center;
  }

  .product-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions .btn{
    width: 100%;
  }

  .cart-item{ grid-template-columns: 1fr; }
  .cart-item-end{ align-items: flex-start; }
  .cart-qty{ width: 60px; }

  .shop-help-media{ height: 150px; }
  .pay-badge{ max-width: 100%; }
}

/* ========== FLOAT + PARALLAX (frames) ========== */
@keyframes floaty {
  0%   { transform: translateY(calc(var(--scrollY, 0px))) rotate(var(--rot)); }
  50%  { transform: translateY(calc(var(--scrollY, 0px) - 10px)) rotate(var(--rot)); }
  100% { transform: translateY(calc(var(--scrollY, 0px))) rotate(var(--rot)); }
}

.frame{
  animation: floaty 10s ease-in-out infinite;
}

.frame-blue{
  animation-duration: 9.5s;
  animation-delay: -1.2s;
}

.frame-grey{
  animation-duration: 11s;
  animation-delay: -3.4s;
}

/* Reduced motion respecteren */
@media (prefers-reduced-motion: reduce){
  .frame{
    animation: none !important;
    transform: rotate(var(--rot)) !important;
  }
  .hero-wood-title{
    transform: rotate(-14deg) !important;
  }
}

/* ========== RESPONSIVE / MOBILE PERFECT ========== */
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
  .shot{ grid-column: span 6; }
  .project-pair{ grid-template-columns: 1fr; }
  .project-pair-gallery .shot{ grid-column: span 6; }
  .form-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }

  .hero-wood{ min-height: 760px; }
  .hero-wood-inner{ min-height: 760px; }

  .hero-wood-title{
    top: 110px;
    font-size: clamp(52px, 8vw, 76px);
    --titleRot: -12deg;
  }

  .hero-frames{
    top: 58%;
    height: 360px;
  }

  .frame-blue{
    right: -10px;
    top: 40px;
    height: 360px;
  }

  .frame-grey{
    right: 260px;
    top: 260px;
    height: 260px;
  }

  .story{
    margin-top: 180px;
    padding: 90px 0 120px;
  }

  .story-text{
    width: min(900px, 92vw);
  }

  .story-text h2{ font-size: 42px; }
  .story-text p{ font-size: 18px; }
}

/* Tablet/mobile landscape fix: voorkomt grote lege ruimte op home rond 601-900px */
@media (min-width: 601px) and (max-width: 900px){
  .page-home .hero-wood{
    min-height: 430px;
    padding-bottom: 0;
  }

  .page-home .hero-wood-inner{
    min-height: 430px;
    padding-bottom: 0;
  }

  .page-home .hero-wood-title{
    top: 102px;
    font-size: clamp(36px, 5.8vw, 52px);
    max-width: 11ch;
    line-height: 1.04;
    text-wrap: balance;
  }

  .page-home .hero-frames{
    top: 16%;
    height: 270px;
  }

  .page-home .frame-blue{
    top: -44px;
    height: 250px;
  }

  .page-home .frame-grey{
    top: 136px;
    height: 180px;
  }

  .page-home .story{
    margin-top: 0;
    padding-top: 48px;
  }
}

@media (max-width: 600px){
    .footer-plaque .plaque-content {
      transform: translateY(-8px);
    }
  header .nav{
    padding: 10px 0;
    gap: 10px;
  }

  .hero-wood{
    min-height: 720px;
  }

  .hero-wood-inner{
    min-height: 720px;
  }

  .page-home .hero-wood-title{
    left: 10px;
    top: 135px;
    font-size: clamp(34px, 9.5vw, 52px);
    --titleRot: -10deg;
    max-width: 92vw;
    text-shadow:
      0 8px 18px rgba(0,0,0,.55),
      0 26px 56px rgba(0,0,0,.40);
  }

  .hero-brand{
    left: 12px;
    top: 14px;
  }

  .page-home .hero-frames{
    left: 35%;
    top: 26%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 380px;
  }

  .page-home .frame-blue{
    right: -34px;
    top: 30px;
    height: 320px;
  }

  .page-home .frame-grey{
    right: 110px;
    top: 225px;
    height: 220px;
  }

  .hero-cart{
    width: 68px;
    height: 68px;
    left: 16px;
    bottom: 20px;
  }

  .hero-cart{
    display: none;
  }

  .page-home .story{
    margin-top: -90px;
    padding: 96px 0 98px;
  }

  .story-text{
    width: min(720px, 92vw);
  }

  .story-text h2{ font-size: 38px; }

  .story-text p{
    font-size: 17px;
    line-height: 1.7;
    max-width: 62ch;
  }

  .story-actions .btn{
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
    font-size: 16px;
  }
}

@media (max-width: 420px){
  .hero-wood{ min-height: 720px; }
  .hero-wood-inner{ min-height: 720px; }

  .page-home .hero-wood-title{
    font-size: clamp(30px, 9.5vw, 46px);
    --titleRot: -7deg;
    max-width: 92vw;
    top: 125px;
  }

  .page-home .hero-frames{
    left: 35%;
    top: 25%;
  }

  .page-home .frame-blue{
    height: 270px;
    top: 58px;
    right: -32px;
  }

  .page-home .frame-grey{
    height: 190px;
    right: 90px;
    top: 228px;
  }

  .page-home .story{
    margin-top: -90px;
    padding: 90px 0 92px;
  }

  .story-text h2{ font-size: 32px; }
  .story-text p{ font-size: 16px; }
}

@media (max-width: 360px){
  .floating-contact{
    right: max(20px, env(safe-area-inset-right));
  }
  .hero-wood{ min-height: 660px; }
  .hero-wood-inner{ min-height: 660px; }

  .page-home .hero-wood-title{
    top: 118px;
    font-size: clamp(28px, 9vw, 42px);
    --titleRot: -6deg;
    max-width: 92vw;
  }

  .page-home .hero-frames{
    left: 35%;
    top: 25%;
    height: 320px;
  }

  .page-home .frame-blue{
    height: 240px;
    right: -30px;
    top: 66px;
  }

  .page-home .frame-grey{
    height: 170px;
    right: 74px;
    top: 220px;
  }

  .hero-cart{
    width: 56px;
    height: 56px;
    left: 14px;
    bottom: 16px;
  }

  .page-home .story{
    margin-top: -90px;
    padding: 84px 0 86px;
  }

  .story-text h2{ font-size: 28px; }
  .story-text p{ font-size: 15px; }
}
/* ========== ABOUT PAGE ========== */

.about-hero{
  padding: 140px 0 140px; /* zelfde hoogte/ruimte als homepage */
}

/* Maatwerk header breder */
.maatwerk .about-hero{
  padding: 140px 0 140px;
}

/* Maatwerk: tekst iets lager op de plaque */
.maatwerk .about-hero-inner{
  padding-top: 16px;
}

.about-hero h1{
  font-family: var(--fontTitle);
  font-size: clamp(42px, 6vw, 72px);
  margin: 0 0 12px;
}
.about-hero-inner{
  position: relative;
}

.about-hero-inner::before{
  content:"";
  position:absolute;
  inset: -140px -60px -90px -60px;
  /*    ↑ top   ↑ right ↓ bottom ↑ left */
  /* donkere waas verwijderd zodat de achtergrondfoto helder blijft */
  background: none;
  filter: none;
  z-index: -1; /* ensure plaque and text sit above this pseudo-layer */
  border-radius: 32px;
}

/* Baked-in hero plaque: fixed-size background layer behind hero text */
.about-hero-inner::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(var(--hero-plaque-min), 86vw, var(--hero-plaque-max));
  aspect-ratio: 1152 / 418;
  background: url("../images/optimized/header-plaque.webp") center / contain no-repeat;
  filter: brightness(0.78);
  z-index: 0;
  pointer-events: none;
}

/* Simple decorative plaque directly behind the hero text (ENLARGED, vertically and horizontally centered) */
.about-plaque {
  display: none !important;
}

/* Shop uses a shop-hero-plaque element — mirror about-plaque behavior so the image sits behind the heading */
.shop-hero-plaque{
  display: none !important;
}

.shop-hero-plaque img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78);
}
@media (max-width: 600px){
  .about-hero-inner::after{
    display: none;
  }

  .about-plaque{
    top: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: clamp(140px, 28vw, 240px);
    background-size: cover;
  }
}

@media (max-width: 420px){
  .about-hero{
    padding: 120px 0 120px;
  }

  .maatwerk .about-hero{
    padding: 130px 0 120px;
  }

  .about-hero h1{
    font-size: clamp(34px, 9.5vw, 52px);
  }

  .about-subtitle{
    font-size: 15px;
    line-height: 1.55;
  }

  .about-plaque{
    width: 120%;
    height: clamp(150px, 26vw, 220px);
  }

  .plaque-brandline{
    left: auto;
    right: 6%;
    top: 50%;
    transform: translateY(-45px);
    font-size: 11px;
    letter-spacing: .1em;
  }

  .page-shop .about-title{
    font-size: clamp(30px, 10vw, 48px);
  }

  .page-shop .about-subtitle{
    font-size: 14px;
    line-height: 1.4;
    width: min(300px, 90%);
    text-align: center;
  }

  .page-shop .about-plaque{
    width: 125%;
    height: clamp(170px, 32vw, 240px);
  }
}

@media (max-width: 360px){
  .about-hero{
    padding: 110px 0 110px;
  }

  .about-hero h1{
    font-size: clamp(30px, 10vw, 46px);
  }

  .about-subtitle{
    font-size: 14px;
    width: min(300px, 92%);
  }

  .about-plaque{
    width: 125%;
    height: clamp(140px, 28vw, 200px);
  }

  .plaque-brandline{
    left: auto;
    right: 6%;
    top: 50%;
    transform: translateY(-40px);
    font-size: 10px;
    letter-spacing: .08em;
  }

  .page-shop .about-title{
    font-size: clamp(28px, 10vw, 44px);
  }

  .page-shop .about-subtitle{
    font-size: 13px;
    line-height: 1.35;
    width: min(260px, 90%);
  }

  .page-shop .about-plaque{
    width: 130%;
    height: clamp(170px, 34vw, 230px);
  }
}

.about-title,
.about-subtitle{
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.92);
  text-shadow: 0 3px 12px rgba(0,0,0,.45);
}

.plaque-brandline{
  position: absolute;
  right: 16%;
  left: auto;
  top: 50%;
  transform: translateY(-130px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: #2a1f14;
  font-family: var(--fontTitle);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 14px;
}

.plaque-logo{
  width: 26px;
  height: 26px;
  display: block;
}

.plaque-brandtext{
  white-space: nowrap;
}

@media (max-width: 600px){
  .plaque-brandline{
    left: auto;
    right: 6%;
    top: 50%;
    transform: translateY(-55px);
    font-size: 12px;
    letter-spacing: .12em;
  }

  .plaque-logo{
    width: 22px;
    height: 22px;
  }
}

.about-intro{
  font-size: 18px;
  max-width: 50ch;
  opacity: .85;
}

.about-story{
  background-color: rgba(244,241,236,.96);
  background-image:
    linear-gradient(rgba(244,241,236,.82), rgba(244,241,236,.82)),
    url("../images/optimized/Wooden-wall-1920.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: soft-light;
  padding: 120px 0;
}

.about-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image img{
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

.about-text h2{
  font-family: var(--fontTitle);
  font-size: 36px;
  margin-bottom: 16px;
}

.about-text h3{
  font-family: var(--fontTitle);
  font-size: 26px;
  margin: 30px 0 10px;
}

.about-text p{
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 62ch;
}

.about-values{
  font-size: 17px;
  opacity: .9;
}

/* Mobiel */
@media (max-width: 800px){
  .about-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text{
    margin-top: 18px;
  }

  .about-hero{
    padding: 110px 0 60px;
  }
}
/* ===== ABOUT TITLE — ZOALS HOME ===== */

.about-title{
  font-family: var(--fontTitle);
  font-weight: 700;
  /* iets groter zodat hero-tekst meer impact heeft */
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1.05;
  letter-spacing: .02em;

  /* wit voor titel */
  color: #ffffff;
  margin: 0 0 12px;

  transform: translateX(140px) rotate(-12deg); /* naar rechts verplaatst */
  transform-origin: left top;

  text-shadow:
    0 10px 36px rgba(0,0,0,.78),
    0 44px 110px rgba(0,0,0,.55);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
} 

.about-subtitle{
  margin-top: 18px;
  margin-left: 0;

  font-size: 20px;
  max-width: 60ch;
  width: min(780px, 92%);

  color: #000; /* zwart voor subtitel, gecentreerd in plaque */
  text-align: left;

  position: relative;
  left: 50%;
  transform: translateX(-50%); /* horizontaal gecentreerd t.o.v. plaque */
  z-index: 2; /* boven de plaque */

  /* subtiele tekstschaduw om contrast te behouden op lichte/donkere delen */
  text-shadow: 0 2px 6px rgba(0,0,0,.18);
} 

/* Mobiel */
@media (max-width: 600px){
  .about-hero-inner .about-title.typewriter{
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    max-width: 92vw;
  }

  .about-title{
    font-size: clamp(34px, 9.2vw, 52px);
    max-width: 88vw;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
    transform: none;
  }

  .maatwerk .about-title{
    font-size: clamp(32px, 8.6vw, 48px);
    max-width: 92vw;
    transform: none;
  }

  .maatwerk .about-hero-inner{
    padding-top: 6px;
  }

  .maatwerk .about-subtitle{
    margin-top: 18px;
  }

  .about-subtitle{
    font-size: 16px;
    left: auto;
    width: min(92vw, 34ch);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transform: none;
  }

  .page-portfolio .about-subtitle{
    transform: none;
  }

  .page-portfolio .section-title{
    flex-direction: column;
    align-items: flex-start;
  }

  .page-portfolio .section-title .subtle{
    margin-top: 6px;
  }
}

@media (max-width: 420px){
  .about-title{
    font-size: clamp(30px, 8.8vw, 42px);
    max-width: 94vw;
  }
}
.nav-cart-item{
  display: flex;
  align-items: center;
}

.nav-cart{
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(244,241,236,.8);
  border: 1px solid rgba(31,30,28,.15);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);

  transition: .2s ease;
  text-decoration: none;
}

.nav-cart:hover{
  transform: translateY(-1px);
  background: rgba(244,241,236,.95);
}
.cart-count{
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 18px;
  height: 18px;
  padding: 0 5px;

  background: #1F1E1C;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FOTO IN HOUTEN LIJST (ECHT IN HET GAT) ===== */
.about-frame{
  position: relative;
  width: 100%;
  max-width: 560px;      /* totale compositie */
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

/* FOTO ACHTER DE LIJST */
.frame-back{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: translateX(-50px) translateY(24px);
  z-index: 0;

  border-radius: 6px;
  box-shadow: 0 22px 50px rgba(0,0,0,.28);
}

/* FOTO IN DE OPENING */
.frame-photo{
  position: absolute;
  inset: 16%;            /* bepaalt dikte van de lijst */
  width: 68%;
  height: 68%;
  object-fit: cover;
  z-index: 1;
}

/* DE LIJST (ECHT GROTER DAN DE FOTO) */
.frame-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;

  transform: scale(1.7) translate(-35px, 14px);
  /*              ↑ groter      ← links   ↓ naar beneden */

  transform-origin: center;
  pointer-events: none;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.35));
}

/* Mobiel */
@media (max-width: 600px){
  .about-frame{
    max-width: 380px;
  }

  .frame-back{
    transform: translateX(10px) translateY(8px) scale(0.96);
  }

  .frame-img{
    transform: scale(1.5) translate(-18px, 10px);
  }
}

@media (max-width: 420px){
  .about-frame{
    max-width: 320px;
  }

  .frame-back{
    transform: translateX(8px) translateY(6px) scale(0.94);
  }

  .frame-img{
    transform: scale(1.4) translate(-12px, 8px);
  }
}

/* Laptop: make About photo + wooden frame composition smaller so it stays in view */
@media (min-width: 901px) and (max-width: 1400px){
  .about-story .about-grid{
    gap: 38px;
    grid-template-columns: .95fr 1.15fr;
  }

  .about-story .about-frame{
    max-width: 470px;
  }

  .about-story .frame-back{
    transform: translateX(-18px) translateY(18px) scale(0.94);
  }

  .about-story .frame-img{
    transform: scale(1.5) translate(-16px, 10px);
  }
}

/* ===== FOOTER ===== */

.site-footer{
  padding: 80px 0 40px;
  background: transparent;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.footer-credit{
  margin: -6px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
}

.footer-credit a{
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,.85);
}

.footer-credit a:hover{
  opacity: .85;
}

.site-footer .footer-credit-webdesign{
  color: #fff !important;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 6px;
  opacity: 1;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-footer .footer-credit-webdesign a{
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,.9);
}

@media (max-width: 700px){
  .site-footer .footer-credit-webdesign{
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 4px;
    opacity: .9;
  }
}

.site-footer .footer-copy{
  color: rgba(255,255,255,.92) !important;
  opacity: .92;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.28);
}

@media (min-width: 701px){
  .site-footer .footer-credit,
  .site-footer .footer-copy{
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 1025px){
  .site-footer .footer-inner::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -86px;
    width: 1220px;
    aspect-ratio: 3.2 / 1;
    transform: translateX(-50%);
    background: url("/images/optimized/dark-footer-plaque.webp") center / contain no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
  }

  .site-footer .footer-credit{
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
    transform: translateY(16px);
  }

  .site-footer .footer-credit a{
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,.9);
  }

  .site-footer .footer-copy{
    color: rgba(255,255,255,.95) !important;
    text-shadow: 0 1px 5px rgba(0,0,0,.4);
    opacity: 1;
    transform: translateY(-24px);
  }
}

@media (min-width: 1025px) and (max-width: 1200px){
  .site-footer .footer-inner::after{
    width: 980px;
    bottom: -74px;
  }
}

@media (min-width: 701px) and (max-width: 1024px){
  .site-footer .footer-inner::after{
    content: none;
  }

  .site-footer .footer-credit,
  .site-footer .footer-copy{
    transform: none;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.55);
    background: rgba(0,0,0,.28);
    border-radius: 999px;
    opacity: 1;
  }

  .site-footer .footer-credit{
    padding: 6px 14px;
  }

  .site-footer .footer-copy{
    display: inline-block;
    padding: 4px 12px;
  }

  .site-footer .footer-credit a{
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,.92);
  }
}

@media (max-width: 700px) {
  .footer-plaque .plaque-content {
    background: rgba(0,0,0,0.45);
    border-radius: 12px;
    padding: 16px 10px 10px 10px;
    margin-bottom: 8px;
    transform: translateY(-32px);
  }
  .footer-plaque .plaque-line,
  .footer-plaque .plaque-line.subtle {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 0.5em;
  }
  .footer-copy {
    font-size: 13px;
  }
}
  }
  .footer-credit{
    font-size: 15px;
    padding: 6px 12px;
  }
}

@media (max-width: 600px){
  .footer-credit{
    font-size: 12px;
    font-weight: 600;
    color: #1f1e1c;
    text-shadow: none;
    background: transparent;
    padding: 0;
  }

  .footer-credit a{
    border-bottom: 2px solid rgba(31,30,28,.55);
  }
}

/* ===== NAAMPLAATJE ===== */

.footer-plaque{
  width: min(2000px, 98vw);  /* ⬅️ fors breder */
  aspect-ratio: 4.5 / 1;     /* ⬅️ LANG naamplaatje */

  background-image: url("../images/optimized/wood-plaque.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  filter: drop-shadow(0 22px 48px rgba(0,0,0,.4));
  animation: plaque-in 900ms ease-out both;
}

@media (max-width: 600px){
  .footer-plaque{
    width: 100vw;
    aspect-ratio: 0.38 / 1;
    background-image: none !important;
    background: none !important;
  }
}

@keyframes plaque-in-centered{
  0%{
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-48px);
  }
  100%{
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
  }
}

@keyframes plaque-in{
  0%{
    opacity: 0;
    transform: translateX(-36px);
  }
  100%{
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .about-plaque,
  .shop-hero-plaque,
  .footer-plaque{
    animation: none;
  }
}

/* Tekst op het plaatje */
.plaque-content{
  text-align: center;
  padding: 20px 24px;
  color: #2a1f14;                   /* donker houtkleur */
  font-family: var(--fontBody);
  transform: translateY(24px); /* ⬅️ DIT is de sleutel */
}

.plaque-brand{
  font-family: var(--fontTitle);
  font-size: 28px;
  letter-spacing: .08em;
  margin: 0 0 6px;
}

.plaque-line{
  margin: 4px 0;
  font-size: 15px;
}

.plaque-line a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,.35);
}

.plaque-line a:hover{
  opacity: .8;
}

.plaque-line.subtle{
  margin-top: 10px;
  font-size: 14px;
  opacity: .75;
  font-style: italic;
}

/* Copyright */
.footer-copy{
  font-size: 13px;
  opacity: .75;
}
.plaque-brand{
  font-family: var(--fontTitle);
  font-size: 38px;
  letter-spacing: .14em;
  font-weight: 800;                 /* ⬅️ DIT ontbrak */
  margin: 0 0 6px;

  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 2px 6px rgba(0,0,0,.3);
}

.plaque-line{
  margin: 4px 0;
  font-size: 17px;
  font-weight: 800;                 /* ⬅️ DIT toevoegen */
  color: #17110b;

  text-shadow:
    0 1px 0 rgba(255,255,255,.18);
}

.plaque-line.subtle{
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  opacity: .85;
  font-style: italic;
}

@media (max-width: 700px){
  .footer-plaque{
    width: 96vw;
    aspect-ratio: 4.8 / 1;
  }

  .plaque-brand{
    font-size: 26px;
    letter-spacing: .12em;
  }
}
/* ========== FOOTER — MOBILE ========== */
@media (max-width: 700px){
  .site-footer {
    padding: 60px 0 28px;
  }

  .footer-plaque {
    width: 99vw;
    aspect-ratio: 4.5 / 1;          /* ⬅️ groter en iets langgerekter */
    filter: drop-shadow(0 16px 34px rgba(0,0,0,.35));
  }

  .plaque-content {
    padding: 14px 14px;
    transform: translateY(8px);     /* ⬅️ plaque hoger */
  }

  .plaque-brand {
    font-size: 22px;
    letter-spacing: .10em;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.05;
  }

  .plaque-line {
    font-size: 10px;
    font-weight: 600;
    margin: 2px 0;
    line-height: 1.25;
    position: static;
    top: auto;
  }

  .plaque-line.subtle {
    font-size: 12px;
    margin-top: 8px;
    opacity: .85;
  }

  .footer-copy {
    font-size: 12px;
    opacity: .75;
  }
}

/* Extra klein (telefoon smal) */
@media (max-width: 420px){
  .footer-plaque{
    width: 98vw;
    aspect-ratio: 3.2 / 1;          /* ⬅️ nog compacter */
  }

  .plaque-content{
    transform: translateY(21px);
  }

  .plaque-brand{
    font-size: 20px;
    letter-spacing: .08em;
  }

  .plaque-line{
    font-size: 9px;
  }

  .plaque-line.subtle{
    font-size: 11px;
  }
}

@media (max-width: 360px){
  .footer-plaque{
    width: 98vw;
    aspect-ratio: 3 / 1;
  }

  .plaque-content{
    padding: 10px 12px;
    transform: translateY(18px);
  }

  .plaque-brand{
    font-size: 18px;
    letter-spacing: .06em;
  }

  .plaque-line{
    font-size: 8px;
  }

  .plaque-line.subtle{
    font-size: 10px;
  }
}

.site-header {
  padding: 20px;
}

.site-logo {
  height: 60px;   /* pas aan naar smaak */
  width: auto;
  display: block;
}

/* ===== SHOP: layout, cards, QR checkout ===== */
.shop-layout{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 16px;
  align-items:start;
}

/* Zorg dat de standaard `section` padding niet de kolomuitlijning in de shop breekt */
.shop-layout section,
.shop-layout aside{
  padding: 0;
}

.shop-top-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.shop-divider{
  margin: 14px 0;
  height: 1px;
  background: rgba(31,30,28,.10);
}

/* Hero image */
.shop-hero-media{
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
}

.shop-hero-media img{
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  object-fit: cover;
  display:block;
}

/* Products */
.shop-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-media{
  border-radius: 18px;
  overflow:hidden;
}

.product-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 12px;
}

/* Cart */
.cart-list{ display:flex; flex-direction:column; gap: 12px; }

.cart-item{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(244,241,236,.60);
  border: 1px solid rgba(31,30,28,.10);
}

.cart-item-end{
  display:flex;
  flex-direction:column;
  gap: 8px;
  align-items:flex-end;
}

.cart-qty{ width: 72px; }

.cart-summary{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(31,30,28,.10);
}

.cart-row{ display:flex; justify-content:space-between; gap: 12px; }

/* Payment QR */
.pay-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-method{ display:grid; gap: 10px; }


/* Help block */
.shop-help-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.shop-help-media{ height: 180px; overflow:hidden; }

.shop-help-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width: 980px){
  .shop-layout{ grid-template-columns: 1fr; }
  body:not(.page-home) .about-plaque,
  body:not(.page-home) .shop-hero-plaque{
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 700px){
  .mobile-only{ display: block; }

  .page-shop .section-title{
    flex-direction: column;
    align-items: flex-start;
  }

  .page-shop .section-title .subtle{
    margin-top: 6px;
  }

  .maatwerk .section-title{
    flex-direction: column;
    align-items: flex-start;
  }

  .maatwerk .section-title .subtle{
    margin-top: 6px;
  }

}
/* Shop hero: altijd nette crop + geen rare uitlijning */
.page-shop .shop-hero-media img{
  object-position: center 25%; /* schuift focus iets omhoog (lijsten) */
}

/* LIGHTBOX */
#lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  padding: 24px;
}

#lightbox.open{ display: flex; }

#lightbox img{
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position: absolute;
  border: 0;
  background: rgba(244,241,236,.85);
  color: #1F1E1C;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 28px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

.lightbox-close{ top: 18px; right: 18px; font-size: 30px; }
.lightbox-prev{ left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px){
  #lightbox{
    padding: 8px;
  }

  #lightbox img{
    max-width: 96vw;
    max-height: 78vh;
    transform: translate(-22px, -20px);
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next{
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .lightbox-close{
    top: max(8px, env(safe-area-inset-top));
    right: max(48px, env(safe-area-inset-right));
  }
  .lightbox-prev{
    left: max(6px, env(safe-area-inset-left));
  }
  .lightbox-next{
    right: max(48px, env(safe-area-inset-right));
  }
}

/* ===== LIGHTBOX FIX: buttons always visible ===== */
#lightbox img{ position: relative; z-index: 1; }
.lightbox-close,
.lightbox-prev,
.lightbox-next{ z-index: 2; }
/* Lightbox controls bovenop de afbeelding */
#lightbox { z-index: 9999; }
#lightbox img { position: relative; z-index: 1; }
.lightbox-close,
.lightbox-prev,
.lightbox-next { position: absolute; z-index: 2; }

.pay-icons{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:rgba(255,255,255,.6);
}

.pay-badge{
  width:100%;
  max-width:500px;
  height:auto;
  display:block;
  margin:0px 0 0px;
  opacity:.9;
}
.pay-card > *{
  max-width:420px;
}
/* PayPal-only: geen lege tweede kolom in Betalen */
.pay-grid{
  grid-template-columns: 1fr !important;
}
.form-actions{
  justify-content: flex-start !important;
}

/* ===== Responsive Layout Fix Layer ===== */
@media (min-width: 901px) and (max-width: 1400px){
  .nav{
    gap: 10px;
    padding: 12px 0;
    min-height: 64px;
  }

  .site-logo{
    height: 54px;
  }

  .brand-text{
    font-size: 18px;
    letter-spacing: 0.2px;
  }

  nav ul{
    gap: 8px;
  }

  nav a{
    font-size: 14px;
    padding: 8px 10px;
  }

  .lang-switch a{
    font-size: 12px;
    padding: 6px 8px;
  }

  .nav-cart{
    width: 40px;
    height: 40px;
  }

  .cart-count{
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .shop-layout{
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
  }
}

@media (max-width: 900px){
  .container.nav{
    gap: 10px;
    align-items: center;
  }

  .site-logo{
    height: 46px;
  }

  .brand-text{
    font-size: 16px;
    letter-spacing: 0.2px;
  }

  .site-nav{
    margin-left: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .site-nav #siteMenu{
    display: none;
    position: fixed;
    left: 8px;
    right: 8px;
    top: calc(env(safe-area-inset-top) + 74px);
    width: auto;
    max-width: none;
    box-sizing: border-box;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    gap: 6px;
    padding: 12px 12px max(18px, env(safe-area-inset-bottom));
    border-radius: 14px;
    border: 1px solid rgba(31,30,28,.12);
    background: rgba(244,241,236,.97);
    box-shadow: 0 20px 40px rgba(0,0,0,.16);
    z-index: 30;
  }

  .site-nav #siteMenu.open{
    display: flex;
  }

  .site-nav #siteMenu li{
    width: 100%;
  }

  .site-nav #siteMenu li a{
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-nav #siteMenu .lang-switch{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    order: -1;
    margin-top: 0;
    margin-bottom: 8px;
    padding-top: 0;
    padding-bottom: 8px;
    border-top: 0;
    border-bottom: 1px solid rgba(31,30,28,.08);
  }

  .site-nav #siteMenu .lang-switch a{
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .site-nav .nav-cart-item{
    display: none;
  }

  .nav-cart.mobile-only{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .shop-layout{
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .shop-help-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px){
  .shop-grid{
    grid-template-columns: 1fr;
  }

  .shop-help-grid{
    grid-template-columns: 1fr;
  }

  .shop-top-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .shop-top-actions .btn{
    width: 100%;
  }

  .product-actions{
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 901px){
  .site-nav ul{
    position: static;
    display: flex !important;
    width: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .nav-toggle{
    display: none !important;
  }

  .nav-cart.mobile-only{
    display: none !important;
  }

  .site-nav .nav-cart-item{
    display: flex;
  }
}

@media (max-width: 900px){
  body:not(.page-home) .about-title{
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    line-height: 1.08 !important;
    font-size: clamp(30px, 8.4vw, 44px) !important;
    transform: none !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  body:not(.page-home) .about-subtitle{
    width: min(92vw, 34ch) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    left: auto !important;
    transform: none !important;
  }
}

/* Desktop hero plaque layout:
   1) white title above plaque
   2) typewriter subtitle inside plaque
   3) logo + RAMSTUGA top-right on plaque */
@media (min-width: 901px){
  body:not(.page-home) .about-hero-inner{
    min-height: clamp(340px, 36vw, 500px);
  }

  body:not(.page-home) .about-hero-inner::after{
    top: 62%;
  }

  body:not(.page-home) .about-title{
    position: relative;
    z-index: 3;
    margin: 0 auto clamp(20px, 2.6vw, 34px) !important;
    max-width: min(80vw, 980px);
    text-align: center !important;
    transform: rotate(-9deg) !important;
    transform-origin: center !important;
    color: #fff !important;
  }

  body:not(.page-home) .about-subtitle{
    position: absolute;
    z-index: 3;
    top: 62%;
    left: 50% !important;
    transform: translate(-50%, -6%) !important;
    width: min(66vw, 760px) !important;
    max-width: 760px;
    margin: 0 !important;
    text-align: center !important;
    color: #2a1f14 !important;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.32;
    text-shadow: 0 1px 3px rgba(0,0,0,.14);
  }

  body:not(.page-home) .plaque-brandline{
    z-index: 4;
    top: calc(62% - 86px);
    left: 50%;
    right: auto;
    transform: translate(clamp(8px, 5vw, 70px), 0) !important;
  }

  /* Shop-only fine tuning */
  body.page-shop .about-subtitle{
    width: min(60vw, 620px) !important;
    max-width: 620px;
    font-size: clamp(13px, 1.2vw, 18px);
    line-height: 1.26;
  }

}

/* Narrow desktop / laptop: keep brandline and typing safely inside plaque */
@media (min-width: 901px) and (max-width: 1200px){
  body:not(.page-home) .about-hero-inner{
    min-height: clamp(320px, 34vw, 430px);
  }

  body:not(.page-home) .about-hero-inner::after{
    top: 64%;
  }

  body:not(.page-home) .about-subtitle{
    top: 64%;
    width: min(64vw, 640px) !important;
    max-width: 640px;
    font-size: clamp(13px, 1.18vw, 17px);
    line-height: 1.28;
    transform: translate(-50%, -8%) !important;
  }

  body:not(.page-home) .plaque-brandline{
    top: calc(64% - 72px);
    transform: translate(clamp(4px, 3.5vw, 40px), 0) !important;
    font-size: 12px;
    gap: 7px;
  }

  body:not(.page-home) .plaque-logo{
    width: 20px;
    height: 20px;
  }

  /* Shop-only fine tuning (narrow desktop) */
  body.page-shop .about-subtitle{
    width: min(62vw, 560px) !important;
    max-width: 560px;
    font-size: clamp(12px, 1.05vw, 15px);
    line-height: 1.24;
  }

}

/* Large laptop range: keep shop plaque logo slightly more to the left */
@media (min-width: 1201px) and (max-width: 1440px){
  body:not(.page-home) .plaque-brandline{
    top: calc(62% - 84px);
    transform: translate(clamp(20px, 4.5vw, 72px), 0) !important;
  }

  body.page-shop .about-subtitle{
    width: min(62vw, 650px) !important;
    max-width: 650px;
    font-size: clamp(13px, 1.08vw, 16px);
    line-height: 1.25;
  }
}

/* Keep plaque logo/brand text white on all middle pages (also desktop). */
body:not(.page-home) .about-hero-inner .plaque-brandline,
body:not(.page-home) .about-hero-inner .plaque-brandtext{
  color: #fff !important;
}

/* Non-mobile: make hero typewriter subtitle slightly bolder on all middle pages */
@media (min-width: 901px){
  body:not(.page-home) .about-hero-inner .about-subtitle{
    font-weight: 600;
    font-size: clamp(15px, 1.28vw, 19px) !important;
    width: min(56vw, 620px) !important;
    max-width: 620px;
    line-height: 1.3;
    text-wrap: balance;
  }

  /* Final desktop override: keep page title clearly below top brand line */
  body:not(.page-home) .about-hero-inner .about-title{
    margin-top: clamp(96px, 9.5vw, 150px) !important;
    transform: translateY(clamp(72px, 7.5vw, 118px)) rotate(-9deg) !important;
  }
}

/* Extra compact on laptops so subtitle never falls outside the plaque */
@media (min-width: 901px) and (max-width: 1400px){
  body:not(.page-home) .about-hero-inner .about-subtitle{
    font-size: clamp(14px, 1.15vw, 17px) !important;
    width: min(52vw, 560px) !important;
    max-width: 560px;
    line-height: 1.28;
  }
}

/* Desktop/laptop only: match home brand spacing on middle pages */
@media (min-width: 901px){
  body:not(.page-home) .about-hero-inner .plaque-brandline{
    display: none !important;
  }

  body:not(.page-home) .about-hero-inner .page-hero-brand{
    display: inline-flex !important;
    position: absolute !important;
    left: 50% !important;
    top: -185px !important;
    transform: translateX(-50%) !important;
    z-index: 6 !important;
  }

  body:not(.page-home) .about-hero-inner::after{
    top: 51% !important;
  }

  body:not(.page-home) .about-hero-inner .about-title{
    margin-top: clamp(0px, 1.8vw, 24px) !important;
    transform: translateY(clamp(-34px, -1.8vw, -14px)) rotate(-9deg) !important;
  }

  body:not(.page-home) .about-hero-inner .about-subtitle{
    top: 51% !important;
    transform: translate(-50%, -14%) !important;
  }
}

/* Middenpagina's: zet de witte sitenaam hoger op laptop/desktop */
@media (min-width: 901px){
  body:not(.page-home) .about-hero-inner .page-hero-brand{
    top: -155px !important;
  }
}

/* NL maatwerk desktop/laptop: fix hero-header alignment */
@media (min-width: 901px){
  html[lang="nl"] body.page-maatwerk .about-hero-inner .plaque-brandline{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  html[lang="nl"] body.page-maatwerk .about-hero-inner .page-hero-brand{
    top: -132px !important;
  }

  html[lang="nl"] body.page-maatwerk .about-hero-inner .about-title{
    margin-top: clamp(0px, 1.8vw, 24px) !important;
    transform: translateY(clamp(-34px, -1.8vw, -14px)) rotate(-9deg) !important;
  }
}
