/* ─────────────────────────────────────────
   Flügger Farver Nykøbing Mors – Shared CSS
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary:  #1d3557;
  --accent:   #e63946;
  --light:    #f1faee;
  --dark:     #1a1a1a;
  --text:     #333;
  --border:   #e0e0e0;
  --radius:   1.2rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.65;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 1rem;
}

.nav-logo {
  text-decoration: none;
  color: white;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo-main { display: block; font-size: 1rem; font-weight: 700; line-height: 1.1; }
.nav-logo-sub  { display: block; font-size: 0.72rem; opacity: 0.7; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.1rem;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); }

.nav-cta {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #c92a36; transform: scale(1.03); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--primary);
  color: white;
  padding: 6rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.38rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.4rem;
  letter-spacing: .04em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.12rem;
  opacity: .88;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2rem;
  font-size: 0.87rem;
  opacity: .78;
}
.trust-pills span { white-space: nowrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn-red {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(230,57,70,.38);
}
.btn-red:hover { background: #c92a36; transform: translateY(-2px); box-shadow: 0 7px 20px rgba(230,57,70,.45); }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: white; transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: #162843; transform: translateY(-2px); }

/* ── TRUST BAR ── */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-header p { font-size: 1.05rem; color: #555; max-width: 560px; }
.section-header.center p { margin: 0 auto; }

.bg-light  { background: var(--light); }
.bg-white  { background: #fff; }
.bg-primary { background: var(--primary); color: white; }
.bg-primary .section-header h2 { color: white; }
.bg-primary .section-header p  { color: rgba(255,255,255,.8); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }

/* ── CARDS ── */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 2px solid transparent;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.card-light { background: var(--light); box-shadow: none; }

.card-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.card h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p  { color: #555; font-size: .95rem; margin-bottom: 0; }

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ── SERVICE BLOCKS (detail pages) ── */
.service-blocks { display: flex; flex-direction: column; gap: 0; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { grid-template-columns: 2fr 1fr; }
.service-block.reverse .service-icon { order: 2; }

.service-icon { font-size: 5rem; text-align: center; }
.service-block h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: .8rem; }
.service-block p  { color: #444; }

.check-list { list-style: none; padding: 0; margin-top: 1rem; }
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .5rem;
  color: #444;
  font-size: .97rem;
}
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--accent); }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.step {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { color: var(--primary); font-size: 1rem; margin-bottom: .4rem; }
.step p  { color: #555; font-size: .9rem; margin-bottom: 0; }

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .25s, transform .25s;
}
.testimonial-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.t-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.t-header img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-header h3 { color: var(--primary); font-size: .97rem; margin-bottom: .15rem; }
.stars { color: #f4b942; font-size: .88rem; }

.t-quote {
  font-style: italic;
  color: #444;
  font-size: .95rem;
  line-height: 1.65;
  border-left: 3px solid var(--accent);
  padding-left: .9rem;
  margin-bottom: 1rem;
}

.btn-text {
  background: none;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 2rem;
  padding: .42rem .9rem;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-text:hover { background: var(--primary); color: white; }

/* ── MODALS ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 200;
  justify-content: center;
  align-items: center;
}
.modal-box {
  background: white;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  border-radius: var(--radius);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #666;
  line-height: 1;
}
.modal-box h3 { color: var(--primary); margin-bottom: 1rem; }
.modal-box .stars { margin-top: 1rem; font-size: 1.4rem; }

/* ── CTA BAND ── */
.cta-band {
  padding: 5rem 2rem;
  text-align: center;
}
.cta-band-inner { max-width: 700px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.cta-band p  { font-size: 1.1rem; opacity: .88; margin-bottom: 2rem; }

/* ── FORM ── */
.form-grid { display: grid; gap: 1rem; }
.form-row  { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-row input { flex: 1; min-width: 180px; }

input, textarea, select {
  width: 100%;
  padding: .9rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: .7rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,53,87,.1);
}
textarea { min-height: 130px; resize: vertical; }

.radio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.radio-row label { display: flex; align-items: center; gap: .4rem; font-weight: 500; cursor: pointer; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, transform .15s;
}
.btn-submit:hover { background: #c92a36; transform: scale(.99); }

.form-note { text-align: center; font-size: .88rem; color: #888; margin-top: .3rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
details {
  border: 1.5px solid var(--border);
  border-radius: .8rem;
  padding: 1.1rem 1.3rem;
  background: white;
  transition: border-color .2s;
}
details[open] { border-color: var(--primary); }
summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after  { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--accent); flex-shrink: 0; }
details[open] summary::after { content: '−'; }
details p { margin-top: .8rem; font-size: .96rem; color: #444; margin-bottom: 0; }

/* ── CONTACT GRID ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.map-frame {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 1rem;
  margin-top: 1.5rem;
}
.info-block { margin-bottom: 2rem; }
.info-block h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.1rem; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .6rem;
  font-size: .97rem;
  color: #333;
}
.info-row a { color: var(--primary); font-weight: 600; text-decoration: none; }
.info-row a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: white;
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col .footer-heading {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .55;
  margin-bottom: .9rem;
}
.footer-col p,
.footer-col a {
  font-size: .95rem;
  opacity: .82;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: .35rem;
  transition: opacity .2s;
}
.footer-col a:hover { opacity: 1; text-decoration: underline; }

.footer-fb { display: flex; align-items: center; gap: .5rem; }
.footer-fb img { width: 20px; height: 20px; opacity: .85; }

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  opacity: .5;
}
.footer-bottom a { color: white; }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── STICKY CALL (mobile) ── */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  border-radius: 50px;
  padding: .8rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(230,57,70,.44);
  z-index: 99;
  transition: background .2s;
}
.sticky-call:hover { background: #c92a36; }

/* ── COOKIE ── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  z-index: 999;
  font-size: .9rem;
}
.cookie-banner a { color: #ffcc00; }
.cookie-btn {
  background: #ffcc00;
  color: #222;
  border: none;
  padding: .45rem 1.1rem;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  margin-left: .7rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-block,
  .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-icon { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--primary);
    padding: 1rem 1.5rem 1.5rem;
    gap: .2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 1rem; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta { font-size: .82rem; padding: .5rem .9rem; }
  .sticky-call { display: inline-block; }
  .section { padding: 3.5rem 1.5rem; }
  .hero  { padding: 4rem 1.5rem 3rem; }
  .service-icon { font-size: 3.5rem; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .trust-pills { flex-direction: column; gap: .4rem; }
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 320px; text-align: center; }
}
