/* ===========================================================
   Murerfirma Ivan Sørensen — stylesheet v2 (rød/hvid, animeret)
   =========================================================== */

:root {
  --red: #cf1b28;
  --red-dark: #8f1119;
  --red-bright: #ec2632;
  --ink: #1c1917;
  --ink-soft: #59524b;
  --paper: #ffffff;
  --paper-soft: #f6f2ec;
  --paper-deep: #efe6d9;
  --line: #e8ddc9;
  --cut: 64px;
  --radius: 12px;
  --shadow: 0 16px 40px -16px rgba(28, 25, 23, .35);
  --shadow-soft: 0 8px 24px -12px rgba(28, 25, 23, .2);
  --maxw: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
section { padding: 100px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); display: inline-block; }
.lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
mark.hl {
  background: none; color: var(--red); font-style: italic; position: relative; padding: 0 .05em;
}

/* ---------- Hazard stripe divider ---------- */
.stripe {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 22px, var(--paper) 22px 44px);
  border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger.in-view > * { animation: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: .98rem; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px) scale(1.02); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-outline { border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: var(--maxw); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 54px; width: auto; }
nav.links { display: flex; align-items: center; gap: 28px; }
nav.links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: 4px 0; }
nav.links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background:var(--red); transition: right .2s ease; }
nav.links a:hover::after { right: 0; }
nav.links a:hover { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-quote-btn { padding: 10px 20px; font-size: .88rem; white-space: nowrap; }
.phone-pill { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--ink); font-size: .95rem; }
.phone-pill svg { width: 18px; height: 18px; stroke: var(--red); flex: none; }

