/*
 * LB Carclean footer, november 2026.
 * Footeren er Lukas visitkort: hans eget foto, hans egen linje og telefonnummeret som det ene
 * store greb. Ingen ikoner, ingen knapper, ingen bånd. Farverne er logoets navy og lyseblå.
 *
 * Alle selektorer starter med .lbf, og alle klasser i markup'en starter med lbf- (undtagen
 * cmplz-manage-consent, som Complianz kræver). Ingen globale selektorer, ingen @import, ingen fonte,
 * ingen url(). Reglerne har mindst samme vægt som temaets egne (p, p a, strong, a img, :focus og
 * .elementor-kit-1025 a:hover), så rækkefølgen af CSS-filerne er ligegyldig.
 * Skrift: Raleway, som sitet selv hoster (alle vægte ligger i samme variable fil).
 */

.lbf {
  --lbf-navy: #001c50;              /* logoets navy */
  --lbf-white: #ffffff;
  --lbf-soft: #b9c4da;              /* brødtekst, 9,3:1 på navy */
  --lbf-sky: #00a4f8;               /* logoets lyseblå: kun understregning ved hover og fokus, 6,0:1 */
  --lbf-focus: #6fc8ff;
  --lbf-line: rgba(255, 255, 255, .14);
  --lbf-underline: rgba(255, 255, 255, .35);

  display: block;
  clear: both;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--lbf-navy);
  color: var(--lbf-soft);
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Navy under footeren, når siden er kortere end skærmen (ellers ses temaets grå #e5e5e5).
     En skygge er kun maling: den ændrer hverken layout, scrollhøjde eller html/body. */
  box-shadow: 0 100vh 0 100vh var(--lbf-navy);
}

/* ---------- Nulstilling mod temaets regler for p, ul, li, strong, a, img og button ---------- */

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

