/******************************************************** 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;
}

/* Renamor — kun til logoets M */
@font-face {
    font-family: 'Renamor';
    src: url('../fonts/renamor.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
 
/* Grundlæggende reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Basis typografi for websitet */
body {
    font-family: 'HelveticaNow', Arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    -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: #ffffff;
}

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

a:hover {
    color: #ffffff;
    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: #ffffff;
    display: flex;
    align-items: baseline;
    position: relative;
    z-index: 1002;
  }
  
  /********************************************************
    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: #ffffff;
    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 #ffffff;
        background: transparent;
        cursor: pointer;
        color: #ffffff !important;
        text-decoration: none;
        isolation: isolate;
        z-index: 0;
        transition: transform .15s ease;
    }
    
    .header-nav a.header-cta:hover {
        transform: translateY(0px);
        color: #000000 !important;
        background-color: #ffffff;
    }
    
    body.scrolled-bottom .header-nav a.header-cta {
        background: transparent;
        color: #000000 !important;
        border: 1px solid #000000;
    }

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

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

/* 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: #ffffff;
    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: #000000 !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: #000000;
    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: 16px;
    line-height: 1.4;
    margin: 0;
}

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

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

  /********************************************************
    TABLET + MOBILE tweaks
  ********************************************************/
  
/* 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;
  }

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

/* Word animator h1 */
#word-animation::after {
    content: "";
    display: inline-block;
    margin-left: 0px;
    opacity: 1;
    animation: blink 0.0s infinite alternate;
}
  
@keyframes blink {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

.bg-hero header {
    background-color: transparent;
}

.hero-forside {
    position: relative;
    z-index: 600;
}

body.hero-background-glow .bg-hero {
    background: transparent;
}

/* Højre link */
.hoejre-link {
    position: absolute;      
    text-decoration: none;
    text-align: right;
    z-index: 600;
    line-height: 1;
}
  
/* Fjerner margin og padding, så teksten ligger tæt sammen */
.hoejre-subtitle,
.hoejre-title {
    margin: 0;
    padding: 0;
    line-height: 0.75;
}
  
/* Højre link: Undertitel styling */
.hoejre-subtitle {
    display: block;
    font-weight: 400;
    color: #ffffff;
}
  
/* Højre link: Hovedtitel styling (gradient underline) */
.hoejre-title{
    display: inline-block;
    position: relative;
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
    padding-bottom: 6px;
  }
  
  .hoejre-title::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-image: linear-gradient(90deg, #ffffff, #ffffff);
    border-radius: 999px;
    transform-origin: left center;
    transition: transform 0.25s ease, filter 0.4s ease;
}

.hoejre-link:hover .hoejre-title::before,
.hoejre-link:focus-visible .hoejre-title::before {
    transform: scaleX(1.00);
    filter: brightness(3) saturate(0);
}

/* Toppen er fuld skærm */
.bg-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.bg-hero header {
    background-color: transparent;
    flex: 0 0 auto;
}

/* Content fylder resten af viewport */
.bg-hero .main-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
}

.bg-hero .main-content .container {
    flex: 1;
    position: relative;
    width: 100%;
}

/* ============== HERO SLIDESHOW ============== */
.hero-slideshow{
    position:absolute;
    inset:0;
    z-index:1;              /* bag header (1000), tekst (10/600) og scrim (2) */
    overflow:hidden;
    background:#000;        /* sort mens billederne loader */
    pointer-events:none;
}

.hero-slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    opacity:0;
    transition:opacity var(--hero-fade,260ms) ease;
    will-change:opacity;
}

.hero-slide.is-active{ opacity:1; }

/* Byge: hårde, øjeblikkelige klip uden fade */
.hero-slideshow.is-flicker .hero-slide{ transition:none; }

/* Valgfri scrim så hvid tekst kan læses oven på lyse billeder.
   Slet denne blok + .hero-scrim i HTML hvis du ikke vil have den. */
.hero-scrim{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(180deg,
        rgba(0,0,0,.28) 0%,
        rgba(0,0,0,.05) 38%,
        rgba(0,0,0,.45) 100%);
}

@media (prefers-reduced-motion:reduce){
    .hero-slide{ transition:opacity 400ms ease; }
}

