/* ============================================
   Artsy Elize · Atelier Noir
   Dark + gold editorial style for digital equine artist
   ============================================ */

:root {
  /* Surfaces */
  --bg: #0c0b12;
  --bg-surface: #15141e;
  --bg-elevated: #1a1924;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(12, 11, 18, 0.78);
  --bg-glass-strong: rgba(12, 11, 18, 0.92);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(200, 164, 90, 0.3);

  /* Brand */
  --gold: #c8a45a;
  --gold-light: #dfc088;
  --gold-dark: #a8863a;
  --gold-glow: rgba(200, 164, 90, 0.12);
  --gold-glow-strong: rgba(200, 164, 90, 0.25);

  /* Text */
  --text: #e5e0d8;
  --text-muted: #918c85;
  --text-dim: #524e48;
  --white: #ffffff;
  --danger: #e85454;
  --success: #5acc88;

  /* Type */
  --font: 'Geist', system-ui, -apple-system, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;

  /* Layout */
  --max-width: 1240px;
  --nav-height: 72px;
  --radius: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.5s var(--ease);
  --transition-fast: 0.3s var(--ease);

  /* Shadow */
  --sh-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.4);
  --sh-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --sh-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --sh-gold: 0 8px 32px -8px var(--gold-glow-strong);
}

/* --- Reset + Base --- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main { display: block; }

img,
picture,
video,
svg { max-width: 100%; height: auto; display: block; }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input,
textarea,
select { font: inherit; color: inherit; }

ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--white);
}

h1 { font-size: clamp(2.75rem, 6vw + 0.5rem, 5.5rem); }
h2 { font-size: clamp(2.25rem, 4vw + 0.5rem, 4rem); }
h3 { font-size: clamp(1.5rem, 1.6vw + 0.5rem, 2rem); }
h4 { font-size: clamp(1.125rem, 0.8vw + 0.85rem, 1.375rem); }

p { margin: 0 0 1rem; color: var(--text-muted); line-height: 1.7; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

[id] { scroll-margin-top: calc(var(--nav-height) + 1rem); }

/* --- Container + section --- */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* geen content-visibility op secties: ScrollTrigger cachet er verkeerde triggerposities door */
.section {
  padding-block: clamp(4rem, 8vw, 8rem);
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.text-center { margin-inline: auto; text-align: center; }

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}

.text-center { text-align: center; }

.gold-line {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

.text-center .gold-line { margin-inline: auto; }

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus-visible { top: 1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  justify-content: center;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  box-shadow: var(--sh-gold);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px -8px var(--gold-glow-strong);
  }
  .btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
  }
  a:hover { color: var(--gold-light); }
}

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  transition: background-color var(--transition-fast), backdrop-filter var(--transition-fast), border-color var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max-width));
  height: 100%;
  margin-inline: auto;
  gap: 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.navbar-logo img { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 400;
  padding-block: 0.5rem;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.25rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

@media (hover: hover) {
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }
}

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  margin-left: auto;
  border-radius: var(--radius);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), top var(--transition-fast);
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* --- Mobile Menu (fullscreen merk-scherm; GSAP animeert open/dicht, CSS-transition = fallback) --- */
.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100svh; /* fallback pre-dvh browsers */
  height: 100dvh;
  background:
    radial-gradient(ellipse 70% 45% at 85% 10%, var(--gold-glow), transparent 65%),
    var(--bg);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 1rem) 2rem 2.5rem;
  gap: 2.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

html.has-gsap .mobile-menu { transition: none; }

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.375rem;
}

.mobile-menu nav a {
  font-family: var(--font-heading);
  font-size: clamp(2.125rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.875rem;
  transition: color var(--transition-fast);
}

.mobile-menu nav a.active { color: var(--gold); }

.mobile-menu nav a.active::before {
  content: '\2726';
  font-size: 1rem;
  color: var(--gold);
}

@media (hover: hover) {
  .mobile-menu nav a:hover { color: var(--gold); }
}

.m-menu-foot {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.m-menu-foot-note {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0;
}

.m-menu-foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.m-menu-foot-links a { color: var(--gold); font-size: 0.9375rem; }

/* --- Hero (split: tekst links, werk-als-canvas rechts) --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: calc(var(--nav-height) + 3rem) 3.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 74% 42%, var(--gold-glow), transparent 70%),
    radial-gradient(ellipse 45% 40% at 12% 88%, rgba(38, 66, 60, 0.3), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 5vw, 5rem); }
}

.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.5rem);
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-description {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  margin-bottom: 2.25rem;
  color: var(--text);
  max-width: 46ch;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* het kunstwerk integraal getoond, als doek aan een donkere wand */
.hero-canvas {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--sh-lg), 0 0 90px -20px var(--gold-glow-strong);
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.hero-canvas img { width: 100%; height: auto; }

.hero-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-glow-strong);
  border-radius: inherit;
  pointer-events: none;
}

