:root {
  --accent-1: #ff7a59;
  --accent-2: #ff5ea8;
  --accent-3: #6f50ff;
  --fixm-orange: #ff7a45;
  --fixm-purple: #5e3da5;
  --bg: #f6f7f9;
  --text: #1e1e1e;
  --muted: #666;
  --max-width: 1120px;
}

/* --- Algemene basis --- */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

/* --- HEADER --- */
.header {
  background: linear-gradient(
    90deg,
    rgba(255, 102, 0, 0.2) 0%,
    rgba(255, 150, 200, 0.25) 50%,
    rgba(170, 120, 255, 0.25) 100%
  );
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 60px;
}

/* --- Navigatie --- */
.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- HERO --- */
.hero {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-top: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: hidden;
}

.hero-left {
  flex: 1;
  padding: 28px;
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- CTA-knoppen --- */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(94, 61, 165, 0.3);
}

/* --- KAARTEN --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
}

/* --- CONTENT BLOK --- */
.content {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px;
  margin-top: 18px;
}

/* --- KLEURVERLOOP KOPJES --- */
.page-title,
main h1.page-title,
main h2.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  display: inline-block;
  margin-bottom: 0.6em;
  background-image: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- FOOTER --- */
.footer {
  background: #1f1f1f;
  color: #ddd;
  padding: 22px;
  margin-top: 30px;
}

.footer a {
  color: #fff;
}

/* --- FOTO-GALERIJ --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.gallery img {
  width: 100%;
  height: 220px;             /* ✅ vaste hoogte voor gelijke rijen */
  object-fit: cover;         /* snijdt netjes bij, behoudt verhouding */
  border-radius: 8px;
  display: block;
  border: 1px solid #e6e6e6;

  /* 🔧 scherpte */
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;

  transition: transform 0.15s ease-in-out;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.01);
}


/* --- KLEINERE TEKSTEN --- */
.small {
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- LOGO HERSTELLEN --- */
img.logo,
.brand img {
  height: 75px !important;
  width: auto !important;
}

img[alt="FixM Allround Klusservice logo"] {
  background-color: transparent !important;
  mix-blend-mode: multiply !important;
  -webkit-mask-image: none !important;
}

/* --- MOBIEL --- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery img {
    height: 180px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 44px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .gallery img {
    height: 140px;
  }
}
/* === FixM: gradient kopjes + header-hover, sitebreed === */

/* Grote paginakop (zelfde look & gewicht als op de home-hero) */
.page-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .6em 0;

  /* oranje → paars */
  background: linear-gradient(90deg, #ff7a45 0%, #5e3da5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* voor niet-webkit */
}

/* XL-variant wanneer je ‘m extra groot wilt (optioneel) */
.page-title--xl {
  font-size: clamp(30px, 6vw, 42px);
}

/* Utility: snel gradient-tekst toepassen op elk element (optioneel) */
.gradient-text {
  background: linear-gradient(90deg, #ff7a45 0%, #5e3da5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Header-navigatie: standaard wit, bij hover het kleurverloop */
.site-header nav a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: all .25s ease;
}
.site-header nav a:hover {
  background: linear-gradient(90deg, #ff7a45 0%, #5e3da5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* === FixM: kleurverloop en stijl voor kopjes in inhoud === */
main h1, main h2, main h3 {
  font-weight: 700;
  margin-bottom: 0.4em;
  font-size: 1.8rem;
  color: var(--fixm-purple); /* fallback kleur */
}
@supports (-webkit-background-clip: text) {
  main h1, main h2, main h3 {
    background: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
/* === FixM: kleurverloop en typografie voor kopjes in de pagina-inhoud === */
main h1, main h2, main h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.4em;
  color: var(--fixm-purple); /* fallback kleur voor browsers zonder gradient */
}

/* Kleurverloop voor moderne browsers */
@supports (-webkit-background-clip: text) {
  main h1, main h2, main h3 {
    background: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Specifieke groottes voor hiërarchie */
main h1 {
  font-size: 2.2rem;   /* grootste, bijvoorbeeld "Wie ben ik" */
}

main h2 {
  font-size: 1.8rem;   /* middelgrote sectietitel */
}

main h3 {
  font-size: 1.4rem;   /* subtitel binnen sectie */
}
/* === FixM: grote paginatitel met kleurverloop en juiste grootte === */
main .page-title {
  font-size: clamp(2rem, 3.2vw + 1rem, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .2px;
  margin: 0 0 .6em;
  color: var(--fixm-purple); /* fallback voor oudere browsers */
}

@supports (-webkit-background-clip:text) {
  main .page-title {
    background: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }
}

/* (optioneel) sectiekoppen iets kleiner maar ook met gradient */
@supports (-webkit-background-clip:text) {
  main h2:not(.page-title),
  main h3 {
    background: linear-gradient(90deg, var(--fixm-orange) 0%, var(--fixm-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
@media (max-width: 768px) {
  .gallery img {
    height: 160px;
  }
}
