/* ============================================================
   Eskes Vinduespudsning — landing
   Concept: koldt nordisk glas + varmt dagslys (committed)
   ============================================================ */

:root {
  /* --- Palette (OKLCH): deep navy brand + crisp white + azure accent --- */
  --brand-900: oklch(0.22 0.055 261);
  --brand-800: oklch(0.275 0.075 261);
  --brand-700: oklch(0.40 0.115 260);
  --brand-600: oklch(0.50 0.135 258);

  --ink:        oklch(0.24 0.045 260);
  --ink-soft:   oklch(0.42 0.038 258);   /* secondary text on light, ≥5:1 */

  --surface:    oklch(0.992 0.004 255);  /* crisp white, faint cool-blue tint */
  --surface-2:  oklch(0.966 0.008 256);
  --tint:       oklch(0.945 0.016 252);  /* cool blue panel */
  --line:       oklch(0.90 0.014 252);

  --accent:        oklch(0.50 0.17 254);   /* azure: CTAs, highlights */
  --accent-deep:   oklch(0.43 0.16 256);   /* hover / icons */
  --accent-soft:   oklch(0.90 0.05 246);   /* light label on navy */

  --on-dark:        oklch(0.97 0.008 250);
  --on-dark-soft:   oklch(0.82 0.020 250);
  --line-dark:      oklch(1 0 0 / 0.14);

  /* --- Type --- */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2.1rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3vw, 4.6rem);

  /* --- Space & shape --- */
  --shell: 1180px;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px oklch(0.24 0.05 260 / 0.07), 0 4px 14px oklch(0.24 0.05 260 / 0.08);
  --shadow-md: 0 10px 30px oklch(0.24 0.05 260 / 0.13);
  --shadow-lg: 0 30px 70px oklch(0.24 0.06 260 / 0.24);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-scale */
  --z-header: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--brand-800); color: var(--on-dark);
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --_bg: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--lg { padding: 1rem 1.6rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

.btn--solid {
  background: var(--accent);
  color: var(--on-dark);
  box-shadow: 0 8px 22px oklch(0.50 0.17 254 / 0.35);
}
.btn--solid:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px oklch(0.50 0.17 254 / 0.45); }
.btn--solid:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ghost on dark surfaces */
.section--dark .btn--ghost,
.hero .btn--ghost { color: var(--ink); border-color: var(--line); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(0.992 0.004 255 / 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px oklch(0.24 0.05 260 / 0.08);
}
.header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__logo { display: none; height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.brand.has-logo .brand__logo { display: block; }
.brand.has-logo .brand__mark { display: none; }
.brand__mark { border-radius: 10px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); }
.brand__text strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.brand__text span { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; gap: 0.4rem; margin-inline: auto; }
.nav a {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.btn--phone { padding: 0.6rem 0.95rem; min-width: 44px; font-weight: 600; }
.btn--phone svg { color: var(--accent-deep); }

/* mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle path { transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); transform-origin: center; }
[data-menu-open] .nav-toggle__top { transform: translateY(5px) rotate(45deg); }
[data-menu-open] .nav-toggle__mid { opacity: 0; }
[data-menu-open] .nav-toggle__bot { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--accent-soft) 0%, transparent 46%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  overflow: hidden;
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3rem, 1.5rem + 6vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.hero__kicker {
  display: inline-flex; align-items: center;
  font-size: var(--step--1); font-weight: 600;
  color: var(--brand-700);
  letter-spacing: 0.01em;
  padding: 0.4rem 0.85rem;
  background: oklch(0.50 0.13 258 / 0.10);
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--brand-700); position: relative; width: max-content; }

.hero__lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-top: 1.4rem;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 2rem;
  font-size: var(--step--1); font-weight: 500; color: var(--ink-soft);
}
.hero__points li { display: flex; align-items: center; gap: 0.5rem; }
.hero__points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-deep); flex: none;
}

/* Hero image */
.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  background: var(--brand-800);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__sweep {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, oklch(1 0 0 / 0.42) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sweep 1.4s var(--ease) 0.7s 1;
  pointer-events: none;
}
@keyframes sweep { to { transform: translateX(120%); } }

.hero__badge {
  position: absolute; left: -0.6rem; bottom: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--step--1); font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.hero__badge-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent-deep);
  box-shadow: 0 0 0 0 oklch(0.50 0.17 254 / 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.50 0.17 254 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px oklch(0.50 0.17 254 / 0); }
}

