/* ── KoKo – Kommune Konform | Stylesheet ─────────────────────────────────── */
:root {
  --navy:   #1A2A5E;
  --teal:   #1A7A8E;
  --copper: #B87333;
  --green:  #1E7E34;
  --lgrey:  #F2F4F8;
  --mgrey:  #E0E8F4;
  --dgrey:  #333333;
  --white:  #FFFFFF;
  --shadow: 0 4px 20px rgba(26,42,94,0.12);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--dgrey); background: #fff; line-height: 1.65; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo span { color: var(--copper); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 0.5rem 1rem; border-radius: 6px;
  font-size: 0.95rem; font-weight: 500;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--teal); color: #fff; }
.nav-cta {
  background: var(--copper); color: #fff !important;
  padding: 0.5rem 1.25rem !important; border-radius: 6px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #a06828 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 25px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1a3c 60%, #1a3a6b 100%);
  color: #fff; padding: 5rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(26,122,142,0.12);
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 3rem; position: relative; }
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block; background: rgba(184,115,51,0.2); color: var(--copper);
  border: 1px solid var(--copper); border-radius: 20px;
  padding: 0.3rem 1rem; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 span { color: var(--copper); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 550px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--copper); color: #fff;
  padding: 0.85rem 2rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(184,115,51,0.4);
}
.btn-primary:hover { background: #a06828; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: all 0.2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.hero-image { flex: 0 0 340px; display: flex; align-items: center; justify-content: center; }
.hero-logo-wrap {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px; padding: 2.5rem;
}
.hero-logo-wrap img { width: 200px; height: auto; }
.hero-stats {
  display: flex; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.hero-stat {
  text-align: center; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
  padding: 0.75rem 1.5rem;
}
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--copper); }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 4.5rem 2rem; }
.section-grey { background: var(--lgrey); }
.section-navy { background: var(--navy); color: #fff; }
.section-teal { background: var(--teal); color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem;
  font-weight: 700; color: var(--copper); margin-bottom: 0.75rem;
}
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.section-navy .section-title, .section-teal .section-title { color: #fff; }
.section-sub { font-size: 1.1rem; color: #555; max-width: 650px; margin-bottom: 3rem; }
.section-navy .section-sub, .section-teal .section-sub { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem;
  border-top: 4px solid var(--teal); transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: #666; }
.card-copper { border-top-color: var(--copper); }
.card-navy { border-top-color: var(--navy); }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.step {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--navy); color: #fff;
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step:last-child .step-num { background: var(--copper); }
.step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: #666; }

/* ── Team ───────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.team-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.team-top { background: var(--navy); padding: 2rem; text-align: center; }
.team-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--copper);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: #fff;
  margin: 0 auto 1rem;
}
.team-top h3 { color: #fff; font-size: 1.2rem; font-weight: 700; }
.team-top .role { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 0.25rem; }
.team-body { padding: 1.5rem; }
.team-cert { display: inline-block; background: #e8f4e8; color: var(--green); border-radius: 4px; padding: 0.2rem 0.6rem; font-size: 0.8rem; font-weight: 600; margin: 0.15rem; }
.team-desc { margin-top: 1rem; font-size: 0.92rem; color: #555; }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.price-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; text-align: center;
  transition: transform 0.2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border: 2px solid var(--copper); }
.price-top { padding: 1.75rem 1.5rem; background: var(--navy); color: #fff; }
.price-card.featured .price-top { background: var(--teal); }
.price-tier { font-size: 1.3rem; font-weight: 800; }
.price-seg { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.25rem; }
.price-badge { display: inline-block; background: var(--copper); color: #fff; border-radius: 20px; padding: 0.2rem 0.8rem; font-size: 0.78rem; font-weight: 700; margin-top: 0.5rem; }
.price-body { padding: 1.75rem 1.5rem; }
.price-amount { font-size: 3rem; font-weight: 900; color: var(--navy); line-height: 1; }
.price-card.featured .price-amount { color: var(--teal); }
.price-unit { font-size: 0.9rem; color: #888; margin-bottom: 1rem; }
.price-users { font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.price-year { font-size: 0.9rem; color: #888; margin-bottom: 1.25rem; }
.price-features { list-style: none; text-align: left; font-size: 0.9rem; color: #555; }
.price-features li { padding: 0.3rem 0; }
.price-features li::before { content: "✓  "; color: var(--green); font-weight: 700; }

/* ── Problem/Solution ───────────────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.problem-box { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.problem-box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.problem-box.red h3 { color: #b03020; }
.problem-box.green h3 { color: var(--green); }
.fact-list { list-style: none; }
.fact-list li { padding: 0.55rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--lgrey); display: flex; gap: 0.75rem; }
.fact-list li:last-child { border-bottom: none; }
.fact-list .icon { flex: 0 0 1.5rem; font-size: 1rem; }

/* ── Highlight Bar ──────────────────────────────────────────────────────── */
.highlight-bar {
  background: var(--copper); color: #fff;
  text-align: center; padding: 1.25rem 2rem;
  font-size: 1.15rem; font-weight: 700;
}

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.contact-form { background: #fff; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--mgrey); border-radius: 6px;
  font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  background: var(--navy); color: #fff; border: none;
  padding: 0.85rem 2rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  cursor: pointer; width: 100%; transition: background 0.2s;
}
.btn-submit:hover { background: var(--teal); }
.contact-info { padding: 1rem 0; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item .ci-icon { font-size: 1.5rem; flex: 0 0 2rem; margin-top: 0.1rem; }
.contact-item strong { display: block; color: var(--navy); font-weight: 700; }
.contact-item span { color: #666; font-size: 0.95rem; }

/* ── Legal ──────────────────────────────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--teal); margin: 1.25rem 0 0.5rem; }
.legal-content p { margin-bottom: 0.75rem; color: #444; line-height: 1.7; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.4rem; color: #444; }
.legal-content a { color: var(--teal); }

/* ── Page Hero (subpages) ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1a3c 100%);
  color: #fff; padding: 3.5rem 2rem 3rem; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.page-hero-bar { height: 5px; background: var(--copper); }

/* ── CTA Section ────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--navy); color: #fff;
  text-align: center; padding: 4rem 2rem;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: #0a1428; color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 55px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-top: 0.5rem; }
.footer-col h4 { color: var(--copper); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--copper); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--copper); text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.copper { color: var(--copper); }
.teal { color: var(--teal); }
.navy { color: var(--navy); }
.tag { display: inline-block; background: var(--mgrey); color: var(--navy); border-radius: 20px; padding: 0.25rem 0.75rem; font-size: 0.82rem; font-weight: 600; margin: 0.15rem; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 2.25rem; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-image { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.75rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
