*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #466ad4;
}
header{
    width: 100%;
}
.titel{
    background-color: #1f3c95;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
}
.titel h1{
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.navigera{
    background-color: #2b50c1;
    padding: 15px;
}
.navigera ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.3rem, 3vw, 1.5rem);
}
.navigera a{
    color: white;
    text-decoration: none;
    font-size: clamp(0.7rem, 4vw, 1.2rem);
    font-family: "Inter", sans-serif;
    display: inline-block;
    padding: 8px;
    border-radius: 999px;
}
.navigera a:hover{
    color: #8cd4f8;
}
.navigera a.aktiv{
    background-color: #8652ba;
    padding: 8px;
}
.hero{
    position: relative;
}
.hero img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.hero-text{
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    color: white;
    transform: translate(-50%, -50%);
    background-color: rgb(31, 60, 149, 0.8);
    border-radius: 1rem;
    padding: 1rem 2rem;
}
.hero-text h2{
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}
.hero-text-2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(31, 60, 149, 0.85);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    text-align: center;
    color: white;
    max-width: 90%;
}
.hero-text-2 h2{
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}
.hero-text-2 p{
    font-size: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.5;
    padding: 0 0.5rem;
}
.info{
    background-color: #1f3c95;
    color: white;
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
    border-radius: 1rem;
    padding: 2rem;
    font-size: 1rem;
}
.info p{
    line-height: 1.5;
    font-size: clamp(1rem, 3vw, 1.2rem);
}
.sidor{
    width: 90%;
    max-width: 900px;
    margin: 2rem auto 5rem auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.box{
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
}
.box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.box h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgb(31, 60, 149, 0.8);
    padding: clamp(0.5rem, 2vw, 1rem)
             clamp(0.75rem, 3vw, 1.5rem);
    border-radius: 999px;
    font-size: clamp(1rem, 4vw, 1.7rem);
}
.underrubrik{
    text-align: center;
    color: white;
    font-size: clamp(3rem, 4vw, 5rem);
    margin: 2rem auto 1.5rem auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    width: fit-content;
}
.underrubrik::after{
    content: "";
    display: block;
    height: 3px;
    width: 60%;
    background-color: #8652ba;
    margin: 0.5rem auto 0 auto;
    border-radius: 999px;
}
.tekniker{
    width: 90%;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.box_2{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 1rem;
    overflow: hidden;
}
.box_2 img{
    width: 100%;
    height: auto;
    display: block;
}
.box-header{
    background-color: rgba(31, 60, 149, 0.9);
    padding: 1.2rem;
    text-align: center;
    text-decoration: none;
}
.box-header h3{
    font-size: clamp(2rem, 3vw, 3rem);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-tek{
    width: 90%;
    max-width: 900px;
    margin: 3rem auto;
    background-color: #1f3c95;
    padding: 2rem;
    border-radius: 1rem;
    color: #ffffff;
}
.info-tek h2{
    margin-bottom: 1rem;
}
.info-tek p{
    line-height: 1.7;
}
.steg{
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: white;
}
.steg-box{
    display: flex;
    flex-direction: column;
    background-color: #1f3c95;
    border-radius: 1rem;
    overflow: hidden;
    align-items: stretch;
}
.steg-box img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.text-tek{
    padding: 2rem;
}
.text-tek h3{
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.text-tek h3::after{
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background-color: #8652ba;
    margin-top: 0.5rem;
    border-radius: 999px;
}
.text-tek p{
    line-height: 1.6;
}
.tips{
    width: 90%;
    max-width: 1100px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    color: white;
}
.tips-box{
    background-color: #1f3c95;
    padding: 2rem;
    border-radius: 1rem;
}
.tips-box h2{
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}
.tips-box h2::after{
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background-color: #8652ba;
    margin-top: 0.5rem;
    border-radius: 999px;
}
.tips-box ul{
    padding-left: 1.5rem;
}
.tips-box li{
    margin-bottom: 0.75rem;
}
.stad{
    position: relative;
    display: inline-block;
    margin: 1rem;
}

.stad-knapp{
    background-color: #1f3c95;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.stad-dropdown{
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #1f3c95;
    border-radius: 0.5rem;
    min-width: 180px;
    z-index: 10;
}

.stad-dropdown button{
    width: 100%;
    padding: 0.8rem 1rem;
    background: none;
    border: none;
    color: white;
    text-align: left;
    cursor: pointer;
}
.stad-dropdown button:hover{
    background-color: #ffffff1a;
}

.stad.active .stad-dropdown{
    display: block;
}
#stad-rubrik{
    text-align: center;
    margin: 2rem 0;
    font-size: clamp(2.5rem, 4vw, 3rem);
    color: white;
}
#banor{
    width: 90%;
    max-width: 900px;
    margin: auto;
}
.bana-box{
    background-color: #1f3c95;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 1rem;
}
.bana-box img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.bana-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}
.bana-header h3, 
.bana-header span{
    color: white;
}
.bana-info{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 0 1rem;
    border-top: 1px solid #ffffff33;
}
.bana-info.active{
    max-height: 500px;
    opacity: 1;
    padding: 1rem;
    border-top: 1px solid #ffffff33;
}
.bana-info p{
    color: #ffffff;
    line-height: 1.6;
}
.utrustning{
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
}
.utrustning-box{
    background-color: #1f3c95;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.utrustning-box img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.utrustning-rubrik{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    color: #ffffff;
}
.utrustning-info{
    display: none;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.utrustning-info.active{
    display: block;
}
.utrustning-info p{
    color: white;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #1f3c95;
        padding: 10px 20px;
    }
    .titel {
        background: none;
        padding: 0;
        text-align: left;
    }
    .titel h1{
        font-size: clamp(2rem, 3vw, 3rem);
    }
    .navigera {
        background: none;
        padding: 0;
        margin-right: 1rem;
    }
    .navigera ul {
        justify-content: flex-end;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    .hero {
        overflow: hidden;
    }
    .hero img{
        height: 70vh;
        object-fit: cover;
        width: 100%;
        object-position: center 30%;
    }
    .hero-text{
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
    #banor {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1100px;
        margin: auto;
        align-items: start;
    }
    .stad-knapp{
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
    }

    .stad-dropdown{
        min-width: 250px;
    }

    .stad-dropdown button{
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
}

@media (min-width: 800px) {
    .tekniker {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .utrustning {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1100px;
        margin: 2rem auto;
        align-items: center;
    }
}