﻿
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --footer-color: #1C1C1B;
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #111111; /* Color for headings, subheadings and title throughout the website */
    --accent-color:    #F65203; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color:    #F65203; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color:    #F65203; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
    --background-color: #1B3738;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #353535;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.graph-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.graph-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.graph-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.graph-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: graph-email-form-loading 1s linear infinite;
}

@keyframes graph-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

  .navmenu li {
    position: relative;
  }

    .navmenu > ul > li > a,
    .navmenu > ul > li > a:focus {
        color: var(--nav-color);
        padding: 1px 1px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu > ul > li > a i,
    .navmenu > ul > li > a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

/* here we go med menuen */


    .header .navmenu .dropdown-menu a {
        display: inline !important;
        white-space: normal !important;
        color: inherit;
    }


    /* --- Teaser card --- */
    .dropdown-menu .mm-teaser-card {
        display: grid !important; /* slå alt flex/utility ihjel */
        grid-template-rows: auto auto; /* 1: titel, 2: medie+tekst */
        gap: 12px;
        padding: 16px;
        border: 1px solid rgba(0,0,0,.1);
        border-radius: 6px;
        background: var(--bs-body-bg);
        margin-bottom: 12px;
        transition: background-color .15s, box-shadow .15s, transform .15s;
    }
    .dropdown-menu .mm-teaser-link {
        color: inherit;
        text-decoration: none;
    }
    /* Rækken med billede (venstre) + tekst (højre) */
    .dropdown-menu .mm-teaser-media {
        display: grid;
        grid-template-columns: 128px 1fr; /* billede | tekst */
        gap: 16px;
        align-items: start;
        min-width: 0; /* kritisk for at undgå overflow */
    }
    /* Teaser-tekst – må ALDRIG løbe ud af boksen */
    .dropdown-menu .mm-teaser-desc {
        color: var(--bs-secondary-color);
        line-height: 1.45;
        min-width: 0;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        display: -webkit-box; /* ellipsis efter 3 linjer */
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    @media (max-width: 420px) {
        .dropdown-menu .mm-teaser-media {
            grid-template-columns: 1fr;
        }

            .dropdown-menu .mm-teaser-media img {
                width: 100%;
                height: auto;
                aspect-ratio: 4/3;
            }
    }

    /* Hover-effekt (valgfri) */
    .dropdown-menu .mm-teaser-card:hover,
    .dropdown-menu .mm-teaser-card:focus-within {
        background: var(--bs-tertiary-bg);
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
        transform: translateY(-1px);
        border-color: transparent;
    }
        .dropdown-menu .mm-teaser-media img {
            width: 128px;
            height: 96px; /* 4:3 */
            border-radius: 6px;
            object-fit: cover;
            display: block;
        }
    .dropdown-menu .mm-teaser-title {
        font-weight: 500;
        font-size: 18px;
        line-height: 1.2rem;
        margin: 0;
        /* må gerne bryde i flere linjer, men aldrig flyde ud */
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dropdown-menu .teaser-item {
        grid-template-columns: 96px 1fr;
        padding: 1px 1px;
    }

        .dropdown-menu .teaser-item img {
            width: 96px;
            height: 72px;
            padding: 1px 1px;
        }

/* --- DESCRIPTION CARD --- */
    /* Description Menu – kort */
    .dropdown-menu .dm-card {
        display: grid;
        grid-template-rows: auto 1fr; /* billede, så tekst */
        gap: 12px;
        padding: 12px;
        margin: 0; /* luft styres af .row.g-* */
        border: 1px solid rgba(0,0,0,.12);
        border-radius: 8px;
        background: var(--bs-body-bg);
        transition: background-color .15s, box-shadow .15s, transform .15s;
    }

        .dropdown-menu .dm-card:hover,
        .dropdown-menu .dm-card:focus-within {
            background: var(--bs-tertiary-bg);
            box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
            transform: translateY(-1px);
            border-color: transparent;
        }

    /* Billede – skalerer ned, holder 4:3 og er centreret */
    .dropdown-menu .dm-media {
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        aspect-ratio: 4/3;
    }

        .dropdown-menu .dm-media img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* fyld rammen pænt */
            object-position: center; /* centrer beskæringen */
            display: block;
        }

    /* Tekst – må aldrig løbe ud af kortet */
    .dropdown-menu .dm-body {
        min-width: 0;
    }

    .dropdown-menu .dm-title {
        margin: 0 0 4px 0;
        font-size: 1rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-family: var(--nav-font);
    }

    .dropdown-menu .dm-desc {
        color: var(--bs-secondary-color);
        font-size: .9375rem;
        line-height: 1.45;
        min-width: 0;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 5; /* trim på små kort */
        -webkit-box-orient: vertical;
    }




    /* (valgfrit) lidt ekstra luft mellem kolonner/rækker via row gutters
   På wrapperen: <div class="row g-3"> … </div> */


    /* --- FEATURE CARD --- */
    .feature-card {
        background: var(--bs-body-bg, #fff);
        border: 1px solid var(--card-border-color, rgba(0,0,0,.08)); /* “menu”-agtig hårfin kant */
        border-radius: 1rem; /* samme rundhed som resten af sitet */
        padding: 1.25rem;
        box-shadow: 0 1px 2px rgba(0,0,0,.03); /* meget let løft */
        transition: box-shadow .2s ease, transform .2s ease;
    }



    .dropdown-menu .mm-feature-card {
        display: grid;
        grid-template-rows: auto auto auto auto; /* titel, billede, tekst, CTA */
        gap: 12px;
        padding: 16px;
        border: 1px solid rgba(0,0,0,.12);
        border-radius: 8px; /* ønsket 8px radius */
        background: var(--bs-body-bg);
        transition: background-color .15s, box-shadow .15s, transform .15s;
    }

        .dropdown-menu .mm-feature-card:hover,
        .dropdown-menu .mm-feature-card:focus-within {
            background: var(--bs-tertiary-bg);
            box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
            transform: translateY(-1px);
            border-color: transparent;
        }

    /* Titel */
    .dropdown-menu .mm-feature-title {
        font-weight: 700;
        font-size: clamp(1.05rem, .25vw + 1rem, 1.35rem);
        line-height: 1.2;
        margin: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dropdown-menu .mm-feature-link {
        color: inherit;
    }

    /* Tekst under billedet — må ikke flyde ud */
    .dropdown-menu .mm-feature-desc {
        color: var(--bs-secondary-color);
        line-height: 1.55;
        overflow-wrap: anywhere;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 5; /* klip efter ca. 5 linjer */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* CTA (visuelt link, men samme stretched-link dækker hele kortet) */
    .dropdown-menu .mm-feature-cta {
        font-weight: 500;
        color: var(--bs-link-color);
    }

    /* Billede fylder ratio-rammen pænt */
    .dropdown-menu .mm-feature-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

    .navmenu > ul > li > a,
    .navmenu ul > li > a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

  .navmenu > ul > li > a,
  .navmenu > ul > li > a:focus {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
/* Page title: neutral – læs farver fra de aktive farveklasser */
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

.section-bg {
  background-color: transparent;
  padding: 160px 0;
  position: relative;
}

.section-bg:before {
  content: "";
  background-color: var(--background-color);
  position: absolute;
  bottom: 60px;
  top: 60px;
  left: 0;
  right: 0;
  transform: skewY(-2deg);
}

.section-bg .container {
  position: relative;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}


.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --default-color: #ffffff;
  --background-color: #000000;
  --heading-color: #ffffff;
  width: 100%;
  min-height: calc(100vh - 100px);
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 600;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .about-btn {
  padding: 8px 30px 9px 30px;
  color: var(--default-color);
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent-color);
}

.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.about .content .about-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.about .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.about .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.about .icon-box:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.tabs .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.tabs .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.tabs .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .tabs .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .tabs .nav-link {
    padding: 15px;
  }

  .tabs .nav-link i {
    font-size: 24px;
  }
}

.tabs .tab-content {
  margin-top: 30px;
}

.tabs .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.tabs .tab-pane ul {
  list-style: none;
  padding: 0;
}

.tabs .tab-pane ul li {
  padding-bottom: 10px;
}

.tabs .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.tabs .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  transition: 0.3s;
}

.services .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services .service-item:hover {
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin-right: 15px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/* Fælles “blød card-hover” */
.card-hover-soft {
    background: var(--bs-body-bg);
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    transition: background-color .15s, box-shadow .15s, transform .15s, border-color .15s;
}

    .card-hover-soft:hover,
    .card-hover-soft:focus-within {
        background: var(--bs-tertiary-bg);
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
        transform: translateY(-1px);
        border-color: transparent;
    }



/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .graph-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .graph-email-form {
    padding: 20px;
  }
}

.contact .graph-email-form input[type=text],
.contact .graph-email-form input[type=email],
.contact .graph-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .graph-email-form input[type=text]:focus,
.contact .graph-email-form input[type=email]:focus,
.contact .graph-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .graph-email-form input[type=text]::placeholder,
.contact .graph-email-form input[type=email]::placeholder,
.contact .graph-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .graph-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .graph-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li+li {
  padding-left: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: left;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}


/* --- Hero (Presento override) --- */
.presento-hero {
    /* Hvis --hero-h er sat fra partial: brug den. Ellers responsiv clamp-højde */
    min-height: var(--hero-h, clamp(280px, 35vw, 560px));
    display: flex;
    align-items: center;
}

.presento-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.presento-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));
}

