/* RESET & NORMALIZATION */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #23272A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* BRAND VARIABLES & FONT LOAD */
:root {
  --primary: #23272A;
  --secondary: #BFA264;
  --accent: #F5F5F5;
  --gray-0: #fff;
  --gray-1: #f5f5f5;
  --gray-2: #e4e4e4;
  --gray-3: #bdbdbd;
  --gray-4: #6a6a6a;
  --gray-5: #23272A;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(35,39,42,.10);
  --shadow-light: 0 2px 8px rgba(35,39,42,.07);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-4);
}
strong {
  color: var(--primary);
  font-weight: 700;
}
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  background: var(--gray-1);
  color: var(--primary);
  padding: 16px 24px;
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  max-width: 700px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--gray-0);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(35,39,42,.15);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* FEATURES */
.feature-grid, .offer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--gray-1);
  border-radius: var(--radius);
  padding: 28px 20px 20px 20px;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s, background 0.2s;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  opacity: .85;
}
.feature:hover {
  background: #fff;
  box-shadow: 0 6px 18px rgba(35,39,42,.13);
  z-index: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero {
  padding: 60px 0 40px 0;
  background: var(--gray-0);
  box-shadow: 0 4px 24px rgba(35,39,42,.04);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero p {
  font-size: 1.15rem;
  color: var(--gray-4);
  margin-bottom: 18px;
  max-width: 590px;
}
.hero .cta-btn {
  margin-top: 12px;
}

/* CTA SECTIONS */
.cta {
  background: var(--primary);
  color: var(--accent);
  text-align: center;
  margin-bottom: 0;
  padding: 48px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-btn {
  margin-top: 20px;
}

/* BUTTONS */
.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  letter-spacing: 0.5px;
  transition: background 0.18s, color 0.18s, filter 0.18s, box-shadow 0.18s;
  border: none;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23272A;
  color: #fff;
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(35,39,42,.18);
}

/* NAVIGATION */
header {
  background: var(--gray-0);
  box-shadow: 0 2px 15px rgba(35,39,42,.08);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header, header > nav, header > a.cta-btn {
  display: flex;
  align-items: center;
}
header > .cta-btn {
  margin-left: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  gap: 24px;
  margin-left: 36px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

header > a img {
  width: 180px;
  height: auto;
}

/* FOOTER */
footer {
  background: var(--gray-0);
  color: var(--gray-4);
  padding: 48px 0 12px 0;
  border-top: 2px solid var(--gray-2);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 32px;
}
footer nav a {
  color: var(--gray-4);
  font-size: 1rem;
  transition: color 0.14s;
}
footer nav a:hover {
  color: var(--secondary);
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 300px;
  font-size: 0.98rem;
}
footer .contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  display: inline-block;
  position: relative;
  top: 3px;
}
footer a img {
  width: 52px;
  height: auto;
  margin-bottom: 16px;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  padding: 20px;
  margin-bottom: 20px;
  color: var(--primary);
  transition: box-shadow 0.17s, background 0.18s;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 0 0;
  color: var(--primary);
  font-size: 1.12rem;
}
.testimonial-card p {
  margin-left: 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.96rem;
}
.testimonial-card:hover {
  box-shadow: 0 7px 18px rgba(35,39,42,.12);
  background: #fff;
  z-index: 1;
}

/* PRICING TABLE */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.pricing-table > div {
  flex: 1 1 230px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.pricing-table h3 {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.package-highlights ul {
  margin-top: 10px;
  margin-bottom: 12px;
  padding-left: 22px;
}

/* OFFER LIST FOR ERBJUDANDEN */
.offer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.offer-list .feature {
  flex: 1 1 270px;
  min-width: 220px;
  background: var(--gray-1);
  box-shadow: var(--shadow-light);
  border-radius: var(--radius);
  padding: 30px 22px 18px 22px;
  transition: box-shadow 0.16s, background 0.16s;
}
.offer-list .feature:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(35,39,42,0.10);
}

/* CONTACT INFO BLOCKS */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--gray-4);
}
.contact-info a {
  color: var(--primary);
  transition: color 0.14s;
  word-break: break-all;
}
.contact-info a:hover {
  color: var(--secondary);
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right:4px;
}

/* LIST STYLES */
ul {
  padding-left: 22px;
  margin-bottom: 12px;
  margin-top: 6px;
}
ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 0;
  font-size: 1rem;
  color: var(--gray-4);
}
ul li:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  margin-right: 12px;
  margin-bottom: 2px;
}
li img {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: 2px;
}