/* ============================================================
   Trust row
   ============================================================ */
.trust {
  background: var(--brand-800);
  color: var(--on-dark-soft);
}
.trust__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.4rem 1.1rem;
  padding-block: 1rem;
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}
.trust__row span[aria-hidden] { color: var(--accent); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tint { background: var(--tint); }
.section--dark {
  background:
    radial-gradient(100% 120% at 100% 0%, var(--brand-700) 0%, transparent 55%),
    var(--brand-900);
  color: var(--on-dark);
}
.section--dark .section__title { color: var(--on-dark); }

.section--reviews {
  background:
    radial-gradient(90% 90% at 0% 100%, var(--accent) 0%, transparent 42%),
    linear-gradient(155deg, var(--brand-800) 0%, var(--brand-900) 65%);
  color: var(--on-dark);
}
.section--reviews .section__title { color: var(--on-dark); }

.section__head { max-width: 56ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section__title { font-size: var(--step-3); }
.section__intro {
  margin-top: 1rem; font-size: var(--step-1); color: var(--ink-soft);
  text-wrap: pretty;
}
.section__intro--light { color: var(--on-dark-soft); }

/* ---------- Før / Efter reveal ---------- */
.reveal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.8rem, 0.8rem + 4vw, 4.5rem);
  align-items: center;
}
.reveal-copy .section__intro { margin-bottom: 1.6rem; }
.reveal-points { display: grid; gap: 0.85rem; margin-bottom: 2rem; }
.reveal-points li {
  position: relative; padding-left: 2rem;
  color: var(--ink-soft); font-weight: 500; max-width: 42ch;
}
.reveal-points li::before {
  content: ""; position: absolute; left: 0; top: 0.05em;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background:
    var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
    center / 0.82rem no-repeat;
}

.reveal {
  position: relative; margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--brand-800);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.reveal__pane { position: absolute; inset: 0; }
.reveal__pane img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.reveal__pane--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.reveal__badge {
  position: absolute; top: 1rem; z-index: 3;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 9px;
  color: var(--on-dark); background: oklch(0.22 0.05 260 / 0.80);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.reveal__badge--before { left: 1rem; }
.reveal__badge--after { right: 1rem; }

.reveal__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; z-index: 4;
  background: oklch(1 0 0 / 0.9);
  pointer-events: none;
}
.reveal__handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--brand-700);
  box-shadow: var(--shadow-md);
}
.reveal__handle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 oklch(0.50 0.17 254 / 0.5);
  animation: handlePulse 2.6s ease-out infinite;
}
@keyframes handlePulse {
  0% { box-shadow: 0 0 0 0 oklch(0.50 0.17 254 / 0.5); }
  70%, 100% { box-shadow: 0 0 0 14px oklch(0.50 0.17 254 / 0); }
}
.reveal__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
  touch-action: none;
}
.reveal__range::-webkit-slider-thumb { -webkit-appearance: none; width: 3rem; height: 100%; cursor: ew-resize; }
.reveal__range::-moz-range-thumb { width: 3rem; height: 100%; border: none; background: transparent; cursor: ew-resize; }
.reveal__range::-moz-range-track { background: transparent; border: none; }
.reveal:focus-within .reveal__handle { outline: 2.5px solid var(--accent-deep); outline-offset: 3px; }

/* ---------- Price ---------- */
.price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 0.8rem + 4vw, 4rem);
  align-items: center;
}
.price__intro p { color: var(--ink-soft); font-size: var(--step-1); margin: 1rem 0 2rem; max-width: 44ch; text-wrap: pretty; }
.price__list { display: grid; gap: 0.9rem; }
.price__list li {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.price__check {
  flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; margin-top: 2px;
  background:
    var(--brand-700)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
    center / 0.85rem no-repeat;
}
.price__list strong { font-weight: 600; }
.price__kicker {
  display: inline-block;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--brand-700);
  margin-bottom: 0.5rem;
}
.price__title--lg { font-size: var(--step-3); }

/* ============================================================
   Ydelser / services
   ============================================================ */