.presento-hero .container {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-block: clamp(40px, 10vw, 120px);
}

.presento-hero h1 {
    color: #fff;
    margin-bottom: .3rem;
}

.presento-hero p {
    color: #f2f2f2;
    max-width: 65ch;
    margin: 0 auto 1rem;
}

/* TEAM – flyt swiper-bullets væk fra kortene */
#team .swiper {
    padding-bottom: 36px; /* plads til bullets */
}

    #team .swiper .swiper-pagination {
        bottom: 0; /* placer i den nye bund-padding */
    }

/* (valgfrit) samme for clients, hvis du vil være konsistent */
#clients .swiper {
    padding-bottom: 28px;
}

    #clients .swiper .swiper-pagination {
        bottom: 0;
    }

    /* (valgfrit) lidt styling af prikkerne */
    #team .swiper .swiper-pagination-bullet,
    #clients .swiper .swiper-pagination-bullet {
        opacity: .4;
    }

    #team .swiper .swiper-pagination-bullet-active,
    #clients .swiper .swiper-pagination-bullet-active {
        opacity: 1;
    }


/* Mega menu grid – bygger ovenpå Presento */
.navmenu .dropdown.megamenu > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    gap: 8px 24px;
    width: min(880px, 90vw);
    padding: 16px 20px;
}

    .navmenu .dropdown.megamenu > ul > li > a {
        white-space: normal;
        line-height: 1.25;
        padding: 8px 0;
        display: block;
    }

