/******************************************************** FONTE: MOBILE ********************************************************/

/* Basis typografi for websitet */
body {
    font-size: 19px;
    line-height: 23px;
}

h1 {
    font-size: 69px;
    line-height: 81px;
}
h2 {
    font-size: 31px;
    line-height: 51px;
}
/* Fix til iPhones med små skærme */
@media screen and (max-width: 393px) {
    h2 {
        font-size: 24px;
        line-height: 44px;
    }
}

h3 {
    font-size: 31px;
    line-height: 51px;
}

h4 {
    font-size: 27px;
    line-height: 47px;
}

h5 {
    font-size: 19px;
    line-height: 23px;
}

h6 {
    font-size: 19px;
    line-height: 23px;
}

/******************************************************** MAIN CONTAINER: MOBILE ********************************************************/

/* Container, der styrer hvor bred header, body og footer er (alt er i container tag) */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}

/* System for ens padding i toppen og bunden af alle minde sider */
.main-content {
    padding-top: 185px;
    padding-bottom: 120px;
}

/* System for padding i toppen af forsiden */
.main-page-content-1 {
    padding-top: 185px;
    padding-bottom: 0px;
}

/* System for padding i toppen af forsiden */
.main-page-content-2 {
    padding-top: 0px;
    padding-bottom: 120px;
}

/* System for padding i toppen og bunden af undersider til industrier */
/******************************************************** HEADER: MOBILE ********************************************************/

/* Header logo */
.header-logo {
    font-size: 31px;
    line-height: 31px;
}

/* Toolbar: Søg, Lys og Menu. Strukturen ligger i menu.css. */
.header-toolbar .header-toolbar__item{
    font-size: 19px;
    line-height: 23px;
}

/* Menupanelet. Strukturen ligger i menu.css. */
.menu__nav-item{
    font-size: 31px;
    line-height: 51px;
}

.menu__close{
    font-size: 19px;
    line-height: 23px;
}

.menu__footer-link{
    font-size: 19px;
    line-height: 23px;
}

/* Søgepanelet. Strukturen ligger i menu.css. */
.search__logo{
    font-size: 31px;
    line-height: 31px;
}

.search__tom{
    font-size: 19px;
    line-height: 23px;
}

.search__gruppe-antal{
    font-size: 19px;
    line-height: 23px;
}

.search__kort-titel{
    font-size: 19px;
    line-height: 23px;
}

.search__kort-under{
    font-size: 19px;
    line-height: 23px;
}

.search__gruppe-titel{
    font-size: 31px;
    line-height: 37px;
}

.search__input{
    font-size: 21px;
    line-height: 25px;
}

.search__ryd{
    font-size: 21px;
    line-height: 25px;
}

.search__filter{
    font-size: 21px;
    line-height: 25px;
}

.search__close{
    font-size: 21px;
    line-height: 25px;
}

/* Team- og ydelseslisten. Strukturen ligger i team.css og ydelser.css. */
.team-name,
.team-role,
.team-kontakt,
.team-join{
    font-size: 19px;
    line-height: 23px;
}

/* Sidetitlen ved siden af team- og ydelseslisten. Klassen slår den bare
   h1-selektor ovenfor, så de 69-71px ikke slipper igennem. */
.liste-overskrift{
    font-size: 29px;
    line-height: 29px;
}

/* Panelet under hver ydelse. Strukturen ligger i ydelser.css. */
.ydelse-tekst,
.ydelse-punkter li{
    font-size: 19px;
    line-height: 29px;
}

/* Afsnitsoverskrifterne på privatliv og vilkår. Brødteksten dér
   arver body og har ingen egen regel. */
.lovtekst h3{
    font-size: 19px;
    line-height: 23px;
}

/* Sidetitlen på privatliv og vilkår. Scopet til .main-page-content-1,
   så 404-siden — samme .hero, men wrapperen .main-content--404 —
   falder tilbage på den bare h1-regel og er uberørt. */
