/* Layout: lys, luftig side. Hero med tekst til venstre og butiksfoto med åbningstider til højre.
   Sektioner adskilles af luft og en svag blå tone; kun lyst tema. */
:root {
  color-scheme: light;
  --ink: #0b1f33;          /* tekst og mørke flader */
  --navy: #05305b;         /* logoets EL-skilt */
  --blue: #016aab;         /* logoets cirkel */
  --blue-soft: #e6f0f8;
  --tint: #f3f7fb;         /* sektionsbaggrund, kold off-white */
  --line: #dde6ef;
  --muted: #566a7e;
  --signal: #f5c518;       /* kun til døgnvagt */
  --bg: #ffffff;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
p { text-wrap: pretty; }
a { color: var(--blue); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-ink { background: var(--ink); color: #fff; white-space: nowrap; }
.btn-ink:hover { background: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }

/* Topbjælke */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.brand { flex: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--blue); }

/* Hero */
.hero { padding-block: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-text { min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--ink); margin-bottom: 22px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; min-width: 0; padding-bottom: 40px; }
.hours-card {
  position: absolute; left: -32px; bottom: 0;
  width: min(370px, 90%);
  background: #fff; border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: 0 24px 48px -16px rgba(11,31,51,.28), 0 2px 6px rgba(11,31,51,.06);
  display: grid; gap: 14px;
}
.hc-block { display: grid; gap: 4px; }
.hc-block + .hc-block { border-top: 1px solid var(--line); padding-top: 12px; }
.hc-head { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.hc-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy); flex: none; }
.hc-icon svg { width: 18px; height: 18px; }
.hours-card table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .93rem; }
.hours-card td { padding: 3px 0; }
.hours-card td:last-child { text-align: right; font-weight: 600; }
.hours-card-note { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(245,197,24,.25); flex: none; }

.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px;
  margin-top: 64px; padding-block: 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust li { font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Sektioner */
.section { padding-block: 104px; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-intro { color: var(--muted); font-size: 1.1rem; }

/* Ydelser */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; }
.service { display: grid; gap: 18px; align-content: start; }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--navy);
}
.service-body { min-width: 0; }
.service h3 { font-size: 1.4rem; margin-bottom: 8px; }
.service p { color: var(--muted); margin-bottom: 14px; }
.service ul { list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.service li { padding-left: 18px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1.5px; background: var(--blue); }

/* Døgnvagt */
.emergency {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: var(--signal); color: var(--ink);
  border-radius: var(--r-lg); padding: 40px 48px;
}
.emergency-text { flex: 1 1 380px; min-width: 0; }
.emergency h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 6px; }