@media (min-width:1200px) {
    .navmenu .dropdown.megamenu > ul {
        grid-template-columns: repeat(4, minmax(0, 220px));
        width: min(1040px, 85vw);
    }
}

.dropdown .dm-title {
    font-family: var(--nav-font);
    font-weight: 400;
}
/* --- Simple Menu (sm-*) --- */

/* Sørg for at links i dropdown ikke arver toplevel .navmenu a { display:flex ... } */
.header .navmenu .dropdown-menu .sm-list a {
    display: flex !important; /* vi vil selv styre det som list-group item */
    white-space: normal !important; /* må gerne bryde */
    padding: .5rem .75rem !important;
}

.sm-title {
    letter-spacing: .04em;
}

.sm-cta {
    white-space: nowrap;
}

.sm-item {
    border-radius: 6px;
}

    .sm-item:hover,
    .sm-item:focus-visible {
        background: var(--bs-tertiary-bg);
    }

.sm-text {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

/* Additional Menu (am-*) */
.header .navmenu .dropdown-menu .am-item {
    display: flex !important;
    white-space: normal !important;
}

.am-title {
    letter-spacing: .04em;
}

.am-cta {
    white-space: nowrap;
}

.am-item {
    border-radius: 6px;
}

    .am-item:hover, .am-item:focus-visible {
        background: var(--bs-tertiary-bg);
    }

.am-text {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}


.feature-item .feature-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--accent-color, #cf5143);
    color: #fff;
    padding: .65rem .9rem;
    border-radius: 4px;
    font-weight: 500;
}

    .feature-item .feature-title i {
        font-size: 1.35em;
        line-height: 0;
    }

    .feature-item .feature-title span {
        white-space: normal;
    }

.feature-item .feature-image {
    border-radius: .5rem;
    overflow: hidden;
}

    .feature-item .feature-image img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        display: block;
    }