/* TABLES - if any in future pages */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
th, td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--gray-2);
  font-size: 1rem;
  color: var(--primary);
}
th {
  background: var(--gray-1);
  font-weight: 700;
}

/* MOBILE MENU - RESPONSIVE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1111;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  font-size: 2rem;
  box-shadow: var(--shadow);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(35,39,42,0.15);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: var(--gray-0);
  box-shadow: 2px 0 24px rgba(35,39,42,.24);
  transform: translateX(-105%);
  opacity: 0;
  visibility: hidden;
  z-index: 2000;
  transition: transform 0.36s cubic-bezier(.65,.01,.52,.98), opacity 0.18s,visibility 0.06s;
  padding: 28px 22px 0 22px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 12px;
  background: transparent;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background 0.11s,color 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 9px 2px;
  border-radius: 4px;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
/* DIM OVERLAY when menu open */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,30,32,0.43);
  z-index: 1600;
  pointer-events: auto;
  transition: opacity 0.14s;
}
body:not(.menu-open)::after{
  display:none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  z-index: 3000;
  background: var(--primary);
  color: #fff;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  box-shadow: 0 -4px 28px rgba(35,39,42,0.14);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.23s,transform 0.32s,visibility 0.14s;
}
.cookie-banner.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-banner-btn {
  margin-left: 12px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 24px;
  transition: background 0.14s, color 0.14s, filter 0.18s;
  border: none;
}
.cookie-banner .cookie-banner-btn:hover, .cookie-banner .cookie-banner-btn:focus {
  background: #fff;
  color: var(--secondary);
  filter: brightness(1.05);
}
.cookie-banner .cookie-banner-settings-btn {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  margin-left: 6px;
  padding: 8px 20px;
}
.cookie-banner .cookie-banner-settings-btn:hover, .cookie-banner .cookie-banner-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4000;
  background: #fff;
  color: var(--primary);
  min-width: 340px;
  max-width: 90vw;
  min-height: 280px;
  box-shadow: 0 8px 36px rgba(35,39,42,0.23);
  border-radius: var(--radius);
  transform: translate(-50%,110%);
  opacity: 0; visibility: hidden;
  transition: transform 0.32s cubic-bezier(.65,.01,.52,.98), opacity 0.25s, visibility 0.15s;
  display: flex;
  flex-direction: column;
  padding: 38px 32px 28px 32px;
}
.cookie-modal.active {
  opacity: 1; visibility: visible;
  transform: translate(-50%,-50%);
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 8px;
  border: none;
  font-size: 1.28rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-2);
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 400;
}
.cookie-modal-category input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--secondary);
}
.cookie-modal-category .category-required {
  color: var(--secondary);
  font-size: 0.96em;
  margin-left: 6px;
}
.cookie-modal-close {
  background: none;
  color: var(--gray-4);
  font-size: 2rem;
  position: absolute;
  top: 18px; right: 20px;
  border: none;
  border-radius: 50%;
  padding: 4px 10px;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}

/* ANIMATIONS (cookie/menus) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-modal.active, .cookie-banner.active {
  animation: fadeInUp 0.27s cubic-bezier(.56,0,.43,1);
}

/* RESPONSIVE DESIGN, MOBILE-FIRST APPROACH */
@media (max-width: 1024px) {
  .container {
    max-width: 890px;
    padding-left: 16px; padding-right: 16px;
  }
  header nav {
    gap: 14px;
    margin-left: 18px;
  }
  .feature-grid, .offer-list {
    gap: 16px;
  }
}

@media (max-width: 850px) {
  .feature-grid,.offer-list,
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .pricing-table {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }
  header nav {
    display: none;
  }
  header > .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 40px 0 30px 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid, .offer-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 512px) {
  h1, .hero h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .section, .cta {
    padding: 26px 8px;
  }
  .card {
    padding: 22px 12px;
  }
  .feature {
    padding: 18px 12px 10px 12px;
  }
  .cookie-modal {
    min-width: 92vw;
    padding: 24px 10px 18px 10px;
  }
}

/* MISC: FOCUS RING FOR ACCESSIBILITY  */
a:focus, .cta-btn:focus, button:focus, .cookie-banner-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* VISUAL HIERARCHY & STYLE ENHANCEMENTS */
::-webkit-scrollbar {
  width: 9px;
  background: var(--gray-1);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-3);
  border-radius: var(--radius);
}

/* Hide visually on desktop when menu is open */
@media (min-width:769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display:none!important; }
}

/* Ensure enough bottom space for fixed cookie banner on all pages */
body {
  padding-bottom: 60px !important;
}

/* UTILITIES */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
