* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

header {
  background: #003366;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

section {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: #fff;
  margin-top: 2rem;
}

.employees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.employee-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.employee-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .employees {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
   Kontakt-side: mobilvennlig
   Legg nederst i CSS-fila
   ========================= */

/* Litt bedre padding på små skjermer */
section {
  padding: 2rem 1rem;
  /* fra 3rem -> mer kompakt på mobil */
}

/* Begrens bredde og gjør skjemaet til et kort */
#kontakt form {
  max-width: 640px;
  margin-top: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Hvis du bruker <label>...<input>...<label> som i skjemaet ditt */
#kontakt label {
  display: block;
  font-weight: 600;
  margin: 0.9rem 0 0.35rem;
}

/* Inputs/textarea: full bredde, store trykkflater, 16px font (hindrer iPhone-zoom) */
#kontakt input,
#kontakt textarea {
  width: 100%;
  font-size: 16px;
  /* viktig på mobil */
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #111;
  outline: none;
}

/* Tekstområdet litt mer behagelig */
#kontakt textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.4;
}

/* Fokus (tilgjengelighet) */
#kontakt input:focus,
#kontakt textarea:focus {
  border-color: rgba(0, 51, 102, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.12);
}

/* Knapp: stor og tydelig, full bredde på mobil */
#kontakt button {
  width: 100%;
  margin-top: 1rem;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  background: #003366;
  color: #fff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

#kontakt button:hover {
  filter: brightness(1.05);
}

#kontakt button:active {
  transform: translateY(1px);
}

/* Litt luft mellom elementer hvis du ikke bruker label-wrapping */
#kontakt form>input,
#kontakt form>textarea,
#kontakt form>button {
  margin-top: 0.75rem;
}

/* Desktop: mer luft */
@media (min-width: 700px) {
  section {
    padding: 3rem 1rem;
    /* tilbake til din original på større skjermer */
  }

  #kontakt form {
    padding: 1.25rem 1.25rem;
  }
}

/*.location-row {
  display: flex;
  gap: 8px;
}

.location-row input {
  flex: 1;
}

.location-row button {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #f2f2f2;
  font-weight: 600;
  cursor: pointer;
}

.location-row button:disabled {
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 480px) {
  .location-row {
    flex-direction: column;
  }
}

.location-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}*/

/* Hentested-input skal ta all ledig plass */
/*.location-row input {
  flex: 1 1 auto;
  min-width: 0;
  /* VIKTIG for flexbox 
}*/

/* Knappen skal ha fast størrelse */
/*.location-row button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #f2f2f2;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 480px) {
  .location-row {
    flex-direction: column;
  }

  .location-row button {
    width: 100%;
  }
}*/