.accordion-header {
    font-weight : bold; 
}

/* Rød overskrift i fuld bredde */
.feature-badge {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    height: 60px;
    padding: .75rem 1rem;
    border-radius: 4px;
    /* træk den ud over card-padding, så den rammer kanten */
    margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.12), /* neutral, meget diskret */
    0 2px 6px rgba(0,0,0,.06);
}

    .feature-badge .bi {
        font-size: 1.6rem;
        line-height: 1;
    }

    .feature-badge span {
        flex: 1;
    }
/* lader teksten fylde og wrappe */

/* Billedet bevarer 3:2 uden beskæring */
.feature-img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}



/* === Mega Menu – styling der matcher Presento/Bootstrap === */
.navbar .dropdown-menu {
    --mm-radius: 1rem;
    --mm-gap: 1rem;
}


/* Rich mega menu fylder hele containerbredden */
.mm-rich .dropdown-menu {
    border-radius: var(--mm-radius);
    padding: 1rem 0;
}

.mm-card {
    color: inherit;
}

    .mm-card:hover {
        text-decoration: none;
    }

.mm-card-media img {
    width: 100%;
    height: 100%;
}

.mm-card:hover .mm-card-media img {
    transform: scale(1.03);
    transition: transform .25s ease;
}

.mm-card-body {
    padding-inline: .25rem;
}

.mm-teaser {
    color: var(--bs-secondary-color, #6c757d);
}


/* Simple list – minimal, kun lister, maks to niveauer */
.mm-list .dropdown-menu {
    border-radius: var(--mm-radius);
    overflow: hidden;
}

.mm-ul {
    min-width: 16rem;
}

    .mm-ul .list-group-item {
        padding: .75rem 1rem;
    }

.mm-link {
    text-decoration: none;
    color: inherit;
}

.mm-sub {
    margin: .25rem 0 0 .5rem;
    padding-left: 1rem;
    list-style: none;
    border-left: 1px solid rgba(0,0,0,.075);
}

    .mm-sub li {
        margin: .25rem 0;
    }

    .mm-sub a {
        font-size: .95rem;
        color: var(--bs-secondary-color, #6c757d);
        text-decoration: none;
    }

        .mm-sub a:hover {
            text-decoration: underline;
        }


/* Split toggle – gør caret-knappen diskret og i linje med linket */
.-split::after {
    margin-left: .25rem;
}

.mm-simple .dropdown-menu {
    border-radius: .75rem;
}


/* Desktop hover: åbn dropdown når man hover nav-item (Bootstrap styrer klik på mobil) */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown > :focus + .dropdown-menu {
        display: block;
    }

    .position-static .dropdown-menu {
        left: 0;
        right: 0;
    }
    /* stræk til container for .mm-rich */
}


/* Små justeringer så Presento's header ser ren ud */
#header .dropdown-menu {
    box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
}


/* Hjælp til tastaturbrugere */
.dropdown-menu [role="menuitem"]:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* =========[ Curabis additions – safe to append ]========= */

/* 0) Fallback så .page-title's var(--alt-background-color) altid har en værdi */
:root {
    --alt-background-color: var(--background-color);
}



/* ---- Brand-sash uden horisontal overflow ---- */
:root {
    --sash-h: 62px;
}
/* højde på de skrå “snit” */

.page-title.brand-sash {
    position: relative;
    overflow: hidden; /* klip alt udenfor elementet */
}

    /* Fælles reset: ingen 120vw og ingen skew */
    .page-title.brand-sash::before,
    .page-title.brand-sash::after {
        /* behold din background:#fff; fra den eksisterende regel */
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: var(--sash-h);
        background: #fff;
    }

    /* Øverste bjælke – skrå underkant */
    .page-title.brand-sash::before {
        top: 0;
        /* trapez der giver skråt “cut” nederst */
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 10%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 10%, 0 100%);
    }

    /* Nederste bjælke – skrå overkant */
    .page-title.brand-sash::after {
        bottom: -1px; /* lille overlap for at undgå evt. hård kant */
        -webkit-clip-path: polygon(0 90%, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 90%, 100% 0, 100% 100%, 0 100%);
    }

/* Valgfrit: lidt lavere højde på små skærme */
@media (max-width: 991.98px) {
    :root {
        --sash-h: 36px;
    }
}


