/******************************************************** FONTE: DESKTOP, LAPTOP, TABLET & MOBILE ********************************************************/

/* HelveticaNow Medium */
@font-face {
    font-family: 'HelveticaNow';
    src: url('../fonts/HelveticaNowTextMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

/* HelveticaNow Regular */
@font-face {
    font-family: 'HelveticaNow';
    src: url('../fonts/HelveticaNowTextRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
 
/* Grundlæggende reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Baggrundsfarve */
:root { --page-bg: #b9b2fd; }

body, header, footer {
    background-color: var(--page-bg);
}

/* Baggrundsskift ved hover i desktop/laptop-menuen */
:root:has(.header-nav a[href="ydelser"]:hover) { --page-bg: #f3f3ef; }
:root:has(.header-nav a[href="erfaring"]:hover) { --page-bg: #ff8743; }
:root:has(.header-nav a[href="om-os"]:hover)    { --page-bg: #f3f3ef; }
:root:has(.header-nav a[href="partnere"]:hover)  { --page-bg: #b9b2fd; }
:root:has(.header-nav a.header-cta:hover) { --page-bg: #0ba13b; }  

/* Basis typografi for websitet */
body {
    font-family: 'HelveticaNow', Arial, sans-serif;
    font-weight: 400;
    color: #212121;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Overskrifter */
h1, h2, h3, h4, h5, h6 {
    font-family: 'HelveticaNow', Arial, sans-serif;
    font-weight: 500;
    color: #212121;
}

/* Links */
a {
    color: #212121;
    text-decoration: none;
}

a:hover {
    color: #212121;
    text-decoration: none;
}

/******************************************************** HEADER: DESKTOP, LAPTOP, TABLET & MOBILE ********************************************************/

/* Header (fixed) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
  }
  
  /* Skjul headeren når 'header-hidden' klassen er aktiv */
  header.header-hidden {
    transform: translateY(-100%);
  }
  
  .header-content {
    display: flex;
    align-items: center;
    padding: 25px 0;
  }
  
  .header-logo {
    font-family: 'HelveticaNow', Arial, sans-serif;
    font-weight: 500;
    color: #212121;
    display: flex;
    align-items: baseline;
    position: relative;
    z-index: 1002;
  }
  
  /* Selve (R) symbolet */
  .logo-reg {
    font-size: 0.45em;
    font-style: normal;
    line-height: 0;
    margin-left: 2px;
    position: relative;
    top: -0.5em;
  }

  /********************************************************
    DESKTOP/LAPTOP TOP MENU (visible)
  ********************************************************/
  
  /* Skjul desktop-nav som default (mobile/tablet) */
  .header-nav {
    display: none;
  }
  
  .header-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
  }
  
  .header-nav a {
    color: #212121;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 0px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
  }
  
  .header-nav a:hover {
    border-bottom-color: transparent;
  }
  
  /* Fra laptop og op: vis menuen oppe til højre */
  @media screen and (min-width: 768px) {
    .header-content {
      justify-content: space-between;
    }
  
    .header-nav {
      display: flex;
      margin-left: auto;
      justify-content: flex-end;
    }
  
    /* Skjul DK/EN knappen på laptop+ */
    .header-buttons {
      display: none !important;
    }
  
    /* Skjul burger på laptop+ */
    .burger-menu-wrapper {
      display: none !important;
    }
  
    /* Skjul overlay menu på laptop+ */
    .mobile-menu {
      display: none !important;
    }
  }
    /* Streg under menupunkter */
  .header-nav a.active {
    border-bottom-color: transparent;
  }
  
/* Streg under menupunkter 
  .header-nav a {
    padding-bottom: 2px !important;
  }
    */

    .header-nav a.header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        line-height: 1;
        border-radius: 50%;
        border: 1px solid #212121;
        background: transparent;
        cursor: pointer;
        color: #212121 !important;
        text-decoration: none;
        isolation: isolate;
        z-index: 0;
        transition: transform .15s ease;
    }
    
    .header-nav a.header-cta:hover {
        transform: translateY(0px);
        color: #0ba13b !important;
        background-color: #212121;
    }
    
    body.scrolled-bottom .header-nav a.header-cta {
        background: transparent;
        color: #f3f3ef !important;
        border: 1px solid #f3f3ef;
    }

/********************************************************
  BURGER + MOBILE MENU OVERLAY (DESKTOP FADE ANIMATION)
********************************************************/

/* 1. LOGO & BURGER FARVE + STØRRELSE */
.header-content:has(.mobile-menu.active) a .header-logo {
    color: #0ba13b !important;
    z-index: 2001; /* Sikrer logoet er øverst */
}

.burger-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    z-index: 2000;
    cursor: pointer;
    position: relative;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 12px;
    transition: transform 0.3s ease;
}

.burger-icon {
    width: 100%;
    height: 2px;
    background-color: #212121; /* Sort streg når menu er lukket */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Gør krydset lysegråt når menuen er åben */
.burger-menu.active .burger-icon {
    background-color: #0ba13b !important;
}

.burger-menu.active .burger-icon:first-child {
    transform: rotate(45deg) translate(4px, 3px);
}

.burger-menu.active .burger-icon:last-child {
    transform: rotate(-45deg) translate(4px, -3px);
}

/* 2. SELVE MENU OVERLAYET (Nu med Fade-effekt ligesom desktop) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    padding: 80px 25px 40px 25px; 
    background-color: #212121;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;    
    justify-content: flex-start; 
    
    /* Animation: Fade ind i stedet for rulle ned */
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms cubic-bezier(0.25, 1, 0.5, 1), visibility 420ms;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* 3. NAVIGATION LINKS (Snappy & Smooth fade) */
.mobile-nav {
    width: 100%;
    margin-bottom: 40px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.mobile-nav ul li {
    opacity: 0;
    transform: translateY(12px);
    transition: 
      opacity 420ms cubic-bezier(0.25, 1, 0.5, 1),
      transform 450ms cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu.active .mobile-nav ul li {
    opacity: 1;
    transform: translateY(0);
}

/* Forsinkelse (Stagger) - gør at de popper ind én efter én */
.mobile-menu.active .mobile-nav ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav ul li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav ul li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav ul li a {
    font-size: 32px;
    font-weight: 500;
    color: #0ba13b !important;
    background: none !important;
    -webkit-text-fill-color: currentcolor !important;
}

/* 4. KONTAKT INFO (Matcher animationen) */
.mobile-contact-info {
    display: flex;
    flex-wrap: wrap; 
    width: 100%;
    color: #0ba13b;
    margin-top: 10px;
}

.mobile-contact-info .column {
    width: 50%; 
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(12px);
    transition: 
      opacity 420ms cubic-bezier(0.25, 1, 0.5, 1),
      transform 450ms cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-contact-info .column:nth-child(3) {
    width: 100%;
}

.mobile-menu.active .mobile-contact-info .column {
    opacity: 1;
    transform: translateY(0);
}

/* Kontakt stagger (kommer lige efter links) */
.mobile-menu.active .mobile-contact-info .column:nth-child(1) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-contact-info .column:nth-child(2) { transition-delay: 0.6s; }
.mobile-menu.active .mobile-contact-info .column:nth-child(3) { transition-delay: 0.7s; }

.mobile-contact-info p {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}

.mobile-contact-info .column p:first-of-type {
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-details a {
    color: #0ba13b;
    border-bottom: 1px solid #0ba13b;
}

  /********************************************************
    TABLET + MOBILE tweaks
  ********************************************************/
  
  @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .burger-menu {
      width: 20px;
      height: 10px;
    }
  
    .burger-icon {
      height: 2px;
    }
  
    .mobile-menu {
      padding: 0 30px;
    }
  }
  
  @media (max-width: 768px) {
    .burger-menu {
      width: 25px;
      height: 13px;
    }
  
    .burger-icon {
      height: 3px;
    }
  
    .mobile-menu .mobile-nav ul li a {
      font-weight: 400;
    }
  }
  
/* FIX: sørg for at header-elementer ikke overlapper på mobile/tablet */
.header-content{
    display: flex;
    align-items: center;
    justify-content: space-between; 
  }
  
  /* Logo skal ikke skrumpe og skal holde sin plads */
  .header-content > a{
    flex: 0 0 auto;
  }
  
  /* Skub knapper/burger helt til højre */
  .header-buttons{
    margin-left: auto;
    margin-right: 16px;
  }
  
  /* Burger wrapper må ikke ryge ned oven i logoet */
  .burger-menu-wrapper{
    flex: 0 0 auto;
  }

/******************************************************** PARTNERE: DESKTOP, LAPTOP, TABLET & MOBILE ********************************************************/

/* Tekst der ligger under slider overskrift på desktop, laptop og tablet */
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.stats-box {
    display: flex;
    align-items: flex-end;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat p {
    font-weight: 400; 
    margin: 0px 0 0 0;
    display: flex;
    align-items: flex-end;
}

.description {
    text-align: left;
    display: flex;
    align-items: flex-end;
}

.description p {
    font-weight: 400; 
    margin: 0;
}

/* Tekst der ligger under slider overskrift på mobile */
@media screen and (max-width: 480px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stats-box {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 30px;
    }

    .stats-box .stat:first-child {
        width: 40%;
    }

    .stats-box .stat:last-child {
        width: 60%;
    }

    .stats-box .stat {
        box-sizing: border-box;
        margin-bottom: 15px;
        display: block;
    }

    .description {
        width: 100%;               
    }
}

/* Grid container - opdateret grid uden date kolonne */
.events-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 60% 16% 16% 8%;
}
  
/* Fælles cell styling */
.grid-cell {
    padding: 20px 0;
    font-weight: 400;
    color: #212121;
    position: relative;
}

/* Specific styling for cells with labels */
.grid-cell.location-col,
.grid-cell.status-col,
.grid-cell.arrow-col {
    display: flex;
    align-items: center;
}
  
/* Row styling */
.grid-row {
    display: contents;
}
  
.grid-cell {
    padding: 27px 0;
    border-bottom: 1px solid #212121;
}

/* Tilføj border-top til første række */
.grid-row.first-row .grid-cell {
    border-top: 1px solid #212121;
    padding-top: 27px;
}

/* Label base styling */
.label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
  
    /* mere kontrolleret end transition: all */
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
  }

  .label-location,
  .label-location-purple,
  .label-location-orange,
  .label-location-yellow,
  .label-location-green,
  .label-location-blue {
    border: 1px solid #212121;
   

      
      color: #212121;
      font-weight: 400;
      padding: 13px 13px 13px 13px;
     
      animation: heroGradientGlow 5.2s ease-in-out infinite;
  }

  /* Optional: rolig hover (kan fjernes hvis du vil have 100% statisk) */
  .label-location:hover,
  .label-location-purple:hover,
  .label-location-orange:hover,
  .label-location-yellow:hover,
  .label-location-green:hover,
  .label-location-blue:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }

/* Status label */
.label-status {
    background-color: transparent;
    color: #212121;
    padding: 10px 20px 10px 20px;
    min-width: 80px;
    border-radius: 9999px;
}

/* Arrow label */
.label-arrow {
    background-color: transparent;
    padding: 8px;
    width: 60px;
    height: 60px;
}

.label-arrow .arrow-icon {
    fill: #212121;
    width: 64px;
    height: 64px;
}

/* Specifik celle-styling */
.event-title {
    font-weight: 500;
    color: #212121;
    margin-bottom: 0.25rem;
}
  
.event-description {
    font-weight: 400;
}
  
.arrow-col {
    text-align: left;
}

/* Responsiv design for mobil */
@media (max-width: 768px) {
    .events-grid {
        display: block;
    }
    
    .grid-row {
        display: flex;
        flex-direction: column;
        border-top: 1px solid #212121;
        padding: 16px 0 0px;
        position: relative;
    }

    /* Første række behøver ikke ekstra border-top på mobile */
    .grid-row.first-row {
        border-top: 1px solid #212121;
        padding-top: 16px;
    }
    
    .grid-row.first-row .grid-cell {
        border-top: none;
        padding-top: 4px;
    }

    /* Tilføj border i bunden af den sidste række */
    .grid-row:last-child {
        border-bottom: 1px solid #212121;
    }

    .grid-cell {
        border-bottom: none;
        padding: 4px 0;
        width: 100%;
        display: block;
    }
    
    /* Opdateret order for mobile layout */
    .grid-row .event-col {
        order: 1;
    }
    
    .grid-row .location-col {
        order: 2;
        margin-top: 0px;
        margin-bottom: 0px;
        padding-bottom: 0px;
    }
    
    .grid-row .arrow-col {
        order: 3;
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        align-self: flex-end;
        width: auto;
        display: flex;
    }
    
    /* Skjul status label på mobile */
    .grid-row .status-col {
        display: none !important;
    }
        
    .event-title {
        margin-bottom: 4px;
    }
    
    .event-description {
        margin-bottom: 8px;
    }
}

/* Fjern gammel arrow styling */
.arrow-link {
    display: inline-flex;
    align-items: center;
}

/******************************************************** FOOTER: DESKTOP, LAPTOP, TABLET & MOBILE ********************************************************/

/* Footer grundlæggende indstillinger */
footer {
    color: #212121;
}

.footer-container {
    display: flex;
    justify-content: flex-start;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-heading {
    color: #212121;
    font-weight: 500;
}

.footer-container > div {
    flex: 1;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-title {
    font-weight: 500;
    color: #212121;
}

/* Footer links med hvid understregning */
.footer-column ul li a {
    color: #212121;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid #212121;
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.footer-column ul li a:hover {
    color: #f3f3ef;
    font-weight: 400;
}    

/* Footer Bottom Grundlæggende Indstillinger */
.footer-bottom {
    border-top: 1px solid #212121;
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-left {
    color: #212121;
    font-weight: 400;
}

.footer-bottom-right {
    display: flex;
}

.footer-bottom-right a {
    color: #212121;
    text-decoration: none;
    font-weight: 400;
}

.footer-bottom-right a:hover {
    color: #f3f3ef;
}

/* Footer indstillinger på tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .footer-column:nth-child(4) {
        display: none;
    }
}

/* Footer indstillinger på mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-container > div {
        margin: 10px 0;
        min-width: calc(50% - 20px);
        text-align: left;
    }

    /* Specifik højremargin for København kolonnen */
    .footer-column:nth-child(2) {
        margin-left: 40px;
    }

    /* Specifik højremargin for København kolonnen */
    .footer-column:nth-child(4) {
        margin-left: 40px;
    }

    .footer-bottom {
        flex-direction: column; /* Stabler footer bottom-indhold */
        align-items: flex-start;
        margin-top: 75px;
    }

     /* Skjuler footer-bottom-right sektionen på mobile enheder */
     .footer-bottom-right {
        display: none;
    }
}

/******************************************************** FADE ANIMATION PÅ HELE SIDEN ********************************************************/

/* Fade animation */
   .fade {
    opacity: 0;
    transform: translateY(12px);
    
    transition:
      opacity 420ms cubic-bezier(0.25, 1, 0.5, 1),
      transform 450ms cubic-bezier(0.25, 1, 0.5, 1);
    
    will-change: opacity, transform;
}

.fade.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
}

/******************************************************** CUSTOM BUND FARVESKIFT ********************************************************/

/* Baggrund skifter til sort */
body.scrolled-bottom,
body.scrolled-bottom header,
body.scrolled-bottom footer {
    background-color: #212121;
}

/* Header logo og nav */
body.scrolled-bottom .header-logo {
    color: #f3f3ef;
}

body.scrolled-bottom .header-nav a {
    color: #f3f3ef;
}

body.scrolled-bottom .header-nav a.active {
    border-bottom-color: #f3f3ef;
}

body.scrolled-bottom .header-nav a:hover {
    border-bottom-color: #f3f3ef;
}

/* Burger ikon */
body.scrolled-bottom .burger-icon {
    background-color: #f3f3ef;
}

/* Cursor dot */
body.scrolled-bottom .cursor-dot {
    background-color: #f3f3ef;
}

/* Partnere */
body.scrolled-bottom .grid-cell {
    border-bottom-color: #f3f3ef;
    color: #f3f3ef;
}

body.scrolled-bottom .grid-row.first-row .grid-cell {
    border-top-color: #f3f3ef;
}

body.scrolled-bottom .event-title {
    color: #f3f3ef;
}

body.scrolled-bottom .event-description {
    color: #f3f3ef;
}

body.scrolled-bottom .label-status {
    color: #f3f3ef;
}

body.scrolled-bottom .label-arrow .arrow-icon {
    fill: #f3f3ef;
}

body.scrolled-bottom .label-location,
body.scrolled-bottom .label-location-purple,
body.scrolled-bottom .label-location-orange,
body.scrolled-bottom .label-location-yellow,
body.scrolled-bottom .label-location-green,
body.scrolled-bottom .label-location-blue {
    border: 1px solid #f3f3ef;
    color: #f3f3ef;
}

body.scrolled-bottom .grid-row,
body.scrolled-bottom .grid-row.first-row {
    border-top-color: #f3f3ef;
}

body.scrolled-bottom .grid-row:last-child {
    border-bottom-color: #f3f3ef;
}


/* Footer */
body.scrolled-bottom .footer-heading {
    color: #f3f3ef;
}

body.scrolled-bottom .footer-title {
    color: #f3f3ef;
}

body.scrolled-bottom .footer-column ul li {
    color: #f3f3ef;
}

body.scrolled-bottom .footer-column ul li a {
    color: #f3f3ef;
    border-bottom-color: #f3f3ef;
}

body.scrolled-bottom .footer-column address {
    color: #f3f3ef;
}

body.scrolled-bottom .footer-bottom {
    border-top-color: #f3f3ef;
}

body.scrolled-bottom .footer-bottom-left {
    color: #f3f3ef;
}

body.scrolled-bottom .footer-bottom-right a {
    color: #f3f3ef;
}

/******************************************************** MERGTON COOKIES ********************************************************/

:root{
    --mc-green:   #b9b2fd;
    --mc-cream:   #212121;
    --mc-green-60:#b9b2fd;
    --mc-green-15:#b9b2fd;
    --mc-green-08:#b9b2fd;
    --mc-sand:    #b9b2fd;
    --mc-ease:    cubic-bezier(0.25, 1, 0.5, 1);
}

.mc-consent,
.mc-consent *{box-sizing:border-box;}

/* Overlay (kun synligt når indstillinger er åbne) */
.mc-overlay{
    position:fixed;
    inset:0;
    z-index:99998;
    background:rgba(10,28,25,0.55);
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
    opacity:0;visibility:hidden;
    transition:opacity 380ms var(--mc-ease),visibility 380ms;
}
.mc-overlay.is-open{opacity:1;visibility:visible;}

/* Selve boksen */
.mc-consent{
    position:fixed;
    z-index:99999;
    left:50px;
    bottom:50px;
    width:600px;
    max-width:calc(100vw - 56px);
    background:var(--mc-cream);
    color:var(--mc-green);
    border-radius: .3rem;
    padding:30px 30px 26px;
    font-family:'HelveticaNow',Arial,sans-serif;
    opacity:0;transform:translateY(16px);
    transition:opacity 420ms var(--mc-ease),transform 450ms var(--mc-ease);
    will-change:opacity,transform;
    border:none;
    box-shadow:none;
}

@media screen and (min-width: 768px) and (max-width: 1599px){
    /* Selve boksen */
    .mc-consent{
        left:40px;
        bottom:40px;
        width:530px;
        max-width:calc(100vw - 56px);
    }
}

.mc-consent.is-in{opacity:1;transform:translateY(0);}
.mc-consent[hidden]{display:none;}

/* Når indstillinger er åbne: centrér og gør lidt bredere */
.mc-consent.is-settings{
    left:50%;
    bottom:auto;
    top:50%;
    transform:translate(-50%,-50%) scale(0.98);
    width:570px;
    max-height:93vh;
    overflow-y:auto;
}
.mc-consent.is-settings.is-in{transform:translate(-50%,-50%) scale(1);}

.mc-title{
    color:var(--mc-green);
    font-weight:500;
    margin:0 0 12px;
}

.mc-title .mc-accent{
    font-family:'HelveticaNow',Arial,sans-serif;
    font-weight:500;
    font-style:normal;
    color:var(--mc-sand);
}

.mc-text{margin:0 0 22px;color:var(--mc-green);}
.mc-text a{color:var(--mc-green);text-decoration:none;border-bottom:1px solid var(--mc-green-60);padding-bottom:1px;}
.mc-text a:hover{border-bottom-color:var(--mc-green);}

/* Knapper */
.mc-actions{
    display:flex;
    justify-content:center;
    gap:13px;
    flex-wrap:wrap;
    width:100%;
}

.mc-btn{
    flex: 0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-family:inherit;
    font-weight:500;
    padding:18px 26px;
    border-radius: 50%;
    cursor:pointer;
    border:1px solid var(--mc-green);
    transition:transform .18s var(--mc-ease),background-color .25s ease,color .25s ease,opacity .25s ease;
}
.mc-btn--solid{background:var(--mc-green);color:var(--mc-cream);}
.mc-btn--ghost{background:transparent;color:var(--mc-green);}
.mc-btn--ghost:hover{background:rgba(23,61,54,0.06);}
.mc-btn:focus{outline:none;}


/* "Tilpas" link under hovedknapperne */
.mc-customize{
    display:block;
    width:100%;
    margin-top:16px;
    text-align:center;
    background:none;
    border:none;
    cursor:pointer;
    font-family:inherit;
    color:var(--mc-green-60);
    text-decoration:underline;
    text-underline-offset:3px;padding:4px;
}
.mc-customize:hover{color:var(--mc-green);}

/* ---- Indstillingspanel ---- */
.mc-categories{margin:4px 0 24px;}
.mc-cat{
    border-top:1px solid var(--mc-green-08);
    padding:18px 0;
}
.mc-cat:last-child{border-bottom:1px solid var(--mc-green-08);}
.mc-cat-head{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.mc-cat-name{
    color:var(--mc-green);
    font-weight:500;
}

.mc-cat-desc{
    margin:8px 0 0;
    line-height:1.55;
    color:var(--mc-green-60);
}
.mc-locked{
    color:var(--mc-sand);
    font-weight:500;
    white-space:nowrap;
}

/* Toggle-switch */
.mc-switch{position:relative;width:48px;height:27px;flex:0 0 auto;}
.mc-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;}
.mc-track{
    position:absolute;inset:0;border-radius:999px;
    background:#212121;
    border:1px solid var(--mc-green-15);
    transition:background-color .25s ease;
}
.mc-track::after{
    content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;
    border-radius:50%;background:var(--mc-green);
    transition:transform .25s var(--mc-ease);
}
.mc-switch input:checked + .mc-track{background:var(--mc-sand);}
.mc-switch input:checked + .mc-track::after{transform:translateX(21px);background:var(--mc-cream);}
.mc-switch input:disabled + .mc-track{opacity:0.55;cursor:not-allowed;}
.mc-switch input:focus-visible + .mc-track{outline:2px solid var(--mc-green);outline-offset:2px;}

.mc-settings-foot{
    line-height:1.55;
    color:var(--mc-green-60);
    margin:0 0 20px;
}
.mc-settings-foot a{color:var(--mc-green);border-bottom:1px solid var(--mc-green-60);text-decoration:none;}

/* Mobil */
@media (max-width:520px){
    .mc-consent{
        left:14px;
        right:14px;
        bottom:14px;
        width:auto;
        max-width:none;
        padding:26px 22px 22px;
        border-radius: .3rem;
    }
    .mc-consent.is-settings{
        left:14px;
        right:14px;
        top:auto;
        bottom:14px;
        transform:translateY(16px);
        width:auto;
    }
    .mc-consent.is-settings.is-in{
        transform:translateY(0);
    }
    .mc-actions{
        flex-direction:row;
        justify-content:center;
        flex-wrap:wrap; /* så de ikke knækker grimt hvis der ikke er plads */
        align-items:center;
    }
    .mc-btn {
        width:auto;
    }
}

@media (prefers-reduced-motion:reduce){
    .mc-consent,.mc-overlay,.mc-track::after,.mc-btn{transition:none !important;}
    .mc-consent{transform:none !important;}
    .mc-consent.is-settings{transform:translate(-50%,-50%) !important;}
}

/* Cookie-boks: farveskift når man er i bunden af siden */
body.scrolled-bottom .mc-consent{
    --mc-green:    #f3f3ef;
    --mc-green-60: #f3f3ef;
    --mc-green-15: #f3f3ef;
    --mc-green-08: #f3f3ef;
    --mc-sand:     #f3f3ef;
}

/* Ny pil til musen */
* {
  cursor: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUwLjk3MSA1N0w4LjAzNDc5IDE0LjA2MzdMOC41NjIwMyA0NC4xOTcxTDAgMzUuNjM1VjBIMzUuNjM1TDQ0LjE5NzEgOC41NjIwM0wxMy45NjA2IDguMDM0NzlMNTcgNTAuOTcxTDUwLjk3MSA1N1oiIGZpbGw9IiMyMTIxMjEiLz4KPC9zdmc+Cg==) 0 0,auto !important;
}

body.scrolled-bottom,
body.scrolled-bottom * {
  cursor: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUwLjk3MSA1N0w4LjAzNDc5IDE0LjA2MzdMOC41NjIwMyA0NC4xOTcxTDAgMzUuNjM1VjBIMzUuNjM1TDQ0LjE5NzEgOC41NjIwM0wxMy45NjA2IDguMDM0NzlMNTcgNTAuOTcxTDUwLjk3MSA1N1oiIGZpbGw9IiNmM2YzZWYiLz4KPC9zdmc+Cg==) 0 0,auto !important;
}