* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-tekst-mork);
    font-family: Arial, Helvetica, sans-serif;
}


.site-shell {
    width: 80%;
    margin: 0 auto;

}

.home-shell {
    padding: 34px 0 70px;
}

.intro-block {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;

    }




.intro-kicker {
    margin: 0 0 10px;
    color: var(--color-tekst-mork);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro-block h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 1.8rem);
    line-height: 1.05;
    color: var(--color-intro-tekst);
}

.intro-block p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--color-intro-tekst);
}

.feature-card {
    position: relative;
    min-height: 128px;              /* minimushøjde på card */
    height: 100%;                   /* dvs at højden indstilles efter padding - symboler - tekst - padding */
    padding: 16px 74px 16px 16px;    
    border-radius: var(--card-radius);            /* cards runding */

    background: var(--color-surface);

    border: 1px solid var(--shadow-soft);
    border-left: 4px solid var(--color-cardkant);
    border-top: 4px solid var(--color-cardkant);

    box-shadow: 0 16px 36px var(--shadow-soft);
    text-decoration: none;
    color: var(--color-tekst-card);
    overflow: hidden;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}


.feature-card::after {     /* cirkel i højre nederste hjørne uden hover*/

    inset: auto -40px -55px auto;
    pointer-events: none;
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: var(--bundcirkle_width);            /* cirklens størrelse i nederste højre hjørne */
    height: var(--bundcirkle_height);          /* cirklens størrelse i nederste højre hjørne */
    border-radius: 50%;
    background:
        radial-gradient(
            circle at center,
            color-mix(in srgb, var(--color-card_bundcirkle) 100%, var(--color-card_bundcirkle) 100%) 70%,
            color-mix(in srgb, var(--color-card_bundcirkle) 100%, var(--color-card_bundcirkle) 100%) 70%
        );

    transition: transform .35s ease,
                background .35s ease;

    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px color-mix(in srgb, var(--color-card_bundcirkle) 2%, transparent); /* ambilight card ved hover */
    border-color: color-mix(in srgb, var(--color-cardkant_hover) 90%, transparent); /* kant ved hover */ 
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-soft);
    color: var(--color-tekst-mork);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;

}

.feature-card h2 {
    margin: 42px 0 6px;
    max-width: 250px;
    font-size: 1.00rem;
    line-height: 1.22;
    color: var(--color-card-text);
}

.feature-card p {
    margin: 0;
    color: color-mix(in srgb, var(--color-card-text) 82%, transparent);
    font-size: 0.85rem;
    line-height: 1.22;
}

.feature-arrow {
    opacity: 0.9;
    transition: transform 0.18s ease;
    position: absolute;
    right: 20px;                 /* pil placering fra højre og bund */
    bottom: 20px;
    width: 28px;                /* pil placering fra højre og bund */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-card-pil);
    z-index: 3;
}



.feature-card:hover .feature-arrow {
    transform: translateX(4px);
}

.feature-arrow svg {

    fill: none;
    stroke: var(--color-card-pil);

    stroke-linecap: round;
    stroke-linejoin: round;
    
    width: 26px;                /* pil størrelse */
    height: 26px;
    stroke-width: 3.2;          /* pil tykkelse */


    
}



/* ===== PAGE LAYOUT ===== */

.page-shell {
    padding: 34px 0 70px;
}

.page-intro {
    margin-bottom: 36px;

}

/* ====== btn ======*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0.5px solid var(--color-surface);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    font: inherit;
    font-weight: 700;

}

.btn-primary {
    background: var(--color-button-back);
    color: var(--color-button-tekst);
    }


.btn-secondary {
    background: var(--color-soft);
    color: var(--color-soft-tekst);

}

.btn:hover {
    transform: translateY(-2px);
}


.btn-login {
    background: var(--color-soft);
    color: var(--color-soft-tekst);
}


/* ===== SERVICES / PRICES ===== */

.service-list {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 34px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--color-bg-soft) 94%, transparent);
    border: 1px solid var(--shadow-soft);
    box-shadow: 0 16px 36px var(--shadow-soft);
}

.service-content h3 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    line-height: 1.15;
    color: var(--color-tekst-mork);
}

.service-short {
    margin: 0 0 12px;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-tekst-mork) 82%, transparent);
}

.service-description {
    margin: 0;
    max-width: 680px;
    font-size: 1rem;
    line-height: 1.65;
    color: color-mix(in srgb, var(--color-tekst-mork) 82%, transparent);
}

.service-meta {
    min-width: 170px;
    display: grid;
    gap: 16px;
    justify-items: end;
}

.service-facts {
    text-align: right;
}

.service-facts span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--color-tekst-mork) 72%, transparent);
}