.main-page-content-1 .hero{
    font-size: 41px;
    line-height: 51px;
}

.header-nav a.header-cta{
    font-size: 19px;
    line-height: 19px;
}

.header-nav a{
    font-size: 19px;
    line-height: 19px;
}

/* Login knappens afstand til burger-menu ikonet */
/******************************************************** FASTE MARGINER: MOBILE ********************************************************/

/* System for marginer på tværs af sitet til fonte (indsæt som class) */
.hero {
    margin-bottom: 160px;
}

.hero-forside {
    margin-bottom: 30px;
    margin-left: -3px;
}


/******************************************************** INDEX: MOBILE ********************************************************/

.hero-stack{
   --hero-gap:   45px;
   --hero-nudge: 0px;    /* som originalt på mobil */
}

.hero-subline,
.hero-rating__tekst{
   font-size: 21px;
   line-height: 21px;
}

.hero-ratings{
   --ratings-top:   40px;
   --ratings-gap:   36px;
   --stjerne-str:   13px;
   --stjerne-luft:  4px;
   --stjerne-tekst: 12px;
}


/* Fuldt baggrundsbillede forside */
.bg-hero {
    height: 90vh!important;   /* som originalt — klientbåndet starter lige under */
}

/* Statement tekst */
.statement-tekst {
    font-size: 79px;
    line-height: 79px;
}

/* Retter op på afstanden fra det sidste billede til footeren */

/* ============== INTRO-SEKTION UNDER HERO ============== */

.intro-text{
    font-size: 27px;
    line-height: 37px;
}

/* De manuelle linjeskift i index.php er kun til desktop/laptop —
   mobil skal beholde sin egen naturlige ombrydning. */
.intro-text__break{
    display: none;
}

.hero-cta{
    padding: 0 0 2px;
    font-size: 19px;
    line-height: 19px;
}

/* ============== Clients ============== */

.client-title,
.udtalelse__navn{
    font-size: 19px;
    line-height: 23px;
}

.client-sub,
.udtalelse__citat{
    font-size: 19px;
    line-height: 23px;
}

/******************************************************** ERFARING: MOBILE ********************************************************/

/* Justerer margin i top og bund under client sektionen */
.main-content:has(.clients-strip--erfaring) {
    padding-top: 85px;
    padding-bottom: 95px;
}

/* Styling af client-item */
.client-item {
    padding-top: 25px;
    padding-bottom: 25px;
    margin: 0 35px 0px 0;
}

/******************************************************** YDELSER: MOBILE ********************************************************/

/* Salg tekst der ligger under slider overskrift */
.stats-container {
    margin-top: -90px;
    margin-bottom: 30px;
    margin-right: 0px;
}

.stats-box {
    gap: 70px;
}

/* Fix til iPhones med små skærme så stats kan være der */
@media screen and (max-width: 393px) {
    .stats-box {
        display: flex;
        flex-direction: row; 
      }
      .stats-box .stat:first-child {
        width: 39%; 
      }
      .stats-box .stat:last-child {
        width: 39%; 
      }
}

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

.stat h2 {
    font-size: 27px;
    line-height: 39px;
}

.stat p {
    font-size: 19px;
    line-height: 23px;
}

.description p{
    font-size: 19px;
    line-height: 23px;
}

.description {
    display: none;
  }

/* Arch billede højde */
.arch-container img {
    height: 430px;
}

/* Salg tekst sektion (justering kun på mobile) */
.ydelser-section {
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 20px;
}
    
.ydelser-left-column,
.ydelser-right-column {
    max-width: 100%;
    flex: none;
}
    
.ydelser-right-column p {
    padding-right: 0px;
}
    
.ydelser-left-column h3 {
    font-size: 33px;
    line-height: 43px;
    padding-bottom: 11px;
}
    
.ydelser-right-column p {
    font-size: 19px; 
    line-height: 23px; 
}