/* ============== INTRO-SEKTION UNDER HERO ============== */
.intro-block{
    /* sort baggrund arves fra body (--page-bg) */
    padding: clamp(90px, 12vw, 139px) 0;
}

.intro-heading{
    color:#ffffff;
    font-weight:500;
    margin:0 0 28px;
}

.intro-text{
    color:#ffffff;
    font-weight:400;
    max-width:59ch;
    margin:0 0 44px;
}

/* CTA — samme look som .header-cta */
.intro-cta-wrap{ display:inline-block; }   /* så fade-wrapperen ikke fylder fuld bredde */

.hero-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:500;
    line-height:1;
    border-radius:50%;
    border:1px solid #ffffff;
    background:transparent;
    color:#ffffff !important;
    text-decoration:none;
    cursor:pointer;
    isolation:isolate;
    transition:transform .15s ease;
}

.hero-cta:hover{
    color:#000000 !important;
    background-color:#ffffff;
}

/* Hvis både sektion og footer ses samtidig på en høj skærm,
   skal teksten stadig kunne læses på den lyse baggrund. */
body.scrolled-bottom .intro-heading,
body.scrolled-bottom .intro-text{ color:#000000; }
body.scrolled-bottom .hero-cta{
    color:#000000 !important;
    border-color:#000000;
}

/* ============== KLIENT-GALLERI (rund/firkantet) ============== */

.clients-strip{
    padding: 0 0 clamp(90px, 12vw, 170px);   /* gutters kommer nu fra .container */
}

/* Dræber margin + padding som .client-item arver fra Erfaring-siden */
.clients-grid .client-item{
    margin: 0;
    padding: 0;
}

.clients-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap: clamp(20px, 4vw, 50px) clamp(16px, 4vw, 50px);
    /*                          ↑min  ↑foretrukken  ↑max */
}

.client-item{
    display:flex;
    flex-direction:column;
}

.client-thumb{
    width:100%;
    aspect-ratio: 1 / 1;     /* alle billeder kvadratiske */
    overflow:hidden;
    background:#000000;       /* mens billedet loader */
    margin-bottom:20px;
}

.client-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

/* Vekslende form: ulige = rund, lige = firkantet */
.client-item:nth-child(odd)  .client-thumb{ border-radius:50%; }
.client-item:nth-child(even) .client-thumb{ border-radius:0;   }

.client-title{
    color:#ffffff;
    font-weight:500;
    margin:0 0 8px;
}

.client-sub{
    color:rgb(149, 149, 149);
    font-weight:400;
    margin:0;
}

/* Tablet portræt: 2 i rækken */
@media (max-width: 1024px) and (orientation: portrait){
    .clients-grid{ grid-template-columns:repeat(2, 1fr); }
}

/* Mobil: 1 i rækken */
@media (max-width: 767px){
    .clients-grid{
        grid-template-columns: 1fr;
        gap: clamp(28px, 13vw, 60px) 16px;
    }
}