/* Butik */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.shop-text { min-width: 0; }
.shop-text h2 { margin-bottom: 20px; }
.shop-text p { color: var(--muted); margin-bottom: 14px; max-width: 34em; }
.link-arrow { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--blue); }
.shop-list {
  list-style: none;
  background: var(--navy); color: #fff;
  border-radius: var(--r-lg); padding: 20px 40px;
}
.shop-list li {
  display: flex; align-items: baseline; gap: 22px;
  padding-block: 22px;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.shop-list li:last-child { border-bottom: 0; }
.shop-list span { font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: #8cc6ee; }

/* Om os */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.about-year {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(5rem, 14vw, 11rem); line-height: .9; letter-spacing: -0.05em;
  color: var(--navy);
}
.about-text { min-width: 0; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 1.1rem; color: var(--muted); margin-bottom: 14px; }
.why-title { font-size: 1.3rem; margin-block: 80px 28px; }
.why { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why li { background: #fff; border-radius: var(--r-md); padding: 26px; display: grid; gap: 8px; align-content: start; }
.why strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.why span { color: var(--muted); font-size: .95rem; }

/* Åbningstider: to adskilte kort, telefon og butik */
.hours .section-head { margin-bottom: 40px; }
.hours-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hours-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 20px; align-content: start; }
.hb-head { display: flex; align-items: center; gap: 16px; }
.hb-head > div { min-width: 0; }
.hb-icon { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.hb-head h3 { font-size: 1.5rem; margin-bottom: 2px; }
.hb-head a { color: var(--blue); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.hb-head a:hover { text-decoration: underline; }
.hours-box table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.hours-box td { padding: 14px 0; border-top: 1px solid var(--line); }
.hours-box tr:last-child td { border-bottom: 1px solid var(--line); }
.hours-box td:last-child { text-align: right; font-weight: 600; }
.closed { color: var(--muted); font-weight: 500; }
.small { font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 40em; }

/* Kontakt */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  background: var(--navy); color: #fff;
  border-radius: var(--r-lg); padding: 64px;
}
.contact-text { min-width: 0; }
.contact .kicker { color: #8cc6ee; }
.contact h2 { margin-bottom: 18px; }
.contact-text p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 28em; }
.contact-list { font-style: normal; min-width: 0; }
.contact-list div { display: flex; flex-direction: column; gap: 2px; padding-block: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-list div:first-child { padding-top: 0; }
.contact-list span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.contact-list a { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.45rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: #8cc6ee; }

/* Bund */
.footer { padding-block: 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.footer img { height: 48px; width: auto; }
.footer p { font-size: .9rem; color: var(--muted); text-align: right; }

/* Tablet */
@media (max-width: 1000px) {
  .nav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero-grid, .shop, .about, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { padding-bottom: 0; }
  .hours-card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 20px 0; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobil */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .brand img { height: 42px; }
  .hero { padding-top: 44px; }
  .section { padding-block: 72px; }
  .services, .why, .contact, .hours-cards { grid-template-columns: 1fr; }
  .hours-box { padding: 24px; }
  .services { gap: 44px; }
  .emergency { padding: 30px 24px; }
  .shop-list { padding: 8px 24px; }
  .contact { padding: 36px 24px; gap: 32px; }
  .trust { gap: 10px 24px; margin-top: 48px; }
  .footer p { text-align: left; }
}


/* Foto i hero (fra annoncematerialet) */
.hero-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--tint); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* Citat i Om os */
.quote { margin-top: 24px; padding-left: 20px; border-left: 3px solid var(--signal); }
.quote p { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; color: var(--navy); margin-bottom: 4px; }
.quote footer { font-size: .9rem; color: var(--muted); }
/* Åbningstidskortet må ikke dække fotoet: det lægges under billedet med et lille overlap */
.hero-visual { padding-bottom: 0; }
.hours-card { position: relative; left: auto; bottom: auto; margin: -48px 24px 0 auto; }
@media (max-width: 1000px) { .hours-card { margin: -40px 16px 0; width: auto; } }

/* Telefon: større logo, kort under fotoet uden overlap, mærker i et jævnt 2×2-gitter */
@media (max-width: 640px) {
  .topbar-inner { gap: 12px; padding-block: 10px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand img { height: auto; width: 100%; max-width: 210px; }
  .topbar .btn-sm { flex: none; padding: 10px 14px; font-size: .92rem; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .hours-card { margin: 16px 0 0; width: 100%; padding: 18px; border: 1px solid var(--line);
    box-shadow: 0 12px 28px -18px rgba(11,31,51,.3); }
  .hours-card td { padding: 2px 0; }
  .hours-card td:first-child { padding-right: 12px; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 36px; padding-block: 18px; }
  .trust li { font-size: .95rem; line-height: 1.3; align-items: flex-start; gap: 8px; }
  .trust li::before { margin-top: .45em; flex: none; }
}
@media (max-width: 640px) {
  .services { gap: 36px; }
  .service { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .service-icon { width: 44px; height: 44px; border-radius: 12px; }
  .service h3 { font-size: 1.3rem; margin-top: 8px; }
  .contact-list a { font-size: 1.25rem; }
  .why-title { margin-top: 56px; }
}
.hours-card td:first-child, .hours-box td:first-child { white-space: nowrap; }
@media (max-width: 380px) {
  .hours-card { padding: 16px 14px; }
  .hours-card table { font-size: .86rem; }
  .hours-box { padding: 20px 16px; }
  .hours-box table { font-size: .95rem; }
}