.service-facts strong {
    display: block;
    font-size: 1.45rem;
    color: var(--color-tekst-mork);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-tekst-lys);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-accent) 10%, transparent);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--color-accent) 34%, transparent);
}

/* ===== GENERIC PAGE CONTENT ===== */

.page-content {
 width: 100%;
    max-width: 1290px; /* eller 1100 hvis du vil have mere wow */
    margin: 0 auto;
    }


/* ===== GENERIC PAGE CONTENT ===== */


.page-card {
    padding: 34px 28px;
    border-radius: 26px;
    background: var(--color-surface);
    border: 1px solid var(--shadow-soft);
    box-shadow: 0 16px 36px var(--shadow-soft);
}

.page-text {
    max-width: 88%;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
    color: color-mix(in srgb, var(--color-tekst-mork) 90%, transparent);
}

.page-action {
    margin-top: 26px;
    text-align: center;
}



/* ===== PAGE SECTIONS / CMS ===== */

.page-sections {
    overflow: hidden;
}

.section-text {
    margin-bottom: 28px;
}

.page-image {
    
    margin: 30px auto;
}

.page-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 16px 36px var(--shadow-soft);
}

.page-image figcaption,
.page-image-float figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--color-tekst-mork) 75%, transparent);
}

.page-image-full img {
    max-width: 900px;
    max-height: 700px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.page-image-full {
    
    width: 100%;
}

.page-image-float {
    max-width: 340px;
    margin: 0 0 22px 28px;
     margin-bottom: 20px;
}

.page-image-float::after {
    content: "";
    display: block;
    clear: both;
}


.page-image-float img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 16px 36px var(--shadow-soft);
}

.float-right {
    float: right;
}

.float-left {
    float: left;
    margin: 0 28px 22px 0;
}

.section-text::after {
    content: "";
    display: block;
    clear: both;
}



.booking-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.booking-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--color-button-back);
    color: var(--color-tekst-lys);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-accent) 25%, transparent);
}

.booking-slot:hover {
    transform: translateY(-2px);
}

.booking-item a:hover {
    text-decoration: underline;
}

.today-row {
    background: #CBE2D6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--cards_per_row, 5), minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}



/* Forside-cards med lækker venstrekant */



 
 




.feature-card:hover::after {
    transform: scale(1.04); /* bundcirkel forstørres ved >1.0 */

    background:
        radial-gradient(
            circle at center,
            color-mix(in srgb, var(--color-card_bundcirkle) 88%, white 72%) 90%,
            color-mix(in srgb, var(--color-card_bundcirkle) 76%, transparent) 72% /* mus over reaktion */
        );
}











.front-card-icon{
    object-fit: contain;
    opacity: .92;
    position:absolute;
    top:16px;
    left:18px;
    width:28px;
    height:28px;
    color:var(--color-card-icon, var(--color-accent));
    z-index:20;

    

    
}



.front-card-icon svg{
    width:100%;
    height:100%;
    display:block;
    stroke:currentColor;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;

}










    .page-top-link {
    margin-bottom: 0px;
  
}

.page-top-link a {
    margin-left: 70px;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--color-button-back);
    color: var(--color-tekst-lys);
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
    justify-content: center;
}

.page-top-link a:hover {
    background: #CBE2D6;
    transform: translateY(-1px);
}

.home-shell.no-intro .cards-grid {
    position: relative;
    z-index: 30;
    margin-top: var(--card_overlap_header);
}

.home-shell.has-intro .cards-grid {
    margin-top: 0;
}


.frontpage-page-sections {
    max-width: 1250px;
    margin: 0 auto 34px;
    padding: 30px 34px;
    border-radius: 30px;
    background: color-mix(in srgb, var(--color-bg-soft) 96%, transparent);
    border: 1px solid var(--shadow-soft);
    box-shadow: 0 18px 42px var(--shadow-soft);
}

.frontpage-page-sections .page-text {
    max-width: 100%;
}

.frontpage-page-sections .section-text {
    margin-bottom: 26px;
}

.frontpage-page-sections .section-text:last-child {
    margin-bottom: 0;
}

.frontpage-page-sections .page-image,
.frontpage-page-sections .page-image-float {
    margin-top: 12px;
}

.frontpage-page-sections .page-active-block {
    margin-top: 30px;
}




.page-active-block {
    margin: 28px 0;
    padding: 4px;
    border-radius: 22px;
    background: var(--color-surface);
     
}

.page-active-block h3 {
    margin: 0 0 22px;
    text-align: center;

    color: var(--color-tekst-mork);
    font-size: 1.2rem;
    font-weight: 700;
}

.page-active-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    justify-content: center;
}

