/* #region GENERAL */

:root { 
    --paper: #fffff1;
    --blue: #1f54a2;
    --page-padding: clamp(12px, 2vw, 48px);
    --spage-padding: clamp(6px, 1vw, 18px);
    --gap: clamp(12px, 2vw, 48px);
    --small-gap: clamp(8px, 1vw, 24px);
}

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

html,
body { 
    margin: 0;
    padding: 0;
    background: var(--paper);
}

body { 
    font-family: Arial, Helvetica, sans-serif;
}

img { 
    display: block;
    max-width: 100%;
}

a { 
    color: var(--blue);
}

a,
button,
label { 
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible { 
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

main,
section,
section div,
.header > * { 
    min-width: 0;
}

h1,
h2,
h3,
p,
a { 
    overflow-wrap: anywhere;
}

.visually-hidden { 
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* #endregion */

/* #region HEADER */

.header { 
    --header-blue: #355ca8;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 0;
    height: auto;
    gap: clamp(16px, 4vw, 80px);
    padding: 16px clamp(12px, 2.5vw, 48px);
    background: #eeeee6;
    border-bottom: 1px solid #355ca8;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--header-blue);
}

.header > * { 
    min-width: 0;
}

.header .logo-c { 
    grid-column: auto;
    grid-row: auto;
    display: flex;
    align-items: center;
    height: 44px;
}

.header .logo-btn { 
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    color: var(--header-blue);
    text-decoration: none;
}

.header .logo-btn img { 
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.header .logo-h { 
    display: block;
    margin: 0;
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 400;
    white-space: nowrap;
}

.header .nav-menu { 
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 12px clamp(16px, 2.5vw, 46px);
    padding-inline: clamp(16px, 3vw, 56px);
    border-inline: 2px solid var(--blue);
}

.header .nav-menu::before,
.header .nav-menu::after { 
    content: none;
}

.header .nav-btn { 
    padding-block: 8px;
    color: var(--header-blue);
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

.header .nav-btn:hover { 
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header .webshop-c { 
    grid-column: auto;
    grid-row: auto;
    display: flex;
    justify-content: flex-end;
}

.header .webshop-btn { 
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--header-blue);
    border-radius: 999px;
    background-color: #f1f6ff;
    color: var(--header-blue);
    font-size: clamp(8px, 1.2vw, 16px);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    font-weight: 600;
}

.header .webshop-btn:hover { 
    background: #fffff1;
    box-shadow: none;
    filter: none;
    transform: none;
}

.header a:focus-visible { 
    outline: 3px solid var(--header-blue);
    outline-offset: 4px;
}

@media (max-width: 1000px) {
.header { 
            gap: 12px;
            padding-block: 12px;
        }

.header .logo-h { 
            display: none;
        }
}

@media (max-width: 480px) {
.header { 
            gap: 8px;
            padding-inline: 8px;
        }

.header .logo-c { 
            height: 30px;
        }

.header .logo-btn img { 
            width: 30px;
            height: 30px;
        }

.header .nav-menu { 
            gap: 4px 8px;
            padding-inline: 6px;
        }

.header .nav-btn { 
            font-size: 11px;
        }

.header .webshop-btn { 
            padding: 5px 6px;
            border-width: 1px;
            font-size: 10px;
        }
}

@media (max-width: 1400px) {
.logo-h { 
            font-size: 12px;
        }

.logo-btn { 
            gap: 4px;
        }

.nav-menu { 
            column-gap: clamp(6px, 2vw, 20px);
        }
}

@media (max-width: 1000px) {
.header { 
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: clamp(10px, 2vw, 20px);
        }

.logo-h { 
            display: none;
        }

.nav-menu { 
            column-gap: clamp(12px, 3vw, 30px);
        }

.nav-btn,
.webshop-btn { 
            font-size: 14px;
        }

.webshop-btn { 
            padding: 6px 10px;
        }
}

@media (max-width: 480px) {
.header { 
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 8px 12px;
        }

.logo-c { 
            grid-column: 1;
            grid-row: 1;
        }

.webshop-c { 
            grid-column: 2;
            grid-row: 1;
        }

.nav-menu { 
            grid-column: 1 / -1;
            grid-row: 2;
            justify-content: space-evenly;
        }
}

@media (prefers-reduced-motion: reduce) {
.webshop-btn { 
            transition: none;
        }
}

/* #endregion */

/* #region ABOUT */

.about { 
    width: 100%;
    padding: var(--page-padding);
}

.about-grid2 { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: clamp(32px, 6vw, 144px);
    align-items: start;
}

.about-grid2 { 
    padding-top: clamp(32px, 5vh, 80px);
}

.about-box5 { 
    grid-column: 2;
    grid-row: 1;
}

.about-box6 { 
    grid-column: 1;
    grid-row: 1;
}

.about-box7 { 
    grid-column: 1;
    grid-row: 2;
}

.about-box8 { 
    grid-column: 2;
    grid-row: 2;
}

.about-box5,
.about-box7 { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--small-gap);
}

.boximg { 
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.about-box6,
.about-box8 { 
    display: flex;
    flex-direction: column;
}

.about-heading { 
    width: 100%;
    margin: 0 0 clamp(20px, 3vw, 72px);
    padding-bottom: clamp(8px, .8vw, 20px);
    font-size: clamp(28px, 3vw, 52px);
    font-weight: 400;
    border-bottom: 2px solid var(--blue);
}

.about-heading { 
    color: var(--blue);
}

.about-p { 
    margin: 0;
    max-width: 90%;
    font-size: clamp(14px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.2;
}

.about-p { 
    color: var(--blue);
}

.about-btn-c { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: var(--small-gap);
    padding-top: clamp(16px, 2vh, 32px);
}

.about-btn:only-child { 
    max-width: max(140px, calc((100% - 2 * var(--small-gap)) / 3));
}

.about-btn { 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #fffff1;
    border-radius: 10px;
    text-align: center;
    padding: 4px;
    cursor: pointer;
    background-color: #ff9c08;
    color: #fffff1;
}

.about-btn:hover { 
    background: #eeeeff;
    color: #ff8c00;
}

@media (max-width: 1000px) {
.about-grid2 { 
            grid-template-columns: minmax(0, 1fr);
        }

.about-box5,
.about-box6,
.about-box7,
.about-box8 { 
            grid-column: auto;
            grid-row: auto;
        }

.about-p { 
            max-width: 100%;
            font-size: clamp(16px, 1.8vw, 20px);
            line-height: 1.45;
        }
}

/* #endregion */

/* #region HISTORY */

.history { 
    width: 100%;
    padding: var(--page-padding);
}

.history-p { 
    margin: 0;
    max-width: 90%;
    font-size: clamp(14px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.2;
}

.history-p { 
    color: var(--blue);
}

.history { 
    min-height: 60vh;
}

.history-grid { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 8vw, 192px);
    align-items: start;
}

.history-box { 
    width: 80%;
    aspect-ratio: 1;
}

.history-img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-details { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(40px, 6vw, 120px);
    color: var(--blue, blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 1.25vw, 20px);
    line-height: 1.35;
}

.history-details-column { 
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2vw, 40px);
}

.history-details-column:first-child { 
    padding-right: clamp(20px, 2vw, 48px);
}

.history-details-column + .history-details-column { 
    padding-left: clamp(20px, 2vw, 48px);
    border-left: 2px solid currentColor;
}

.history-detail-heading { 
    margin: 0 0 clamp(14px, 1.5vw, 28px);
    padding-bottom: clamp(8px, 0.8vw, 16px);
    border-bottom: 2px solid currentColor;
    font-size: clamp(26px, 2.5vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.history-detail p { 
    margin: 0;
}

.history-detail ul { 
    margin: 0;
    padding-left: 1em;
}

.history-detail li { 
    padding-left: 0.15em;
}

.history-values { 
    display: grid;
    gap: clamp(20px, 2vw, 36px);
}

.history-values h3 { 
    margin: 0;
    font-size: 1.05em;
    font-weight: 700;
    line-height: inherit;
}

.history-detail .history-detail-closing { 
    margin-top: clamp(20px, 2vw, 36px);
}

@media (max-width: 1000px) {
.history-grid { 
            grid-template-columns: minmax(0, 1fr);
        }

.history-p { 
            max-width: 100%;
            font-size: clamp(16px, 1.8vw, 20px);
            line-height: 1.45;
        }

.history { 
            min-height: 0;
        }

.history-box { 
            width: min(100%, 600px);
        }

.history-details { 
            grid-template-columns: minmax(0, 1fr);
            gap: clamp(32px, 6vw, 64px);
            font-size: 16px;
            line-height: 1.4;
        }

.history-details-column:first-child { 
            padding-right: 0;
        }

.history-details-column + .history-details-column { 
            padding-left: 0;
            border-left: 0;
        }
}

/* #endregion */

/* #region TEAM */

.team { 
    width: 100%;
    padding: var(--page-padding);
}

.team-heading { 
    width: 100%;
    margin: 0 0 clamp(20px, 3vw, 72px);
    padding-bottom: clamp(8px, .8vw, 20px);
    font-size: clamp(28px, 3vw, 52px);
    font-weight: 400;
    border-bottom: 2px solid var(--blue);
}

.team-heading { 
    color: var(--blue);
}

.team-p1 { 
    margin: 0;
    max-width: 90%;
    font-size: clamp(14px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.2;
}

.team-p1 { 
    color: var(--blue);
}

.team { 
    min-height: 100vh;
}

.team-grid { 
    display: grid;
    gap: clamp(32px, 8vw, 192px);
}

.team-topgrid { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    align-items: start;
}

.topgrid-c2 { 
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, .7vw, 20px);
    padding-top: clamp(24px, 6vh, 80px);
}

.ownerimg { 
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.owner-heading { 
    margin: clamp(6px, .5vw, 12px) 0 0;
    font-size: clamp(12px, 1vw, 17px);
    font-weight: 400;
}

@media (max-width: 1000px) {
.team-topgrid { 
            grid-template-columns: minmax(0, 1fr);
        }

.team-p1 { 
            max-width: 100%;
            font-size: clamp(16px, 1.8vw, 20px);
            line-height: 1.45;
        }

.team { 
            min-height: 0;
        }

.topgrid-c2 { 
            padding-top: 0;
        }

.owner-heading { 
            font-size: 16px;
        }
}

@media (max-width: 480px) {
.topgrid-c2 { 
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
}

/* #endregion */

/* #region FOOTER */

.site-footer {
  --footer-blue: #355ca8;
  --footer-background: #fffdf0;

  container-type: inline-size;
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid var(--footer-blue);
  background: var(--footer-background);
  color: var(--footer-blue);
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Fire kolonner, som bliver på samme række. */
.footer-top {
  display: grid;
  grid-template-columns:
    minmax(0, 0.65fr)
    minmax(0, 2.15fr)
    minmax(0, 1.65fr)
    minmax(0, 2fr);
  align-items: center;
  padding: 24px 18px;
  font-size: 18px;
  line-height: 1.15;
}

.footer-top > * {
  min-width: 0;
  margin: 0;
}

.footer-back-top {
  justify-self: start;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  padding-block: 2px;
  border-inline: 1px solid var(--footer-blue);
}

.footer-nav a {
  white-space: nowrap;
}

.footer-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-right: 1px solid var(--footer-blue);
}

.footer-webshop {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--footer-blue);
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-footer .footer-webshop:hover {
  background: var(--footer-blue);
  color: var(--footer-background);
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  justify-self: center;
  font-size: 16px;
  font-style: normal;
  line-height: 1.05;
  white-space: nowrap;
}

/* Størrelsen følger footerens egen bredde. */
.footer-wordmark {
  height: 0.52em;
  overflow: hidden;
  font-size: 8.9cqw;
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 1000px) {
  .footer-top {
    padding: 18px 12px;
    font-size: 14px;
  }

  .footer-contact {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    margin-top: 32px;
  }

  .footer-top {
    padding: 12px 8px 16px;
    font-size: 10px;
  }

  .footer-nav {
    gap: 4px;
  }

  .footer-shop {
    padding-inline: 4px;
  }

  .footer-webshop {
    padding: 2px 4px;
  }

  .footer-contact {
    font-size: 8px;
  }

  /* Mere af den store tekst vises på mobil. */
  .footer-wordmark {
    height: 0.68em;
  }
}

@media (max-width: 360px) {
  .footer-top {
    padding-inline: 6px;
    font-size: 9px;
  }

  .footer-contact {
    font-size: 7px;
  }
  
}

/* #endregion */

/* TELEFON VISNING
FJERN ALT NED TIL KONTAKT
Erstat MED OVERSRKFIT "LOKATIONER"
Hele kontakt/kort side med 

border-top: 1px solid var(--footer-blue);