/* Delt stylesheet til faste sider (om-os.html, kontakt.html m.fl.) —
   genbruger farver/komponenter fra forsiden (index.html). */
:root {
  --navy: #0e3a5c;
  --navy-dark: #092a44;
  --navy-light: #eaf2f8;
  --accent: #ff7a1a;
  --accent-dark: #e26405;
  --green: #1f9d55;
  --sale: #e1251b;
  --text: #21303d;
  --text-light: #64748b;
  --line: #e4ebf2;
  --bg: #f7f9fb;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(14,58,92,.07);
  --shadow-hover: 0 12px 32px rgba(14,58,92,.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: #bcd3e6; font-size: .84rem; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

/* ---------- Header ---------- */
header { background: #fff; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1240px; margin: 0 auto; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.32rem; font-weight: 800; color: var(--navy);
  text-decoration: none; white-space: nowrap; letter-spacing: -.3px;
}
.logo .logo-mark { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .94rem; }
.nav-links a:hover { color: var(--accent); }

.cart-btn {
  position: relative; background: var(--navy); color: #fff;
  border: none; border-radius: 999px; padding: 10px 20px;
  font-weight: 700; font-size: .94rem; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: background .2s; font-family: inherit; text-decoration: none;
}
.cart-btn:hover { background: var(--navy-dark); }
.cart-count {
  background: var(--accent); border-radius: 999px;
  min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; padding: 0 6px;
}
.burger { display: none; background: none; border: none; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform .15s, background .2s, box-shadow .15s;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,122,26,.35); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* ---------- Sidebanner ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, #15517e 100%);
  color: #fff; padding: 46px 0; text-align: center;
}
.page-banner h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -.4px; margin-bottom: 8px; }
.page-banner p { color: #c3d8e8; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.section-head .kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; font-size: .78rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--navy); margin: 8px 0 10px; letter-spacing: -.4px; }
.section-head p { color: var(--text-light); }

/* ---------- Hvorfor os ---------- */
.why { background: #fff; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp { text-align: center; padding: 12px; }
.usp .num { font-size: 2.1rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.usp .label { font-weight: 700; color: var(--navy); margin-top: 4px; }
.usp p { font-size: .86rem; color: var(--text-light); margin-top: 6px; }

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; text-align: center; padding: 52px 0;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-banner p { margin-bottom: 22px; font-size: 1.06rem; opacity: .95; }

/* ---------- Indhold (Om os) ---------- */
.info-block { max-width: 760px; margin: 0 auto 40px; }
.info-block h2 { color: var(--navy); margin-bottom: 10px; font-size: 1.3rem; }
.info-block p { color: var(--text-light); margin-bottom: 10px; }

/* ---------- Kontakt ---------- */
.contact .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info p { color: var(--text-light); margin-bottom: 22px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-weight: 600; }
.contact-line .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line .icon svg { width: 22px; height: 22px; }
.contact-line small { display: block; font-weight: 400; color: var(--text-light); }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.contact-card h3 { color: var(--navy); margin-bottom: 16px; }
.form-group { margin-bottom: 11px; }
label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 4px; }
input, textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .93rem; font-family: inherit; background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--navy); }
textarea { resize: vertical; min-height: 80px; }
.form-success {
  display: none; background: #e6f7ec; border: 1.5px solid #2eaa5e; color: #19743c;
  padding: 13px; border-radius: 10px; font-weight: 600; text-align: center;
  margin-top: 10px; font-size: .9rem;
}

/* ---------- Footer ---------- */
footer { background: var(--navy-dark); color: #a9c4d9; padding: 46px 0 22px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: #a9c4d9; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; text-align: center; font-size: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact .inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .cart-btn span.cart-label { display: none; }
}
