/*
Theme Name: 2B2B testomgeving
Description: Minimale, schone nabouw van de homepage van 2b2b.nl voor de testomgeving van de boekingstool. Niet voor productie.
Version: 0.1.1
Author: On The Rocks
Text Domain: tweebtweeb-test
*/

:root {
  --bg: #f7f6f1;
  --paper: #ffffff;
  --ink: #222222;
  --muted: #6b6b63;
  --sage: #a2a68a;
  --sage-dark: #7f846a;
  --sage-light: #dcdfc9;
  --terra: #e7b7ab;
  --line: #e6e4dc;
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Testbalk: smal, rustig, altijd zichtbaar. */
.testbalk { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; letter-spacing: .02em; }
.testbalk a { color: #fff; }

/* Kop */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.logo .merk { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .08em; }
.logo .sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-dark); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: .02em; }
.nav a:hover { color: var(--sage-dark); }
.nav .knop { padding: 9px 16px; }
.handleiding { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.handleiding .info { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--sage-dark); color: var(--sage-dark); font-size: 11px; align-items: center; justify-content: center; cursor: help; }
.handleiding .tip { position: absolute; right: 0; top: calc(100% + 10px); width: 280px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; display: none; z-index: 30; }
.handleiding:hover .tip, .handleiding:focus-within .tip { display: block; }
.menu-knop { display: none; }

/* Knoppen */
.knop { display: inline-block; background: var(--sage); color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 500; letter-spacing: .02em; border: 1px solid var(--sage); transition: background .15s; }
.knop:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }
.knop.licht { background: transparent; color: var(--ink); border-color: var(--ink); }
.knop.licht:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 560px; display: grid; align-items: end; color: #fff; isolation: isolate; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.62) 100%); z-index: -1; }
.hero .wrap { padding: 80px 0 56px; max-width: 760px; margin-left: max(20px, calc((100% - 1120px) / 2)); }
.hero p { font-size: 19px; max-width: 620px; }
.hero .knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Secties */
.sectie { padding: 72px 0; }
.sectie.sage { background: var(--sage-light); }
.sectie.donker { background: var(--ink); color: #fff; text-align: center; }
.sectie.donker h2 { color: #fff; }
.intro { max-width: 720px; color: var(--muted); font-size: 18px; }

.huisjes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 28px; }
.huisje { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(34,34,34,.07); display: flex; flex-direction: column; }
.huisje img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.huisje .tekst { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.huisje .prijs { color: var(--muted); font-size: 15px; }
.huisje .prijs strong { color: var(--ink); font-size: 20px; font-family: var(--serif); }
.huisje .knop { align-self: flex-start; margin-top: auto; }

.punten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.punt { background: rgba(255,255,255,.7); border-radius: 14px; padding: 22px 20px; }
.punt h3 { font-size: 22px; margin-bottom: 6px; }
.punt p { margin: 0; color: var(--muted); font-size: 15px; }

.cta .knoppen { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.cta .knop.licht { color: #fff; border-color: #fff; }
.cta .knop.licht:hover { background: #fff; color: var(--ink); }

/* Gewone pagina (de reserveringspagina's) */
.pagina { padding: 48px 0 80px; }
.pagina .wrap { width: min(960px, 100% - 40px); }
.pagina .kop { margin-bottom: 20px; }
.pagina .kop p { color: var(--muted); }
.pagina .inhoud { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(34,34,34,.06); }
.terug { display: inline-block; margin-bottom: 14px; font-size: 14px; }

/* Voet */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 64px; }
  .menu-knop { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; font: inherit; font-size: 14px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 16px; gap: 12px; }
  .nav.open { display: flex; }
  .handleiding .tip { right: auto; left: 0; }
  .hero { min-height: 480px; }
  .hero .wrap { padding: 60px 0 40px; margin-left: 20px; width: calc(100% - 40px); }
  .sectie { padding: 52px 0; }
  .pagina .inhoud { padding: 18px; }
}
