:root {
  --bg: #f5f7fa;
  --bg-light: #ffffff;
  --primary: #7a1f2b;
  --primary-soft: rgba(122, 31, 43, 0.1);
  --text: #1f2933;
  --muted: #52606d;
  --accent: #d9e2ec;
  --max-width: 1100px;
  font-size: 16px;
  font-family: 'Urbanist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.95rem 2.5rem; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 600; letter-spacing: 0.04em;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  box-shadow: 0 12px 30px rgba(122, 31, 43, 0.25);
}
.button:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 31, 43, 0.3); }
.button--ghost {
  background: transparent; color: var(--primary); box-shadow: none;
  border: 1px solid rgba(122,31,43,.3);
}
.button--ghost:hover { background: rgba(122,31,43,.08); transform: translateY(-2px); }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203,210,217,.6);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.site-header__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 2.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; color: var(--primary); }
.brand__logo { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.nav__link {
  position: relative; font-weight: 500; color: var(--muted); transition: color .3s ease; padding: .25rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -.3rem; width: 0; height: 2px; background: var(--primary); transition: width .3s ease;
}
.nav__link:hover, .nav__link.nav__link--active { color: var(--primary); }
.nav__link:hover::after, .nav__link.nav__link--active::after { width: 100%; }
.nav__cta {
  border: 1px solid rgba(122,31,43,.3); border-radius: 999px; padding: .65rem 1.4rem;
  font-weight: 600; color: var(--primary); transition: background .3s ease, color .3s ease;
}
.nav__cta:hover { background: var(--primary); color: #fff; }

/* Main padding (samlad) */
main { padding: 0 1.5rem 6rem; }

/* Hero */
.hero {
  position: relative; display: grid; place-items: center;
  padding: 8rem 1.5rem 6rem; overflow: hidden;
  background: linear-gradient(135deg, #f8f9fb 0%, #e4ebf5 60%);
}
.hero--home { min-height: clamp(540px, 70vh, 680px); text-align: center; }
.hero--subpage { min-height: 380px; align-items: end; padding-bottom: 4.5rem; }

.hero__overlay {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1503389152951-9f343605f61e?auto=format&fit=crop&w=1600&q=80') center/cover;
  opacity: .12; filter: grayscale(40%); mix-blend-mode: multiply;
}
.hero__overlay--services { background: url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=1600&q=80') center/cover; }
.hero__overlay--about { background: url('https://images.unsplash.com/photo-1505731132164-cca9034a7c22?auto=format&fit=crop&w=1600&q=80') center/cover; }
.hero__overlay--contact { background: url('https://images.unsplash.com/photo-1523419409543-0c1df022bdd1?auto=format&fit=crop&w=1600&q=80') center/cover; }

.hero__content { position: relative; max-width: 720px; text-align: center; z-index: 1; }
.hero--subpage .hero__content { text-align: left; }

.hero__tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem;
  border-radius: 999px; background: var(--primary-soft); color: var(--primary);
  letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; font-weight: 700;
}
.hero h1 { font-size: clamp(2.5rem, 4vw, 3.6rem); font-weight: 700; margin: 1.5rem 0 1rem; }
.hero p { color: var(--muted); font-size: 1.1rem; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero--subpage .hero__actions, .hero--subpage .hero__content { justify-self: start; }

/* Intro */
.intro { margin-top: -4rem; position: relative; display: grid; justify-content: center; }
.intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top, rgba(122,31,43,.08), transparent 55%); z-index: -1; }
.intro__grid { display: grid; gap: 2rem; align-items: stretch; }
.intro__card {
  background: var(--bg-light); padding: 3rem; border-radius: 24px; max-width: 920px;
  box-shadow: 0 20px 45px rgba(15,23,42,.12); border: 1px solid rgba(217,226,236,.8);
}
.intro__card h2 { font-size: 2rem; margin-bottom: 1rem; }
.intro__card p { color: var(--muted); font-size: 1.05rem; }
.intro__sub { margin-top: 1.5rem; color: var(--primary); font-weight: 600; }

.intro__highlights {
  display: grid; gap: 1.75rem;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(243,246,250,.8));
  border-radius: 24px; padding: 2.5rem;
  border: 1px solid rgba(217,226,236,.8); box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.intro__highlights h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.intro__highlights p { color: var(--muted); }

/* Section heading */
.section-heading { max-width: var(--max-width); margin: 6rem auto 2rem; text-align: left; }
.section-heading span { text-transform: uppercase; letter-spacing: .3em; font-size: .75rem; color: var(--primary); font-weight: 700; }
.section-heading h2 { margin-top: 1rem; font-size: clamp(2rem, 3vw, 2.8rem); }

.services-preview { margin-top: 4rem; }

/* Services */
.services__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: var(--max-width); margin: 0 auto;
}
.service-card {
  background: var(--bg-light); border: 1px solid rgba(217,226,236,.8); border-radius: 20px; padding: 1.75rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(122,31,43,.08), transparent 55%);
  opacity: 0; transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(122,31,43,.4); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.service-card:hover::after { opacity: 1; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); position: relative; z-index: 1; }

