:root {
  --color-light: #E5E3D7;
  --color-primary: #367733;
  --color-secondary: #987D57;
  --color-dark: #053227;

  --font-header: 'Figtree', sans-serif;
  --font-text: 'Inter', sans-serif;
  --font-script: 'Permanent Marker', cursive;

  --radius: 12px;
  --container-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--color-dark);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--color-dark);
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-header);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(5,50,39,.25);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(5,50,39,.3);
}
.btn:not(:hover) {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(5,50,39,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-dark);
  letter-spacing: .5px;
}
.logo img { height: 53px; width: auto; }
.logo span { color: var(--color-primary); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--color-dark);
  font-weight: 600;
  font-family: var(--font-header);
}
.main-nav a:hover { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn { padding: 10px 20px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.association-logo { height: 67px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 850px;
  display: flex;
  align-items: center;
  color: #fff;
  background: url('../img/Herobild.jpeg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.85) 25%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 80%);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 640px; padding-top: 90px; text-align: left; }
.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: var(--color-primary);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}
.hero-subtext { max-width: 520px; margin-bottom: 24px; opacity: .92; }
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.hero-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-dark);
  font-size: .8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero-actions .btn { min-width: 230px; justify-content: center; font-family: var(--font-header); font-weight: 800; }
.hero-actions .icon { color: inherit; vertical-align: -3px; margin-right: 4px; width: 20px; height: 20px; }
.hero-actions .btn-primary .icon { color: #fff; }
.hero-actions .btn-outline {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

.hero-actions .btn-outline .icon { color: var(--color-primary); }
.hero-contact { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.hero-contact a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.hero-contact a .icon { color: #fff; }
.hero-contact a:hover { color: var(--color-primary); }
.hero-contact a:hover .icon { color: var(--color-primary); }

/* ---------- Logo banner ---------- */
.logo-banner {
  padding: 32px 0;
  background: #fff;
}
.logo-banner img {
  width: 100%;
  height: auto;
}

/* ---------- About / Intro ---------- */
.about {
  padding: 100px 0;
  background: #fff;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-image img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  object-position: 50% 35%;
  background: var(--color-secondary);
  box-shadow: 0 12px 28px rgba(5,50,39,.25);
}
.about-text h2 { font-size: 2.2rem; }
.about-image-caption {
  display: block;
  margin-top: 14px;
  font-weight: 600;
}
.eyebrow {
  font-family: var(--font-script);
  color: var(--color-primary);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.accordion-item {
  background: var(--color-primary);
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
}
.accordion-summary {
  width: 100%;
  cursor: pointer;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: none;
  border: none;
  padding: 18px 24px;
}
.accordion-summary span { font-size: 1.3rem; line-height: 1; }
.accordion-summary span::before { content: "+"; }
.accordion-item.open .accordion-summary span::before { content: "\2212"; }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-content p { margin: 0 24px 18px; color: #fff; }

/* ---------- Stats ---------- */
.stats {
  background: var(--color-primary);
  color: var(--color-dark);
  padding: 80px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(5,50,39,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-number {
  font-family: var(--font-header);
  font-size: 3rem;
  color: var(--color-dark);
  font-weight: 800;
}
.stat-label { font-weight: 700; margin-top: 8px; color: var(--color-dark); }
.stat-label-only { font-size: 1.2rem; margin-top: 0; margin-bottom: 20px; }
.stat-divider {
  width: 60px;
  border: none;
  border-top: 2px solid var(--color-dark);
  margin: 16px 0;
}
.stat-text { color: var(--color-dark); opacity: .8; font-size: .95rem; margin: 0; }

/* ---------- Services ---------- */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-heading h2 {
  display: inline-block;
  font-size: 2.4rem;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-primary);
}
.services { padding: 100px 0; background: #fff; }
.service-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 60px;
  height: 300px;
}
.service-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 0 0 420px;
  height: 300px;
  background: var(--color-secondary);
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}
.slider-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--color-dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-image-count-1 .slider-arrow,
.slider-image-count-1 .slider-dots { display: none; }
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0;
}
.slider-dots button.active { background: #fff; }
.service-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(5,50,39,.2);
}
.service-card h3 { font-size: 1.8rem; color: #fff; }
.services-cta { text-align: center; margin-top: 20px; }
.service-card p { margin: 0; }

/* ---------- Process ---------- */
.process { padding: 100px 0; background: var(--color-primary); }
.process .section-heading h2 {
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.process-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(5,50,39,.2);
}
.process-step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-card h3 {
  display: inline-block;
  color: var(--color-dark);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
}
.process-card p { color: #6b6b6b; margin: 0; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; background: #fff; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.cta-image img {
  width: 100%;
  height: 570px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(5,50,39,.25);
}
.cta-image-caption {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--color-dark);
}
.cta-panel {
  position: relative;
  height: 570px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.92));
}
.cta-panel-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  color: #fff;
}
.cta-panel-content h2 { font-size: 1.7rem; color: #fff; margin-bottom: 20px; }
.cta-panel-content p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-panel-content .btn-outline {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

/* ---------- Gallery ---------- */
.gallery { padding: 100px 0; background: #fff; }
.gallery-grid {
  column-count: 3;
  column-gap: 24px;
}
.gallery-grid img {
  display: block;
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(5,50,39,.2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  color: #000;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(5,50,39,.12);
}
.footer-grid h4 {
  color: #000;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #000; }
.footer-grid a:hover { color: var(--color-primary); }
.footer-grid a.btn-primary, .footer-grid a.btn-primary:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: .85rem;
  opacity: .7;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo img { height: 90px; width: auto; }

.footer-contact-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-contact-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-contact-person span { font-weight: 600; }

.footer-contact-list { margin-bottom: 24px; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-contact-list svg { flex-shrink: 0; color: var(--color-primary); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,50,39,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}
.modal-box ul { list-style: none; padding: 0; }
.modal-box ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(5,50,39,.1);
  font-weight: 600;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-dark);
  color: #fff;
  padding: 20px 24px;
  z-index: 999;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner p { margin: 0; font-size: .9rem; max-width: 600px; }
.cookie-actions { display: flex; gap: 12px; }

/* ---------- Inner pages (legal/forms) ---------- */
.page-hero {
  background: var(--color-dark);
  color: #fff;
  padding: 180px 0 80px;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.legal-content { padding: 160px 0 80px; max-width: 800px; margin: 0 auto; background: #fff; color: #000; }
.legal-content h1 { color: #000; margin-bottom: 1em; }
.legal-content h2 { margin-top: 2em; color: #000; }
.legal-content h3 { margin-top: 1.5em; color: #000; }
.legal-content p, .legal-content li { color: #000; }
.legal-content a { color: #000; }

.form-section { padding: 80px 0; }
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 48px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-weight: 600; font-family: var(--font-header); }
.form-row input, .form-row textarea, .form-row select {
  padding: 12px 14px;
  border: 1px solid rgba(5,50,39,.2);
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 1rem;
}
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Funnel ---------- */
.funnel { min-height: 60vh; padding: 60px 0 80px; background: #fff; display: flex; align-items: center; }
.funnel #funnel-form { width: 100%; }
.funnel-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 40px;
}
.funnel-progress-label { font-size: .85rem; color: var(--color-primary); font-weight: 600; }
.funnel-progress-track {
  width: 90px;
  height: 4px;
  background: rgba(5,50,39,.12);
  border-radius: 4px;
  overflow: hidden;
}
.funnel-progress-bar {
  display: block;
  height: 100%;
  background: var(--color-primary);
  transition: width .3s ease;
}
.funnel-step { display: none; }
.funnel-step.active { display: block; }
.funnel-step h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.funnel-step > .btn { display: block; margin: 28px auto 0; }

.funnel-step-text {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.funnel-step-text p { color: #6b6b6b; margin-bottom: 28px; }
.funnel-step-text .btn { display: inline-block; margin: 0; }

.funnel-fields, .funnel-step[data-step="4"] {
  max-width: 420px;
  margin: 0 auto;
}
.funnel-fields input,
.funnel-input-single {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(5,50,39,.2);
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 1rem;
}
.funnel-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(5,50,39,.2);
  border-radius: 8px;
}
.funnel-phone input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-text);
  font-size: 1rem;
}
.funnel-phone-flag { white-space: nowrap; }

.funnel-options {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.funnel-option {
  display: block;
  width: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--color-light);
}
.funnel-option input { display: none; }
.funnel-option img { width: 100%; height: 130px; object-fit: cover; display: block; }
.funnel-option span { display: block; padding: 12px; text-align: center; font-weight: 600; }
.funnel-option input:checked + img,
.funnel-option:has(input:checked) { border-color: var(--color-primary); }

.funnel-step-final { text-align: center; padding: 120px 0; }
.funnel-step-final p { font-size: 1.2rem; color: var(--color-dark); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .about .container,
  .form-cols,
  .process-grid,
  .stats .container { grid-template-columns: 1fr; }
  .service-row { flex-direction: column; height: auto; }
  .service-image { flex-basis: auto; height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { column-count: 2; }
  .funnel-step-text { padding: 0 24px; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
