/* Altiebonan — Dokumentation af interne processer
   Archetype: Sidebar Layout — Design DNA Seed: 7294-slatebreeze */

:root {
  --paper: #f4f2ec;
  --surface: #ffffff;
  --surface-alt: #eceae2;
  --ink: #191c22;
  --ink-soft: #3a3f49;
  --muted: #646a76;
  --line: #ddd9cf;
  --teal: #276b64;
  --teal-dark: #1c4f4a;
  --amber: #cf8a2d;
  --sand: #e7e2d6;
  --shadow: 0 18px 44px rgba(25, 28, 34, 0.12);
  --shadow-soft: 0 8px 22px rgba(25, 28, 34, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  display: flex;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--teal-dark); }

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

/* ---------- Sidebar ---------- */
.sidebar {
  width: 288px;
  flex-shrink: 0;
  background: var(--ink);
  color: #e9e7df;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  padding: 34px 28px;
  overflow-y: auto;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 6px;
}

.brand-mark {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark span { color: var(--amber); }

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9aa0ab;
  margin: 2px 0 26px;
}

.ad-flag {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #10131a;
  background: var(--amber);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  align-self: flex-start;
}

.ad-note {
  font-size: 0.72rem;
  color: #868d99;
  line-height: 1.5;
  margin: 0 0 28px;
  border-left: 2px solid #343842;
  padding-left: 10px;
}

.side-nav { display: flex; flex-direction: column; gap: 2px; }

.side-nav a {
  color: #c7cbd3;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.side-nav a:hover,
.side-nav a:focus,
.side-nav a.active {
  background: #23272f;
  color: #fff;
  transform: translateX(3px);
}

.side-meta {
  margin-top: auto;
  padding-top: 26px;
  font-size: 0.78rem;
  color: #868d99;
  line-height: 1.6;
}

.side-meta strong { color: #d7dae0; display: block; margin-bottom: 4px; font-weight: 600; }

.side-cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.18s, transform 0.18s;
}

.side-cta:hover, .side-cta:focus { background: var(--teal-dark); transform: translateY(-2px); }

/* ---------- Mobile top bar ---------- */
.topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 50;
}

.topbar .brand-mark { font-size: 1.3rem; }

