
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    border: 0;
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(8, 2fr);
    grid-auto-rows: 2vw;
    background-color: rgb(218, 167, 134);
    background-image: url("Bilder/Mönster4.png");
    background-repeat: repeat;
}
a{text-decoration: none;
}
@font-face {
    font-family: "Butler";
    src: url("Font/Butler-Free-Med.otf");
}
@font-face {
    font-family: "Kenyan";
    src: url("Font/Kenyan Coffee Bd.otf");
}
@font-face {
    font-family: "Bank";
    src: url("Font/F25_Bank_Printer.otf");
}
@font-face {
    font-family:"Scaver";
    src: url("Scaver.ttf");
}
@font-face {
    font-family:"Modern";
    src: url("Font/Modern\ Romance.otf");
}
@font-face {
    font-family:"Creato";
    src: url("Font/CreatoDisplay-Light.otf");
}
/* ------------------------------------------------------------ */



.navbar {
    margin-top: 0;
    top: 0;
    grid-column: 1/9;
    grid-row: 1/5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.2vw;
    box-sizing: border-box;
    background-color: rgba(40, 25, 15, 0.55);
    position: relative;
    z-index: 10;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img {
    width: 15vw;
    height: 13vw;
    object-fit: contain;
    display: block;
    padding-top: 0.4vw;
}    
.nav-links {
    display: flex;
    align-items: center;
    gap: 3vw;
}
.nav-links a {
    color: white;
    font-family: "Bank";
    font-size: clamp(13px, 1vw, 18px);
    letter-spacing: 0.1vw;
    text-decoration: none;

    display: flex;
    align-items: center;

    transition: color 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover {
    color: #d8b08c;
    transform: translateY(-1px);
}
.nav-links a img {
    width: 1.8vw;
    height: 1.8vw;
    min-width: 22px;
    min-height: 22px;
    object-fit: contain;
    display: block;
}












.Text2{
    grid-column: 4/6;
    grid-row:9/12;
    text-align: center;
    font-size: 4vw;
    font-family: 'Scaver';
    color: wheat;   
}
.Text3{
    grid-column: 3/7;
    grid-row: 9/10;
    text-align: center;
    font-size: 1vw;
    font-family: 'Bank';
    color: white;
}
.Text4{
    grid-column: 3/7;
    grid-row: 15/16;
    text-align: center;
    font-size: 1.2vw;
    font-family: 'Butler';
    color: white;
}
.Knapp1,
.Knapp2 {
    margin: 0;
    font-size: 2vw;
    font-family: "Butler";
}
.Knapp1a {
    grid-column: 3/5;
    grid-row: 21/24;
    width: 20vw;
    height: 5vw;
    justify-self: center;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: wheat;
    text-align: center;
    border-radius: 3vw;
    padding-right: 1vw;
}
.Knapp2a {
    grid-column: 5/7;
    grid-row: 21/24;
    width: 20vw;
    height: 5vw;
    justify-self: center;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: wheat;
    text-align: center;
    border-radius: 3vw;
    padding-left: 1vw;
}








.Text5{
    grid-column: 3/7;
    grid-row:30/31;
    text-align: center;
    font-size: 1.7vw;
    font-family: 'Creato';
}
.Text6{
    grid-column: 4/6;
    grid-row:31/32;
    text-align: center;
    font-size: 1vw;
    font-family: 'Scaver';  
    padding-top: 0.3vw;
}
.Backgrund2{
    grid-column: 1/9;
    grid-row:30/47;
    background-color: white;
}

.Lista1 {
    grid-row: 35 / 46;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6vw;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    
}
.Lista1 li {
    flex: 1;
    min-width: 0;
    max-width: 280px;
    text-align: center;
}
.Text7,
.Text8,
.Text9,
.Text10 {
    color: black;
    text-align: center;
    padding-left: 8vw;
    z-index: 3;
    position: absolute;
    padding-top:4.3vw;
    font-size: 3vw;
}

.Bild1 {
    display: block;
    width: 18vw;
    height: 18vw;
    object-fit: cover;
    border-radius: 8px;
}












/* ------------------------------------------------------------ */




.Backgrund7 {
    grid-column: 1/9;
    grid-row: 1/30;

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
    opacity: 68%;
    z-index: -1;
}
    
.Backgrund7 iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 177.78%;
    height: 177.78%;

    transform: translate(-50%, -50%);

    border: none;
    pointer-events: none;
}










.streck{
    background-color: black;
    grid-column: 2/8;
    grid-row:46/47;
    z-index: 5;
    height: 0.2vw;
    margin-left:16vw ;
    margin-right: 16vw;
}
.Backgrund8{
    background-color: white;
    grid-column: 1/9;
    grid-row: 46/65;
}

.Backgrund9{
background-color:rgb(44, 39, 31);
grid-column: 3/7;
grid-row: 49/62;
}
.Text13{
    text-align: center;
    grid-column: 1/9;
    grid-row:50/52 ;
    color: white;
    font-family: "Creato";
    font-size: 2.5vw;
}
.Text14{
    text-align: center;
    grid-column: 1/9;
    grid-row:53/55 ;
    color: white;
    font-family: "Bank";
    font-size: 1vw;   
}
.Knapp3b {
    margin: 0;
    font-size: 1.7vw;
    font-family: "Butler";
}
.Knapp3 {
    grid-column: 1/9;
    grid-row: 56/61;

    width: 24vw;
    height: 6vw;

    justify-self: center;
    align-self: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: black;
    background-color: wheat;
    text-align: center;
    border-radius: 5vw;
}






.Backgrund11{
    grid-column: 2/6;
    grid-row: 67/73;
    text-decoration: none;
    color: white;
    background-color: none;
    text-align: center;
    outline-color: wheat;
    outline-style: solid;
    outline-width: 0.2vw;
    outline-offset: 0vw;
    border-radius: 1vw;
}
.Text16{
    font-family: Creato;
    font-size: 1vw;
    text-align: center;
    position: relative;
    top: -2.4vw;
}
.Text15{
    font-family: Butler;
    font-size: 3vw;
    text-align: center;
    position: relative;
    top: -1.4vw;
}
.Knapp4{
    grid-column: 6/8;
    grid-row: 67/73 ;
    text-align: center;
    outline-color: wheat;
    outline-style: solid;
    outline-width: 0.2vw;
    outline-offset: 0vw;
    margin-left: 1vw;
    color: white;
    font-family:Creato;
    font-size: 2.5vw;
    padding-top: 4.5vw;
    background-color: transparent;
    border-radius: 1vw;
}
.Knapp4:hover {
    opacity: 100%;
    background-color:rgb(188, 171, 140);
}




footer {
    background-color: rgb(40, 25, 15);
    color: white;
    grid-column: 1/9;
    grid-row: 75/82; padding: 3.5vw 8vw;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3vw; box-sizing: border-box;
}
footer img {
    width: 7vw;
    display: block;
    padding-top: 1.2vw;
}
.footer-brand p {
    font-family: "Butler";
    font-size: 1.1vw;
    margin-top: 1vw;
    color: white;
}
footer h4 {
    margin: 0 0 1.2vw;
    font-family: "Bank";
    font-size: 1.1vw;
    letter-spacing: 0.15vw;
    color: white;
    opacity: 0.55;
}
footer a {
    display: block;
    color: white;
    text-decoration: none;
    font-family: "Creato";
    font-size: 0.95vw;
    opacity: 0.75; 
    -bottom: 0.7vw;
    transition: 0.2s ease;
}
footer a:hover {
    opacity: 1;
    color:rgb(188, 171, 140);
}


/* RESPONSIVITET – endast responsiva tillägg */
@media (max-width: 900px) {
  html, body { max-width: 100%; }
  img, video, iframe { max-width: 100%; }
  .navbar { min-height: 72px; height: auto; padding: 12px 4%; gap: 14px; flex-wrap: wrap; }
  .nav-logo { flex: 0 0 auto; }
  .nav-logo img { width: clamp(95px, 18vw, 145px); height: auto; max-height: 76px; }
  .nav-links { gap: clamp(10px, 2vw, 20px); flex-wrap: wrap; justify-content: center; }
  .nav-links a { font-size: clamp(11px, 1.6vw, 15px); letter-spacing: .04em; }
}
@media (max-width: 600px) {
  .navbar { justify-content: center; padding: 10px 4%; }
  .nav-logo img { width: 105px; max-height: 58px; }
  .nav-links { width: 100%; gap: 10px 14px; }
  .nav-links a { font-size: 11px; white-space: normal; }
  button, input, select, textarea { max-width: 100%; }
  p, li { overflow-wrap: anywhere; }
}

@media (max-width: 900px) {
  .Text1, .Text2, .Text3, .Text4, .Text5, .Text6, .Text7, .Text8, .Text9, .Text10,
  .Lista1, .Backgrund1, .Backgrund2, .Backgrund7, .Backgrund8, .Backgrund9, .Backgrund10, .Backgrund11, .Bild1 {
    grid-row: auto; max-width: 100%;
  }
  .Lista1 { flex-wrap: wrap; gap: 24px; }
  .Lista1 section { width: min(100%, 280px); }
}
@media (max-width: 600px) { .Lista1 { flex-direction: column; align-items: center; } .Lista1 section { width: 100%; } }

@media (max-width: 900px) {
  body { grid-auto-rows: auto; }
}


/* =========================================================
   KJORA – MOBILANPASSNING
   Återställer sidans flöde på små skärmar så att element
   inte hamnar ovanpå varandra när desktop-grid stängs av.
   ========================================================= */
@media (max-width: 900px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 100vh;
        background-color: rgb(44, 39, 35);
        background-image: url("Bilder/Mönster4.png");
        background-repeat: repeat;
        background-size: 420px auto;
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
    }

    /* Navigation */
    .navbar {
        position: relative;
        inset: auto;
        order: 0;
        width: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 12px 12px 14px;
        box-sizing: border-box;
        background-color: rgba(40, 25, 15, 0.94);
    }

    .nav-logo {
        justify-content: center;
    }

    .nav-logo img {
        display: block;
        width: 90px;
        height: 62px;
        max-height: 62px;
        padding: 0;
        object-fit: contain;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 15px;
    }

    .nav-links a {
        font-size: 11px;
        line-height: 1.35;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    .nav-links a img {
        width: 23px;
        height: 23px;
        min-width: 23px;
        min-height: 23px;
    }

    /* Videon blir ett eget block i stället för ett stort grid-bakgrundslager */
    .Backgrund7 {
        position: relative;
        inset: auto;
        order: 1;
        display: block;
        width: 100%;
        height: 56vw;
        min-height: 210px;
        max-height: 360px;
        object-fit: cover;
        opacity: 0.72;
        z-index: 0;
        margin: 0;
    }

    /* Hero-texten placeras under videon i ett normalt dokumentflöde */
    .Text3,
    .Text2,
    .Text4 {
        position: relative;
        inset: auto;
        grid-column: auto;
        grid-row: auto;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 20px;
        margin-right: 20px;
        padding: 0;
        transform: none;
        text-align: center;
    }

    .Text3 {
        order: 2;
        margin-top: 22px;
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.5;
    }

    .Text2 {
        order: 3;
        margin-top: 8px;
        margin-bottom: 14px;
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.12;
    }

    .Text4 {
        order: 4;
        margin-top: 0;
        margin-bottom: 18px;
        font-size: 13px;
        line-height: 1.65;
    }

    .Section3 {
        display: none;
    }

    .Knapp1a,
    .Knapp2a {
        order: 5;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        justify-self: auto;
        width: calc(100% - 48px);
        max-width: 340px;
        min-height: 48px;
        height: auto;
        box-sizing: border-box;
        margin: 7px auto;
        padding: 10px 14px;
        border-radius: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .Knapp1,
    .Knapp2 {
        font-size: 16px;
        line-height: 1.3;
    }

    /* Sektionen får egna naturliga höjder i stället för låsta grid-rader */
    .Backgrund2,
    .Backgrund8,
    .Backgrund9,
    .Backgrund11,
    .Backgrund1,
    .Backgrund10 {
        display: none;
    }

    .Text5,
    .Text6 {
        position: relative;
        inset: auto;
        grid-column: auto;
        grid-row: auto;
        width: auto;
        margin-left: 18px;
        margin-right: 18px;
        text-align: center;
        box-sizing: border-box;
    }

    .Text5 {
        order: 6;
        margin-top: 36px;
        margin-bottom: 4px;
        font-size: clamp(22px, 6vw, 30px);
        line-height: 1.25;
        color: #f3dfbd;
    }

    .Text6 {
        order: 7;
        margin-top: 0;
        margin-bottom: 22px;
        padding: 0;
        font-size: 15px;
        line-height: 1.4;
        color: #f3dfbd;
    }

    .Lista1 {
        order: 8;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 28px;
        width: 100%;
        margin: 0;
        padding: 0 20px 30px;
        box-sizing: border-box;
        grid-column: auto;
        grid-row: auto;
        list-style: none;
    }

    .Lista1 li {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 340px;
        min-width: 0;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .Text7,
    .Text8,
    .Text9,
    .Text10 {
        position: static;
        inset: auto;
        z-index: 1;
        margin: 0 0 10px;
        padding: 0;
        color: #f3dfbd;
        font-size: 27px;
        line-height: 1;
        text-align: center;
    }

    .Bild1 {
        display: block;
        width: min(100%, 320px);
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 12px;
        margin: 0 auto;
    }

    .streck {
        order: 9;
        grid-column: auto;
        grid-row: auto;
        width: calc(100% - 48px);
        height: 1px;
        margin: 8px auto 26px;
        flex: 0 0 auto;
    }

    .Text13,
    .Text14,
    .Knapp3 {
        position: relative;
        inset: auto;
        grid-column: auto;
        grid-row: auto;
        width: auto;
        max-width: calc(100% - 40px);
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        transform: none;
    }

    .Text13 {
        order: 10;
        margin-top: 0;
        margin-bottom: 12px;
        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.2;
        color: #f3dfbd;
    }

    .Text14 {
        order: 11;
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.8;
        overflow-wrap: normal;
    }

    .Text14 br {
        display: none;
    }

    .Knapp3 {
        order: 12;
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(100% - 48px);
        max-width: 340px;
        min-height: 50px;
        height: auto;
        margin-top: 0;
        margin-bottom: 38px;
        padding: 12px 16px;
        border-radius: 28px;
    }

    .Knapp3b {
        margin: 0;
        font-size: 16px;
        line-height: 1.3;
    }

    .Text15,
    .Text16,
    .Knapp4 {
        position: relative;
        inset: auto;
        top: auto;
        grid-column: auto;
        grid-row: auto;
        width: auto;
        box-sizing: border-box;
        margin-left: 22px;
        margin-right: 22px;
        padding: 0;
        text-align: center;
    }

    .Text15 {
        order: 13;
        margin-top: 10px;
        margin-bottom: 12px;
        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.2;
    }

    .Text16 {
        order: 14;
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.6;
    }

    .Knapp4 {
        order: 15;
        display: flex;
        justify-content: center;
        align-items: center;
        align-self: center;
        width: calc(100% - 48px);
        max-width: 340px;
        min-height: 50px;
        margin-top: 0;
        margin-bottom: 36px;
        padding: 12px 16px;
        font-size: 17px;
        line-height: 1.3;
        border-radius: 10px;
    }

    footer {
        order: 16;
        grid-column: auto;
        grid-row: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
        width: 100%;
        margin: 0;
        padding: 30px 22px;
        box-sizing: border-box;
    }

    footer > div {
        min-width: 0;
    }

    footer .footer-brand {
        grid-column: 1 / -1;
    }

    footer img {
        width: 105px;
        max-width: 100%;
        padding-top: 0;
    }

    .footer-brand p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    footer h4 {
        margin: 0 0 12px;
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    footer a {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
}

/* Små telefoner */
@media (max-width: 380px) {
    .nav-links {
        gap: 9px 11px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .Text4 {
        margin-left: 16px;
        margin-right: 16px;
    }

    footer {
        padding-left: 16px;
        padding-right: 16px;
        gap: 24px 12px;
    }
}


/* Flytande skalning för mindre laptops och smala desktopfönster */
@media (min-width: 901px) and (max-width: 1200px) {
    .navbar {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .nav-logo img {
        width: clamp(105px, 12vw, 150px);
        height: clamp(80px, 10vw, 120px);
    }

    .nav-links {
        gap: clamp(14px, 2vw, 26px);
    }

    .nav-links a {
        font-size: clamp(12px, 1.1vw, 15px);
    }

    .Text2 {
        font-size: clamp(38px, 4vw, 54px);
    }

    .Text3 {
        font-size: clamp(11px, 0.9vw, 14px);
    }

    .Text4 {
        font-size: clamp(13px, 1.1vw, 16px);
    }

    .Lista1 {
        gap: clamp(20px, 4vw, 56px);
    }

    .Lista1 li {
        max-width: 240px;
    }

    .Bild1 {
        width: min(18vw, 240px);
        height: min(18vw, 240px);
    }

    .Text7,
    .Text8,
    .Text9,
    .Text10 {
        padding-left: 0;
        left: auto;
        font-size: clamp(25px, 2.5vw, 34px);
    }

    .Knapp1a,
    .Knapp2a {
        width: clamp(180px, 19vw, 230px);
        min-height: 48px;
        height: auto;
        padding: 10px 14px;
        box-sizing: border-box;
    }

    .Knapp1,
    .Knapp2 {
        font-size: clamp(16px, 1.7vw, 21px);
    }

    footer {
        padding-left: 6vw;
        padding-right: 6vw;
        gap: 2.5vw;
    }

    footer a {
        font-size: clamp(12px, 0.9vw, 14px);
    }

    footer h4,
    .footer-brand p {
        font-size: clamp(13px, 1vw, 15px);
    }
}