/* Tilføj margin-bottom til alle <p> undtagen det sidste */
.ydelser-right-column p:not(:last-child) {
    margin-bottom: 20px;
}

/* 3 billeder i bund afstand */
.photo-gallery { 
    margin-bottom: -55px !important; 
}

/******************************************************** KONTAKT: MOBILE ********************************************************/

/******************************************************** FOOTER ********************************************************/
    .footer{
        padding: 0px 0 63px;
    }

    .footer__store-link{
    font-size: 35px;
    line-height: 61px;
    }

.footer__tak{
    font-size: 19px;
    line-height: 23px;
}

.footer__nav-link{
    font-size: 19px;
    line-height: 23px;
}

    /* Kun pillen bliver stående i rækken */
    .footer__nav{
        margin-top: 47px;
    }

    .footer__nav .footer__nav-link:not(.footer__nav-link--sort){
        display: none;
    }

    .footer__nav-link--sort{
        padding: 13px 21px; 
    }

    .footer__bund{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 59px 24px;
        margin-top: 62px;
        padding: 0 48px;
        text-align: left;
    }

    .footer__signup{
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer__signup-label{
        font-size: 19px;
        line-height: 23px;
        margin-bottom: 22px;
    }

    .footer__form{
        justify-content: center;
        gap: 0;                      /* afstanden ligger på knappen i stedet */
    }

    .footer__felt{
        height: 38px;
        text-align: left;
        flex-shrink: 0;      /* beholder sin bredde — knappen skal skubbe, ikke klemme */
    }

    /* Feltet står centreret alene. Når man taster, folder knappen sig ud
       til højre, og gruppen som helhed centreres — feltet glider derfor
       25px mod venstre. Bredde og margen animerer fra nul, hvilket gap
       ikke kan. */
    .footer__send{
        width: 0;
        height: 38px;   /* samme som .footer__felt, så de flugter */
        margin-left: 0;
        overflow: hidden;            /* pilen må ikke stikke ud af nulbredden */
        transition: width .25s ease,
                    margin-left .25s ease,
                    opacity .25s ease,
                    transform .25s ease;
    }

    .footer__form.har-tekst .footer__send{
        width: 38px;
        margin-left: 10px;
    }

    .footer__input{
        font-size: 19px;
        line-height: 23px;
    }

    .footer__nav-mobil,
    .footer__social{
        display: flex;
        flex-direction: column;
        gap: 8px;   /* samme afstand som navn og titel på Om os */
        padding-bottom: 0;
    }

    .footer__nav-mobil{
        justify-self: start;
    }

    .footer__social{
        justify-self: end;
    }

    .footer__nav-mobil a,
    .footer__social a{
        font-family: 'Futura', Arial, sans-serif;
        font-weight: 400;
        font-size: 19px;
        line-height: 23px;
        color: inherit;
    }

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

/* Selve boksen */
.mc-consent{
    font-size: 19px;
    line-height: 23px;
}

.mc-title{
    font-size: 27px;
    line-height: 33px;
}

.mc-btn{
    font-size: 19px;
    line-height: 19px;
    padding:11px 21px;
}

/* "Tilpas" link under hovedknapperne */
.mc-customize{
    font-size: 19px;
    line-height: 19px;
}

.mc-cat-name{
    font-size: 19px;
    line-height: 19px;
}

.mc-cat-desc{
    font-size: 19px;
    line-height: 29px;
}

.mc-locked{
    font-size: 19px;
    line-height: 19px;
}

.mc-settings-foot{
    font-size: 19px;
    line-height: 29px;
}

/******************************************************** SPROG-POPUP ********************************************************/

.sprog{
    font-size: 19px;
    line-height: 23px;
}

.sprog__titel{
    font-size: 27px;
    line-height: 33px;
}

.sprog__knap{
    font-size: 19px;
    line-height: 19px;
}

/******************************************************** PRIVATLIVSPOLITIK: MOBILE ********************************************************/

/* Breden på containeren */
.lovtekst {
    width: 100%;            
}
