
/* 
/* ========================================
   OM TOVE – SIDE SPECIFIK CSS
   ======================================== */

.omtove {
    --omtove-blue: #24577a;
    --omtove-text: #263746;
    --omtove-surface: #f3f7f9;
    --omtove-border: #d6e2e9;
    --omtove-lightblue: #eaf2f7;
    color: var(--omtove-text);
    padding-block: 2rem 4rem;
}

/* HERO */

.omtove-hero {
    margin-bottom: 2rem;
}

.omtove-hero-box {
    background: var(--omtove-surface);
    border: 1px solid var(--omtove-border);
    border-left: 0.4rem solid var(--omtove-blue);
    border-radius: 1rem;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.omtove-hero h1 {
    color: var(--omtove-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 1.5rem;
    text-wrap: balance;
}

.omtove-lead {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.6;
}

.omtove-hero-box p:last-child {
    margin-bottom: 0;
}

/* SEKTIONER */

.omtove-section {
    margin: 0;
    padding-block: clamp(3rem, 5vw, 4rem);
}

.omtove-card {
    background: #fff;
    border: 1px solid var(--omtove-border);
    border-radius: 1rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
}

.omtove-card h2 {
    color: var(--omtove-blue);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.3;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--omtove-border);
    text-wrap: balance;
}

.omtove-text {
    max-width: 55rem;
}

.omtove-text p {
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

.omtove-text p:last-child {
    margin-bottom: 0;
}
/* Hvid, blå, hvid, blå */

.omtove > section:nth-of-type(odd) {
    background-color: #fff;
}

.omtove > section:nth-of-type(even) {
    background-color: var(--omtove-lightblue);
}

/* Fjern tidligere kort-design */

.omtove-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* =====================================
   HERO – H1 I TYDELIG BOKS
   ===================================== */

.omtove-hero-box {
    background: var(--omtove-lightblue);
    border-left: 0.35rem solid var(--omtove-blue);
    border-radius: 0.75rem;
    padding: clamp(1.5rem, 4vw, 3rem);

     text-align: center;
}

.omtove-hero h1 {
    color: var(--omtove-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

/* =====================================
   OVERSKRIFTER OG TEKST
   ===================================== */

.omtove-section h2 {
    color: var(--omtove-blue);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.3;
    margin: 0 0 1.5rem;
}

.omtove-text {
    max-width: 55rem;
}

.omtove-text p {
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

.omtove-text p:last-child {
    margin-bottom: 0;
}
.omtove-hero-message {
    max-width: 42rem;
    margin: 2rem auto 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.6;
    color: var(--omtove-blue);

}

/* Telefonknap i Hero */

.omtove-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;

    min-height: 3.5rem;
    margin-top: 1.5rem;
    padding: 0.9rem 1.75rem;

    background-color: var(--omtove-blue);
    color: #ffffff;

    border: 2px solid var(--omtove-blue);
    border-radius: 0.75rem;

    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.omtove-hero-button:hover {
    background-color: #183f5a;
    border-color: #183f5a;
    color: #ffffff;
}

.omtove-hero-button:focus-visible {
    outline: 3px solid #bd661f;
    outline-offset: 4px;
}
.omtove-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.5rem;
}

.omtove-card h2 {
    grid-column: 1;
    margin-bottom: 0;
}

.omtove-icon {
    grid-column: 2;
    width: 4.5rem;
    height: 4.5rem;
    display: block;
}

.omtove-text {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
}
/* =====================================
   MOBIL
   ===================================== */




@media (max-width: 50rem) {

    .omtove {
        padding-block: 1.5rem 3rem;
    }

    .omtove-hero,
    .omtove-section {
        margin-bottom: 1.5rem;
    }

    .omtove-hero-box,
    .omtove-card {
        padding: 1.5rem;
    }

    .omtove-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.3rem);
    }

    .omtove-card h2 {
        font-size: 1.6rem;
    }
    .omtove > section {
        padding-block: 2.5rem;
    }

    .omtove-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.3rem);
    }
}