/* 3) Umbraco Block Grid – basis, så standardrendering ser pæn og robust ud */
.umb-block-grid {
    display: grid;
    gap: 1.5rem;
}

    .umb-block-grid img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .umb-block-grid figure {
        margin: 1rem 0;
    }

    .umb-block-grid h2,
    .umb-block-grid h3 {
        margin-top: 1.25rem;
    }

/* 4) (tilgængelighed) tydelig fokus i dropdowns uden at påvirke hover-farve */
.dropdown-menu [role="menuitem"]:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
}


/* Container/kort */
.dropdown-menu .teaser-item {
    display: grid;
    grid-template-rows: auto auto; /* 1: titel, 2: medie+tekst */
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: var(--bs-body-bg);
    transition: background-color .15s, box-shadow .15s, transform .15s;
    margin-bottom: 10px;
}

/* Titel (øverst, venstre-justeret) */
.dropdown-menu .teaser-title {
    font-weight: 700;
    font-size: clamp(1.05rem, .25vw + 1rem, 1.35rem);
    line-height: 1.25;
    letter-spacing: .1px;
}

/* Rækken med billede + tekst */
.dropdown-menu .teaser-content {
    display: grid;
    grid-template-columns: 96px 1fr; /* billede | tekst */
    align-items: start;
    gap: 16px;
    min-width: 0; /* super-vigtigt for at undgå overflow */
}

    /* Billede – samme venstrekant som titel */
    .dropdown-menu .teaser-content img {
        width: 96px;
        height: 72px;
        border-radius: 10px;
        object-fit: cover;
        display: block;
        flex-shrink: 0;
    }

/* Teasertekst – må ALDRIG rende ud af boksen */
.dropdown-menu .teaser-desc {
    color: var(--bs-secondary-color);
    line-height: 1.45;
    min-width: 0;
    overflow: hidden;
    word-break: break-word; /* bryd lange ord/URLs */
    overflow-wrap: anywhere; /* må bryde hvor som helst */
    display: -webkit-box; /* pæn ellipsis ved clamp */
    -webkit-line-clamp: 3; /* klip efter 3 linjer */
    -webkit-box-orient: vertical;
}

/* Hover – subtil */
.dropdown-menu .teaser-item:hover,
.dropdown-menu .teaser-item:focus-within {
    background: var(--bs-tertiary-bg);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
    transform: translateY(-1px);
    border-color: transparent;
}

/* (Valgfrit) smal fallback: stack billedet over teksten hvis pladsen bliver mikroskopisk */
@media (max-width:420px) {
    .dropdown-menu .teaser-content {
        grid-template-columns: 1fr;
    }

        .dropdown-menu .teaser-content img {
            width: 100%;
            height: auto;
            aspect-ratio: 4/3;
        }
}


/* Dark theme til footer */
.site-footer {
    --footer-bg: #1C1C1B; /* mørk baggrund */
    --footer-color: #F2F2F2; /* basis brødtekst */
    --footer-muted: #BDBDBA; /* overskrifter/meta */
    --footer-border: rgba(255,255,255,.10);
    --footer-link: #BDBDBA; /* lys linkfarve */
    --footer-link-hover: #FFFFFF; /* tydelig hover */
    --footer-pill-bg: rgba(255,255,255,.10);
}

/* vores generelle footer-regler bruger allerede variablerne herunder */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-color);
}

    .site-footer small, h5, h6, p {
        color: var(--footer-muted);
    }

    .site-footer a {
        color: var(--footer-link);
    }

        .site-footer a:hover {
            color: var(--footer-link-hover);
        }

    .site-footer .list-inline {
        border-top: 1px solid var(--footer-border);
    }

    .site-footer .btn.btn-outline-secondary {
        --bs-btn-color: var(--footer-color);
        --bs-btn-border-color: var(--footer-border);
        --bs-btn-hover-bg: var(--footer-pill-bg);
        --bs-btn-hover-border-color: var(--footer-link);
        --bs-btn-hover-color: var(--footer-link);
    }

.site-footer .form-control {
    background-color: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.15);
    color: var(--footer-color);
}

    .site-footer .form-control::placeholder {
        color: var(--footer-muted);
    }



