/* Simple modern reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

/*------------------------------------*\
#Variables
\*------------------------------------*/

/* 
  CSS Architecture:
  - All major sections use .container for consistent max-width (1200px)
  - Container is centered with auto margins for large screens
  - Below 1264px viewport: full-width layout with padding
  - Above 1264px viewport: centered container with fixed max-width
  
  Breakpoints:
  - 700px: tablet/small desktop enhancements
  - 1264px (--screen-container-breakpoint): container max-width becomes active
*/

:root {
  /* colors */
  --global-color-neutral-10: #ffffff;
  --global-color-neutral-50: #f9f9f9;
  --global-color-neutral-100: #f3f3f3;
  --global-color-neutral-200: #dadada;
  --global-color-neutral-300: #c1c1c1;
  --global-color-neutral-400: #a8a8a8;
  --global-color-neutral-500: #8f8f8f;
  --global-color-neutral-600: #767676;
  --global-color-neutral-700: #5d5d5d;
  --global-color-neutral-800: #444444;
  --global-color-neutral-900: #2b2b2b;
  --global-color-neutral-1000: #121212;

  --global-color-energy: #a288e3;
  --global-color-energy-2: #eca400;
  --global-color-heat: #e84855;

  /* border stuff */
  --global-borderRadius: 8px;
  --global-borderWidth: 1px;

  /* transitions */
  --global-transitionTiming-alpha: 0.1s ease-out;

  /* Baseline settings */
  --global-baseline: 8px;
  --global-whitespace: calc(var(--global-baseline) * 2);
  /* = 16px */

  --global-whitespace-xs: calc(var(--global-baseline));
  /* = 8px */
  --global-whitespace-sm: calc(var(--global-baseline) * 1.5);
  /*  = 12px */
  --global-whitespace-md: calc(var(--global-baseline) * 4);
  /*  = 32px */
  --global-whitespace-lg: calc(var(--global-baseline) * 8);
  /*  = 64px */
  --global-whitespace-xl: calc(var(--global-baseline) * 9);
  /*  = 72px */
  --global-whitespace-xxl: calc(var(--global-baseline) * 12);
  /*  = 96px */
  --global-whitespace-xxxl: calc(var(--global-baseline) * 16);
  /*  = 128px */

  /* Container dimensions */
  --global-container-max-width: 1264px;
  /* Breakpoint where container max-width becomes active and centered */
  --screen-container-breakpoint: 1264px;
  /* = container max-width + (2 * container padding) */

  /* screen-dimensions */
  --screen-min-tablet: 700px;

  /* Hero content placement */
  --hero-content-top-mobile: 42%;
  --hero-content-top-desktop: 44%;
  --hero-content-gap: clamp(18px, 3vh, 36px);
  --hero-control-height: clamp(46px, 5vw, 56px);
}

/*------------------------------------*\
#GENERIC
\*------------------------------------*/

/*
    Generic: Page
    ---
    Global page styles + universal box-sizing:
*/

/* @media (prefers-color-scheme: dark) {
  html {
    --global-color-back: var(--global-color-neutral-1000) !important;
    --global-color-side: rgba(200, 200, 200, 0.05) !important;
    --global-color-score: rgba(200, 200, 200, 0.05) !important;
    --global-color-front: var(--global-color-neutral-200) !important;
    --global-color-searchbar: var(--global-color-neutral-1000) !important;
    --global-color-searcbar-background: var(--global-color-neutral-100) !important;
    --global-color-searcbar-action: var(--global-color-neutral-200) !important;
    --global-color-searcbar-text: var(--global-color-neutral-900) !important;
  }
} */

html {
  /* overflow-x: hidden; */
  font-size: 100%;
  line-height: 1.25;
  font-family: "Inter", sans-serif;
  line-height: 1.2;
  color: var(--global-color-front);
  background-color: var(--global-color-back);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  scroll-behavior: smooth;
}

