/*
Theme Name: BW 123 Witte Tanden
Theme URI: https://123wittetanden.nl/
Author: BacklinksWinkel Portfolio
Description: Custom WordPress theme for 123wittetanden.nl.
Version: 1.0.0
Text Domain: bw-123wittetanden
*/

:root {
  --mint: #7fd1c4;
  --mint-strong: #41a99a;
  --mint-soft: #e6f5f2;
  --ink: #1e2a2e;
  --ink-2: #314247;
  --coral: #ff6f61;
  --coral-dark: #dd5146;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #e7e3db;
  --muted: #5b6b6e;
  --soft: #f5f1ea;
  --shadow: 0 26px 70px -42px rgba(30, 42, 46, .36);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--coral-dark); }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.45rem, 5vw, 3.95rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.32rem; }
strong { color: var(--ink); }

.tw-wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.tw-narrow { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.tw-section { padding: 70px 0; border-top: 1px solid var(--line); }
.tw-section:first-child { border-top: 0; }
.tw-lead { max-width: 42rem; font-size: 1.08rem; }
.tw-eyebrow {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--mint-strong);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tw-eyebrow::before {
  width: .45rem;
  height: .45rem;
  content: "";
  border-radius: 999px;
  background: var(--mint);
}

.tw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(231, 227, 219, .8);
  background: rgba(251, 250, 247, .9);
  backdrop-filter: blur(10px);
}
.tw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.tw-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.tw-brand img { width: 34px; height: 34px; border-radius: 10px; }
.tw-brand b { color: var(--mint-strong); font-weight: 600; }
.tw-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}
.tw-menu a[aria-current="page"], .tw-menu a:hover { color: var(--ink); }
.tw-menu-toggle { display: none; }

.tw-btn,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: 700 .95rem/1.1 var(--font-body);
  text-decoration: none;
  box-shadow: 0 16px 36px -22px rgba(255, 111, 97, .8);
}
.tw-btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: var(--coral-dark);
  color: #fff;
}
.tw-btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tw-btn--ghost:hover { background: var(--white); color: var(--ink); }

.tw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 54px;
  align-items: center;
  padding: 72px 0 64px;
}
.tw-hero p { max-width: 34rem; font-size: 1.08rem; }
.tw-hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.tw-trust { color: var(--muted); font-size: .92rem; }
.tw-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mint-soft);
  box-shadow: var(--shadow);
}
.tw-hero__media img { width: 100%; aspect-ratio: 1.05 / 1; object-fit: cover; }
.tw-chip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 210px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 16px 38px -22px rgba(30, 42, 46, .4);
}
.tw-chip span { color: var(--coral-dark); }

.tw-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}
.tw-method {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
}
.tw-method:first-child { border-left: 0; padding-left: 0; }
.tw-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--mint-soft);
  color: var(--ink);
  font-size: 1.35rem;
}
.tw-method .tw-eff { margin: 6px 0 10px; color: var(--mint-strong); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tw-price { color: var(--ink); font-weight: 800; }

.tw-honest {
  padding: clamp(30px, 5vw, 54px);
  border-radius: 26px;
  background: var(--ink);
  color: #fff;
}
.tw-honest h2 { color: #fff; }
.tw-honest p { color: #bed0d1; }
.tw-honest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  margin-top: 22px;
}
.tw-hrow {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #314247;
  color: #edf7f6;
}
.tw-mark { font-weight: 900; }
.tw-mark--yes { color: var(--mint); }
.tw-mark--no { color: var(--coral); }

.tw-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}
.tw-split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.tw-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.tw-table th,
.tw-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tw-table th { color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.tw-table tr:last-child td { border-bottom: 0; }

.tw-recs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.tw-rec {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.tw-rec__top {
  min-height: 120px;
  background: linear-gradient(135deg, var(--mint-soft), #fff);
}
.tw-rec__body { padding: 22px; }
.tw-tag {
  color: var(--mint-strong);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tw-rec .tw-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.tw-go { color: var(--coral-dark); font-weight: 800; }

.tw-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--mint);
  background: #fff;
  color: var(--ink-2);
}
.tw-note p { margin: 0; }

.tw-faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.tw-faq details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.tw-faq summary { cursor: pointer; color: var(--ink); font-weight: 800; }
.tw-faq p { margin-top: 12px; margin-bottom: 0; }

.tw-article {
  padding: 64px 0;
}
.tw-article h1 { max-width: 14ch; margin-bottom: 18px; }
.tw-article .entry-content { max-width: 760px; margin: 0 auto; }
.tw-article .entry-content h2 { margin-top: 42px; margin-bottom: 14px; font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.tw-article .entry-content h3 { margin-top: 26px; margin-bottom: 10px; }
.tw-article .entry-content ul,
.tw-article .entry-content ol { padding-left: 1.2rem; color: var(--muted); }
.tw-article .entry-content li + li { margin-top: .35rem; }
.tw-article .entry-content a { color: var(--coral-dark); font-weight: 700; }

.tw-footer {
  margin-top: 36px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.tw-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tw-footer ul { display: flex; gap: 18px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.tw-disclosure { max-width: 56rem; margin-top: 18px; color: #7a898b; font-size: .84rem; }

@media (max-width: 900px) {
  .tw-menu {
    display: none;
    position: absolute;
    inset: 74px 18px auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .tw-menu.is-open { display: grid; }
  .tw-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
  }
  .tw-hero, .tw-split { grid-template-columns: 1fr; }
  .tw-methods, .tw-recs { grid-template-columns: 1fr 1fr; }
  .tw-honest-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .tw-wrap, .tw-narrow { width: min(100% - 32px, var(--wrap)); }
  .tw-section { padding: 52px 0; }
  .tw-nav { min-height: 66px; }
  .tw-brand { font-size: 1.05rem; }
  .tw-brand img { width: 30px; height: 30px; }
  .tw-menu { inset-top: 66px; }
  .tw-hero { padding: 48px 0; gap: 30px; }
  h1 { font-size: clamp(2.25rem, 12vw, 2.9rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .tw-hero__actions { align-items: stretch; flex-direction: column; }
  .tw-btn { width: 100%; }
  .tw-methods, .tw-recs { grid-template-columns: 1fr; }
  .tw-method { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .tw-method:first-child { border-top: 0; }
  .tw-table, .tw-table tbody, .tw-table tr, .tw-table td { display: block; }
  .tw-table thead { display: none; }
  .tw-table tr { border-bottom: 1px solid var(--line); }
  .tw-table tr:last-child { border-bottom: 0; }
  .tw-table td { border-bottom: 0; padding: 13px 16px; }
  .tw-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
}