.lbf p,
.lbf ul,
.lbf li,
.lbf nav {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

.lbf p {
  text-wrap: pretty;
}

.lbf ul,
.lbf li {
  list-style: none;
}

.lbf li::before,
.lbf li::after {
  content: none;
  display: none;
}

.lbf strong {
  color: var(--lbf-white);
  font-weight: 600;
}

.lbf a {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.lbf a:focus-visible,
.lbf button:focus-visible {
  outline: 2px solid var(--lbf-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.lbf img {
  display: block;
  max-width: 100%;
  border: 0;
}

.lbf svg {
  flex: none;
}

/* Kun for skærmlæsere */
.lbf .lbf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Container: 1170 px indhold som resten af sitet */
.lbf .lbf-wrap {
  width: 100%;
  max-width: 1234px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Links ---------- */

/* Svag streg i hvile, lyseblå ved hover og fokus. Vægten (0,2,0)+ slår temaets
   .elementor-kit-1025 a:hover (0,2,1) via :hover-reglen nedenfor (0,3,0). */
.lbf .lbf-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--lbf-white);
  text-decoration: underline;
  text-decoration-color: var(--lbf-underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.lbf .lbf-link:hover,
.lbf .lbf-link:focus-visible {
  color: var(--lbf-white);
  text-decoration: underline;
  text-decoration-color: var(--lbf-sky);
  text-decoration-thickness: 2px;
}

/* ---------- Hoveddelen: foto, Luka, telefon og de to steder ---------- */

.lbf .lbf-main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  grid-template-areas:
    "photo intro   places"
    "photo contact places";
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  padding: 72px 0 64px;
}

.lbf .lbf-photo {
  grid-area: photo;
  width: 260px;
  height: 325px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 4px;
  background: #0a2a66;
}

.lbf .lbf-intro {
  grid-area: intro;
  padding-top: 2px;
}

.lbf .lbf-line {
  max-width: 21em;
  color: var(--lbf-white);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.lbf .lbf-name {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.lbf .lbf-contact {
  grid-area: contact;
  align-self: end;
  padding-top: 32px;
}

/* Telefonnummeret er footerens ene store greb. Raleways standardtal er minuskeltal,
   så nummeret sættes med versaltal, ellers hopper 3 og 9 ned under linjen. */
.lbf .lbf-phone {
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.015em;
  font-variant-numeric: lining-nums;
}

.lbf .lbf-phone-link {
  color: var(--lbf-white);
  text-decoration: none;
}

.lbf .lbf-phone-link:hover,
.lbf .lbf-phone-link:focus-visible {
  color: var(--lbf-white);
  text-decoration: underline;
  text-decoration-color: var(--lbf-sky);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

.lbf .lbf-reach {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  margin-top: 14px;
}

.lbf .lbf-tp {
  margin-top: 24px;
}

.lbf .lbf-tp-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  min-height: 32px;
  color: var(--lbf-soft);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}

.lbf .lbf-tp-link:hover,
.lbf .lbf-tp-link:focus-visible {
  color: var(--lbf-soft);
  text-decoration: none;
}

.lbf .lbf-stars {
  display: block;
  width: 122px;
  height: 22px;
}

.lbf .lbf-tp-score {
  color: var(--lbf-white);
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.lbf .lbf-tp-link:hover .lbf-tp-text,
.lbf .lbf-tp-link:focus-visible .lbf-tp-text {
  text-decoration: underline;
  text-decoration-color: var(--lbf-sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* De to steder, Luka arbejder */
.lbf .lbf-places {
  grid-area: places;
  display: grid;
  align-content: start;
  row-gap: 32px;
  padding-top: 4px;
  font-size: 15px;
  line-height: 1.6;
}

.lbf .lbf-title {
  margin-bottom: 4px;
  color: var(--lbf-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.lbf .lbf-place .lbf-link {
  min-height: 28px;
}

.lbf .lbf-place p + p:not(.lbf-fine) {
  margin-top: 2px;
}

.lbf .lbf-fine {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Bundlinje: sider, firmaoplysninger og jura ---------- */

.lbf .lbf-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "nav   legalnav"
    "legal legal";
  align-items: center;
  column-gap: 40px;
  row-gap: 6px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--lbf-line);
  font-size: 14px;
  line-height: 1.6;
}

.lbf .lbf-nav {
  grid-area: nav;
}

.lbf .lbf-nav-list,
.lbf .lbf-legal-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 26px;
}

.lbf .lbf-nav .lbf-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration-color: transparent;
}

.lbf .lbf-nav .lbf-link:hover,
.lbf .lbf-nav .lbf-link:focus-visible {
  text-decoration-color: var(--lbf-sky);
}

.lbf .lbf-legal-nav {
  grid-area: legalnav;
}

.lbf .lbf-legal-nav .lbf-link {
  color: var(--lbf-soft);
}

.lbf .lbf-legal-nav .lbf-link:hover,
.lbf .lbf-legal-nav .lbf-link:focus-visible {
  color: var(--lbf-white);
}

.lbf .lbf-legal {
  grid-area: legal;
  color: var(--lbf-soft);
}

/* Cookieindstillinger er en knap: Complianz 7.5.6 genåbner kun banneret fra button.cmplz-manage-consent */
.lbf button.lbf-btnlink {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
  text-align: left;
  cursor: pointer;
}

/* ---------- Tablet, 768 til 1189 px ---------- */

@media (max-width: 1189px) {
  .lbf .lbf-main {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
      "photo  intro"
      "photo  contact"
      "places places";
    column-gap: 44px;
    padding: 56px 0 52px;
  }

  .lbf .lbf-photo {
    width: 220px;
    height: 275px;
  }

  .lbf .lbf-places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
    margin-top: 44px;
    padding-top: 0;
  }

  .lbf .lbf-base {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "nav"
      "legal"
      "legalnav";
    row-gap: 4px;
  }
}

/* Temaets til-top-knap står fast 30 px fra højre og bund (50 x 50 px), og Complianz' fane
   "Administrer samtykke" stikker 15 px op 40 px fra højre. Under 1330 px rækker indholdet ind
   under dem, så bundlinjens højre kant holdes fri. */
@media (min-width: 768px) and (max-width: 1329px) {
  .lbf .lbf-base {
    padding-right: 76px;
  }
}

/* ---------- Mobil, op til 767 px ---------- */

@media (max-width: 767px) {
  .lbf .lbf-wrap {
    padding: 0 20px;
  }

  .lbf .lbf-main {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas:
      "photo   intro"
      "contact contact"
      "places  places";
    grid-template-rows: auto;
    column-gap: 18px;
    padding: 36px 0 34px;
  }

  .lbf .lbf-photo {
    width: 104px;
    height: 130px;
  }

  .lbf .lbf-intro {
    align-self: center;
    padding-top: 0;
  }

  .lbf .lbf-line {
    font-size: 18px;
    line-height: 1.4;
  }

  .lbf .lbf-name {
    margin-top: 8px;
    font-size: 14px;
  }

  .lbf .lbf-contact {
    padding-top: 26px;
  }

  .lbf .lbf-phone {
    font-size: 46px;
  }

  .lbf .lbf-phone-link {
    display: inline-block;
    min-height: 48px;
  }

  .lbf .lbf-reach {
    margin-top: 6px;
    column-gap: 24px;
  }

  .lbf .lbf-tp {
    margin-top: 14px;
  }

  .lbf .lbf-tp-link {
    min-height: 44px;
    font-size: 14px;
  }

  .lbf .lbf-places {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--lbf-line);
  }

  /* Klikflader mindst 44 px høje */
  .lbf .lbf-link,
  .lbf .lbf-place .lbf-link {
    min-height: 44px;
  }

  .lbf .lbf-place p + p:not(.lbf-fine) {
    margin-top: 0;
  }

  .lbf .lbf-base {
    padding: 14px 0 20px;
    row-gap: 6px;
  }

  .lbf .lbf-nav-list {
    column-gap: 22px;
  }

  .lbf .lbf-legal-list {
    column-gap: 20px;
  }

  /* Til-top-knappen står fast 10 px fra højre og bund (50 x 50 px) på mobil */
  .lbf .lbf-legal-nav {
    padding-right: 52px;
  }
}

@media (max-width: 479px) {
  .lbf .lbf-base {
    font-size: 13px;
  }

  .lbf .lbf-legal-list {
    column-gap: 16px;
  }
}

@media print {
  .lbf {
    box-shadow: none;
  }
}
