* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}


header {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh; 
  overflow: hidden;
}

.headerimg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(196, 196, 196, 0.445); 
  z-index: 1; 
  pointer-events: none;
}

.logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  top: 1.25rem;
  width: clamp(180px, 28vw, 480px); 
}

main {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

main > .inserat {
  width: 50%;
  height: auto;
  display: block;
  margin: 0;
}

main > .text {
  flex: 1 1 0;
  color: #222;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
}


main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text {
  width: 50%;
  font-size: 1.5rem;
  margin-left: 2rem;
}

.inserat {
  display: block;
  margin: 2rem 5rem auto;
  width: 50%;
}



@media (max-width: 900px) {
  .logo { width: clamp(160px, 34vw, 380px); }
}

@media (max-width: 700px) {
  header { height: 60vh; }
  main { flex-direction: column; align-items: center; }
  main > .inserat { width: 90%; max-width: 600px; }
  main > .text { width: 90%; font-size: 1rem; text-align: left; }
  .logo { top: 0.75rem; }
}