/* --- Marquee --- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
  padding-block: 1.5rem;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  font-style: italic;
  color: var(--text);
}

.marquee-dot {
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* --- Services: editorial rows (elk werk verkoopt de dienst) --- */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vw, 6rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 820px) {
  .service-row { grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .service-row:nth-child(even) .service-row-media { order: 2; }
}

.service-row-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-surface);
}

.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-row-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: inherit;
  pointer-events: none;
}

.service-row h3 {
  font-size: clamp(1.75rem, 1.2vw + 1.4rem, 2.375rem);
  margin-bottom: 0.875rem;
}

.service-row p {
  max-width: 44ch;
  margin-bottom: 1.25rem;
}

.service-row-meta {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.service-row-price {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--gold);
}

.service-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast), border-color var(--transition-fast), gap var(--transition-fast);
}

@media (hover: hover) {
  .service-row-link:hover { color: var(--gold); border-color: var(--gold); gap: 0.75rem; }
}

/* --- Featured grid --- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

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

.featured-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(12,11,18,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.featured-item-overlay h4 {
  color: var(--white);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

@media (hover: hover) {
  .featured-item:hover img { transform: scale(1.06); }
  .featured-item:hover .featured-item-overlay { opacity: 1; }
}

@media (hover: none) {
  .featured-item-overlay { opacity: 1; }
}

/* --- CTA (met .cta-bg = full-bleed artwork band; zonder = stille gradient) --- */
.cta-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 20%, var(--gold-glow), transparent 50%);
  pointer-events: none;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, var(--gold-glow), transparent 55%),
    linear-gradient(180deg, rgba(12, 11, 18, 0.86) 0%, rgba(12, 11, 18, 0.72) 55%, rgba(12, 11, 18, 0.88) 100%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 { margin-block: 1rem 1.25rem; }
.cta-section p {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* --- Page header --- */
.page-header {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 3rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-header h1 { margin-block: 0.75rem; }

/* --- About grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-surface);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-glow);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.125rem; color: var(--text); line-height: 1.75; }

/* --- Gallery filters + masonry --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-muted);
  background: transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

@media (hover: hover) {
  .filter-btn:hover { color: var(--white); border-color: var(--gold); }
  .filter-btn.active:hover { background: var(--gold-light); border-color: var(--gold-light); }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-flow: dense;
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  cursor: zoom-in;
  display: block;
  aspect-ratio: 1 / 1;
}

/* subtiele inner border: houdt werken met witte/lichte achtergrond in het donkere grid */
.gallery-item::after,
.featured-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: inherit;
  pointer-events: none;
}

.gallery-item.item-landscape { aspect-ratio: 4 / 3; }
.gallery-item.item-tall { aspect-ratio: 3 / 4; }
.gallery-item.item-wide { aspect-ratio: 16 / 9; }

@media (min-width: 700px) {
  .gallery-item.item-wide { grid-column: span 2; }
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(12,11,18,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item-overlay h4 { color: var(--white); font-size: 1.0625rem; margin-bottom: 0.25rem; }
.gallery-item-overlay span { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
}

@media (hover: none) {
  .gallery-item-overlay { opacity: 1; }
}

.gallery-item.is-hidden { display: none; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 164, 90, 0.06) 0%, var(--bg-card) 60%);
  box-shadow: var(--sh-gold);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.pricing-card h3 { font-size: 1.625rem; }

.price {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 2vw + 2rem, 3.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.price-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

/* prijsloze tier ("Contact for price") — zelfde plek, kleiner corps, lijnt met de cijfer-prijzen */
.price.price-contact {
  font-size: clamp(1.375rem, 1vw + 1.125rem, 1.75rem);
  font-style: italic;
  display: flex;
  align-items: flex-end;
  min-height: clamp(2.5rem, 2vw + 2rem, 3.5rem);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-block: 1rem 1.5rem;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.pricing-card .btn { width: 100%; }

@media (hover: hover) {
  .pricing-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
  }
}

/* --- Add-ons card --- */
.addons-card {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 720px;
  margin-inline: auto;
}

.addons-card h3 { margin-bottom: 1.5rem; font-size: 1.375rem; }

.addon-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.addon-item:last-child { border-bottom: 0; }
.addon-item span:first-child { color: var(--text); }
.addon-item span:last-child { color: var(--gold); font-weight: 500; white-space: nowrap; }

/* --- Workflow: verticale timeline met gouden rail (scaleY-fill, geen DrawSVG op rechte rail) --- */
.workflow-timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.workflow-rail {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}

.workflow-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  transform: scaleY(0);
  transform-origin: top center;
}

.workflow-step {
  position: relative;
  padding: 0 0 2.75rem 2.75rem;
}

.workflow-step:last-child { padding-bottom: 0; }

.workflow-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg);
}

.workflow-step h4 { margin-bottom: 0.5rem; }
.workflow-step p { font-size: 0.9375rem; max-width: 54ch; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}

.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info > p { margin-bottom: 2rem; color: var(--text-muted); }

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

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.contact-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--gold-glow);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-method-text { display: flex; flex-direction: column; gap: 0.125rem; }
.contact-method-text span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.contact-method-text a { color: var(--text); font-size: 0.9375rem; word-break: break-word; }