/*------------------------------------*\
#TYPOGRAPHY
\*------------------------------------*/
h1 {
  margin: 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2%;
  font-family: "Montserrat", sans-serif;
  margin: 0 0 var(--global-whitespace-sm) 0;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 2%;
  font-family: "Montserrat", sans-serif;
  margin: 0 0 var(--global-whitespace-sm) 0;

  /* Make all caps */
  /* text-transform: uppercase; */
}

p {
  margin: 0 0 var(--global-whitespace) 0;
  /* font-family: 'Montserrat', sans-serif; */
  color: var(--global-color-neutral-800);
  line-height: 1.5;
}

p:last-child {
  margin-bottom: 0;
}

@media (min-width: 700px) {
  h2 {
    font-size: 2.15rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1.125rem;
  }
}

/*------------------------------------*\
#LAYOUT
\*------------------------------------*/

/* 
  Container for consistent content width and horizontal padding
  Usage: Wrap section content with <div class="container"> for uniform spacing
  Max-width: 1200px (--global-container-max-width)
  Horizontal padding: 32px (var(--global-whitespace-md))
*/
.container {
  max-width: var(--global-container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--global-whitespace-md);
  padding-right: var(--global-whitespace-md);
}

/* 
  Standard section vertical spacing
  All sections get 96px (var(--global-whitespace-xxl)) top/bottom padding by default
  Override with padding: 0 for special sections like hero
*/
section {
  padding-top: var(--global-whitespace-xxl);
  padding-bottom: var(--global-whitespace-xxl);

  scroll-margin-top: 20px;
}

@media (max-height: 600px) {
  section {
    padding-top: var(--global-whitespace-md);
    padding-bottom: var(--global-whitespace-md);
  }
}

.hidden {
  display: none !important;
}

.header {
  color: var(--global-color-neutral-10);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;

  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
  padding: var(--global-whitespace) var(--global-whitespace)
    var(--global-whitespace) var(--global-whitespace-sm);
  width: 100%;
}

.header.header--fixed {
  position: fixed;
  background-color: rgba(90, 90, 90, 0.5);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 12.5%;

  margin: 0 auto;
  width: 100%;
}

.header-nav {
  /* Hide on mobile */
  display: none;

  /* Push nav to the right */
  margin-left: auto;
  width: fit-content;
}

.header-nav-list {
  display: flex;
  /* gap: var(--global-whitespace); */
  gap: 0;

  /* Visual */
  list-style: none;
  /* Remove link style */
  padding: 0;
  margin: 0;
}

/* Exclude last item */
.header-nav-item {
  padding: 0 var(--global-whitespace-sm);
  /* border-right: 1px solid var(--global-color-neutral-100); */
}

.header-nav-item:last-child {
  border-right: none;
}

.header-nav-item a {
  color: var(--global-color-neutral-10);
  text-decoration: none;
  font-weight: 300;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding-bottom: 2px;
}

.header-nav-item a.active {
  color: var(--global-color-neutral-10);
  border-bottom: 1px solid var(--global-color-neutral-10);
  font-weight: 400;
}

.header-nav-item a:hover {
  color: var(--global-color-neutral-1000);
  border-color: var(--global-color-neutral-1000);
}

.header-nav-item a:focus-visible {
  outline: none;
  color: var(--global-color-neutral-100);
  border-bottom: 1px solid var(--global-color-neutral-10);
}

@media (min-width: 700px) {
  .header-inner {
    padding-left: var(--global-whitespace-md);
  }

  .header-title {
    font-size: 1rem;
  }

  .header-nav {
    display: block;
  }
}

/* Hero section */

.hero {
  position: relative;
  min-height: 95vh;
  overflow: hidden;
  padding: 0; /* Override default section padding */
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 95vh;
  width: 100vw;
  object-fit: cover;
  z-index: -1;
  filter: brightness(55%) saturate(150%);
}

@media (max-height: 600px) {
  .hero {
    min-height: 500px;
  }

  .bg-video {
    height: 500px;
  }
}