.services-intro {
  max-width: 60ch; margin-inline: auto; text-align: center;
  margin-bottom: clamp(1.8rem, 1rem + 2vw, 2.6rem);
}
.services-intro .section__intro { margin-inline: auto; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.6rem);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.service-card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.service-card p { color: var(--ink-soft); text-wrap: pretty; }
.services-cta { display: flex; justify-content: center; margin-top: clamp(1.6rem, 1rem + 1.5vw, 2.4rem); }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Contact / form
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.contact__lead { color: var(--on-dark-soft); font-size: var(--step-1); margin-top: 1rem; max-width: 38ch; text-wrap: pretty; }
.contact__direct { margin-top: 2.2rem; display: grid; gap: 1.3rem; }
.contact__direct li { display: grid; gap: 0.15rem; }
.contact__label { font-size: var(--step--1); color: var(--accent-soft); font-weight: 600; letter-spacing: 0.02em; }
.contact__direct a, .contact__direct li > span:last-child { font-size: var(--step-1); color: var(--on-dark); font-weight: 500; }
.contact__direct a { transition: color 0.2s var(--ease); width: max-content; }
.contact__direct a:hover { color: var(--accent); }

.contact__formwrap { position: relative; }
.form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 0.9rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.1rem;
}
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { display: grid; gap: 0.4rem; }
.field label, .field legend {
  font-size: var(--step--1); font-weight: 600; color: var(--ink);
}
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--body); font-size: var(--step-0);
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.46 0.03 258); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  background: var(--surface);
  box-shadow: 0 0 0 4px oklch(0.50 0.135 258 / 0.16);
}
.field input[aria-invalid="true"] { border-color: oklch(0.55 0.17 25); }
.field__error { font-size: var(--step--1); color: oklch(0.5 0.17 25); min-height: 0; }
.field__error:empty { display: none; }

.field--choice { gap: 0.6rem; }
.field--choice { border: none; padding: 0; }
.choice { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1); font-weight: 600;
  transition: all 0.2s var(--ease);
}
.chip input:checked + span {
  background: var(--brand-800); color: var(--on-dark); border-color: var(--brand-800);
}
.chip input:focus-visible + span { outline: 2.5px solid var(--accent-deep); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; opacity: 0; }

.form__note { font-size: var(--step--1); color: var(--ink-soft); text-align: center; margin-top: 0.2rem; }
.form__note a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: var(--accent-deep); }

