/* BKV Bouw en timmerbedrijf - Huisstijl Stylesheet */

:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-alt: #eae6dd;
  --text: #1a1a1a;
  --muted: #5e646a;
  --brand: #1a1a1a;          /* Charcoal Black uit logo */
  --brand-soft: #333333;
  --accent: #c8923a;         /* Goud uit logo */
  --accent-soft: #e2c088;
  --line: rgba(26, 26, 26, 0.08);
  --shadow: 0 15px 35px rgba(26, 26, 26, 0.04);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf9f6 0%, #f4f2ea 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--brand);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--brand);
}

h3 {
  font-size: 1.4rem;
  color: var(--brand);
}

p {
  margin: 0;
  color: var(--muted);
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards & Buttons */
.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 26, 26, 0.08);
  border-color: rgba(200, 146, 58, 0.28);
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.65rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 146, 58, 0.15);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button-secondary {
  background: rgba(26, 26, 26, 0.04);
  color: var(--brand);
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.button-secondary:hover {
  background: rgba(26, 26, 26, 0.08);
}

/* Headings styles */
.section-heading {
  max-width: 720px;
  display: grid;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.section-heading.heading-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.heading-center .eyebrow {
  justify-content: center;
}

.section-heading.heading-center .eyebrow::before {
  display: none;
}

/* Header & Navigatie */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  background: rgba(248, 246, 242, 0.88);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-svg {
  width: 58px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.logo-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-panel a:not(.button) {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-panel a:not(.button):hover {
  color: var(--accent);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero-copy p {
  font-size: 1.15rem;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 1rem;
  max-width: 46rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-item strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 28rem;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.1), rgba(26, 26, 26, 0.45)), url('uploads/bkv_hero.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Service Cards */
.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-img {
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.04);
}

.service-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.service-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-card:hover h3 {
  color: var(--accent);
}

/* Waarom BKV */
.why-section {
  background: rgba(26, 26, 26, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.why-cards {
  gap: 1.25rem;
}

.why-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.why-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(200, 146, 58, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.owner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 2rem;
  background: #fff;
  border-radius: var(--radius-sm);
  max-width: 26rem;
}

.owner-img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.owner-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.owner-info strong {
  font-size: 0.98rem;
  color: var(--brand);
}

.owner-info span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Projecten */
.chip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip-list li {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.04);
  color: var(--brand);
  font-weight: 600;
  border: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-list li:hover {
  background: rgba(26, 26, 26, 0.08);
  transform: translateY(-1px);
}

.chip-list li.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(200, 146, 58, 0.2);
}

.project-card {
  overflow: hidden;
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-copy {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.project-copy span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card:hover h3 {
  color: var(--accent);
}

/* Werkwijze */
.werkwijze-section {
  background: rgba(26, 26, 26, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-card {
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* Reviews */
.review-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rating {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.review-card p {
  font-style: italic;
  line-height: 1.6;
  color: #3f4448;
}

.review-card strong {
  margin-top: auto;
  color: var(--brand);
  font-size: 0.98rem;
}

.review-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Contact Sectie */
.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-form-card {
  padding: 2.25rem;
}

.contact-form-card h2 {
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 146, 58, 0.12);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  padding: 1.5rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-list li strong {
  font-size: 0.88rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.contact-link:hover {
  color: var(--accent);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.45rem 0;
  font-size: 0.95rem;
}

.hours-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--line);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--brand);
}

.map-card {
  padding: 0;
  overflow: hidden;
  min-height: 18rem;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  padding: 5rem 0 2rem;
  background: #111111;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer h3 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-svg {
  width: 65px;
  height: 52px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
}

/* Floating contact buttons */
.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.floating-cta .icon {
  flex-shrink: 0;
}

.floating-cta.phone {
  background: var(--brand);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  left: 1.5rem;
  right: auto;
}

.floating-cta.phone:hover {
  background: var(--accent);
}

.floating-cta.whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-cta.whatsapp:hover {
  background: #20ba5a;
}

/* Honeypot & screenreaders hiding */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Eenvoudige Privacy Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay:target {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(550px, 90vw);
  max-height: 80vh;
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
}

.modal-close {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  overflow-y: auto;
  display: grid;
  gap: 1rem;
}

.modal-body p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Mobiel Responsive */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 20rem;
  }

  .grid-3,
  .grid-2,
  .why-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 2rem;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand);
    border-radius: 9px;
    transition: 0.25s ease;
  }

  .nav-panel {
    position: absolute;
    top: 5.5rem;
    left: 1.25rem;
    right: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
  }

  .nav-toggle:checked ~ .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    padding: 0.75rem 1.1rem;
    font-size: 0.88rem;
    bottom: 1rem;
  }
  
  .floating-cta.phone {
    left: 1rem;
  }

  .floating-cta.whatsapp {
    right: 1rem;
  }
}