@media (min-width: 700px) {
  .hero {
    min-height: 100vh;
  }

  .bg-video {
    height: 100vh !important;
  }
}

/* Hero section */

.hero-content {
  position: absolute;
  inset: 0;
}

.hero h1 {
  position: absolute;
  top: var(--hero-content-top-mobile);
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--global-color-neutral-10);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 6vw, 6rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: -2%;
  margin-bottom: 0;
}

/* @media (max-height: 600px) {
  .hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
} */

.hero-bar {
  position: absolute;
  bottom: var(--global-whitespace-md);
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--global-whitespace);
  width: fit-content;
}

@media (min-width: 700px) {
  .hero-content {
    inset: auto;
    top: var(--hero-content-top-desktop);
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--hero-content-gap);
    width: max-content;
  }

  .hero h1 {
    position: static;
    transform: none;
  }

  .hero-bar {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }
}

.hero-button {
  /* position: absolute; */
  /* bottom: var(--global-whitespace-lg);
  left: 50%;
  transform: translateX(-50%); */

  border-radius: calc(var(--global-borderRadius) * 8);
  color: var(--global-color-neutral-10);
  height: var(--hero-control-height);
  padding: 0 var(--global-whitespace-md);
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  width: fit-content;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* .hero-button:hover {
  transform: translateX(-50%) scale(1.05);
} */

.pause-button {
  border-radius: calc(var(--global-borderRadius) * 8);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--hero-control-height);
  height: var(--hero-control-height);
  padding: 0;
  border: none;
}

.read-more {
  display: none;

  position: absolute;
  bottom: var(--global-whitespace-xs);
  left: 50%;
  transform: translateX(-50%);

  flex-direction: column;
  align-items: center;
  gap: 0;

  width: fit-content;
  color: var(--global-color-neutral-10);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
}

@media (min-width: 700px) {
  .read-more {
    display: flex;
    bottom: var(--global-whitespace-md);
    font-size: 0.875rem;
  }
}

.read-more svg {
  width: 20px;
  height: 20px;
  fill: var(--global-color-neutral-10);
  animation: bounce 2s infinite;
}

.frosted-background {
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
  color: var(--global-color-neutral-10);
}

/* INTRO */

.intro-section {
  background-color: var(--global-color-back);
}

.intro {
  max-width: 70ch;
  margin: 0 auto;
}

.intro p {
  line-height: 1.45 !important;
  font-weight: 600;
  color: var(--global-color-neutral-1000);
  font-size: 1.2rem;
}

@media (min-width: 700px) {
  .intro p {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -2%;
    line-height: 1.35 !important;
  }
}

/* LOGOS */

.partner-logo {
  max-width: clamp(65px, 8vw, 120px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  margin: var(--global-whitespace-sm) auto;
}

.logo-section {
  border-top: 1px solid var(--global-color-neutral-100);
  border-bottom: 1px solid var(--global-color-neutral-100);
  padding: 0 var(--global-whitespace);
}

.logo-section .container {
  padding-left: var(--global-whitespace-xs);
  padding-right: var(--global-whitespace-xs);
}

.logo-section-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--global-whitespace);
  max-width: 1080px;
  margin: 0 auto;
}

/* Grondplan - Full bleed on smaller screens, contained on large screens */

.grondplan {
  /* Mobile/tablet: break out to screen edges */
  width: min(800px, calc(100% + 2 * var(--global-whitespace-md)));
  height: auto;
  display: block;
  margin: 0 auto var(--global-whitespace-md)
    calc(-1 * var(--global-whitespace-md));
  transition: all 0.3s ease;
}

/* Large screens: align with container instead of reaching screen edge */
@media (min-width: 1264px) {
  .grondplan {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: calc(
      var(--global-container-max-width) - 2 * var(--global-whitespace-md)
    );
  }

  .grondplan::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0) 70%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

/* Assets */

.assets {
  /* align right */
  margin-top: var(--global-whitespace-md);
  text-align: left;
}