.page-active-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 88px;
    padding: 11px 18px;

    border-radius: 999px;
    background: var(--color-button-back);
    color: var(--color-tekst-lys);
    text-decoration: none;
    font-weight: 700;
}

.page-active-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 140px;
    height: 46px;

    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-tekst-mork);
    text-decoration: none;
    font-weight: 700;

    transition: 0.2s ease;
}

.page-active-button:hover {
    background: var(--color-soft);
    color: var(--color-tekst-mork);

    transform: translateY(-1px);
    opacity: 1;
}

.page-active-button-wrap small {
    color: var(--color-tekst-mork);
    opacity: 0.85;
}

.page-active-button-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;

    width: 140px;
    text-align: center;
}

.page-active-button-wrap small {
    display: block;
    width: 100%;
    text-align: center;

    color: var(--color-tekst-mork);
    opacity: 0.85;
}

.text-center {
    display: block;
    text-align: center;
}

/* 13" MacBook og små laptops */

@media (max-width: 1700px) {

    .cards-grid {
        gap: 18px;
    }

 .feature-card {
    min-height: 120px;
}

.feature-card h2 {
    font-size: 0.8rem;
}

.feature-card p {
    font-size: 0.80rem;
}



    .page-text {
        max-width: 90%;
    }

}

/* ===== LAPTOP 13-14" ===== */

@media (max-width: 1400px) {
    
    .site-shell {
        width: min(1000px, calc(100% - 60px));
    }

    .cards-grid {
        gap: 14px;
    }

    .feature-card {
        min-height: 90px;
        padding: 14px 52px 12px 14px;
    }

    .front-card-icon {
        width: 18px;
        height: 18px;
        top: 10px;
        left: 10px;
    }

    .feature-card h2 {
        margin: 14px 0 4px;
        font-size: 0.75rem;
        max-width: 200px;
    }

    .feature-card p {
        font-size: 0.65rem;
        line-height: 1.25;
    }

    .feature-arrow {
        width: 20px;
        height: 20px;
        right: 14px;
        bottom: 14px;
    }

    .feature-arrow svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.6;
    }

.feature-card::after {
    width: var(--bundcirkle_width);
    height: var(--bundcirkle_height);
}
}


@media (max-width: 1200px) {

    .site-shell {
        width: min(100%, calc(100% - 40px));
    }

    .page-content {
        width: 94%;
    }

    .page-text {
        max-width: 92%;
    }

    .cards-grid {
        gap: 18px;
    }

.feature-card {
    min-height: 90px;
    padding: 42px 58px 14px 16px;
}

.feature-card h2 {
    font-size: 0.8rem;
}

.feature-card p {
    font-size: 0.68rem;
}
    
    

    .service-card {
        gap: 24px;
        padding: 24px;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

}

@media (max-width: 980px) {
    .cards-grid {
        grid-template-columns: repeat(var(--cards-per-row-tablet, 2), minmax(0, 1fr));
    }
    
    .home-shell.no-intro .cards-grid {
        position: relative;
        z-index: 30;
        margin-top: -54px;
    }

    .feature-card {
        min-height: 110px;

    }

    .feature-card h2 {
        font-size: 1.05rem;
        margin: 8px 0 6px;
    }

    .feature-card p {
        font-size: 0.86rem;
    }
}

@media (max-height: 700px) and (orientation: landscape) {
    
    .home-shell.no-intro .cards-grid {
        margin-top: -60px;
    }
    
}




@media (max-width: 680px) {
    

    
    .page-shell {
        padding: 26px 0 2px;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .service-meta {
        justify-items: start;
        min-width: 0;
    }

    .service-facts {
        text-align: left;
    }

    .service-facts strong {
        font-size: 1.3rem;
    }

    .btn-service {
        width: 100%;
    }
    .page-image-float,
    .float-left,
    .float-right {
        float: none;
        max-width: 100%;
        margin: 24px auto;
    }
    

    
    
    
        .page-card {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .page-text {
        font-size: 1rem;
    }
    
    .site-shell {
        width: min(100% - 24px, 1390px);
    }

    .home-shell {
        padding: 26px 0 50px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    


    .feature-card {
        min-height: 48px;
        padding: 24px 68px 24px 24px;
    }

.intro-block {
    margin: 8px 4px 8px;
    padding: 4px 18px;
    border-radius: 28px;

    box-shadow:
        0 10px 28px rgba(0,0,0,0.05);


    overflow: visible;
    text-align: center;
}
    .page-content {
        width: 100%;
    }

    .page-card {
        padding: 22px 10px;
    }

    .page-text {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    


}



@media (max-width: 640px) {

    .page-top-link {
        display: none;
    }

}