/* Hero slider */
.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
}

    .hero-slide > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-slide::after {
        content: "";
        position: absolute;
        inset: 0;

    }

    .hero-slide .container {
        position: relative;
        z-index: 2;
    }

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #ccc;
}

.hero-swiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: .6;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}


/* === Swiper: brug accent som tema === */
:root {
    /* hvis ikke allerede sat */
    --swiper-theme-color: var(--accent-color);
    --swiper-navigation-color: var(--accent-color);
    --swiper-pagination-color: var(--accent-color);
}

/* HERO: sørg for at pile/pagination ligger over overlay/indhold */
.hero .swiper-button-prev,
.hero .swiper-button-next,
.hero .swiper-pagination {
    z-index: 3; /* overlay er 1, tekst er 2 */
}

/* === Navigation arrows === */
.hero .swiper-button-prev,
.hero .swiper-button-next {
    color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0,0,0,.15); /* diskret baggrund */
    backdrop-filter: blur(2px);
    transition: background .2s, transform .2s;
}

    .hero .swiper-button-prev:hover,
    .hero .swiper-button-next:hover {
        background: rgba(0,0,0,.25);
        transform: translateY(-1px);
    }

    .hero .swiper-button-prev:focus-visible,
    .hero .swiper-button-next:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    /* Fjern default piletal */
    .hero .swiper-button-prev::after,
    .hero .swiper-button-next::after {
        font-size: 18px; /* pilens ikon-størrelse */
    }

/* === Pagination bullets (“rikkene”) === */
.hero .swiper-pagination-bullets .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 6px !important;
    opacity: 1; /* brug vores farver, ikke lav opacity */
    background: color-mix(in srgb, var(--accent-color) 35%, transparent);
    transition: transform .15s, background-color .15s;
}

.hero .swiper-pagination-bullet:hover {
    transform: scale(1.15);
}

.hero .swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* Hvis du bruger “progressbar” pagination-variant et andet sted */
.hero .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--accent-color);
}



/* ========== HERO (fix overlay + stacking) ========== */
.hero {
    position: relative; /* så ::before kan ligge absolut */
    overflow: hidden; /* holder billedet/overlay inde i sektionen */
}

    /* Baggrundsbillet nederst i stakken */
    .hero > img {
        position: absolute;
        inset: 0; /* top/right/bottom/left: 0 */
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    /* Overlay under indhold (lysere) */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5); /* sænk fra fx 0.5/0.6 til 0.25 */
        z-index: 1; /* vigtigt: under .container */
    }

    /* Tekst/CTA ovenpå overlay */
    .hero .container {
        position: relative;
        z-index: 2;
    }



/* Breadcrumbs */
.breadcrumbs {
    background: var(--bs-tertiary-bg);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    padding: .5rem 1rem;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--accent-color); /* divider farve */
}

.breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--bs-body-color);
    font-weight: 600;
}


/*--- Cockie consent ---*/
:root {
    --cookie-bg: rgba(18,18,18,.92);
    --cookie-fg: #fff;
    --cookie-link: #9ee7ff;
    --cookie-shadow: 0 -10px 30px rgba(0,0,0,.25);
    --cookie-radius: 16px;
}

.cookiebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: var(--cookie-bg);
    color: var(--cookie-fg);
    box-shadow: var(--cookie-shadow);
    backdrop-filter: blur(8px);
    border-top-left-radius: var(--cookie-radius);
    border-top-right-radius: var(--cookie-radius);
    transform: translateY(100%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
}

    .cookiebar.show {
        transform: translateY(0);
        opacity: 1;
    }

    .cookiebar p {
        margin: 0;
        font-size: .95rem;
        line-height: 1.4;
    }

    .cookiebar a {
        color: var(--cookie-link);
        text-decoration: underline;
    }

    .cookiebar .btn {
        border: 0;
        padding: 10px 16px;
        border-radius: 9999px;
        cursor: pointer;
        font-weight: 600;
    }

    .cookiebar .btn-decline {
        background: #2a2a2a;
        color: #fff;
    }

    .cookiebar .btn-accept {
        background: var(--accent-color, #ff6a00);
        color: var(--contrast-color, #fff);
    }

    .cookiebar .btn:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

/* Mobil: knapper på egen række */
@media (max-width: 720px) {
    .cookiebar {
        grid-template-columns: 1fr;
        gap: 8px;
    }

        .cookiebar .btn-row {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }
}

@media (prefers-reduced-motion: reduce) {
    .cookiebar {
        transition: none;
    }
}


/* MEGA MENU */
/* ===========================
   Curabis / Presento – Menu (Bootstrap only)
   Scope: header/navmenu
   =========================== */

/* Basal header-look (bevar Presentos sticky-top) */
.header {
    background: #fff;
}

    /* Nav links – typografi og spacing som Presento */
    .header .navmenu .nav-link {
        font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        font-weight: 400;
        font-size: 16px;
        color: #212529;
        padding: 18px 14px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        gap: .35rem;
    }

        .header .navmenu .nav-link:hover,
        .header .navmenu .nav-item.show > .nav-link {
            color: #e03a3c;
        }

        /* Ikoner i nav */
        .header .navmenu .nav-link > .bi {
            font-size: .9rem;
            vertical-align: -0.05em;
        }

/* Fjern Bootstrap-caret for ALLE flexmenu_* toggles (vi bruger dine bi-chevron-ikoner) */
a[id^="flexmenu_"].dropdown-toggle::after,
a[id^="flexmenu_"]::after {
    content: none !important;
    display: none !important;
}

/* her har vi ændret */
@media (hover: hover) {
    #navmenu,
    #navmenu button {
        outline: 0;
        box-shadow: none;
    }
}

/* ========== Dropdowns: fælles ========== */
.header .navmenu .dropdown-menu {
    --menu-radius: .25rem;
    --menu-shadow: 0 1rem 2rem rgba(0,0,0,.08);
    border: 0;
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    padding: .75rem 0; /* standard for simple menus */
}

    /* Ens look til mega-panel og andre fuldbredde-paneler */
    .header .navmenu .dropdown-menu.mega,
    .header .navmenu .dropdown-menu.start-0.end-0.w-100 {
        padding: 1rem 0; /* lidt mere luft i panelet */
        border-radius: .25rem; /* let runding på panelkant */
    }

/* Dropdown items */
.header .navmenu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .4rem;
}

    .header .navmenu .dropdown-item .bi {
        font-size: .95rem;
        opacity: .9;
    }

/* Simple-klasse (fx Undervisning) – stramt og læsbart */
.header .navmenu .dropdown-menu.simple {
    padding: .5rem 0;
}

    .header .navmenu .dropdown-menu.simple .dropdown-item {
        padding: .35rem 1rem;
    }

/* ========== Mega menu (fuldbredde) ========== */
/* Brug .mega på dine fuldbredde dropdowns */
.header .navmenu .dropdown-menu.mega .container {
    /* Ingen speciel styling – arver fra Bootstrap .container */
}

/* Cards i mega-menuen */
.header .navmenu .dropdown-menu.mega .card {
    border: 0;
    background: transparent; /* bevar baggrundsfarve fra panelet */
}

    .header .navmenu .dropdown-menu.mega .card .ratio > img,
    .header .navmenu .dropdown-menu.mega .ratio > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Diskret hover-zoom på billeder */
@media (hover: hover) {
    .header .navmenu .dropdown-menu.mega .ratio {
        overflow: hidden;
        border-radius: .5rem;
    }

        .header .navmenu .dropdown-menu.mega .ratio > img {
            transform: scale(1);
            transition: transform .25s ease;
        }

    .header .navmenu .dropdown-menu.mega a:hover .ratio > img {
        transform: scale(1.03);
    }
}

/* Lister (kolonne 3/4) – strammere padding */
.header .navmenu .dropdown-menu.mega .list-group-item {
    padding: .5rem 1rem;
    border-left: 0;
    border-right: 0;
}

/* Sidestillede teaser-lister med thumb (kolonne 2) */
.header .navmenu .dropdown-menu.mega .thumb-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding-bottom: .5rem;
    margin-bottom: .75rem;
}

    .header .navmenu .dropdown-menu.mega .thumb-link img {
        width: 64px;
        height: 48px;
        object-fit: cover;
        border-radius: .25rem;
        margin-right: .75rem;
    }

/* ½ skærmbredde for mega-panel (centreret) */
.dropdown-menu.half {
    width: 50vw;
}

