/* ==========================================================
   S&S Rengøringsservice – styles
   Farver taget fra logoet: blå #286aa6 og sort #1a1a1a
   ========================================================== */

:root {
  --blue: #286aa6;
  --blue-dark: #1d5286;
  --blue-tint: #eaf2f9;
  --ink: #1a1a1a;
  --text: #3d4652;
  --muted: #6b7582;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --border: #e2e8ef;
  --success: #1f8a4c;
  --error: #c0392b;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 12px 32px -12px rgba(16, 40, 72, .18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 40, 72, .28);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(40, 106, 166, .45); outline-offset: 2px; }

.icon svg, .btn svg, .nav-phone svg {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(40, 106, 166, .6); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: .6em 1.15em; font-size: .9rem; }
.btn-lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .9em;
}
.eyebrow-light { color: #9cc3e6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600 !important; }
.nav-phone svg { width: 17px; height: 17px; color: var(--blue); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 480px at 85% 10%, var(--blue-tint), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
.lead { font-size: 1.15rem; max-width: 36em; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li {
  position: relative; padding-left: 26px; font-weight: 500; font-size: .95rem; color: var(--ink);
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23286aa6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Plan card (illustration) */
.hero-visual { position: relative; }
.plan-card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg);
  max-width: 440px; margin-left: auto;
}
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.plan-label { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-title { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.plan-status {
  font-size: .78rem; font-weight: 600; color: var(--success);
  background: #e7f5ed; padding: 4px 10px; border-radius: 999px;
}
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-list li {
  display: grid; grid-template-columns: 44px 1fr auto 26px; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: .92rem;
}
.plan-day { font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.plan-task { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.plan-list li.is-next { background: #fff; border: 1px dashed var(--border); }
.plan-list li.is-next .plan-check { background: transparent; border: 2px solid var(--border); }
.plan-foot {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
}
.plan-foot span {
  font-size: .8rem; font-weight: 600; color: var(--blue-dark);
  background: var(--blue-tint); padding: 5px 11px; border-radius: 999px;
}

/* ---------- Clients ---------- */
.clients { padding: 44px 0; border-bottom: 1px solid var(--border); }
.clients-title {
  text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.client-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
}
.client-list li { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.client-list strong {
  font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: #8a94a1;
  letter-spacing: -.01em; transition: color .2s;
}
.client-list li:hover strong { color: var(--ink); }
.client-list span { font-size: .75rem; color: var(--muted); margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

.icon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--blue-tint); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }

/* Services */
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.service-card {
  flex: 1 1 300px; max-width: 360px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .icon { margin-bottom: 18px; }
.service-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Why */
.why-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.why-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.signature { display: flex; flex-direction: column; margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--blue); }
.signature-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.signature-role { font-size: .9rem; color: var(--muted); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-list li {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.why-list h3 { margin-bottom: .35em; }
.why-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.steps li { position: relative; padding: 0 8px; text-align: center; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px);
  border-top: 2px dashed var(--border);
}
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgba(40, 106, 166, .7);
}
.steps p { color: var(--muted); max-width: 30ch; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #c9d1db; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy > p { font-size: 1.08rem; max-width: 30em; }
.contact-direct { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-direct a, .contact-direct li > div {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: #fff;
  font-weight: 600; word-break: break-word;
}
.contact-direct a:hover span:last-child { color: #9cc3e6; }
.contact-direct small { display: block; font-weight: 500; font-size: .8rem; color: #8f9aa7; letter-spacing: .02em; }
.contact-direct .icon { background: rgba(255, 255, 255, .08); color: #9cc3e6; }

.form-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7582' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40, 106, 166, .12);
}
.field.has-error input { border-color: var(--error); }
.field-error { margin: 5px 0 0; font-size: .82rem; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.is-success { background: #e7f5ed; color: #14532d; }
.form-status.is-error { background: #fdecea; color: #7f1d1d; }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 56px 0 28px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 170px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: .92rem; }
.footer-col h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink); text-decoration: none; margin-bottom: 8px; font-size: .95rem; word-break: break-word; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--muted);
}

/* ---------- Mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .plan-card { margin: 0 auto; }
  .why-copy { position: static; }
  .hero h1 { max-width: 16ch; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 8px 24px 20px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 16px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .container { padding: 0 16px; }
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .brand-text { font-size: .72rem; letter-spacing: .1em; }
  .hero { padding: 44px 0 60px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .why-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li::after { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .client-list { gap: 14px 28px; }
  .contact-direct a, .contact-direct li > div { font-size: .9rem; }
  .plan-list li { grid-template-columns: 38px 1fr 22px; }
  .plan-time { display: none; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px -12px rgba(16, 40, 72, .2);
    transition: transform .25s;
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }
}

@media (max-width: 380px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