/* Process */
.process {
  background: var(--bg-light); border-radius: 32px; padding: 4rem 1.5rem 4.5rem; margin: 6rem auto 0;
  max-width: var(--max-width); border: 1px solid rgba(217,226,236,.8); box-shadow: 0 30px 60px rgba(15,23,42,.1);
}
.process__steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 3rem; }
.step { background: #fdfdfd; border-radius: 20px; padding: 2rem; position: relative; border: 1px solid rgba(217,226,236,.8); box-shadow: 0 12px 30px rgba(15,23,42,.08); }
.step__number { font-size: .85rem; letter-spacing: .5em; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.step p { color: var(--muted); }

/* Contact */
.contact-section { margin: 6rem auto 0; max-width: var(--max-width); }
.contact-section__grid {
  display: grid; gap: 2rem; align-items: start;
  grid-template-columns: 1fr 1fr; /* desktop 2 kolumner */
}

.contact-card, .contact-form {
  background: var(--bg-light); border-radius: 28px; padding: 2.75rem 2.5rem;
  border: 1px solid rgba(217,226,236,.8); box-shadow: 0 20px 45px rgba(15,23,42,.1);
}

.contact-card h2, .contact-form h2 { font-size: 2rem; margin-bottom: 1.5rem; }

.contact-card__item + .contact-card__item { margin-top: 1.5rem; }

.contact-card__label {
  display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--primary); font-weight: 700; margin-bottom: .35rem;
}

.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.contact-form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: .6rem; }
.form__row--split { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.25rem; }
.form__row--split > div { display: grid; gap: .6rem; }

.form__row label { display: block; font-weight: 600; color: var(--text); }

.form__row input, .form__row textarea {
  width: 100%; border-radius: 16px; border: 1px solid var(--accent); padding: .85rem 1rem;
  font-size: 1rem; background: #fdfdfd; transition: border-color .2s ease, box-shadow .2s ease;
}
.form__row textarea { resize: vertical; min-height: 140px; }

.form__row input:focus, .form__row textarea:focus {
  outline: none; border-color: rgba(122,31,43,.6); box-shadow: 0 0 0 4px rgba(122,31,43,.12);
}

.form__note { font-size: .85rem; color: var(--muted); }

/* Form status (rensad + matchar JS) */
.form__status {
  border-radius: 16px; padding: .85rem 1rem; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; background: rgba(82,96,109,.1); color: var(--text);
  transition: opacity .2s ease;
}
.form__status[hidden] { display: none; }
.form__status--info    { background: rgba(82,96,109,.08); border-color: rgba(82,96,109,.2); color: var(--muted); }
.form__status--success { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.form__status--error   { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* Service areas */
.service-areas { margin: 6rem auto 0; max-width: var(--max-width); }
.service-areas__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service-areas h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.service-areas ul { padding-left: 1.2rem; color: var(--muted); }
.service-areas li { margin-bottom: .5rem; }

/* CTA band */
.cta-band { margin: 6rem auto 0; background: linear-gradient(135deg, rgba(122,31,43,.1), rgba(122,31,43,.02)); }
.cta-band__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 3rem 1.5rem;
  display: grid; gap: 1.5rem; align-items: center; justify-content: space-between;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band__inner h2 { font-size: 2rem; margin-bottom: .5rem; }
.cta-band__inner p { color: var(--muted); }

/* Footer */
footer { margin-top: 6rem; background: #f0f4f8; border-top: 1px solid rgba(203,210,217,.6); }
.footer__content { max-width: var(--max-width); margin: 0 auto; padding: 4rem 1.5rem 2.5rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 2rem; }
.footer__label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.footer__grid a { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.footer__grid a:hover { color: var(--primary); }
.footer__grid p { color: var(--muted); font-size: 1.05rem; }
.footer__note { text-align: center; padding: 1.5rem 1rem 2rem; color: var(--muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; }
  .nav { flex: 1 1 100%; order: 3; justify-content: center; }
  .nav__cta { order: 2; }
  .hero { padding: 6.5rem 1.25rem 5.5rem; }
  .intro { margin-top: -2rem; }
  .contact-section__grid { grid-template-columns: 1fr; }
  .cta-band__inner { text-align: center; }
  .cta-band__actions { justify-content: center; }
}

@media (max-width: 720px) {
  .intro__card { padding: 2.25rem; }
  .hero h1 { font-size: clamp(2.3rem, 8vw, 3.2rem); }
  .services__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .intro__highlights, .process { padding: 2rem 1.25rem 2.25rem; }
  .contact-card, .contact-form { padding: 2.25rem 1.75rem; }
  .form__row--split { grid-template-columns: 1fr; }
}
