/*
Theme Name: ProLak
Theme URI: https://www.prolak.dk
Description: Minimalt custom tema til ProLak autolakering.
Version: 2.3.0
Author: ProLak
Text Domain: prolak
*/

/* =============================================
   DESIGN SYSTEM – VARIABLER
   ============================================= */
:root {
  --bg:           #252B36;
  --section:      #212529;
  --heading:      #FFFFFF;
  --text:         #D8D8D8;
  --accent:       #F2A900;
  --accent-hover: #D4920A;
  --border:       rgba(255,255,255,0.08);
  --f-head:       'Anton', sans-serif;
  --f-body:       'Inter', sans-serif;
  --ease:         0.3s ease;
  --radius:       4px;
  --max-w:        1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
p { color: var(--text); }
a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.3em;
  letter-spacing: 0.5px;
}
h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

/* =============================================
   KNAPPER
   ============================================= */
.btn, .btn-primary, .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #000 !important;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
/* Lysglimt sweep */
.btn::after, .btn-primary::after, .cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-15deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after, .btn-primary:hover::after, .cta-btn:hover::after { left: 140%; }
.btn:hover, .btn-primary:hover, .cta-btn:hover {
  background: #B47E00;
  transform: translateY(-2px);
  color: #000 !important;
}
.btn:active, .btn-primary:active, .cta-btn:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--heading) !important;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(242,169,0,0.07);
  transform: translateY(-2px);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              border-color 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              backdrop-filter 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.site-header.scrolled {
  background: rgba(25,29,36,0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.site-header.scrolled .header-inner { height: 78px; }

.site-logo-img {
  height: 50px;
  width: auto;
  display: block;
  transition: height 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.site-header.scrolled .site-logo-img { height: 44px; }

/* Nav */
.primary-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 4px;
  transition: color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

/* Chevron */
.nav-chevron {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.has-mega:hover .nav-chevron { transform: rotate(225deg) translateY(-2px); }

/* Mega menu – full width */
.mega-menu {
  position: fixed;
  top: 78px; /* matches scrolled header height */
  left: 0; right: 0;
  background: #181c24;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              visibility 0.35s;
  transition-delay: 0.5s;
}
.site-header:not(.scrolled) .mega-menu { top: 90px; }
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Bridge gap – dækker hele afstanden fra header ned til menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -50px; left: 0; right: 0;
  height: 50px;
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 32px;
  gap: 0;
}

/* Left intro column */
.mega-intro {
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-intro p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.mega-ctas { display: flex; flex-direction: column; gap: 10px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255,255,255,0.75) !important;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff !important;
  background: rgba(255,255,255,0.05);
}

/* Service columns */
.mega-col {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.mega-col:last-child { border-right: none; }

.mega-heading {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease;
}
.mega-heading:hover { color: var(--accent); }

.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col ul li { margin: 0; }
.mega-col ul li a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mega-col ul li a:hover { color: rgba(255,255,255,0.9); }

.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MAIN CONTENT
   ============================================= */
.site-main { padding-top: 0; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--section);
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-link { display: inline-block; margin-bottom: 20px; }
.footer-logo { height: 44px; width: auto; display: block; opacity: 0.9; }
.footer-logo-link:hover .footer-logo { opacity: 1; }
.footer-brand p { color: var(--text); font-size: 0.92rem; line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-list a, .footer-contact-list span { color: rgba(216,216,216,0.55); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--accent); }
.footer-col h4 {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text); font-size: 0.92rem; transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(216,216,216,0.4); margin: 0; }
.footer-bottom a { color: rgba(216,216,216,0.4); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--accent); }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--section); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* =============================================
   FORSIDE – HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to right,
      rgba(10,13,18,0.92) 0%,
      rgba(10,13,18,0.70) 40%,
      rgba(10,13,18,0.30) 65%,
      rgba(10,13,18,0.05) 100%),
    url('https://www.prolak.dk/wp-content/uploads/2026/04/forside.avif');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin-bottom: 28px;
}
.hero-title {
  color: #fff;
  margin: 0 0 20px;
  max-width: 760px;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  color: rgba(216,216,216,0.75);
  max-width: 480px;
  margin: 0 0 44px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-number { font-family: var(--f-head); font-size: 2.5rem; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 0.85rem; color: rgba(216,216,216,0.7); margin-top: 4px; }

/* =============================================
   FORSIDE – INTRO
   ============================================= */
.intro-section { background: var(--section); padding: 96px 24px; }
.intro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.intro-title { color: #fff; margin: 0 0 8px; }
.intro-line { width: 48px; height: 3px; background: var(--accent); border-radius: 2px; margin: 16px 0 24px; }
.intro-text { color: var(--text); margin-bottom: 16px; }
.intro-features { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.intro-features li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 0.97rem; }
.intro-features li::before {
  content: '';
  width: 20px; height: 20px; min-width: 20px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.intro-img-wrap { position: relative; border-radius: 6px; overflow: hidden; }
.intro-img-placeholder {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  background-image: url('https://www.prolak.dk/wp-content/uploads/2026/04/prolak-intro.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0;
  color: transparent;
  display: block;
}
.intro-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--accent); color: #000;
  font-family: var(--f-head); font-size: 1rem;
  padding: 10px 18px; border-radius: var(--radius);
}

/* =============================================
   FORSIDE – YDELSER
   ============================================= */
.services-section { background: var(--bg); padding: 96px 24px; }
.services-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--section);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  border-color: var(--accent);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(242,169,0,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 24px;
}
.service-card h3 { font-family: var(--f-head); font-size: 1.5rem; color: #fff; margin: 0 0 12px; }
.service-card p { color: var(--text); flex-grow: 1; margin: 0 0 24px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: gap 0.25s ease, color 0.25s ease; text-decoration: none;
}
.service-link:hover { gap: 12px; color: var(--accent-hover); }

/* =============================================
   FORSIDE – TRUST
   ============================================= */
.trust-section {
  background: var(--section); padding: 80px 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.trust-item-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-item h4 { font-family: var(--f-head); font-size: 1.1rem; color: #fff; margin: 0 0 8px; }
.trust-item p { color: var(--text); margin: 0; }

/* =============================================
   FORSIDE – CTA SEKTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #0f1218, #1a1f28);
  padding: 100px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(242,169,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; }
.cta-section h2 { font-family: var(--f-head); font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin: 0 0 16px; }
.cta-section p { color: var(--text); margin: 0 0 40px; }
.cta-note { display: block; margin-top: 16px; font-size: 0.82rem; color: rgba(216,216,216,0.4); letter-spacing: 0.05em; }

/* =============================================
   FÅ VURDERING – SIDE
   ============================================= */
.vurdering-section {
  min-height: 100vh;
  background: var(--bg);
  padding: 130px 24px 80px;
}
.vurdering-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}
.vurdering-title { margin: 8px 0 16px; }
.vurdering-intro { color: rgba(216,216,216,0.7); margin-bottom: 36px; max-width: 520px; }

/* Form */
.vurdering-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}
.req { color: var(--accent); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.45); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.vurdering-submit { align-self: flex-start; }
.form-note { font-size: 0.82rem; color: rgba(216,216,216,0.35); margin: 0; }
.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-feedback.success { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.form-feedback.error   { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.3);  color: #fca5a5; }

/* Højre kolonne */
.vurdering-contact-box {
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}
.vurdering-contact-box h3 { margin: 0 0 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.contact-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.contact-value { color: #fff; font-size: 0.95rem; text-decoration: none; transition: color 0.2s; }
a.contact-value:hover { color: var(--accent); }

.vurdering-trust {
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vtrust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.vtrust-item::before {
  content: '';
  width: 18px; height: 18px; min-width: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .vurdering-inner { grid-template-columns: 1fr; gap: 40px; }
  .vurdering-section { padding: 110px 20px 60px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .vurdering-submit { width: 100%; justify-content: center; }
}

/* =============================================
   RESPONSIVE – MOBILE FIRST
   ============================================= */

/* ---- TABLET 768–1024px ---- */
@media (max-width: 1024px) {
  .header-inner { padding: 0 24px; }
  .mega-inner { padding: 28px 24px; }
  .hero-title { font-size: 46px; }
  .intro-inner { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-img-wrap { min-height: 340px; }
  .ydelser-cat-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .om-os-values { grid-template-columns: repeat(2, 1fr); }
}

/* ---- TABLET 768–900px ---- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-section { padding: 72px 24px; }
}

/* ---- MOBIL max 768px ---- */
@media (max-width: 768px) {

  /* -- Header -- */
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 20px; height: 68px; gap: 0; }
  .site-header.scrolled .header-inner { height: 60px; }
  .site-logo-img { height: 36px; }
  .site-header.scrolled .site-logo-img { height: 32px; }

  /* -- Mobil nav panel -- */
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: #181c24;
    border-top: 1px solid var(--border);
    padding: 20px 20px 40px;
    overflow-y: auto;
    z-index: 998;
  }
  .site-header.scrolled ~ * .primary-nav.open,
  .primary-nav.open { top: 68px; }
  .primary-nav.open .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .primary-nav.open .nav-list > li > a {
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: rgba(255,255,255,0.85);
    background: none;
  }
  .primary-nav.open .nav-list > li:last-child > a { border-bottom: none; }
  .mega-menu { display: none !important; }
  .nav-chevron { display: none; }

  /* CTA knap i bunden af mobilmenu */
  .primary-nav.open .nav-list::after {
    content: 'Få gratis vurdering';
    display: block;
    margin-top: 28px;
    background: var(--accent);
    color: #000;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 24px;
    border-radius: var(--radius);
    text-align: center;
  }

  /* -- Hero -- */
  .hero {
    min-height: 100svh;
    padding: 90px 20px 60px;
    background-image:
      linear-gradient(to bottom,
        rgba(10,13,18,0.88) 0%,
        rgba(10,13,18,0.78) 60%,
        rgba(10,13,18,0.72) 100%),
      url('https://www.prolak.dk/wp-content/uploads/2026/04/forside.avif');
    background-position: center center;
  }
  .hero-badge { font-size: 0.72rem; margin-bottom: 18px; }
  .hero-title { font-size: 34px; margin-bottom: 16px; }
  .hero-sub { font-size: 0.88rem; margin-bottom: 32px; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .cta-btn,
  .hero-cta .btn,
  .hero-cta .btn-outline { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-top: 48px;
    padding-top: 28px;
  }
  .hero-stat-number { font-size: 2rem; }
  .hero-stat-label { font-size: 0.8rem; }

  /* -- Intro -- */
  .intro-section { padding: 64px 20px; }
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-title { font-size: 1.9rem; }

  /* -- Ydelser -- */
  .services-section { padding: 64px 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 22px; }

  /* -- Trust -- */
  .trust-section { padding: 60px 20px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* -- CTA sektion -- */
  .cta-section { padding: 64px 20px; }
  .cta-inner h2 { font-size: 1.8rem; }
  .cta-section p { font-size: 0.95rem; margin-bottom: 28px; }
  .cta-btn { width: 100%; justify-content: center; }

  /* -- Footer -- */
  .site-footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* -- Generelle knapper -- */
  .btn, .btn-primary, .cta-btn { font-size: 0.88rem; padding: 13px 24px; }
  .btn-outline { font-size: 0.88rem; padding: 12px 24px; }

  /* -- Process -- */
  .process-section { padding: 64px 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .process-step { padding: 28px 24px; }
  .process-num { font-size: 40px; margin-bottom: 14px; }

  /* -- FAQ -- */
  .vurdering-faq { padding: 56px 20px; }

  /* -- Section headers -- */
  .section-header { text-align: center; }
  .section-header .intro-line { margin: 16px auto 0; }
  .cta-note { font-size: 0.8rem; }

  /* -- Om os -- */
  .om-os-section { padding: 56px 20px; }
  .om-os-values { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .om-os-content h2 { font-size: 1.5rem; margin-top: 36px; }
  .om-os-content p { font-size: 1rem; }

  /* -- Ydelser -- */
  .ydelser-cat-grid { grid-template-columns: 1fr; }

  /* -- Vurdering kontaktboks -- */
  .vurdering-contact-box { padding: 24px 20px; }
}

/* ---- LILLE MOBIL max 480px ---- */
@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .trust-inner { grid-template-columns: 1fr; gap: 20px; }
  h2 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 1rem; }
  .service-page-content h2 { font-size: 1.4rem; }
  .ydelser-cat-grid { max-width: 100%; }
  .vurdering-faq-inner { padding: 0; }
  .faq-item summary { font-size: 0.9rem; padding: 16px 20px; }
  .faq-item p { padding: 0 20px 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .om-os-value { padding: 24px 20px; }
  .service-aside-box { padding: 22px 18px; }
  .service-detail-card { padding: 28px 22px; }
  .ydelser-cat-card { padding: 24px 20px; }
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 100px 32px 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.page-hero .intro-label { margin-bottom: 16px; }
.page-hero .intro-label a { color: var(--text-muted); text-decoration: none; }
.page-hero-sub { font-size: 1.15rem; color: var(--accent); font-weight: 600; margin: 8px 0 20px; }
.page-hero .intro-label a:hover { color: var(--accent); }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; max-width: 680px; }

/* ---- YDELSER OVERSIGT ---- */
.ydelser-overview { padding: 80px 32px; }
.ydelser-overview-inner { max-width: 1140px; margin: 0 auto; }
.ydelser-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ydelser-cat-card {
  background: #1a1f29;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 32px;
}
.ydelser-cat-icon { font-size: 2rem; margin-bottom: 20px; }
.ydelser-cat-card h2 { font-size: 22px; margin-bottom: 14px; }
.ydelser-cat-card > p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.65; }
.ydelser-cat-card ul { list-style: none; padding: 0; margin: 0 0 28px; }
.ydelser-cat-card ul li { padding: 7px 0 7px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text); position: relative; }
.ydelser-cat-card ul li:last-child { border-bottom: none; }
.ydelser-cat-card ul li::before { content: ''; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ydelser-cat-card ul li a { color: var(--text); text-decoration: none; }
.ydelser-cat-card ul li a:hover { color: var(--accent); }

/* ---- SERVICE LIST SECTION ---- */
.service-list-section { padding: 80px 32px; }
.service-list-inner { max-width: 1140px; margin: 0 auto; }
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-detail-card {
  display: block;
  background: #1a1f29;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.service-detail-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.service-detail-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-detail-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 20px; }
.service-detail-card .service-link { color: var(--accent); font-size: 0.9rem; font-weight: 500; }

/* ---- SERVICE PAGE SECTION ---- */
.service-page-section { padding: 80px 32px; }
.service-page-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.service-page-content h2 { font-size: 26px; margin: 40px 0 16px; }
.service-page-content h2:first-child { margin-top: 0; }
.service-page-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.service-page-list { padding-left: 0; list-style: none; margin: 0 0 24px; }
.service-page-list li {
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  position: relative;
}
.service-page-list li::before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.service-page-list li:last-child { border-bottom: none; }
.service-page-aside { position: sticky; top: 110px; }
.service-aside-box {
  background: #1a1f29;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.service-aside-box h3 { font-size: 17px; margin-bottom: 16px; }
.service-aside-box ul { list-style: none; padding: 0; margin: 0; }
.service-aside-box ul li { padding: 7px 0; color: var(--text-muted); font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.service-aside-box ul li:last-child { border-bottom: none; }
.service-aside-box p { margin: 4px 0; }
.service-aside-box p a { color: var(--accent); text-decoration: none; font-weight: 500; }
.service-aside-box p a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .ydelser-cat-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .service-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .service-page-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-page-aside { position: static; }
}
@media (max-width: 768px) {
  .page-hero { padding: 80px 20px 56px; }
  .ydelser-overview { padding: 56px 20px; }
  .service-list-section, .service-page-section { padding: 56px 20px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .ydelser-cat-card { padding: 28px 24px; }
}

/* ---- PROCESS SECTION ---- */
.process-section {
  padding: 96px 32px;
  background: #1a1f29;
}
.process-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.process-inner .section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.process-step {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 36px 28px;
}
.process-num {
  font-family: var(--f-head);
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.process-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---- KONTAKT ---- */
.kontakt-section { padding: 80px 32px; }
.kontakt-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}
.kontakt-form-col h2 { font-size: 26px; margin-bottom: 10px; }
.kontakt-intro { color: var(--text-muted); margin-bottom: 32px; }
.kontakt-form { display: flex; flex-direction: column; gap: 20px; }
.kontakt-submit { align-self: flex-start; }

.kontakt-info-box,
.kontakt-hours-box {
  background: #1a1f29;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.kontakt-info-box h2,
.kontakt-hours-box h2 { font-size: 18px; margin-bottom: 20px; }
.kontakt-info-list { display: flex; flex-direction: column; gap: 16px; }
.kontakt-info-item { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.kontakt-info-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.kontakt-info-value { font-size: 0.95rem; font-weight: 500; color: var(--text); text-decoration: none; }
.kontakt-info-value:hover { color: var(--accent); }
.hours-group { margin-bottom: 20px; }
.hours-group:last-child { margin-bottom: 0; }
.hours-group-label {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}
.hours-row:last-child { border-bottom: none; }
.hours-row.closed { color: var(--text-muted); }

/* Kort */
.kontakt-map-fullwidth {
  position: relative;
  width: 100%;
  line-height: 0;
}
.kontakt-map-fullwidth::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  pointer-events: none;
}
.kontakt-map-fullwidth iframe {
  display: block;
  width: 100%;
}
.map-pin-overlay {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -100%) translateY(6px);
  z-index: 2;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

@media (max-width: 1024px) {
  .kontakt-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .kontakt-section { padding: 56px 20px; }
  .kontakt-info-box, .kontakt-hours-box { padding: 22px 18px; }
  .kontakt-submit { width: 100%; justify-content: center; }
  .kontakt-map-fullwidth iframe { height: 320px !important; }
}

/* ---- BILFORHANDLERE ---- */
.dealer-section {
  background: var(--section);
  padding: 80px 32px;
}
.dealer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  max-width: 760px;
}
.dealer-inner h2 { margin: 16px 0 12px; }
.dealer-text { margin: 24px 0 28px; }
.dealer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.dealer-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
}
.dealer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- BOOKING ---- */
.booking-section {
  background: var(--bg);
  padding: 80px 32px;
}
.booking-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.booking-option {
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.booking-icon { font-size: 2rem; line-height: 1; }
.booking-option h3 { font-size: 1.3rem; margin: 0; }
.booking-option p { color: var(--text); margin: 0; font-size: 0.95rem; }
.booking-note {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(216,216,216,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .dealer-section { padding: 56px 20px; }
  .booking-section { padding: 56px 20px; }
  .booking-options { max-width: 100%; }
}
@media (max-width: 600px) {
  .booking-options { grid-template-columns: 1fr; }
}

/* ---- OM OS ---- */
.om-os-section { padding: 80px 32px; }
.om-os-inner { max-width: 860px; margin: 0 auto; }
.om-os-content h2 { font-size: 26px; margin: 48px 0 16px; }
.om-os-content h2:first-child { margin-top: 0; }
.om-os-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 1.05rem; }
.om-os-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.om-os-value {
  background: #1a1f29;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}
.om-os-value-icon { font-size: 1.8rem; margin-bottom: 14px; }
.om-os-value h3 { font-size: 18px; margin-bottom: 10px; }
.om-os-value p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }
@media (max-width: 768px) {
  .om-os-section { padding: 56px 20px; }
  .om-os-values { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .om-os-content h2 { font-size: 1.5rem; margin-top: 36px; }
}

/* ---- VURDERING FAQ ---- */
.vurdering-faq {
  padding: 80px 32px;
  background: #1a1f29;
}
.vurdering-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.vurdering-faq h2 {
  text-align: center;
  margin-bottom: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  color: var(--accent);
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.faq-item p a {
  color: var(--accent);
  text-decoration: none;
}
.faq-item p a:hover { text-decoration: underline; }

/* ---- AMELIA BRANDING SKJUL ---- */
.amelia-skip-footer-link,
.amelia-app-footer,
a[href*="wpamelia.com"],
a[href*="ameliabooking"] { display: none !important; }
