/* ── KACS Gruppen — marketing website ──────────────────────────────
   Standalone, no build step (hosted on Simply.com). Bright variant of
   the brand: same copper/navy identity as the internal KACS-APP, but
   white/cream surfaces instead of the app's dark navy dashboard theme. */

:root {
  --navy-900: #051424;
  --navy-800: #0a1c2f;
  --navy-700: #122a40;
  --ink: #16273a;
  --ink-soft: #4d6072;
  --ink-faint: #7c8ea0;

  --copper-700: #8a4419;
  --copper-600: #af5a25; /* brand core, matches app primaryContainer */
  --copper-500: #c9702f;
  --copper-400: #e08a4c;
  --copper-100: #fbe6d4;
  --copper-50: #fdf3ea;

  --cream: #fbf7f2;
  --white: #ffffff;
  --border: #ece2d6;
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(5, 20, 36, 0.06);
  --shadow: 0 12px 40px rgba(5, 20, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(5, 20, 36, 0.16);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--copper-500);
  border-radius: 2px;
}

h1, .h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
h2, .h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
h3, .h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
}
.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 60ch;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.section-head.left { margin: 0 0 40px; text-align: left; align-items: flex-start; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-900); color: rgba(255,255,255,0.88); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--copper-500), var(--copper-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(175, 90, 37, 0.32);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(175, 90, 37, 0.4); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--navy-900);
}
.btn-outline:hover { border-color: var(--copper-500); color: var(--copper-600); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.main-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.header-phone svg { flex: none; color: var(--copper-400); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--white);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
  padding: 76px 0 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; color: var(--white); }
.hero-copy .eyebrow { color: var(--copper-400); }
.hero-copy .eyebrow::before { background: var(--copper-400); }
.hero-copy h1 { color: var(--white); }
.hero-copy .lede { color: rgba(255,255,255,0.72); font-size: 18px; max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.hero-trust svg { color: var(--copper-400); flex: none; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.hero-art .plate {
  position: absolute;
  border-radius: var(--radius-lg);
}
.hero-art .plate-1 {
  inset: 8% 4% 18% 18%;
  background: linear-gradient(155deg, var(--copper-500), var(--copper-700));
  transform: rotate(-6deg);
  box-shadow: var(--shadow-lg);
}
.hero-art .plate-2 {
  inset: 18% 18% 8% 4%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  transform: rotate(4deg);
  backdrop-filter: blur(2px);
}
.hero-art .badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}
.hero-art .badge strong { font-size: 30px; color: var(--navy-900); letter-spacing: -0.02em; }
.hero-art .badge span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.hero-wave {
  display: block;
  width: 100%;
  height: auto;
  color: var(--white);
}

/* ── Trust strip ─────────────────────────────────────────────── */
.trust-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.trust-strip svg { color: var(--copper-500); flex: none; }

/* ── Cards / grids ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--copper-50);
  color: var(--copper-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card .service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
}
.service-card .service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.service-card .service-list svg { color: var(--copper-500); flex: none; margin-top: 3px; }
.service-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--copper-600);
  font-size: 14.5px;
}
.service-card .card-link svg { transition: transform 0.15s ease; }
.service-card:hover .card-link svg { transform: translateX(3px); }

.usp-card { text-align: left; }
.usp-card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }

/* ── Process steps ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ── Stats strip ─────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat span { font-size: 13.5px; color: rgba(255,255,255,0.62); font-weight: 600; }

/* ── CTA banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(120deg, var(--copper-600), var(--copper-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--copper-700);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.cta-banner .btn-primary:hover { color: var(--copper-800, var(--copper-700)); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.68); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 30px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 32ch; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.footer-contact svg { color: var(--copper-400); flex: none; margin-top: 2px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── Page header (inner pages) ───────────────────────────────── */
.page-hero {
  background: var(--navy-900);
  padding: 64px 0 72px;
  color: var(--white);
}
.page-hero .eyebrow { color: var(--copper-400); }
.page-hero .eyebrow::before { background: var(--copper-400); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 44px); }
.page-hero .lede { color: rgba(255,255,255,0.72); margin-top: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ── Service detail blocks ───────────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.service-detail + .service-detail { margin-top: 88px; }
.service-detail .visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--copper-100), var(--cream));
  border: 1px solid var(--border);
}
.service-detail .visual .swipe {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 42px,
      rgba(175,90,37,0.10) 42px 46px
    );
}
.service-detail .visual .mark {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-detail .visual .mark .icon-tile { margin: 0; }
.service-detail .visual .mark strong { display: block; font-size: 15px; color: var(--navy-900); }
.service-detail .visual .mark span { font-size: 13px; color: var(--ink-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--copper-50);
  color: var(--copper-700);
  font-size: 13px;
  font-weight: 700;
}
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.check-list svg { color: var(--copper-500); flex: none; margin-top: 3px; }

/* ── Values (om os) ──────────────────────────────────────────── */
.value-card { display: flex; gap: 16px; align-items: flex-start; }
.value-card .icon-tile { margin: 0; flex: none; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; }

.founder-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.founder-portrait .slash {
  position: absolute;
  width: 140%;
  height: 60px;
  background: linear-gradient(135deg, var(--copper-500), var(--copper-700));
  transform: rotate(-18deg);
  top: 38%;
  left: -20%;
  opacity: 0.9;
}
.founder-portrait .tag {
  position: relative;
  color: var(--white);
}
.founder-portrait .tag strong { display: block; font-size: 20px; }
.founder-portrait .tag span { font-size: 13.5px; color: rgba(255,255,255,0.65); }

/* ── Contact page ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card ul { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card .icon-tile { background: rgba(255,255,255,0.08); color: var(--copper-400); margin: 0; flex: none; width: 44px; height: 44px; }
.contact-info-card .icon-tile svg { width: 22px; height: 22px; }
.contact-info-card li strong { display: block; font-size: 14px; color: var(--white); }
.contact-info-card li span, .contact-info-card li a { font-size: 14.5px; color: rgba(255,255,255,0.68); }
.contact-info-card .hours-table { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.contact-info-card .hours-table div { display: flex; justify-content: space-between; }
.contact-info-card .hours-table span:last-child { color: rgba(255,255,255,0.9); font-weight: 600; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-note {
  background: var(--copper-50);
  border: 1px dashed var(--copper-400);
  color: var(--copper-700);
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--copper-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #eafaf0;
  border: 1px solid #b9ecc9;
  color: #146c3a;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 16px;
}
.form-success.visible { display: flex; }

.map-note {
  margin-top: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.map-note .icon-tile { margin: 0; flex: none; }
.map-note strong { display: block; color: var(--navy-900); font-size: 15px; }
.map-note span { font-size: 13.5px; color: var(--ink-soft); }

/* ── Utility ─────────────────────────────────────────────────── */
.placeholder { color: var(--copper-600); font-style: normal; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; }
  .service-detail, .service-detail + .service-detail { grid-template-columns: 1fr; margin-top: 56px; gap: 28px; }
  .founder-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
  .cta-banner { padding: 36px; flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--navy-900);
    border-top: 1px solid var(--border-dark);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .mobile-nav .btn { margin-top: 10px; }
}

@media (min-width: 761px) {
  .mobile-nav { display: none !important; }
}