@media (min-width: 700px) {
  .assets {
    margin-top: var(--global-whitespace-lg);
  }
}

/* Assets - Bento Grid */

.bento-grid {
  max-width: min(680px, 100%);

  /* Align bento grid in the center */
  margin: var(--global-whitespace-md) auto 0 auto;

  /* Set grid layout */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 150px 150px 200px 125px 125px;
  gap: var(--global-whitespace-xs);
  grid-template-areas:
    "box-1 box-1"
    "box-2 box-2"
    "box-3 box-4"
    "box-5 box-5"
    "box-6 box-6";
}

@media (max-height: 600px) {
  .bento-grid {
    grid-template-rows: 100px 100px 140px 100px 100px;
    gap: var(--global-whitespace-xs);
  }

  .box-1 h4 {
    font-size: 2.5rem;
  }

  .box-2 h4 {
    font-size: 2.5rem;
  }

  .box-3 svg {
    width: 4em;
    height: 4em;
  }

  .box-3 h4 {
    font-size: 1.15rem;
  }

  .box-4 h4 {
    font-size: 4rem;
  }

  .box-5 h4 {
    font-size: 1.5rem;
  }

  .box-6 h4 {
    font-size: 1.5rem;
  }
}

.box {
  background-color: var(--global-color-neutral-50);
  border-radius: var(--global-borderRadius);
}

