/* Høj Multibyg — static clone. Values measured from https://hojmultibyg.dk (Elementor, breakpoints 1024 / 767). */
:root {
  --red: #9c3846;
  --grey: #f1f1f1;
  --black: #000;
  --white: #fff;
  --field-text: #585858;
  --font-head: "Bebas Neue", sans-serif;
  --font-body: "Roboto", sans-serif;
  --font-nav: "Roboto Condensed", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: #333;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
p { margin: 0 0 14.4px; }
h1, h2 { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1; }

.skip-link {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 10px; top: 10px; width: auto; height: auto; padding: 12px 20px; z-index: 100;
  background: var(--white); color: var(--red);
}

.wrap { max-width: 1000px; margin: 0 auto; width: 100%; }

.divider { padding: 2px 0; }
.divider::before { content: ""; display: block; border-top: 1px solid var(--black); }
.divider--light::before { border-top-color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 2; padding: 0 20px; }
.header-inner { display: flex; align-items: flex-start; padding: 25px 0 20px; }
.logo { flex: 0 0 25%; display: block; }
.logo img { width: 100%; }
.main-nav { flex: 1; padding-top: 9px; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: flex-end; gap: 16px;
}
.main-nav a {
  display: block;
  color: var(--white);
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1;
  margin-top: -92px;
  min-height: 680px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 79px;
  background: url("../img/DSC02974.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(360deg, #000 0%, rgba(0, 0, 0, .31) 100%);
  opacity: .57; mix-blend-mode: multiply;
}
.hero-inner { position: relative; display: flex; flex-direction: column; gap: 10px; }
.hero h1 { color: var(--white); font-size: 60px; }
.hero p { color: var(--white); font-weight: 500; font-size: 18px; line-height: 27px; }

/* ---------- Services ---------- */
.services { position: relative; z-index: 2; background: var(--grey); padding: 0 0 90px; }
.services-inner { display: flex; gap: 15px; }
.card {
  flex: 1 1 0; min-width: 0;
  margin-top: -50px;
  background: var(--white);
  padding: 50px;
  display: flex; flex-direction: column; gap: 10px;
}
.card-icon { margin-bottom: 26px; line-height: 0; }
.card-icon svg { width: 40px; height: 40px; fill: var(--red); }
.card h2 { color: var(--black); font-size: 38px; }
.card p { color: var(--black); font-size: 18px; line-height: 27px; }

/* ---------- Om os ---------- */
.about { background: var(--grey); min-height: 400px; }
.about-inner {
  max-width: 800px; margin: 0 auto;
  min-height: 300px; padding: 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.about h2 { color: var(--black); font-size: 60px; }
.about p { color: var(--black); }

/* ---------- Gallery ---------- */
.gallery { display: flex; }
.gallery-img { flex: 1 1 50%; height: 400px; background: center / cover no-repeat; }
.gallery-img--1 { background-image: url("../img/DSC03014-e1736608262228.jpg"); }
.gallery-img--2 { background-image: url("../img/DSC03039.jpg"); }

/* ---------- Contact ---------- */
.contact { padding: 60px 30px 70px; }
.contact .wrap { display: flex; flex-direction: column; gap: 10px; }
.contact h2 { color: var(--black); font-size: 38px; text-transform: uppercase; }
.contact p { color: var(--black); }

.contact-form { display: flex; flex-wrap: wrap; gap: 10px; }
.field { min-width: 0; }
.field--full { flex: 0 0 100%; }
.field--third { flex: 0 0 calc(33.333% - 6.667px); }
.field--twothirds { flex: 0 0 calc(66.666% - 3.333px); }
.field label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.field input, .field textarea {
  display: block; width: 100%;
  border: 0; border-radius: 0;
  background: var(--grey);
  color: var(--field-text);
  font-family: var(--font-body); font-size: 16px; line-height: 24px;
  padding: 8px 16px;
  height: 40px;
  outline: none;
}
.field textarea { height: auto; line-height: 1.4; padding: 5px 14px; resize: vertical; display: block; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.field.has-error input, .field.has-error textarea { box-shadow: inset 0 0 0 1px #d9534f; }
.field-error { display: block; color: #d9534f; font-size: 12px; line-height: 1.4; margin-top: 4px; }
.field--submit { display: flex; justify-content: flex-end; }
.field--submit button {
  height: 33px; padding: 0 15px;
  border: 0; border-radius: 0; cursor: pointer;
  background: var(--red); color: var(--white);
  font-family: var(--font-body); font-size: 14px; line-height: 14px; text-transform: uppercase;
}
.form-message { flex: 0 0 100%; font-size: 15px; color: #5cb85c; }
.form-message.is-error { color: #d9534f; }

/* ---------- Footer ---------- */
.footer-main { background: var(--black); color: var(--white); padding: 60px 30px; }
.footer-cols { display: flex; }
.footer-col { flex: 1 1 50%; }
.footer-col h2 { font-size: 38px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 0 0;
  color: var(--black);
}
.site-footer > .footer-bottom { padding-left: 30px; padding-right: 30px; max-width: 1060px; }
.footer-bottom > * { margin: 0 0 14px; }
.footer-bottom a { color: var(--black); }

/* ---------- Tablet (≤1024) ---------- */
@media (max-width: 1024px) {
  .logo { flex-basis: 25vw; }
  .hero { padding: 0 60px 60px; }
  .card { margin-top: -30px; }
  .services { padding: 0 20px 70px; }
  .card-icon svg { width: 35px; height: 35px; }
  .about { padding: 20px; }
  .about-inner { min-height: 360px; }
  .site-footer > .footer-bottom { padding: 15px 60px 0; }
}

/* ---------- Mobile (≤767) ---------- */
@media (max-width: 767px) {
  .site-header { padding: 0; }
  .header-inner { flex-direction: column; align-items: center; padding: 15px 0 5px; gap: 10px; }
  .logo { flex: none; width: 60%; }
  .main-nav { padding-top: 0; }
  .main-nav ul { justify-content: center; }
  .main-nav a { font-size: 14px; line-height: 21px; }

  .hero { margin-top: -90px; min-height: 580px; padding: 0 30px 60px; }
  .hero h1 { font-size: 50px; }

  .services { padding: 0 10px 60px; }
  .services-inner { flex-direction: column; gap: 10px; }
  .card { flex: none; padding: 30px; }
  .card + .card { margin-top: 0; }
  .services-inner .card:first-child { margin-top: -40px; }
  .card-icon svg { width: 30px; height: 30px; }

  .about h2 { font-size: 50px; }

  .gallery { flex-direction: column; }
  .gallery-img { flex: none; height: 200px; }

  .field--third, .field--twothirds { flex: 0 0 100%; }

  .footer-cols { flex-direction: column; }
  .site-footer > .footer-bottom { flex-wrap: wrap; justify-content: center; text-align: center; padding: 15px 20px 0; }
  .footer-bottom > :first-child { margin: 0; }
}