@media (hover: hover) {
  .contact-method:hover { border-color: var(--border-hover); background: var(--bg-card); }
  .contact-method-text a:hover { color: var(--gold); }
}

/* --- Form --- */
.contact-form {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-elevated);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.form-submit {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-submit.is-loading::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.form-status.is-visible { display: block; }
.form-status.success { background: rgba(90, 204, 136, 0.08); border: 1px solid rgba(90, 204, 136, 0.3); color: var(--success); }
.form-status.error { background: rgba(232, 84, 84, 0.08); border: 1px solid rgba(232, 84, 84, 0.3); color: var(--danger); }
.form-status.notice { background: var(--gold-glow); border: 1px solid var(--gold-glow-strong); color: var(--gold-light); }

/* --- Form success checkmark --- */
.form-success { text-align: center; padding: 2rem 1rem; }

.checkmark-svg { width: 56px; height: 56px; margin-inline: auto; }

.checkmark-circle {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: cp-check-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke: var(--gold);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: cp-check-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes cp-check-stroke { to { stroke-dashoffset: 0; } }

.form-success-title { color: var(--white); font-weight: 600; margin: 1rem 0 0.25rem; }
.form-success-note { color: var(--text-muted); font-size: 0.9375rem; }

@media (prefers-reduced-motion: reduce) {
  .checkmark-circle,
  .checkmark-check { animation: none; stroke-dashoffset: 0; }
}

.recaptcha-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

.recaptcha-disclaimer a { color: var(--text-muted); text-decoration: underline; }

@media (hover: hover) {
  .recaptcha-disclaimer a:hover { color: var(--gold); }
}

.grecaptcha-badge { visibility: hidden !important; }

/* --- Payment method badges (terms) --- */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.payment-badge img { width: 18px; height: 18px; opacity: 0.85; }

/* --- Content page (terms, privacy) --- */
.content-page {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
}

.content-body {
  max-width: 720px;
  margin-inline: auto;
}

.content-body h1 { margin-bottom: 0.5rem; }
.content-body h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); margin-block: 2.5rem 1rem; }
.content-body h2:first-of-type { margin-top: 1.5rem; }
.content-body p { margin-bottom: 1rem; line-height: 1.75; color: var(--text); }
.content-body strong { color: var(--white); }
.content-body a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color var(--transition-fast); }

@media (hover: hover) {
  .content-body a:hover { border-bottom-color: var(--gold); }
}

/* --- 404 --- */
.page-404 {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.page-404 h1 {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1;
}

.page-404 .section-subtitle { margin-block: 0 2rem; margin-inline: auto; }

/* --- Footer --- */
.footer {
  padding-block: 4rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  position: relative;
}

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

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.footer-brand .navbar-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); max-width: 360px; font-size: 0.9375rem; }

.footer-heading {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9375rem; transition: color var(--transition-fast); }

@media (hover: hover) {
  .footer-links a:hover { color: var(--gold); }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: center;
}

.footer-bottom p { margin: 0; color: var(--text-dim); }

.footer-cookie-btn {
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .footer-cookie-btn:hover { color: var(--gold); }
}

.footer-agency {
  display: inline-flex;
  align-items: center;
  opacity: 0.65;
  transition: opacity var(--transition-fast);
}

.footer-agency img { width: 120px; height: 33px; }

@media (hover: hover) {
  .footer-agency:hover { opacity: 1; }
}

/* --- Motion ---
   Alle reveals lopen via GSAP (main.js). Geen CSS-hiding hier: zonder JS of met
   reduced-motion blijft alles gewoon zichtbaar. Wipe-wrappers clippen alleen. */
.wipe { overflow: hidden; }

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  box-shadow: var(--sh-md);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: hover) {
  .back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
}

/* --- High contrast --- */
@media (prefers-contrast: more) {
  :root {
    --border: rgba(255, 255, 255, 0.2);
    --border-strong: rgba(255, 255, 255, 0.35);
    --text-muted: #b5b0a8;
    --text-dim: #8a857d;
  }
}
