
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: verdana, sans-serif;
      line-height: 1.6;
      background-color: #fff;
      color: #000;
    }

    .container {
      width: 90%;
      max-width: 100%;
      margin: auto;
      padding: 20px;
    }

   header {
  position: relative;
  background-image: url('../pic/header-bilde.png'); /* <- Endre denne stien til ditt bilde */
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 30px 0;
  overflow: hidden;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8); /* juster 0.4 for mer/mindre mørkhet */
  z-index: 1;
}

header .container {
  position: relative;
  z-index: 2;
}

header h1 {
  text-align: center;
  margin-bottom: 10px;
}


    nav ul {
      display: flex;
      justify-content: center;
      list-style: none;
      gap: 20px;
      flex-wrap: wrap;
    }

    nav a {
      color: #fff;
      text-decoration: none;
    }

  

 
   section {
      padding: 10px 0;
    }

    h2,
    h3 {
      margin-bottom: 20px;
      color: #d8232a;
    }


    form {
      background-color: #f9f9f9;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
      width: 100%;
      max-width: 500px;
      margin: 0;
    }

    form h4 {
      margin-top: 20px;
      margin-bottom: 10px;
      color: #b30000;
      font-size: 18px;
    }

    input,
    select,
    textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      width: 100%;
    }

.apningstid {
  text-align: center;   /* sentrerer teksten */
  font-size: 16px;    /* valgfri justering av skriftstørrelse */
  margin-top: 10px;     /* litt luft over */
  color: #fff;          /* hvis du har mørk bakgrunn */
  font-weight: bold;
}

 .menu-button {
  background-color: #d8232a;
  color: white;
  border: none;
  padding: 8px 20px;
  width: 120px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: box-shadow 0.15s;
  display: inline-block;
  text-decoration: none;
  text-align: center;

  /* Legg til disse for å utjevne forskjeller: */
  font-family: inherit;
  line-height: normal;
}

    .menu-button:hover {
  opacity: 0.7;
}

    .bestill-button {
      background-color: #d8232a;
      color: white;
      border: none;
      padding: 8px 20px;
      width: 150px;
      border-radius: 18px;
      font-weight: bold;
      font-size: 20px;
      cursor: pointer;
      transition: box-shadow 0.15s;
      display: inline-block;
      text-decoration: none;
      text-align: center;
    }
    
    .bestill-button:hover {
  opacity: 0.7;
}

.googleanmeldelsermenu-button {
  background-color: #d8232a;
  color: white;
  border: none;
  padding: 8px 20px;
  width: 220px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: box-shadow 0.15s;
  display: inline-block;
  text-decoration: none;
  text-align: center;

  /* Legg til disse for å utjevne forskjeller: */
  font-family: inherit;
  line-height: normal;
}

    .googleanmeldelsermenu-button:hover {
  opacity: 0.7;
}


    #kontakt p {
      font-size: 14px;

    }

    footer {
      background-color: #000;
      color: #fff;
      text-align: center;
      padding: 20px 0;
    }

  @media (max-width: 768px) {
      nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
      }

      nav ul li {
        flex: 1 1 45%;
        display: flex;
        justify-content: center;
      }

    .menu-button {
  width: 100%;
  max-width: 120px;
  text-align: center;
  margin: 0 auto;
}
    }

    @media (min-width: 992px) {
      form {
        max-width: 700px;
      }
    }

    .link {
      color: #000;
      /* Svart tekst */
      text-decoration: underline;
      /* Fjern understrek */
    }
.linkwhite {
      color: #ffffff;
      /* Hvit tekst */
      text-decoration: underline;
      /* Fjern understrek */
    }
    .link:hover {
      text-decoration: underline;
      /* Valgfritt: vis understrek ved hover */
    }

    .kart-link {
      color: #000;
      text-decoration: none;
    }

    .kart-link:hover {
      text-decoration: underline;
    }

    .sjekkpunkt {
      padding-top: 30px;
    }
.facebook-knapp {
  display: inline-block;
  width: 40px;       /* Juster diameter her */
  height: 40px;      /* Juster diameter her */
  border-radius: 50%;
  overflow: hidden;
  background-color: #4267B2;
  transition: transform 0.2s ease;
}

.facebook-knapp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facebook-knapp:hover {
  transform: scale(1.1);
}
.fb-wrapper {
  width: 400px;
  overflow-x: auto;
}