.form__alert {
  font-size: var(--step--1); font-weight: 600; text-align: center;
  color: oklch(0.48 0.17 25);
  background: oklch(0.48 0.17 25 / 0.08);
  border: 1px solid oklch(0.48 0.17 25 / 0.25);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.form__alert[hidden] { display: none; }

/* success */
.form__success[hidden] { display: none; }
.form__success {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 2vw, 3rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: grid; place-items: center; gap: 0.7rem;
  animation: pop 0.5s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.form__success-mark {
  width: 4rem; height: 4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: oklch(0.50 0.135 258 / 0.12); color: var(--brand-700);
}
.form__success h3 { font-size: var(--step-2); }
.form__success p { color: var(--ink-soft); max-width: 36ch; }
.form__success a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--brand-900); color: var(--on-dark-soft); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 1.5rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.brand--footer .brand__text strong { color: var(--on-dark); }
.brand--footer .brand__text span { color: var(--on-dark-soft); }
.brand--footer .brand__logo { height: 34px; }
.footer__brand p { margin-top: 1rem; max-width: 32ch; font-size: var(--step--1); }
.footer__col { display: grid; gap: 0.55rem; align-content: start; }
.footer__col h4 { color: var(--accent-soft); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 0.3rem; }
.footer__col a, .footer__col span { font-size: var(--step--1); color: var(--on-dark-soft); transition: color 0.2s var(--ease); width: max-content; }
.footer__col a:hover { color: var(--accent); }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  padding-top: 1.5rem; font-size: var(--step--1); color: var(--on-dark-soft);
}
.footer__credit {
  text-align: center; font-size: var(--step--1); color: var(--on-dark-soft);
  margin-top: 1.1rem;
}
.footer__credit a { color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:hover { color: var(--accent); }

/* ============================================================
   Reveal motion (enhances already-visible default)
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.js [data-reveal]:nth-child(3) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__sweep, .hero__badge-dot { animation: none; }
  .reveal__handle::before { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.25rem var(--gutter) 0.75rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  [data-menu-open] .nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav a {
    min-height: 48px; display: flex; align-items: center;
    padding: 0.6rem 0.4rem; border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--step-0); color: var(--ink);
  }
  .nav a:last-child { border-bottom: none; }
  .nav a:hover { background: var(--surface-2); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .reveal-grid, .price, .contact__grid { grid-template-columns: 1fr; }
  .reveal { max-width: 440px; width: 100%; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .header__inner { gap: 0.7rem; }
  .brand__text span { display: none; }
  .brand__logo { height: 38px; max-width: 150px; }
  .header__actions .btn--phone span { display: none; }
  .btn--phone { padding: 0.6rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__base { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .header__actions .btn--solid { padding: 0.6rem 0.9rem; font-size: var(--step--1); }
}

/* ============================================================
   Ydelser — klikbare faner (tabs)
   ============================================================ */
.services-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.4rem);
}
.services-tab {
  font-family: var(--body); font-weight: 600; font-size: var(--step-0);
  padding: 0.7rem 1.4rem; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.services-tab:hover { border-color: var(--brand-700); color: var(--ink); }
.services-tab[aria-selected="true"] {
  background: var(--brand-700); border-color: var(--brand-700); color: var(--on-dark);
}
.services-panel[hidden] { display: none; }
.services-panel {
  max-width: 640px; margin-inline: auto; text-align: center;
}
@media (max-width: 480px) {
  .services-tabs { gap: 0.5rem; }
  .services-tab { padding: 0.6rem 1.1rem; font-size: var(--step--1); }
}

/* ============================================================
   Fælles accent-farve til anmeldelserne (grønne stjerner).
   ============================================================ */
:root {
  --ok-green: oklch(0.62 0.16 148);
}

/* ============================================================
   Områder — stiliseret "kort" med klikbare områdemarkører
   ============================================================ */
.omraader__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.omraader__copy .section__title { color: var(--on-dark); }
.omraader__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.4rem;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
}
.omraader__legend li {
  list-style: none;
  position: relative;
  padding-left: 1.1rem;
  color: var(--on-dark);
  font-weight: 600;
  font-size: var(--step--1);
  text-align: left;
}
.omraader__legend li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok-green);
}
.omraader__map {
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(0.3rem, 0.15rem + 0.4vw, 0.5rem);
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}
.omraader__map svg { width: 100%; height: auto; display: block; }
.omraader__land {
  fill: oklch(0.88 0.015 250);
  stroke: oklch(1 0 0 / 0.3);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.omraader__pin-dot {
  fill: var(--ok-green);
  stroke: var(--brand-900);
  stroke-width: 1.5;
}
@media (max-width: 880px) {
  .omraader__grid { grid-template-columns: 1fr; text-align: center; }
  .omraader__copy .section__intro { max-width: 55ch; margin-inline: auto; }
  .omraader__legend { justify-content: center; grid-template-columns: repeat(4, auto); }
  .omraader__map { max-width: 340px; }
}
@media (max-width: 560px) {
  .omraader__legend { grid-template-columns: repeat(2, auto); }
}

/* ============================================================
   Kunder — rullende logo-marquee + Trustpilot-badge
   ============================================================ */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--step--1);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.trust-badge:hover { border-color: var(--brand-700); box-shadow: var(--shadow-md); }
.trust-badge svg { color: var(--ok-green); flex: none; }
.trust-badge span { color: var(--ink-soft); font-weight: 500; }

.trust-badge-wrap { display: flex; align-items: center; justify-content: center; gap: 0.7rem; flex-wrap: wrap; margin-top: clamp(1.6rem, 1rem + 2vw, 2.4rem); }
.trust-badge-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-700);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.trust-badge-more:hover { color: var(--accent-deep); background: oklch(1 0 0 / 0.5); }
.trust-badge-more svg { transition: transform .18s var(--ease); }
.trust-badge-more:hover svg { transform: translateX(2px); }
.trust-badge--sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; gap: 0.4rem; }

.section--kunder { padding-block: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); }
.kunder__kicker {
  text-align: center;
  font-size: var(--step-0);
  font-weight: 400;
  color: var(--ink-soft);
}
.kunder__kicker strong { font-weight: 700; color: var(--ink); }