.box-1 {
  /* Text color is color gradient */
  font-size: 2rem;
  background-color: var(--global-color-neutral-900);
  /* Make content centerred */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box-1 h4 {
  font-size: 4rem;
  background: linear-gradient(90deg, #e84855, #b20f1d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* margin: 0px 0px var(--global-whitespace-xs) 0px; */
  margin: 0px;
}

.box-1 p {
  font-size: 1rem;
  color: var(--global-color-neutral-100);
  /* Align bottom of text with the bottom of the box */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--global-whitespace-xs);
}

.box-1 p svg {
  fill: #b20f1d;
}

.box-2 {
  /* Text color is color gradient */
  font-size: 2rem;
  background-color: var(--global-color-neutral-900);
  /* Make content centerred */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box-2 h4 {
  font-size: 4rem;
  background: linear-gradient(90deg, #a288e3, #541eda);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* margin: 0px 0px var(--global-whitespace-xs) 0px; */
  margin: 0px;
}

.box-2 p {
  font-size: 1rem;
  color: var(--global-color-neutral-100);
  /* Align bottom of text with the bottom of the box */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--global-whitespace-xs);
}

.box-2 p svg {
  fill: #541eda;
}

.box-3 {
  /* Center items */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--global-whitespace-sm);
}

.box-3 svg {
  /* Increase the size of the SVG */
  width: 6em;
  height: 6em;
  /* Use solid color from gradient theme */
  fill: #8563d8;
}

.box-3 h4 {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #a288e3, #541eda);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.box-3_2 {
  /* Center items */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.box-4 {
  /* Center items */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--global-whitespace);
}

.box-4 h4 {
  font-size: 6rem;
  background: linear-gradient(90deg, #a288e3, #541eda);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0;
}

.box-5 {
  /* Center items */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box-5 h4 {
  font-size: 2rem;
  background: linear-gradient(90deg, #a288e3, #e84855);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: var(--global-whitespace-xs) 0 var(--global-whitespace-xs);
}

.box-6 {
  /* Center items */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box-6 h4 {
  font-size: 2rem;
  background: linear-gradient(90deg, #70a4f2, #0e4ecd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: var(--global-whitespace-xs) 0 var(--global-whitespace-xs);
}

@media (min-width: 700px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 220px 220px 170px 170px;
    gap: var(--global-whitespace);
    grid-template-areas:
      "box-1 box-1 box-1 box-1 box-1 box-1"
      "box-2 box-2 box-2 box-2 box-2 box-2"
      "box-3 box-3 box-5 box-5 box-5 box-5"
      "box-6 box-6 box-6 box-6 box-4 box-4";
  }

  .box-1 h4 {
    font-size: 7rem;
    line-height: 1;
    margin: var(--global-whitespace-sm) 0;
  }

  .box-1 p {
    font-size: 1.15rem;
  }

  .box-2 h4 {
    font-size: 7rem;
    line-height: 1;
    margin: var(--global-whitespace-sm) 0;
  }

  .box-2 p {
    font-size: 1.15rem;
  }

  .box-3 {
    gap: var(--global-whitespace-sm);
  }

  .box-3 svg {
    width: 4.5em;
    height: 4.5em;
  }

  .box-3 h4 {
    font-size: 1.75rem;
  }

  .box-4 {
    gap: var(--global-whitespace-sm);
  }

  .box-4 h4 {
    font-size: 6rem;
  }

  .box-5 h4 {
    font-size: 2.75rem;
  }

  .box-5 p {
    font-size: 1.15rem;
  }

  .box-6 h4 {
    font-size: 2.75rem;
  }

  .box-6 p {
    font-size: 1.15rem;
  }
}

/* Energiedelen */

.energiedelen-section {
  /* background-color: var(--global-color-neutral-50); */
  background: linear-gradient(
    to bottom,
    var(--global-color-neutral-50),
    var(--global-color-neutral-10)
  );
  /* border-top: 1px solid var(--global-color-neutral-200);
  border-bottom: 1px solid var(--global-color-neutral-200); */
  padding-bottom: 0px;
}

.energiedelen-section h2 {
  color: var(--global-color-energy);
}

.energiedelen-section p {
}

.energiedelen-section img {
  /* width: 100vw; */
  /* padding: var(--global-whitespace-xs);
  background-color: white;
  margin-top: var(--global-whitespace-md);
  border-radius: var(--global-borderRadius);
  border: 1px solid var(--global-color-neutral-200); */
}

.warmtenet-section h2 {
  color: var(--global-color-heat);
}

.vision-section {
  /* padding: 0px; */
  /* background: linear-gradient(to bottom, var(--global-color-neutral-50), var(--global-color-neutral-10)); */
  background: var(--global-color-neutral-50);
  padding-bottom: var(--global-whitespace-xl);
}

.contact-section {
  padding: 0px;
  margin-top: var(--global-whitespace-xxl);
  /* background: linear-gradient(to bottom, var(--global-color-neutral-50), var(--global-color-neutral-10)); */
}

.contact-section h2 {
  margin-bottom: var(--global-whitespace);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--global-whitespace);
  max-width: 90vw;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
}

.contact-form .field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--global-whitespace-xs);
}

/* 1. Inputs & Textareas (Streamlined & slightly larger) */
.contact-form .field input,
.contact-form .field textarea {
  font-family: "Inter", sans-serif;
  width: 100%;
  box-sizing: border-box; /* Ensures padding doesn't cause horizontal overflow */
  border: 1px solid var(--global-color-neutral-200);
  border-radius: var(--global-borderRadius);
  padding: 1rem var(--global-whitespace-sm) 0.8rem var(--global-whitespace-sm); /* Increased top padding */
  font-size: 1rem;
  font-weight: 300;
  color: var(--global-color-neutral-900);
  background-color: var(--global-color-neutral-10);
  transition: all 0.3s ease;
  outline: none;
}

.contact-form .field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.4;
}

/* 2. Hover & Focus States */
.contact-form .field input:hover,
.contact-form .field textarea:hover {
  border-color: var(--global-color-neutral-300);
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  border-color: var(--global-color-energy);
  box-shadow: 0 0 0 4px rgba(162, 136, 227, 0.15);
  background-color: var(--global-color-neutral-10);
}

/* Autofill Override */
.contact-form .field input:-webkit-autofill,
.contact-form .field input:-webkit-autofill:hover,
.contact-form .field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--global-color-neutral-10) inset !important;
  -webkit-text-fill-color: var(--global-color-neutral-900) !important;
  border-color: var(--global-color-neutral-200) !important;
}