#nav-toggle { display: none; }
.burger { display: none; cursor: pointer; }
@media (max-width: 900px) {
  nav.links { position: fixed; inset: 74px 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 30px 28px; gap: 22px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  #nav-toggle:checked ~ .nav nav.links { transform: translateX(0); }
  .burger { display: block; }
  .nav-cta .phone-pill span { display: none; }
  .nav-quote-btn { display: none; }
}

/* ---------- Hero (photo slider + Ken Burns) ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px; max-height: 900px;
  overflow: hidden; color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1); transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(20,14,12,.86) 20%, rgba(20,14,12,.45) 55%, rgba(20,14,12,.72) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; padding-bottom: calc(var(--cut) + 20px); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 7px 16px; border-radius: 999px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; width: fit-content; }
.hero-badge svg { width: 15px; height: 15px; stroke: #f3b6ba; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); color: #fff; max-width: 850px; }
.hero .lede { color: #ecdfd8; font-size: 1.18rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-microcopy { margin-top: 16px; font-size: .86rem; color: #d9c9c1; }

.hero-dots { position: absolute; z-index: 3; bottom: calc(var(--cut) + 32px); right: 40px; display: flex; gap: 9px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: transparent; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-dots button.active { background: var(--red); border-color: var(--red); transform: scale(1.2); }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: calc(var(--cut) + 26px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: #f1e4de; text-decoration: none; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-cue svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(8px);} }

@media (max-width: 640px) { .hero-dots{ display:none; } }

/* ---------- Trust strip (angled, red) ---------- */
.trust {
  position: relative; margin-top: calc(var(--cut) * -1);
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: #fff; padding: calc(var(--cut) * .55 + 34px) 0 34px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.trust .wrap { display: flex; flex-wrap: wrap; gap: 26px 44px; justify-content: space-between; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 700; }
.trust-item svg { width: 24px; height: 24px; stroke: #fff; flex: none; }
.trust-badge-img { height: 34px; width: auto; background: #fff; padding: 5px 10px; border-radius: 8px; }

/* ---------- Stats ---------- */
.stats-row { display: flex; gap: 50px; flex-wrap: wrap; margin-top: 40px; }
.stat-num { font-family: var(--font-head); font-size: 3rem; color: var(--red); font-weight: 700; line-height: 1; }
.stat-label { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow); border-color: transparent; }
.service-photo { aspect-ratio: 16/10; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-photo img { transform: scale(1.08); }
.service-body { padding: 22px 22px 26px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--paper-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--red); }
.service-body p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- About (photo frame + red shape) ---------- */
.about { background: var(--ink); color: #f2ece2; overflow: hidden; }
.about .eyebrow { color: #f3b6ba; }
.about .eyebrow::before { background: #f3b6ba; }
.about h2 { color: #fff; }
.about .lede { color: #cfc5ba; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.value-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 17px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: #e6dfd2; }
.value-list svg { width: 20px; height: 20px; stroke: var(--red-bright); flex: none; margin-top: 2px; }

.about-photo-wrap { position: relative; }
.about-photo-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  transform: rotate(-2.2deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  border: 8px solid #fff;
}
.about-photo-frame img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; display: block; }
.about-photo-wrap::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 60%; height: 60%;
  background: var(--red); border-radius: var(--radius); transform: rotate(4deg); z-index: 0;
}
.about-photo-frame { z-index: 1; }
.about-swatch {
  position: absolute; bottom: -22px; left: -22px; z-index: 2;
  background: var(--red); color: #fff; padding: 16px 22px; border-radius: 10px;
  transform: rotate(-3deg); box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 700;
}
.about-swatch span { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo-wrap { max-width: 420px; margin: 0 auto 40px; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.gallery-slot {
  aspect-ratio: 4/3; border-radius: var(--radius);
  border: 2px dashed #d9c3a8; background: var(--paper-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--ink-soft); text-align: center; padding: 16px; font-size: .85rem;
  transition: border-color .2s ease, background .2s ease;
}
.gallery-slot:hover { border-color: var(--red); background: #f4e6e2; }
.gallery-slot svg { width: 30px; height: 30px; stroke: var(--red); opacity: .75; }
.gallery-photo {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-photo:hover img { transform: scale(1.08); }
.gallery-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,14,12,.72) 0%, rgba(20,14,12,0) 45%);
}
.gallery-caption {
  position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff;
  font-weight: 700; font-size: .95rem; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); transition: transform .2s ease; }
.review-card:hover { transform: translateY(-6px); }
.review-stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.review-card p { color: var(--ink-soft); font-style: italic; font-size: .95rem; }
.review-card strong { display: block; font-size: .86rem; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Process timeline ---------- */
.timeline { position: relative; margin-top: 60px; }
.timeline-line { position: absolute; top: 26px; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 26px); display: none; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process-step { text-align: left; }
.process-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 18px; box-shadow: var(--shadow-soft); position: relative; z-index: 1;
  transition: transform .3s ease;
}
.process-step:hover .process-num { transform: scale(1.12) rotate(-6deg); }
.process-step p { color: var(--ink-soft); font-size: .93rem; }
@media (min-width: 901px) { .timeline-line { display: block; } }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; display: grid; gap: 12px; max-width: 800px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--red); }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--red); flex: none; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band-wrap { position: relative; }
.cta-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red-bright));
  color: #fff; border-radius: 22px; padding: 60px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 18px, transparent 18px 36px);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #f8dede; margin: 0; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 50px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--red); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
form.contact-form .field { margin-bottom: 16px; }
form.contact-form label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
form.contact-form input, form.contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: .96rem; background: var(--paper-soft);
}
form.contact-form input:focus, form.contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
form.contact-form .btn-primary { width: 100%; justify-content: center; border: none; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #cabfb0; padding: 50px 0 26px; font-size: .88rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-logo-card { background: #fff; padding: 10px 16px; border-radius: 10px; display: inline-block; }
.footer-logo-card img { height: 46px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #f3b6ba; margin: 0 0 12px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; color: #cabfb0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #9b8f7d; font-size: .8rem; }

/* ---------- Sticky call button (mobile) ---------- */
.sticky-call {
  display: none; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 70; background: var(--red); color: #fff; padding: 14px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(0,0,0,.5);
  align-items: center; gap: 8px;
}
@media (max-width: 640px) { .sticky-call { display: inline-flex; } body { padding-bottom: 78px; } }