.nav-toggle {
  background: none;
  border: 1px solid #3a3f49;
  color: #fff;
  width: 42px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Main ---------- */
.main {
  flex: 1;
  margin-left: 288px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

section { padding: clamp(56px, 7vw, 100px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 14px;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Hero (split) ---------- */
.hero {
  background: var(--ink);
  color: #efede6;
  padding: 0;
}

.hero-inner {
  display: flex;
  align-items: stretch;
  min-height: 78vh;
}

.hero-text {
  flex: 1 1 52%;
  padding: clamp(50px, 7vw, 96px) clamp(24px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 { color: #fff; max-width: 15ch; }
.hero-text .lead { color: #bfc4cd; }

.hero-media {
  flex: 1 1 48%;
  background-color: var(--teal-dark);
  position: relative;
  overflow: hidden;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 34px;
}

.hero-stats div { min-width: 120px; }
.hero-stats b { font-family: Georgia, serif; font-size: 1.9rem; color: var(--amber); display: block; }
.hero-stats span { font-size: 0.82rem; color: #9aa0ab; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn:hover, .btn:focus { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover, .btn-ghost:focus { background: rgba(255,255,255,0.1); }

.btn-amber { background: var(--amber); color: #201700; }
.btn-amber:hover, .btn-amber:focus { background: #b9791f; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.inline-link {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover, .inline-link:focus { color: var(--amber); }

/* ---------- Two column text ---------- */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: flex-start;
}
.two-col > div { flex: 1 1 320px; }

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}
.stat-strip div {
  flex: 1 1 150px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-strip b { font-family: Georgia, serif; font-size: 1.7rem; color: var(--teal); }
.stat-strip span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Services cards ---------- */
.band-alt { background: var(--surface-alt); }

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.card {
  flex: 1 1 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.card-media { background-color: var(--sand); height: 170px; }
.card-media img { width: 100%; height: 170px; object-fit: cover; }

.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 0.95rem; color: var(--muted); }

.price-tag {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 700;
  margin: 6px 0 14px;
}
.price-tag small { font-size: 0.78rem; color: var(--muted); font-weight: 400; font-family: inherit; }

.card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Approach steps ---------- */
.steps { margin-top: 44px; border-left: 2px solid var(--line); padding-left: 0; }
.step {
  display: flex;
  gap: 22px;
  padding: 0 0 34px 28px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute;
  left: -19px;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { color: var(--muted); margin: 0; }

/* ---------- Image band ---------- */
.image-band {
  position: relative;
  background-color: var(--teal-dark);
  overflow: hidden;
  padding: 0;
}
.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.image-band .band-content {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  color: #fff;
  max-width: 62ch;
}
.image-band h2 { color: #fff; }
.image-band p { color: #e4e2da; font-size: 1.15rem; }

/* ---------- Testimonials ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.quote {
  flex: 1 1 300px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--amber);
  box-shadow: var(--shadow-soft);
}
.quote:nth-child(2) { border-top-color: var(--teal); margin-top: 24px; }
.quote:nth-child(3) { border-top-color: var(--ink); }
.quote p { font-size: 1.02rem; font-style: italic; color: var(--ink-soft); }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); display: block; margin-top: 10px; }
.quote cite span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }

/* ---------- Form ---------- */
.form-band { background: var(--surface-alt); }
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
  max-width: 640px;
  margin-top: 36px;
}
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaf6;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 6px 0 20px; }
.form-step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #bfc4cd; max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 18px; }

/* ---------- Generic content pages ---------- */
.page-head { background: var(--surface-alt); padding: clamp(50px, 6vw, 84px) 0 clamp(36px, 4vw, 56px); }
.doc { max-width: 760px; }
.doc h2 { margin-top: 2em; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.5em; }

.info-cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.info-card {
  flex: 1 1 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.info-card h3 { font-family: Georgia, serif; }
.info-card p { color: var(--muted); margin: 0; }
.no-link { color: var(--ink); font-weight: 600; }

.media-figure { margin: 36px 0; border-radius: var(--radius); overflow: hidden; background-color: var(--sand); box-shadow: var(--shadow-soft); }
.media-figure img { width: 100%; height: auto; object-fit: cover; }
.media-figure figcaption { font-size: 0.82rem; color: var(--muted); padding: 12px 18px; background: var(--surface); }

/* ---------- Footer ---------- */
.site-footer {
  background: #14161b;
  color: #9aa0ab;
  margin-top: auto;
  padding: 56px 0 30px;
  font-size: 0.9rem;
}
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-cols > div { flex: 1 1 200px; }
.footer-cols h4 { color: #e4e2da; font-family: "Segoe UI", sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols a { color: #b4b9c2; text-decoration: none; display: block; padding: 4px 0; }
.footer-cols a:hover, .footer-cols a:focus { color: var(--amber); }
.footer-disclaimer { border-top: 1px solid #262a31; margin-top: 40px; padding-top: 24px; font-size: 0.82rem; line-height: 1.6; color: #7d838e; }
.footer-bottom { margin-top: 18px; font-size: 0.8rem; color: #6b717c; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 760px;
  background: #1f2229;
  color: #e9e7df;
  border: 1px solid #343842;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  z-index: 80;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: 0.88rem; line-height: 1.5; }
.cookie-banner a { color: var(--amber); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #3a3f49;
}
.btn-accept { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-accept:hover { background: var(--teal-dark); }
.btn-reject { background: transparent; color: #c7cbd3; }
.btn-reject:hover { background: #2a2e36; }

/* ---------- Thanks ---------- */
.thanks-wrap { display: flex; flex-direction: column; align-items: flex-start; max-width: 680px; }
.thanks-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}
.thanks-service {
  background: var(--surface-alt);
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  border-radius: 10px;
  margin: 22px 0;
  font-size: 0.98rem;
}

/* ---------- Utility helpers ---------- */
.mt-lg { margin-top: 28px; }
.eyebrow-amber { color: var(--amber); }
.form-error { color: #b3261e; font-size: 0.9rem; }
.btn-ghost-dark { color: var(--teal-dark); border-color: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { flex-direction: column; }
  .topbar { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    width: 280px;
    padding-top: 80px;
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; margin-top: 60px; }
  .hero-inner { flex-direction: column; }
  .hero-media { min-height: 300px; flex-basis: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}