/* Læsbarhed på lys bund-baggrund */
body.scrolled-bottom .client-title{ color:#000000; }
body.scrolled-bottom .client-sub{ color:rgba(33,33,33,0.55); }
body.scrolled-bottom .client-thumb{ background:#e6e6e2; }

/* Anden intro-blok — egne top/bund-værdier */
.intro-block.intro-block--alt{
    padding-top: 0px;       /* << sæt din top her */
    padding-bottom: 120px;   /* << sæt din bund her */
}


/* Formskift på hover: rund → firkant, firkant → rund */
.client-thumb{
    transition: border-radius 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.client-item:nth-child(odd):hover  .client-thumb{ border-radius:0; }
.client-item:nth-child(even):hover .client-thumb{ border-radius:50%; }

/* ============== BILLEDE INDEN FOR CONTAINER ============== */
.container-media{
    margin-bottom: clamp(90px, 12vw, 170px);  /* luft ned til footer — juster frit */
}

.container-media img{
    display:block;
    width:100%;
    height:auto;        /* hele billedet i egne proportioner */
    border-radius:0;    /* sæt fx .3rem hvis du vil runde hjørnerne */
}

/* Formskift på hover: firkant → oval */
.container-media img{
    transition: border-radius 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.container-media img:hover{
    border-radius: 50%;
}

/* Scroll-morph på mobil (samme effekt som hover på desktop) */
@media (max-width: 767px){
    .client-item:nth-child(odd)  .client-thumb.is-morphed{ border-radius:0; }
    .client-item:nth-child(even) .client-thumb.is-morphed{ border-radius:50%; }

    /* Også billedet i container-media, hvis du vil have samme leg dér */
    .container-media img.is-morphed{ border-radius:50%; }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 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: #ffffff;
}

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

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

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

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

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

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

/* Index */
body.scrolled-bottom .bg-hero {
    background: #ffffff;
}

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

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

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

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

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

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

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

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

/* Kontakt-knap hover når man er i bunden (scrolled-bottom) */
body.scrolled-bottom .header-nav a.header-cta:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000;
}

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

:root{
    --mc-green:   #ffffff;
    --mc-cream:   #000000;
    --mc-green-60:#ffffff;
    --mc-green-15:#ffffff;
    --mc-green-08:#ffffff;
    --mc-sand:    #ffffff;
    --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: 0px;
    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:#000000;
    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: 0px;
    }
    .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:    #ffffff;
    --mc-green-60: #ffffff;
    --mc-green-15: #ffffff;
    --mc-green-08: #ffffff;
    --mc-sand:     #ffffff;
}

/* Pil til musen: Hvid (normal) */
* {
    cursor: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUwLjk3MSA1N0w4LjAzNDc5IDE0LjA2MzdMOC41NjIwMyA0NC4xOTcxTDAgMzUuNjM1VjBIMzUuNjM1TDQ0LjE5NzEgOC41NjIwM0wxMy45NjA2IDguMDM0NzlMNTcgNTAuOTcxTDUwLjk3MSA1N1oiIGZpbGw9IiNmZmZmZmYiLz4KPC9zdmc+Cg==) 0 0,auto !important;
}

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

/* FIX: NY MOBILE MENU: */
/* Burger-wrapper: skal kunne rumme tekst, så bredde er auto */
.burger-menu-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    width:auto;
    height:50px;
    padding:0;
    z-index:2000;
    cursor:pointer;
    position:relative;
}

/* Firkant + label på række */
.burger-menu{
    --square-size: 13px;   /* ← justér firkantens størrelse her */
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    width:auto;
    height:auto;
}

.menu-square{
    width:var(--square-size);
    height:var(--square-size);
    background:#ffffff;
    flex:0 0 auto;
    transition:background-color .3s ease;
}

.menu-label{
    font-family:'HelveticaNow',Arial,sans-serif;
    font-weight:400;
    font-size:16px;
    color:#ffffff;
    transition:color .3s ease;
    line-height:var(--square-size);   /* ← samme højde som firkanten */
}

/* Tekstindhold: Menu / Luk */
.menu-label::after{ content:"Menu"; }
.burger-menu.active .menu-label::after{ content:"Luk"; }

/* Sort når det hvide menu-overlay er åbent */
.burger-menu.active .menu-square{ background:#000000; }
.burger-menu.active .menu-label{ color:#000000; }

/* Sort når man er scrollet til bunden (hvid baggrund) */
body.scrolled-bottom .menu-square{ background:#000000; }
body.scrolled-bottom .menu-label{ color:#000000; }



/* FIX: Nyt M logo */

/* M'et i Renamor */
.header-logo .logo-m {
    font-family: 'Renamor', 'HelveticaNow', Arial, sans-serif;
    -webkit-text-stroke: 0.8px #ffffff;   /* ← stroke på M — justér tykkelse her */
}

/* Resten af navnet i Helvetica Now */
.header-logo .logo-rest {
    font-family: 'HelveticaNow', Arial, sans-serif;
    -webkit-text-stroke: 0.2px #ffffff;   /* ← stroke på "ergton" — justér her */
}

/* M'et bottom scrolled */
body.scrolled-bottom .header-logo .logo-m {
    -webkit-text-stroke-color: #000000;
}
body.scrolled-bottom .header-logo .logo-rest {
    -webkit-text-stroke-color: #000000;
}

/* Logo når mobile-menuen er åben (hvidt overlay) */
.header-content:has(.mobile-menu.active) .header-logo .logo-m {
    color: #000000;
    -webkit-text-stroke-color: #000000;
}

.header-content:has(.mobile-menu.active) .header-logo .logo-rest {
    color: #000000;
    -webkit-text-stroke-color: #000000;
}