/* Van de Brug Bouw — premium static site styles */
:root {
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --ink: #1a1917;
  --ink-soft: rgba(26, 25, 23, 0.62);
  --accent: #8b6914;
  --accent-muted: rgba(139, 105, 20, 0.12);
  --line: rgba(26, 25, 23, 0.08);
  --shadow: 0 24px 60px rgba(26, 25, 23, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.63;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.serif {
  font-family: "Instrument Serif", Georgia, serif;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header — sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(26, 25, 23, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(142deg, #1a1917 0%, #302c27 52%, var(--accent) 160%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  box-shadow: 0 8px 20px rgba(26, 25, 23, 0.15);
}

.logo-text strong {
  display: block;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-desktop a {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: rgba(26, 25, 23, 0.06);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(26, 25, 23, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(26, 25, 23, 0.26);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 25, 23, 0.18);
}

.btn-ghost:hover {
  background: rgba(26, 25, 23, 0.04);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 22px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}

.nav-mobile a {
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}

.nav-mobile a:hover {
  background: var(--bg);
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header.is-open .nav-mobile {
    display: flex;
  }
}

@media (max-width: 560px) {
  .logo-text span {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
  animation: fadeUp 0.8s var(--ease) forwards;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4.8vw, 3.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  animation: fadeUp 0.85s var(--ease) 0.06s forwards;
  opacity: 0;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 44ch;
  animation: fadeUp 0.85s var(--ease) 0.12s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.85s var(--ease) 0.18s forwards;
  opacity: 0;
}

.hero-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  animation: fadeUp 0.85s var(--ease) 0.24s forwards;
  opacity: 0;
}

.hero-meta-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 14px 40px rgba(26, 25, 23, 0.04);
}

.hero-meta-card strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.hero-meta-card span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  animation: fadeIn 1.05s var(--ease) 0.1s forwards;
  opacity: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-caption small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    min-height: 320px;
  }
  .hero-meta {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }
  .hero-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-muted {
  background: linear-gradient(180deg, #f3f2ed 0%, var(--bg) 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 400;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

/* Feature grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-family: inherit;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-muted);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

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

/* Object / portfolio */
.object-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.object-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(26, 25, 23, 0.05);
  transition: transform 0.4s var(--ease);
}

.object-card:hover {
  transform: translateY(-5px);
}

.object-card figure {
  margin: 0;
  aspect-ratio: 16/11;
  overflow: hidden;
}

.object-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.object-card:hover img {
  transform: scale(1.06);
}

.object-body {
  padding: 20px 22px 22px;
}

.object-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.object-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

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

.tag {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
}

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

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.testimonial {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 12px 40px rgba(26, 25, 23, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s;
}

.testimonial:hover {
  border-color: rgba(139, 105, 20, 0.25);
  box-shadow: 0 20px 50px rgba(26, 25, 23, 0.08);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-muted);
}

.testimonial-meta strong {
  display: block;
  font-size: 0.96rem;
}

.testimonial-meta small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.testimonial blockquote {
  margin: 0;
}
.testimonial blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 48px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle at center, var(--accent-muted), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 400;
  position: relative;
}

.cta-band p {
  margin: 0;
  color: var(--ink-soft);
  position: relative;
}

@media (max-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr;
    padding: 34px;
  }
}

/* Forms */
.lead-form {
  display: grid;
  gap: 14px;
  background: rgba(247, 246, 243, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(26, 25, 23, 0.16);
  background: var(--bg-elevated);
  font: inherit;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 105, 20, 0.12);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

.form-success {
  display: none;
  padding: 14px;
  border-radius: 12px;
  background: rgba(34, 120, 80, 0.1);
  color: #1e5f40;
  font-size: 0.92rem;
  font-weight: 600;
}

.lead-form.is-sent .fields {
  display: none;
}

.lead-form.is-sent .form-success {
  display: block;
}

/* Footer */
.site-footer {
  background: #171513;
  color: rgba(255, 255, 255, 0.74);
  padding: 60px 0 100px;
  margin-bottom: env(safe-area-inset-bottom);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer .logo-mark {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer strong {
  color: #fff;
}

.site-footer .logo-text span {
  color: rgba(255, 255, 255, 0.52);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

.footer-contact p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.52);
}

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

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

/* WhatsApp FAB */
.wa-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 950;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(18, 140, 126, 0.45);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 40px rgba(18, 140, 126, 0.55);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Cookie banner */
.cookie-bar {
  position: fixed;
  left: max(24px, env(safe-area-inset-left));
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 960;
  max-width: 520px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 30px 80px rgba(26, 25, 23, 0.18);
  display: none;
  animation: cookieIn 0.55s var(--ease) forwards;
}

.cookie-bar.is-visible {
  display: block;
}

.cookie-bar h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cookie-bar p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-bar .btn {
  padding-inline: 18px;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-panel {
  position: fixed;
  inset: 0;
  background: rgba(26, 25, 23, 0.45);
  z-index: 970;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-panel.is-open {
  display: flex;
}

.cookie-dialog {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-dialog h3 {
  margin: 0 0 14px;
}

.cookie-dialog ul {
  margin: 14px 0 20px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cookie-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Legal pages */
.page-hero {
  padding: 48px 0 32px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
}

.page-hero p.lead {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
}

.prose {
  max-width: 720px;
  margin: 0 auto 72px;
  font-size: 0.96rem;
  color: var(--ink);
}

.prose h2 {
  margin: 38px 0 12px;
  font-size: 1.2rem;
  font-family: inherit;
}

.prose p,
.prose ul {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 20px;
}

.prose strong {
  color: var(--ink);
}

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

.about-split figure {
  margin: 0;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 0;
}

.trust-strip span {
  font-size: 0.76rem;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

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

.contact-aside {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 44px rgba(26, 25, 23, 0.05);
}

.contact-aside h2 {
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.contact-aside p,
.contact-aside address {
  margin: 10px 0 0;
  font-style: normal;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.map-embed {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