.logo-marquee {
  margin-top: 1.4rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  width: max-content;
  animation: logoMarquee 26s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item {
  flex: none;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-marquee__item img {
  max-height: 100%;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter .2s var(--ease), opacity .2s var(--ease);
}
.logo-marquee__item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}
@media (max-width: 620px) {
  .logo-marquee__item { height: 48px; }
  .logo-marquee__item img { max-width: 120px; }
}

/* ============================================================
   Sider med lille hero-strimmel (kontakt, ydelser-undersider, mv.)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(120% 90% at 90% -20%, var(--accent-soft) 0%, transparent 50%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 1rem + 4vw, 3.5rem);
}
.page-hero h1 { font-size: var(--step-3); }
.page-hero p { color: var(--ink-soft); margin-top: 0.6rem; font-size: var(--step--1); max-width: 60ch; }

/* Variant med billede ved siden af — bruges når ydelsessiden har et rigtigt foto */
.service-hero {
  background:
    radial-gradient(120% 90% at 90% -20%, var(--accent-soft) 0%, transparent 50%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 1rem + 4vw, 3.5rem);
}
.service-hero .shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.service-hero__copy h1 { font-size: var(--step-3); }
.service-hero__copy p { color: var(--ink-soft); margin-top: 0.6rem; font-size: var(--step-0); max-width: 52ch; }
.service-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin-inline: auto;
}
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px) {
  .service-hero .shell { grid-template-columns: 1fr; text-align: center; }
  .service-hero__copy p { margin-inline: auto; }
  .service-hero__media { order: -1; max-width: 320px; }
}

/* ============================================================
   Ydelses-tekst — bruges på de selvstændige ydelsessider
   (Vinduespolering / Solcellevask / Afrensning)
   ============================================================ */
.service-page {
  max-width: 62ch;
}
.service-page__body { color: var(--ink-soft); font-size: var(--step-0); }
.service-page__body p { margin-bottom: 1.1rem; text-wrap: pretty; }
.service-page__body h2 {
  font-size: var(--step-1); color: var(--ink);
  margin: 1.8rem 0 0.8rem;
}
.service-page__list {
  display: grid; gap: 0.7rem; margin: 1.6rem 0 2rem;
}
.service-page__list li {
  position: relative; padding-left: 1.9rem; color: var(--ink);
}
.service-page__list li::before {
  content: ""; position: absolute; left: 0; top: 0.15em;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background:
    var(--brand-700)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}
.service-page__related {
  margin-top: clamp(2rem, 1rem + 3vw, 3rem);
  padding-top: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.service-page__related h2 { font-size: var(--step-1); margin-bottom: 0.9rem; }
.service-page__related-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.service-page__related-links a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: var(--step--1);
  color: var(--ink); transition: border-color .18s var(--ease), color .18s var(--ease);
}
.service-page__related-links a:hover { border-color: var(--brand-700); color: var(--brand-700); }

/* ============================================================
   Forside: kort ydelses-oversigt (linker videre til egne sider)
   ============================================================ */
.services-teaser {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.8rem, 0.4rem + 1vw, 1.2rem);
  margin-top: clamp(1.6rem, 1rem + 2vw, 2.2rem);
}
.services-teaser__card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.services-teaser__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.services-teaser__card h3 { font-size: var(--step-0); }
.services-teaser__card p { color: var(--ink-soft); font-size: var(--step--1); flex: 1; }
.services-teaser__card span {
  font-weight: 600; font-size: var(--step--1); color: var(--brand-700);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
@media (max-width: 980px) { .services-teaser { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .services-teaser { grid-template-columns: 1fr; } }

/* ============================================================
   Blød overgang mellem sider (progressive enhancement)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.has-page-transition body { transition: opacity .1s linear; }
  html.has-page-transition.is-leaving body { opacity: 0; }

  body { animation: fadeInPage .12s linear; }
  @keyframes fadeInPage {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* ============================================================
   Billede på ydelsessiderne (Vinduespolering / Solcellevask / Afrensning)
   ============================================================ */
.service-page__image {
  margin: 0 0 1.8rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
  aspect-ratio: 3 / 2;
}
.service-page__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ============================================================
   Servicefradrag-boks (Pris-siden) — genbruger .price / .price__list
   ============================================================ */

/* ============================================================
   Ofte stillede spørgsmål (FAQ)
   ============================================================ */
.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.faq__contact {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
}
.faq__contact li { list-style: none; }
.faq__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .18s var(--ease);
}
.faq__contact a:hover { color: var(--brand-700); }
.faq__contact svg { flex: none; color: var(--brand-700); }

.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__chevron {
  flex: none;
  color: var(--ink-soft);
  transition: transform .2s var(--ease);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__item[open] summary { color: var(--brand-700); }
.faq__item p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
  text-wrap: pretty;
  max-width: 62ch;
}
@media (max-width: 880px) {
  .faq__grid { grid-template-columns: 1fr; }
}
