/* ========================================
   VARIABLES & RESET
======================================== */
:root {
  --color-primary: #2575fc;         /* Primær blå til knapper osv. */
  --color-teal: #2e9c9c;            /* Teal til ghost-knapper */
  --color-secondary: #f9f0d9;       /* Hero/sekundær baggrund */
  --color-accent: #ff7f11;
  --color-charcoal: #2c2c2c;
  --color-bg: #e3e6e8;              /* Baggrund på readmore */
  --color-text: #222;
  --font-base: 16px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4 {
  color: var(--color-charcoal);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p, li {
  font-size: 1rem;
  margin-bottom: 1em;
}

.lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
.grid--12 { grid-template-columns: repeat(12, 1fr); }

.col--6 { grid-column: span 6; }
.col--4 { grid-column: span 4; }
.col--8 { grid-column: span 8; }

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.75em 1.5em;
  border: none;
}

.btn--primary:hover {
  background-color: #1a5ed1;
}

.btn--large {
  font-size: 1.125rem;
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  padding: 0.7em 1.4em;
  border-radius: 2em;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
  margin: 0.2em 0.1em;
}

.btn--ghost:hover,
.readmore-nav .btn--ghost:focus {
  background: var(--color-teal);
  color: #fff;
  outline: none;
}

/* ========================================
   HEADER & NAV
======================================== */
.site-header {
  background-color: var(--color-charcoal);
  padding: 0;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  background-color: var(--color-secondary);
  padding: 4rem 0;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .lead {
  font-size: 1.25rem;
  margin: 1rem 0 2rem;
  color: var(--color-text);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   WHY IT MATTERS
======================================== */
.why {
  padding: 3rem 0;
  text-align: center;
}

.why-item img {
  width: 60px;
  margin-bottom: 1rem;
}

/* ========================================
   SERVICES - NY FLEX RÆKKE + SLIDER
======================================== */
.services-section {
  margin-bottom: 3rem;
}
.services-center-wrap {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
.services-title, .services-section h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.services-slider {
  overflow-x: unset;
  padding-bottom: 0;
}

.services-list {
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service-item {
  flex: 0 0 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #0001;
  padding: 1.25rem 1rem;
  margin-bottom: 0.3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-item img {
  height: 72px;
  margin-bottom: 1rem;
}

.services-more-btn {
  text-align: center;
  margin-top: 2rem;
}

/* Mobil/Tablet: slider med snap og centreret start */
@media (max-width: 900px) {
  .services-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    width: 100vw;
    max-width: 100vw;
  }
  .services-list {
    display: flex;
    gap: 0.5rem;
    width: max-content;
    scroll-snap-type: x mandatory;
    padding-left: 20vw;    /* nok til at kunne swipe til venstre fra midter-boksen */
    padding-right: 20vw;
    /* Justér evt. hvis det ikke er nok på helt små mobiler */
  }
  .service-item {
    flex: 0 0 78vw;
    max-width: 82vw;
    margin-bottom: 0.2rem;
    scroll-snap-align: center;
  }
}
@media (max-width: 480px) {
  .services-list {
    gap: 0.20rem;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .service-item {
    flex: 0 0 86vw;
    max-width: 92vw;
  }
}

/* ========================================
   RESTEN SOM FØR (PROCESS, PRICING, ETC)
======================================== */
.process {
  background: #fff;
  padding: 3rem 0;
  text-align: center;
}
.process-steps li {
  list-style: none;
}
.process-steps img {
  width: 50px;
  margin-bottom: 1rem;
}

.pricing {
  padding: 3rem 0;
  text-align: center;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 0.75em 1em;
  text-align: center;
}
.pricing-table th {
  background: var(--color-primary);
  color: #fff;
}

/* ========================================
   FAQ
======================================== */
.faq {
  background: var(--color-bg);
  padding: 3rem 0;
}
.faq-item + .faq-item {
  margin-top: 1.5rem;
}
.faq-item h4 {
  cursor: pointer;
  position: relative;
  padding-right: 1.5em;
}
.faq-item h4::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
}
.faq-answer {
  display: none;
  margin-top: 0.5em;
}
.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--color-charcoal);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}
.site-footer a {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 0.5em;
}
.footer-badges img {
  width: 60px;
  margin: 0 0.5em;
}

/* ========================================
   BOOKING SEKTION
======================================== */
.booking-section {
  background-color: var(--color-secondary);
  padding: 4rem 2rem;
  color: var(--color-text);
}
.booking-header {
  text-align: center;
  margin-bottom: 2rem;
}
.booking-icon {
  width: 60px;
  margin-bottom: 1rem;
}
.booking-form .form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.col--6 {
  flex: 0 0 calc(50% - 1rem);
}
.col--12 {
  flex: 0 0 100%;
}
.booking-form label {
  font-weight: bold;
  margin-bottom: 0.4rem;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
.booking-form button {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
.booking-form button:hover {
  background-color: #1a5ed1;
}

/* ========================================
   RESPONSIVE GRID, NAV, HERO, ETC.
======================================== */
@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--12 {
    grid-template-columns: 1fr;
  }
  .grid--6 {
    grid-template-columns: repeat(2,1fr);
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    background: var(--color-charcoal);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  .nav-list.open {
    display: flex;
  }
  .readmore-hero {
    padding: 2rem 0;
  }
}

/* ========== READMORE HERO & NAVIGATION ========== */
.readmore-hero {
  background: var(--color-secondary);
  padding: 4rem 0;
  text-align: center;
}
.readmore-hero .container {
  max-width: 700px;
  margin: 0 auto;
}
.readmore-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto 2.5rem auto;
}

/* ========== DROPDOWN MENU STYLES ========== */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 190px;
  background: #2c2c2c;
  color: #fff;
  box-shadow: 0 8px 24px #0002;
  border-radius: 7px;
  z-index: 1001;
  padding: 0.7em 0;
  margin-top: 0;
}
@media (min-width: 900px) {
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 0.7em 1.5em;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.18s;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #217878;
}
.nav-list > li {
  margin-top: 0;
}

.services-center-wrap {
  max-width: 1320px;    /* Eller justér efter din boksstørrelse */
  margin: 0 auto;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.services-list {
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}

.services-more-btn {
  text-align: center;
  margin-top: 2rem;
}
.services-center-wrap {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  text-align: center; /* <-- Denne linje sikrer centreret overskrift */
}
.services-title, .services-section h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.services-list {
  justify-content: center;
}
.hero {
  background-color: var(--color-secondary);
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 50% - 50% */
  min-height: 430px;                /* Tilpas evt. */
  align-items: center;
  width: 100%;
}

.hero-content {
  padding: 3.5rem 3.5rem 3.5rem 8vw; /* Mere venstre padding, justér frit */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content .lead {
  font-size: 1.18rem;
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-content {
    padding: 2rem 1.5rem;
    align-items: center;
    text-align: center;
  }
}