/* Kleuren uit je palet */
:root {
  --white: #FFFFFF;
  --grey: #D9D9D9;
  --blue: #27348B;
  --green: #69B769;
  --header-height: 72px;
  --text: #1F1F1F;
  --radius: 18px;
}

/* Basis */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #FFFFFF;
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers */

.contact-container {
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}

.container {
  width: 100%;
}

.contact-card {
  width: 100%;
  max-width: 720px;
  padding: 2.2rem 2.4rem;
  border-radius: 12px;
  background: rgba(244,244,247,0.98);
  box-shadow: 0 6px 20px rgba(16,24,40,0.08);
  text-align: center;
}

.contact-card h1 {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
  color: var(--blue);
}

.contact-card p {
  font-size: 1.05rem;
  color: var(--blue);
  margin: 0.45rem 0;
}

.section-cta {
  text-align: center;
}

.content-panel {
  background: rgba(250, 251, 253, 0.96);
  color: var(--text);
  padding: 2rem 2.2rem;
  border-radius: 10px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  border: 1px solid rgba(16, 24, 40, 0.05);
  position: relative;
  z-index: 2;
  text-align: center;
}

.content-panel h2 {
  margin-top: 0;
  color: var(--blue);
}

h1, h2, h3 {
  margin: 0 0 0.6rem;
  color: var(--blue);
}

p {
  margin: 0 0 0.85rem;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: 0.95rem;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* NAV */

.nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  color: var(--green);
  border: 1px solid var(--green);
  transition: background-color 220ms ease, color 220ms ease, transform 120ms ease;
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* Splash overlay */

.splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: linear-gradient(135deg, #27348B 0%, #69B769 55%, #FFFFFF 100%);
}

.splash-logo {
  width: min(48vw, 340px);
  height: auto;
  display: block;
  will-change: transform, opacity;
  animation: logo-entrance 900ms cubic-bezier(.22,.9,.35,1) forwards;
}

@keyframes logo-entrance {
  0% { transform: scale(1); opacity: 1; }
  60% { transform: scale(0.78); opacity: 1; }
  100% { transform: scale(0.95); opacity: 1; }
}

.splash.splash--hide {
  animation: splash-fade 420ms ease-in forwards;
}

@keyframes splash-fade {
  to { opacity: 0; visibility: hidden; }
}

/* Fade-in */

.fade-item {
  opacity: 0;
  transition: opacity 400ms ease;
}

body.has-loaded .fade-item {
  opacity: 1;
}


/* HERO */

.hero {
  position: relative;
  padding: 0;
}

.hero-fixed {
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("Fotos/Solar Panels.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.10), transparent 55%),
              linear-gradient(135deg, rgba(0,0,0,0.22), rgba(0,0,0,0.08));
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(0,0,0,0.65);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(8,10,20,0.09);
}

.hero h1 {
  font-size: clamp(1.6rem, 3.6vw, 1.9rem);
  color: var(--white);
  text-shadow: 0 5px 12px rgba(0,0,0,0.34);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions--center {
  justify-content: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--blue);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.hero .btn.primary {
  border-color: var(--green);
  background: var(--green);
}

.hero .btn.ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.hero .btn,
.hero .btn.primary,
.hero .btn.ghost {
  background: rgba(255,255,255,0.25);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  transition: background-color 220ms ease, color 220ms ease, transform 120ms ease;
}

.hero .btn:hover,
.hero .btn:focus {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn.ghost {
  background: var(--white);
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--blue);
  color: var(--white);
}

/* Cards */

.grid-3 {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--grey);
}

/* Custom cursor */
html, body, a, button, .btn, .nav a {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='10' fill='none' stroke='%2327348B' stroke-width='3'/><circle cx='16' cy='16' r='3' fill='%2327348B'/></svg>") 16 16, auto;
}

input, textarea {
  caret-color: var(--blue);
}

/* CTA section */

.section-cta p {
  max-width: 520px;
  margin: 0.4rem auto 1.5rem;
}

/* Footer */

.site-footer {
  background: var(--white);
  border-top: none;
  padding: 1rem 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #444;
  padding: 0 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

/* Responsive */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    width: 100%;
  }

  .footer-links a {
    text-align: center;
    display: block;
    width: 100%;
  }

  .hero-inner--center {
    align-items: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.75rem 1.5rem 1rem;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-direction: column;
    gap: 0.6rem;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-fixed {
    background-attachment: scroll;
  }

  .hero-inner--center {
    padding: 1.2rem 1rem;
    margin: 0 0.6rem;
  }
}

/* VALID separate short-height rule (fixed bug) */
@media (max-height: 720px) {
  .hero-inner--center { padding: 0.4rem 0.6rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero .eyebrow { font-size: 0.75rem; margin-bottom: 0.35rem; }
  .hero-actions { margin-top: 0.6rem; gap: 0.6rem; }
}

/* Desktop logo spacing */
@media (min-width: 721px) {
  .header-inner .logo {
    margin-left: 0.75rem;
  }
}

/* Remove number input arrows */
input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  display: none;
}


.site-header .container {
    padding-right: 1.5rem; /* was 0 in your code */
    padding-left: 1.5rem;  /* keeps symmetry */
}


.aanpak-section {
  padding: 4rem 0 4.5rem;
}

.aanpak-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.aanpak-header h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0.4rem 0 0.8rem;
}

.aanpak-intro {
  margin: 0;
  opacity: 0.9;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* altijd 2 kolommen */
  gap: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Mobiel: 1 kolom */
@media (max-width: 768px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.focus-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.8rem 1.6rem;
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out,
    background 0.2s ease-out;
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at top left,
    rgba(255, 255, 255, 0.08),
    transparent 60%);
  transition: opacity 0.2s ease-out;
  pointer-events: none;
}

.focus-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.focus-card:hover::before {
  opacity: 1;
}

.focus-card h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: 1.2rem;
}

.focus-card p {
  margin: 0;
}

/* Kleine label boven de titel */
.focus-tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 0.3rem;
}


/* Hero image specifiek voor Aanpak.html */
.hero-aanpak {
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("Fotos/Solar park.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll; /* of fixed als je parallax wil */
  color: var(--white);
}
