/* ==========================================================================
   R KONCEPT — Design system
   Farver hentet fra det oprindelige logo (Degn Grafisk):
   navy #004776, himmelblå #54AADC
   ========================================================================== */

:root{
  --navy: #0B3B5C;
  --navy-deep: #072A42;
  --sky: #4A97C9;
  --sky-light: #EAF3F9;
  --sage: #7C9885;
  --paper: #FAF7F1;
  --paper-warm: #F3EEE4;
  --white: #FFFFFF;
  --ink: #1E2B33;
  --ink-soft: #4B5A62;
  --ink-faint: #8B9AA1;
  --border: #E4DED0;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 6px;
  --shadow: 0 12px 32px -16px rgba(11, 59, 92, 0.22);
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4{
  font-family: var(--serif);
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 500; }
h2{ font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
h3{ font-size: 1.28rem; }

p{ margin: 0 0 1.1em; color: var(--ink-soft); }

.lede{
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--sage);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary{
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover{ background: var(--navy-deep); transform: translateY(-1px); }

.btn-ghost{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover{ background: var(--navy); color: var(--white); }

.btn-light{
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover{ transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo{ display: flex; align-items: center; gap: 10px; }
.logo img{ height: 34px; width: auto; }

.nav{
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav ul{
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.nav a{ position: relative; padding: 6px 0; }
.nav a:hover{ color: var(--sky); }
.nav a.active-link{ color: var(--sky); }
.nav a.active-link::after{
  content: "";
  position: absolute; left:0; right:0; bottom: -2px;
  height: 2px; background: var(--sky);
  border-radius: 2px;
}
.nav li.has-dropdown{ position: relative; }
.dropdown{
  position: absolute;
  top: 100%; left: -14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 210px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .16s ease;
}
li.has-dropdown:hover .dropdown{
  opacity: 1; visibility: visible; transform: translateY(2px);
}
.dropdown a{
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  font-weight: 500;
}
.dropdown a:hover{ background: var(--sky-light); color: var(--navy); }

.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-phone{
  font-weight: 700; color: var(--navy-deep); font-size: 0.95rem;
  display:flex; align-items:center; gap:6px;
}

.menu-toggle{ display:none; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 76px 0 100px;
  overflow: hidden;
}
.hero-path{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero .container{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lede{ max-width: 46ch; }
.hero-actions{ display:flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-media{
  position: relative;
}
.hero-media-frame{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img{ width: 100%; height: 480px; object-fit: cover; display: block; }
.hero-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 26px 22px;
  background: linear-gradient(180deg, rgba(11,59,92,0) 0%, rgba(7,42,66,0.88) 78%);
  color: var(--white);
}
.hero-caption strong{ font-family: var(--serif); font-size: 1.1rem; display:block; margin-bottom: 3px; color: var(--white); font-weight: 600; }
.hero-caption span{ color: rgba(255,255,255,0.82); font-size: 0.88rem; }

/* ---------- Sections ---------- */
section{ padding: 92px 0; }
.section-alt{ background: var(--paper-warm); }
.section-navy{ background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy .eyebrow{ color: var(--white); }
.section-navy .eyebrow::before{ background: var(--sky); }
.section-navy p{ color: rgba(255,255,255,0.78); }

.section-head{
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Offer cards ---------- */
.offer-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.offer-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.offer-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.offer-icon{
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--sky-light);
  color: var(--navy);
  display: flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.offer-card h3{ margin-bottom: 10px; }
.offer-card p{ font-size: 0.96rem; flex-grow: 1; }
.offer-card .card-link{
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.offer-card .card-link .arrow{ transition: transform .18s ease; }
.offer-card:hover .card-link .arrow{ transform: translateX(4px); }

/* ---------- Split / About ---------- */
.split{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split.reverse{ grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media{ order: 2; }
.split-media img{
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- Quote ---------- */
.pull-quote{
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.42;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote span{ color: var(--sky); }

/* ---------- Team ---------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.team-card{ text-align: left; }
.team-photo{
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--sky-light);
  border: 1px solid var(--border);
}
.team-photo img{ width: 100%; height: 100%; object-fit: cover; }
.team-card h3{ margin-bottom: 2px; }
.team-role{ color: var(--sage); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display:block; }
.team-card p{ font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.price-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured{ border-color: var(--navy); position: relative; }
.price-badge{
  position: absolute;
  top: -13px; left: 26px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.price-top{
  padding: 34px 28px 26px;
  border-bottom: 1px solid var(--border);
}
.price-top .price-name{ font-weight: 700; color: var(--sage); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 10px; display:block; }
.price-amount{ font-family: var(--serif); font-size: 2.4rem; color: var(--navy-deep); font-weight: 600; }
.price-amount sub{ font-size: 1rem; font-weight: 500; color: var(--ink-faint); }
.price-body{ padding: 24px 28px 30px; flex-grow:1; display:flex; flex-direction: column; }
.price-body ul{ list-style:none; margin:0 0 22px; padding:0; }
.price-body li{
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--border);
}
.price-body li:last-child{ border-bottom: none; }
.price-body li::before{
  content: "✓";
  position: absolute; left: 0; top: 9px;
  color: var(--sage);
  font-weight: 700;
}
.price-note{
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 26px 30px;
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.price-note strong{ color: var(--navy-deep); }

/* ---------- Steps ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step{ position: relative; padding-left: 54px; }
.step::before{
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  display:flex; align-items:center; justify-content:center;
}

/* ---------- Checklist grid (unge/for/par) ---------- */
.check-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.check-grid li{
  position: relative;
  padding-left: 30px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.check-grid li::before{
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--sky-light);
  border: 1.5px solid var(--sky);
}

/* ---------- Contact ---------- */
.contact-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3{ margin-top: 32px; margin-bottom: 12px; font-size: 1.1rem; }
.contact-info h3:first-child{ margin-top: 0; }
.contact-line{ display:flex; gap:12px; align-items:flex-start; margin-bottom: 12px; color: var(--ink-soft); }

.form-field{ margin-bottom: 20px; }
.form-field label{ display:block; font-weight: 700; font-size: 0.88rem; margin-bottom: 7px; color: var(--navy-deep); }
.form-field input, .form-field textarea{
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus{
  outline: none;
  border-color: var(--sky);
}
.form-field textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: 0.82rem; color: var(--ink-faint); margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band{
  text-align: center;
}
.cta-band h2{ margin-bottom: 0.35em; }
.cta-band p.lede{ margin: 0 auto 30px; }
.cta-band .hero-actions{ justify-content: center; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo{ height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-grid h4{
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; }
.footer-grid li{ margin-bottom: 11px; font-size: 0.93rem; }
.footer-grid a:hover{ color: var(--white); }
.footer-bottom{
  padding-top: 26px;
  display:flex; justify-content: space-between; align-items:center;
  font-size: 0.83rem; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero{
  padding: 62px 0 66px;
  position: relative;
  overflow: hidden;
}
.page-hero .container{ position:relative; z-index:1; max-width: 780px; }
.page-hero .eyebrow{ margin-bottom: 14px; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.narrow{ max-width: 720px; }
.narrow.center{ margin-left:auto; margin-right:auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .offer-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid{ grid-template-columns: repeat(3, 1fr); }
  .price-grid{ grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .steps{ grid-template-columns: 1fr; gap: 26px; }
  .split, .split.reverse{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order: 0; }
  .hero .container{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .contact-wrap{ grid-template-columns: 1fr; gap: 40px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 700px){
  .nav{ position: fixed; inset: 84px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .nav.open{ transform: translateX(0); }
  .nav ul{ flex-direction: column; gap: 4px; font-size: 1.05rem; }
  .nav ul li{ border-bottom: 1px solid var(--border); }
  .nav a{ display:block; padding: 14px 4px; }
  .dropdown{ position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; display:none; padding-left: 10px; }
  li.has-dropdown.open .dropdown{ display:block; }
  .nav-cta{ margin-top: 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .menu-toggle{
    display: flex; align-items:center; justify-content:center;
    width: 42px; height: 42px; border-radius: 8px;
    border: 1.5px solid var(--border); background: var(--white);
  }
  .offer-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: 1fr; }
  .check-grid{ grid-template-columns: 1fr; }
  section{ padding: 60px 0; }
  .hero{ padding: 48px 0 60px; }
  .hero-caption{ padding: 44px 20px 18px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}