/* På mobil/tablet: lad den fylde hele bredden og være venstrejusteret */
@media (max-width: 991.98px) {
    .dropdown-menu.half {
        width: 50vw;
        left: 50px !important; /* annuller start-50 */
        transform: none !important; /* annuller translate-middle-x */
    }
}
/* ========== Responsive justeringer ========== */
@media (min-width: 992px) {
    /* Frys nav-items, så de ikke skubber hinanden ved åbning */
    .header .navbar-nav .nav-item {
        flex: 0 0 auto;
    }

    /* Når dropdown ligger i .position-static (mega), styrer Popper ikke top-margin */
    .header .navmenu .nav-item.position-static > .dropdown-menu {
        margin-top: 0;
    }
}

/* ========== Utility: link-ikoner til højre ========== */
/* Brug fx: <a class="dropdown-item justify-content-between">Tekst <i class="bi bi-chevron-right"></i></a> */
.header .navmenu .dropdown-item.justify-content-between .bi {
    margin-left: .5rem;
}

/* ========== Support-knap (valgfrit, matcher Presento) ========== */
.btn-getstarted {
    margin-left: 1rem;
    padding: .5rem 1rem;
    border-radius: .5rem;
}

@media (min-width: 992px) {
    /* Lidt luft mellem navbar og panel */
    .header .navmenu .nav-item.dropdown > .dropdown-menu {
        margin-top: .6rem !important;
        --bs-dropdown-min-width: 20rem; /* valgfri min-bredde */
    }
}

/* Fjern blå ramme når brugeren bruger mus/peger – men behold for tastatur */
@media (hover:hover) and (pointer:fine) {
    .header .navmenu .nav-link
    .header .navmenu .dropdown-toggle
    .header .navmenu .dropdown-item
    .header .navmenu .nav-item.show > .nav-link {
        outline: none !important;
        box-shadow: none !important;
    }
}

/* (valgfrit) tydelig tastaturfokus, hvis du vil beholde en diskret ring */
.header .navmenu .nav-link:focus-visible,
.header .navmenu .dropdown-item:focus-visible {
    outline: 0px solid var(--bs-primary);
    outline-offset: 0px;
    box-shadow: none;
}

/* Megamenu: lad grid-items må krympe til kolonnebredden */
.navmenu .dropdown.megamenu > ul > li {
    min-width: 0; /* <-- det vigtige */
}

    /* Linket og teksten må aldrig “sprænge” kolonnen */
    .navmenu .dropdown.megamenu > ul > li > a {
        display: block; /* dine Bootstrap-klasser må gerne blive */
        width: 100%;
    }

.navmenu .dropdown.megamenu p {
    margin-bottom: 0;
    white-space: normal; /* sikker wrap */
    overflow-wrap: anywhere; /* lange ord/URLs brydes pænt */
}

.mm-teaser {
    max-width: 52ch;
}

.teaser-item img {
    object-fit: cover;
}

.mm-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    padding-left: 1px;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Mega menu: tillad linjeskift og sørg for at kolonner kan krympe */
.header .navmenu .dropdown-menu.mega a,
.header .navmenu .dropdown-menu.mega p,
.header .navmenu .dropdown-menu.mega .mm-teaser {
    white-space: normal; /* override på navmenu a{white-space:nowrap} */
    overflow-wrap: anywhere; /* force-linjeskift ved lange ord/URLs */
    word-break: break-word; /* fallback */
}

/* Bootstrap-kolonner i panelet må gerne krympe til kolonnebredden */
.header .navmenu .dropdown-menu.mega [class^="col-"],
.header .navmenu .dropdown-menu.mega [class*=" col-"] {
    min-width: 0;
}


.header__languages {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

    .header__languages .language-btn {
        cursor: pointer;
        padding: 8px 7px;
        border-radius: 4px;
        border: 0;
        -webkit-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
        color: #F65203 !important;
    }

        .header__languages .language-btn:hover {
            color: #F65203;
        }

    .header__languages .language-dropdown {
        display: none;
        position: absolute;
        background-color: #bcc0cd;
        border-radius: 4px;
        border: 0;
        width: 46px;
        -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

        .header__languages .language-dropdown a {
            color: black;
            padding: 8px 8px;
            text-decoration: none;
            display: block;
        }

            .header__languages .language-dropdown a:hover {
                color: #F65203;
            }

    .header__languages .show {
        display: block;
    }