/* 3. Base Label (Fixed to top-left for both inputs and textareas) */
.contact-form .field label {
  position: absolute;
  left: var(--global-whitespace-sm);
  top: 1rem; /* Aligns with the new 1rem top padding of the inputs */
  font-size: 1rem;
  font-weight: 300;
  color: var(--global-color-neutral-500);
  pointer-events: none;
  background-color: var(--global-color-neutral-10);
  padding: 0 0.25rem;
  line-height: 1;
  transition: all 0.2s ease;
  transform-origin: left top; /* Ensures the scale-down stays anchored left */
}

/* 4. Floating State (Focus or filled) */
.contact-form .field input:focus + label,
.contact-form .field input:not(:placeholder-shown) + label,
.contact-form .field textarea:focus + label,
.contact-form .field textarea:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  font-weight: 500;
  color: var(--global-color-neutral-700);
}

.contact-form .field input:focus + label,
.contact-form .field textarea:focus + label {
  color: var(--global-color-energy);
}

/* 5. Utilities (Honeypot, Hint, Error) */
.contact-form .bedrijf {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.form-hint {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

.form-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--global-whitespace);
  text-align: center;
}

.form-complete-animation {
  width: 160px;
  height: 160px;
  aspect-ratio: 1 / 1;
  display: block;
}

.form-error {
  margin-bottom: var(--global-whitespace-md);
}

.form-error-text {
  background-color: #ffe6e6;
  color: #b20000;
  border: 1px solid #ff4d4d;
  border-radius: var(--global-borderRadius);
  padding: var(--global-whitespace-sm);
  margin-bottom: var(--global-whitespace);
  font-size: 0.95rem;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 6. Button */
.contact-form button {
  align-self: flex-start;
  width: 100%;
  border-radius: var(--global-borderRadius);
  color: var(--global-color-neutral-10);
  padding: var(--global-whitespace-sm) var(--global-whitespace-md);
  font-size: 1rem;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  border: none;
  background-color: var(--global-color-neutral-900);
  transition: all 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  outline: none;
  background-color: var(--global-color-energy);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(162, 136, 227, 0.15);
}

.contact-form button:active {
  transform: translateY(0);
}

.contact-form .field input {
  padding: 1.2rem var(--global-whitespace-sm) 0.8rem !important; /* Taller field */
  font-size: 1.1rem;
}

/* Center label vertically for single-line inputs only; textareas keep top: 1rem */
.contact-form .field:not(:has(textarea)) label {
  top: 50%;
  transform: translateY(-50%);
}

/* Standard Floating Logic */
.contact-form .field input:focus + label,
.contact-form .field input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  color: var(--global-color-energy);
  font-weight: 500;
}

.contact-form .field--phone .iti {
  width: 100%;
}

.contact-form .field--phone input {
  padding-left: calc(var(--phone-prefix-width, 80px) + var(--global-whitespace-xs)) !important;
}

.contact-form .field--phone label {
  left: calc(var(--phone-prefix-width, 80px) + var(--global-whitespace-xs));
}

.contact-form .field--phone.is-focused label,
.contact-form .field--phone.is-filled label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  font-weight: 500;
  color: var(--global-color-energy);
}

.contact-form .field--phone .iti__country-list {
  max-width: min(90vw, 360px);
}

@media (min-width: 1024px) {
  .contact-form .field--phone .iti__country-list {
    max-width: 340px;
  }
}

/* FOOTER */

.footer {
  margin-top: var(--global-whitespace-lg);
  margin-bottom: 0px;
  padding: var(--global-whitespace-sm);
  background-color: var(--global-color-neutral-50);

  color: var(--global-color-neutral-700);
}

.footer div p {
  font-size: 0.75rem;
}

/* Keyframes */

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* Hide navigation elements from Reader View and print */
@media print {
  .hero-bar,
  .hero-button,
  .header {
    display: none !important;
  }
}