.fb-wrapper iframe {
  min-width: 320px;
  width: 400px;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.hero {                   /* Hero er midt-seksjonen, velkommen */
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
}

.googleanmeldelser-hero {                   /* Hero er midt-seksjonen, velkommen */
  background-color: #f9f9f9;
  padding: 10px 20px;
  text-align: center;
}


.hero-innhold {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 25px;
  color: #d8232a;
  margin-bottom: 20px;
  font-weight: 700;
}

.introtekst {
  font-size: 17px;
  margin-bottom: 30px;
  color: #333;
}

.punkter {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.punkter li::before {
  content: '✔';
  color: #d8232a;
  margin-right: 8px;
  font-weight: bold;
}

.punkter li {
  font-size: 17px;
  margin-bottom: 10px;
  text-align: left;
}

.sjekkpunkt-intro {
  font-size: 18px;
  margin-top: 20px;
  font-weight: 600;
}

.sjekkpunkt-logo {
  max-width: 150px;
  margin: 15px 0;
}

.betaling-hint {
  font-size: 14px;
  color: #000;
}
.menyseksjon {
  background-color: #f4f4f4;
  padding: 40px 0;
}

.menybokser {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.boks {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 280px;
  overflow: hidden;
  text-align: center;
}
.boks form {
  padding-top: 10px;
  padding-bottom: 10px;
}

.boks img {
   width: 100%;
  height: 200px;
  object-fit: cover; /* sørger for at bildet fyller rammen uten å forvrenges */
  border-radius: 8px;
  display: block;
}

.boks h3 {
  margin: 15px 0 5px;
  font-size: 20px;
}

.boks h3 a {
  color: #c00000;
  text-decoration: none;
}

.boks h3 a:hover {
  text-decoration: underline;
}

.boks p {
  padding: 0 15px 15px;
  font-size: 14px;
  color: #333;
}


.anmeldelser {
  background-color: #f9f9f9;
  padding: 40px 20px;
}


.anmeldelser h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #d8232a;
}

.anmeldelser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.anmeldelse {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 390px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-style: italic;
  color: #333;

  /* lagt til for bilde ved siden av teksten */
  display: flex;
  align-items: center;
  gap: 10px;
}

.anmeldelse span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-style: normal;
  color: #555;
}

.anmeldelse-bilde {
  width: 50px;        /* størrelse på bildet */
  height: 50px;
  border-radius: 50%; /* gjør bildet rundt */
  object-fit: cover;  /* fyll hele rammen uten å forvrenge */
}


.infobokser {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  background-color: #f4f4f4;
  padding: 40px 20px;
}

.infoboks {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 100%;
}

.infoboks h3 {
  color: #d8232a;
  margin-bottom: 15px;
}

.infoboks ul {
  padding-left: 20px;
  font-size: 14px;
  color: #333;
}

.info-boks iframe {
  width: 100%;
  height: 300px;
}

.facebook-embed-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.fb-embed-container {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  border: 0;
  overflow: hidden;
}

.fb-embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .infobokser {
    flex-direction: column;
  }
}

/* Wrapper for hakeboksen */
.checkbox-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  position: relative;
  padding-left: 35px; /* plass til selve haken */
  margin-top: 10px;
  user-select: none;
}

/* Selve input-feltet skjules */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Hakeboksens utseende */
.checkmark {
  position: absolute;
  left: 0;
  top: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #b30000; /* rød farge som matcher logo */
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Når man holder musepekeren over */
.checkbox-container:hover .checkmark {
  background-color: #ffe6e6; /* lys bakgrunn ved hover */
}

/* Hakeboks når den er valgt */
.checkbox-container input:checked ~ .checkmark {
  background-color: #b30000;
  border-color: #b30000;
}

/* Hake-ikonet */
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Vis hake når valgt */
.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

form label {
  font-size: 14px; /* juster f.eks. til 1.1rem eller 16px */
  font-weight: normal; /* eller bold om du vil ha den fet */
  color: #333; /* valgfritt, for tekstfarge */
}

.om-oss {
  padding: 60px 20px;
  background-color: #f4f4f4;
}

.om-tekst {
  flex: 1 1 500px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.om-tekst h2 {
  color: #d8232a;
  font-size: 28px;
  margin-bottom: 20px;
}

.om-tekst strong {
  color: #000;
}


.om-galleri {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Alltid to per rad */
  gap: 20px;
  justify-items: center;
  margin-top: 30px;
}

.om-galleri img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 12%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .om-galleri {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mekaniker-seksjon {
  background-color: #fff;
  padding: 40px 20px;
}

.mekaniker-innhold {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: stretch;
}

.mekaniker-bilde {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.mekaniker-tekst {
  min-width: 0;
}

.mekaniker-seksjon h2 {
  color: #d8232a;
  margin-bottom: 20px;
}

.mekaniker-seksjon h3 {
  color: #333;
  font-size: 19px;
  margin-bottom: 15px;
}

.mekaniker-svar {
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .mekaniker-innhold {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mekaniker-bilde {
    height: auto;
  }
}
.bestillservice-button {
  background-color: #d8232a;
  color: white;
  border: none;
  padding: 8px 20px;
  width: 180px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: box-shadow 0.15s;
  display: inline-block;
  text-decoration: none;
  text-align: center;

  /* Legg til disse for å utjevne forskjeller: */
  font-family: inherit;
  line-height: normal;
}

    .bestillservice-button:hover {
  opacity: 0.7;
}

/* Fast Bestill/Ring-linje på mobil */
.mobil-handlingslinje {
  display: none;
}

@media (max-width: 768px) {

  .mobil-handlingslinje {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    gap: 10px;

    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));

    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);

    z-index: 9999;
  }

 .mobil-handlingsknapp {
  flex: 1;
  padding: 11px 8px;

  background-color: #d8232a;
  color: white;
  border: none;
  border-radius: 22px;

  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;

  cursor: pointer;
}

.mobil-handlingsknapp:active {
  opacity: 0.7;
}

  .mobil-handlingsknapp:active {
    opacity: 0.7;
  }

  /* Hindrer at linjen dekker innhold nederst på siden */
  body {
    padding-bottom: 75px;
  }
}