/* AUDIT-TEST-ELEKTRIKER-20260920 — editorial/image-led one-pager
   Palette is deliberately distinct from the fixed Kodelig demo-banner
   colors (navy #0b1a28 / gold #e8a855) so the two never blend together. */

@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #14181c;
  --ink-soft: #1e242a;
  --paper: #e8ebe7;
  --paper-deep: #d7dbd3;
  --copper: #c6733a;
  --copper-light: #e0a06c;
  --steel: #4a5a63;
  --text-on-dark: #edefec;
  --text-on-dark-mute: #a8b0ac;
  --text-on-light: #20262a;
  --text-on-light-mute: #4b5257;
  --display: "Big Shoulders Display", sans-serif;
  --body: "Work Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ---------- fixed Kodelig demo banner (colors locked, do not restyle) ---------- */
.demo-banner {
  background: #0b1a28;
  border-bottom: 1px solid rgba(232,168,85,0.35);
  color: #8d999c; font-size: 0.78rem; text-align: center; padding: 10px 16px;
}
.demo-banner b { color: #f3f5f0; }
.demo-banner a { color: #e8a855; text-decoration: underline; }
.demo-banner .banner-logo { display: inline-flex; align-items: center; gap: 5px; color: #e8a855; font-weight: 700; text-decoration: none; vertical-align: -2px; }
.demo-banner .banner-logo svg { width: 12px; height: 12px; }

/* ---------- masthead ---------- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: var(--paper);
}
.masthead .wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.masthead .call {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-on-light);
  text-decoration: none;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: var(--text-on-dark);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 78vh;
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  max-width: 40rem;
}
.hero-content h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-content p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-on-dark-mute);
  max-width: 34ch;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}
.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: #1a1108;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
}
.btn-primary:hover { background: var(--copper-light); }
.hero-address {
  font-size: 0.95rem;
  color: var(--text-on-dark-mute);
  line-height: 1.5;
}
.hero-address a { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }

.hero-visual {
  position: relative;
}
.hero-visual svg { width: 100%; height: 100%; display: block; }

/* ---------- split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.split.text-right { grid-template-areas: "visual text"; }
.split.text-left { grid-template-areas: "text visual"; }
.split .text-col { grid-area: text; }
.split .visual-col { grid-area: visual; }

.text-col {
  background: var(--paper);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.text-col .inner { max-width: 30rem; }
.text-right .text-col .inner { margin-left: auto; }

.text-col h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.text-col p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-on-light-mute);
  margin: 0 0 1rem;
}
.text-col p:last-child { margin-bottom: 0; }

.visual-col {
  position: relative;
  background: var(--paper-deep);
  min-height: 22rem;
}
.visual-col svg { width: 100%; height: 100%; }

/* ---------- services (asymmetric grid) ---------- */
.services {
  background: var(--paper);
  padding: clamp(2.5rem, 6vw, 5rem);
}
.services-head { max-width: 34rem; margin-bottom: 2.5rem; }
.services-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  color: var(--ink);
}
.services-head p {
  font-size: 1.05rem;
  color: var(--text-on-light-mute);
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--steel);
}
.service-card {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.service-card.lead {
  grid-row: 1 / 3;
  background: var(--ink);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
}
.service-card.lead h3 { color: var(--copper-light); }
.service-card:not(.lead) h3 { color: var(--ink); }
.service-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}
.service-card.lead p { color: var(--text-on-dark-mute); max-width: 30ch; }
.service-card:not(.lead) p { color: var(--text-on-light-mute); }
.service-card .icon { width: 2.25rem; height: 2.25rem; margin-bottom: 1.25rem; color: var(--copper); }
.service-card.lead .icon { color: var(--copper-light); }

/* ---------- contact ---------- */
.contact {
  background: var(--ink);
  color: var(--text-on-dark);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  overflow: hidden;
}
.contact-content {
  padding: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}
.contact-content h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
  margin: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 1.05rem;
}
.contact-details a { text-decoration: underline; text-underline-offset: 3px; color: var(--text-on-dark); }
.contact-details a:hover { color: var(--copper-light); }
.contact-details .label { color: var(--text-on-dark-mute); font-size: 0.85rem; display: block; margin-bottom: 0.15rem; }
.contact-pattern {
  position: relative;
  background: var(--ink-soft);
}
.contact-pattern img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
}

/* ---------- footer ---------- */
footer {
  background: var(--paper);
  text-align: center;
  padding: 2rem 1rem 2.75rem;
}
.credit {
  display: inline-flex; align-items: center; gap: 6px;
  color: #8d999c; font-weight: 600; font-size: 0.85rem; text-decoration: none;
}
.credit:hover { opacity: .8; }
.credit-mark { width: 14px; height: 14px; color: #e8a855; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 16rem; order: -1; }
  .split { grid-template-columns: 1fr; }
  .split.text-right, .split.text-left { grid-template-areas: "visual" "text"; }
  .visual-col { min-height: 16rem; }
  .text-right .text-col .inner { margin-left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.lead { grid-row: auto; }
  .contact { grid-template-columns: 1fr; }
  .contact-pattern { min-height: 12rem; }
}

@media (max-width: 560px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}
