/*
2026 © Monoform
http://www.monoform.no
*/

/* RESET
----------------------------------------------- */

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent; /* For some Androids */
}

* {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

img, picture, video, canvas {
  width: 100%;
  height: auto;
  display: block;

  vertical-align: middle;
  font-style: italic;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

p {
  text-wrap: pretty;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* FOCUS STYLING
----------------------------------------------- */

*:focus {
  outline-offset: 0;  /* Kan settes til -4px For å gjøre focusrammen mindre rundt objektet */
}

input:focus {
  outline: 0;
}

/* DEFAULT STYLING
----------------------------------------------- */

:root {
  /* Turn on use of light-dark. Example: color: light-dark(#333b3c, #efefec);
  color-scheme: light dark;  */
  
  /* Fonts */
  --ff-primary: "helvetica-neue-lt-pro", sans-serif;
  --fs-primary: clamp(1.7rem, 1.6219rem + 0.13699vw, 1.8rem);
  --fw-primary: 400;
  --standard-lineheight: 1.45;

  --fs-h1: clamp(3.5rem, 3.1096rem + 0.68493vw, 4.0rem);
  --fs-h2: clamp(2.8rem, 2.6438rem + 0.27397vw, 3.0rem);
  --fs-h3: clamp(2.4rem, 2.2438rem + 0.27397vw, 2.6rem);
  --fs-h4: clamp(2.1rem, 2.0219rem + 0.13699vw, 2.2rem);
  --fs-h5: clamp(1.7rem, 1.6219rem + 0.13699vw, 1.8rem);
  --fs-h6: clamp(1.4rem, 0.274vw + 1.244rem, 1.6rem);

  /* Colors */
  --color-primary: #1AB058;
  --color-lightgreen: #A9FFCE;
  --color-text: #222222;
  --color-light: #E7F7EE;

  /* Spacing, gap */
  --global-spacing: 60px;
  --global-gap: 36px;

  /* Layout */
  --menu-height: 160px;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  :root {
    --global-spacing: 40px;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  :root {
    --menu-height: 124px;
  }
}

html {
  height: 100%;
  font-size: 62.5%;
  scroll-padding-top: var(--menu-height);
}

.menu-height {
  height: var(--menu-height);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  color: var(--color-text);
  font-family: var(--ff-primary);
  font-size: var(--fs-primary);
  font-weight: var(--fw-primary);
  line-height: var(--standard-lineheight);
  font-optical-sizing: auto;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}

/* MARGER, PADDING OG STØRRELSER */

.wrapper-menu {
  width: min(1380px, 88%);
  margin: 0 auto;
}

.wrapper-large {
  width: min(1142px, 88%);
  margin: 0 auto;
}

.wrapper-normal {
  width: min(980px, 88%);
  margin: 0 auto;
}

.global-padding {
  padding: var(--global-spacing) 0;
}

.bg-color {
  background-color: var(--color-light);
}

.bg-none + .bg-none,
.bg-color + .bg-color /* Slås av hvis det brukes forskjellige fargede bakgrunner */ {
  margin-top: calc(var(--global-spacing) * -1);
}

/* TEXT STYLING
Bruk https://geary.co/clamp-calculator/
Min viewport 570px, Max viewport 1300px */

h1 {font-size: var(--fs-h1);}
h2 {font-size: var(--fs-h2);}
h3 {font-size: var(--fs-h3);}
h4 {font-size: var(--fs-h4);}
h5 {font-size: var(--fs-h5);}
h6 {font-size: var(--fs-h6);}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 500;
  text-wrap: balance;
  line-height: 1.2;
}

.textstyle h1,
.textstyle h2,
.textstyle h3, 
.textstyle h4, 
.textstyle h5, 
.textstyle h6 {
  color: var(--color-text);
}

h3, h4, h5, h6 {
  line-height: 1.35;
}

.titlestyle {
  padding-top: var(--global-spacing);
}

.titlestyle h1,
.titlestyle h2 {
  padding-bottom: 0.8em;
}

.titlestyle h3,
.titlestyle h4,
.titlestyle h5,
.titlestyle h6 {
  padding-bottom: 1em;
}

.textstyle h3,
.textstyle h2,
.textstyle h1 {
  padding-bottom: 0.3em;
}

/* Styling av titler i moduloversikten */
h3 span {
  color: #000000;
  opacity: 0.3;
  font-weight: 500;
}

/* Order: a, a:visited, a:hover, a:active */

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-text);
}

a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

.bildetekst {
  font-size: 1.6rem;
  font-style: italic;
  margin-top: 0.8em;
}

.breadcrumbs {
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 2em;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--color-primary);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .breadcrumbs {
    font-size: 1.4rem;
    margin-bottom: 1em;
  }
}

.vis-flere {
  text-align: right;
  padding-top: 40px;
}

.vis-flere a {
  font-size: 2.0rem;
  font-weight: 500;
  color: var(--color-primary);
}

.vis-flere a:hover {
  color: var(--color-text);
}

.vis-flere a i {
  margin-left: 10px;
}

@media only screen and (max-width: 1279px) { /* Tablet Horizontal */
  .vis-flere a {
    font-size: 2.2rem;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .vis-flere a {
    font-size: 2.0rem;
  }
}

.textstyle ol, .textstyle ul {
  margin-left: 0;
  padding-left: 0;
}

.textstyle ul {
  list-style: disc;
  padding-left: 1.15em;
}

/*
.textstyle li::marker {
  color: red;
}
*/

.textstyle ol {
  list-style: decimal;
  padding-left: 1.5em;
}

/* Listevarianter fra Rich Text Editor (CKEditor).
   Editoren lagrer valgt variant som inline-stil, f.eks. <ol style="list-style-type:upper-roman;">.
   Inline-stil vinner alltid over reglene over, så selve varianten trenger ingen CSS.
   Det som må justeres er plassen til venstre: brede markører som 01., 10. og VIII.
   får ikke plass i 1.4em og stikker ut av tekstkolonnen. */

/* To sifre: 01., 02. … og vanlige tallister med 10 punkter eller flere */
.textstyle ol:has(> :nth-child(10)),
.textstyle ol[style*="decimal-leading-zero"] {
  padding-left: 2.1em;
}

/* Romertall (små og store): viii. og VIII. er de bredeste.
   Står sist, så den vinner over regelen over når en romertalliste har 10+ punkter. */
.textstyle ol[style*="roman"] {
  padding-left: 2.3em;
}

.textstyle p+p, .textstyle ul+p, .textstyle ol+p, .textstyle ol+ul, .textstyle ul+ol, .textstyle p+h3, .textstyle h3+h3, .textstyle ul+h3, .textstyle ol+h3,
.textstyle p+h2, .textstyle h2+h2, .textstyle ul+h2, .textstyle ol+h2, .textstyle p+h1, .textstyle h1+h1, .textstyle ul+h1, .textstyle ol+h1 {
  margin-top: 1.1em;
}

/* JUMP TO MAIN CONTENT */

a.jump-to-main {
  position: absolute;
  left: -2000px;
  top: 10px;
  font-size: 16px;
  background-color: var(--color-text);
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  z-index: 99990;
}

a.jump-to-main:focus-visible {
  left: 10px;
}

/* RESET FORM */

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: #9f9f9f;
}

/* BUTTON */

.button {
  appearance: none;
  display: inline-block;
  border: 0;
  border-radius: 0.25em;
  font-size: clamp(1.6rem, 0.274vw + 1.444rem, 1.8rem);
  font-weight: 500;
  text-decoration: none;
  padding: 0.8em 1.8em;
  margin: 0;
  cursor: pointer;
  transition: background-color 200ms ease-in;
}

.button-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.button-primary:hover {
  background-color: var(--color-text);
  color: #fff;
}

.buttonwrapper {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
}

.innhold-ingress.bg-none + .innhold-knapper.bg-none,
.innhold-brodtekst.bg-none + .innhold-knapper.bg-none {
  margin-top: calc(var(--global-spacing) * -1);
  padding-top: 1.5em;
}

/* GRID */

.gridcontent {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(var(--grid-min-col-size), 100%), 1fr));
  gap: var(--global-gap);
}

/* wrapper-normal */
.grid-4 {
  --grid-min-col-size: 200px;
}

.grid-3 {
  --grid-min-col-size: 300px;
}

.grid-2 {
  --grid-min-col-size: 470px;
}

/* wrapper-large */
.wrapper-large .grid-4 {
  --grid-min-col-size: 340px;

}

.wrapper-large .grid-3 {
  --grid-min-col-size: 350px;
}

.wrapper-large .grid-2 {
  --grid-min-col-size: 730px;
}

.colorbox {
  height: 200px;
  background-color: var(--color-primary);
}

/* TOPPSØK */

.toppsok ::placeholder {
  color: #fff;
}

.toppsok {
  background-color: var(--color-text);
  padding: 40px 0;
}

.sok {
  width: 100%;
  padding: 50px 0;
}

.sokefelt {
  position: relative;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.sokefelt i {
  position: absolute;
  top: 2px;
  left: 0;
  font-size: 2.6rem;
}

.sokefelt input {
  background-color: transparent;
  font-size: 2.0rem;
  color: #fff;
  width: 100%;
  padding-left: 35px;
}

.sokefelt input:focus {
  outline: none;
}

/* SØKERESULTATER */

.resultat-container {
  border-top: 1px solid var(--color-text);
  margin-top: 30px;
}
.soke-item {
  display: flex;
  gap: 20px;
  text-decoration: none;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-text);
  align-items: center;
}

.soke-item > div {
  margin-right: auto;
}

.soke-item i {
  font-size: 2.8rem;
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .soke-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* MAIN MENU */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition:
  transform 300ms ease-in-out,
  box-shadow 300ms ease-in-out;
}

.mainmenu {
  display: flex;
  align-items: center;
  background-color: #fff;
  transition: background-color 500ms ease-in-out;
}

/* Clear styling on buttons in main menu */
.mainmenu button {
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  text-align: inherit;
  font: inherit;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
}

/* Klasser for å legge på skygge og skjule headeren */
header.shadow {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Legg til en lett skygge */
}

header.hidden {
  transform: translateY(-100%); /* Skjul headeren */
}

body:has(.toppbanner-home) .mainmenu {
  background-color: transparent;
}

body:has(.toppbanner-home) .mainmenu.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
}

/* Bytt bakgrunn umiddelbart mens headeren er skjult, så den er ferdig hvit når den glir inn igjen */
header.hidden .mainmenu {
  transition: none;
}

.menu-flex {
  height: var(--menu-height);
  display: flex;
  align-items: center;
  gap: 20px;
}

.mainlogo {
  margin-right: auto;
}

.mainlogo img {
  max-width: clamp(280px, calc(224.364px + 17.386vw), 433px);
}

.mainlogo.white-logo {
  display: none;
}

/* Hvit logo over toppbildet, sort logo når menyen har fått hvit bakgrunn (.is-scrolled settes i main.js) */
body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) .mainlogo.white-logo {
  display: block;
}

body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) .default-logo {
  display: none;
}

/* Hvite menypunkter over toppbildet på forsiden, var(--color-text) når menyen har fått hvit bakgrunn.
   Bare på desktop: under 1024px er menyen et mørkt overlegg der menypunktene alltid er hvite */
@media only screen and (min-width: 1024px) {
  body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) nav ul li a {
    color: #fff;
  }

  body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) nav ul li a:hover {
    color: var(--color-primary);
  }
}

/* Hvitt menyikon over toppbildet på forsiden. Når menyen er åpen gjelder det vanlige hvite krysset */
html:not(.menu-visible) body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) .menu-icon .menu-icon-bar,
html:not(.menu-visible) body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) .menu-icon .menu-icon-bar::before,
html:not(.menu-visible) body:has(.toppbanner-home) .mainmenu:not(.is-scrolled) .menu-icon .menu-icon-bar::after {
  background-color: #fff;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav ul li a {
  font-size: 2.0rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
}

nav ul li a:hover,
.mainmenu button:hover {
  color: var(--color-primary);
}

.menu-icon {
  position: relative;
  z-index: 9999;
  cursor: pointer;
  padding: 20px 0 15px 20px;
  display: block;
}

.menu-icon .menu-icon-bar,
.menu-icon .menu-icon-bar::before,
.menu-icon .menu-icon-bar::after {
  width: 28px;
  height: 3px;
  background-color: var(--color-text);
  display: block;
  transition: background-color 0.3s ease-out, top 0.3s ease-out, transform 0.3s ease-out;
}

.menu-icon .menu-icon-bar {
  display: block;
  position: relative;
}

.menu-icon .menu-icon-bar::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  transition: background-color 0.3s, top 0.3s, transform 0.3s;
}

.menu-icon .menu-icon-bar::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  transition: background-color 0.3s, top 0.3s, transform 0.3s;
}

.menu-visible .menu-icon .menu-icon-bar {
  background-color: transparent;
}

.menu-visible .menu-icon .menu-icon-bar:before {
  top: 0;
  transform: rotate(45deg);
  background-color: #fff;
}

.menu-visible .menu-icon .menu-icon-bar:after {
  top: 0;
  transform: rotate(-45deg);
  background-color: #fff;
}

.menytrigger {
  display: none;
}

.soketrigger .sokeikon {
  width: 26px;
  height: 26px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .menytrigger {
    display: block;
    order: 4;
  }

  button.soketrigger {
    margin-top: 6px;
  }

  nav {
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--color-primary);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    padding: 130px 6%;
  }

  .menu-visible nav {
    visibility: visible;
    opacity: 1;
  }

  .menu-visible {
    overflow: hidden;
  }

  .menu-visible main {
    pointer-events: none;
  }

  .menu-visible header.hidden {
    transform: none;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #fff;
  }
  
  nav ul li {
    border-bottom: 1px solid #fff;
  }

  nav ul li a {
    display: block;
    font-size: 3.0rem;
    color: #fff;
    padding: 15px 0;
  }

  nav ul li a:hover {
    color: #fff;
    opacity: 0.6;
  }
}

/* TOPPBANNER */

body:has(.toppbanner-home) .menu-height {
  display: none;
}

.toppbanner {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.toppbanner-home {
  height: 80vh;
}

.toppbanner-bigpicture {
  aspect-ratio: 1380/646;
}

.toppbanner-default {
  height: calc(80vh - var(--menu-height));
}

.toppbanner-media {
  object-fit: cover;
  object-position: var(--focus-x, 50%) var(--focus-y, 50%);
  z-index: 0;
}

.fillparent {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.toppbanner-overlay {
  background-color: #000;
  pointer-events: none;
  z-index: 1;
}

.toppbanner-payoff-flex {
  display: flex;
  align-items: flex-end;
  padding: var(--global-spacing) 0;
  pointer-events: none;
  z-index: 2;
}

.toppbanner h1 {
  max-width: 30ch;
  text-wrap: unset;
  color: #fff;
  font-weight: 400;
  font-size: clamp(2.4rem, 1.1507rem + 2.19178vw, 4.0rem);
}

/* FLUID CONTENT
----------------------------------------------- */

/* HR STYLING */

hr {
  border: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-text);
}

/* Innhold-ingress */

.innhold-ingress {
  font-size: clamp(1.9rem, 0.411vw + 1.666rem, 2.2rem);
  font-weight: 400;
}

.innhold-ingress.bg-none + .innhold-brodtekst.bg-none {
  margin-top: calc(var(--global-spacing) * -1);
  padding-top: 1.5em;
}

/* Innhold-tittel */

.innhold-tittel.bg-none + .bg-none {
  margin-top: calc(var(--global-spacing) * -2);
}

.innhold-tittel.bg-color + .bg-color,
.innhold-tittel.bg-none + .bg-color {
  margin-top: calc(var(--global-spacing) * -1);
}

.innhold-tittel.bg-color + .bg-color {
  padding-top: calc(var(--global-spacing) * -2);
}

.innhold-tittel + .innhold-parallax {
  margin-top: calc(var(--global-spacing) * -1);
}

/* Innhold-sitat */

.sitat-bilde {
  width: 200px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.sitat-flex {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--global-gap);
}

.sitat-tekstcontainer {
  align-self: center;
  min-width: 0;
}

.sitat-sitat p {
  font-size: clamp(2.6rem, 0.548vw + 2.288rem, 3rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-primary);
}

.sitat-kilde {
  margin-top: 1em;
}

.sitat-kilde span {
  font-weight: 500;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .sitat-flex {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .sitat-bilde {
    width: 170px;
  }
}

/* Innhold-bilde */

.innhold-bilde.bg-none + .innhold-bilde.bg-none,
.innhold-bilde.bg-color + .innhold-bilde.bg-color {
  margin-top: calc(var(--global-spacing) * -1);
  padding-top: var(--global-gap);
}

.bildegrid {
  display: grid;
  gap: var(--global-gap);
  /* direction: rtl; Sette bilder til høyre */
}
/* Unngå høyrejustert tekst i bildeteksten
.bildeitem {
  direction: ltr;
}
*/

.bildegrid.spaltegrid-1 {
  grid-template-columns: 1fr;
}

.bildegrid.spaltegrid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.bildegrid.spaltegrid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.innhold-bilde .bildeaspekt {
  aspect-ratio: 920 / 550;
  object-fit: cover;
  object-position: center;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .bildegrid.spaltegrid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .bildegrid.spaltegrid-2,
  .bildegrid.spaltegrid-3 {
    grid-template-columns: 1fr;
  }
}

/* Innhold-bildegalleri */

.gallery {
  display: grid;
  grid-auto-flow: dense;
  gap: 5px;
}

.wrapper-normal .gallery {
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  grid-auto-rows: 158px;
}

.wrapper-large .gallery {
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  grid-auto-rows: 184px;
}

.gallery > a > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}

.gallery > a {
  overflow: hidden;
  position: relative;
  display: block;
}

.gallery a:hover img {
  transform: scale(1.1);
}

.size1x2 {
  grid-row: span 2;
}

.size2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

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

  .gallery a:hover img {
    transform: none;
  }
}

@media only screen and (max-width: 567px) { /* Mobile Horisontal */
  .wrapper-normal .gallery,
  .wrapper-large .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .size1x1,
  .size1x2,
  .size2x2 {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}

/* Photoswipe custom style */

.pswp--custom-bg {
  --pswp-bg: #000;
}

.pswp__custom-caption {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  max-width: 800px;
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: center;
}

.pswp__button--arrow--prev svg,
.pswp__button--arrow--next svg {
  width: 34px;
  height: 34px;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .pswp__custom-caption {
    bottom: 40px;
  }
}

/* Innhold-filnedlasting */
/* Innhold-lenke */

.filoglenke-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.6em 0.6em 0.6em 0.8em;
  border: 1px solid var(--color-text);
  border-radius: 5px;
  transition: color 0.2s ease;
}

.filoglenke-item:hover {
  color: var(--color-primary);
}

.filoglenke-index li + li {
  margin-top: 12px;
}

.filoglenke-item span {
  opacity: 0.5;
  font-size: 1.6rem;
  margin-left: 6px;
  font-weight: 400;
}

.filoglenke-item i {
  margin-left: auto;
  font-size: clamp(2.4rem, 0.274vw + 2.244rem, 2.6rem);
}

/* Innhold-bildeogtekst */

.bildeogtekst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  color: var(--color-primary);
}

.bildeogtekst-tekst h2 {
  font-size: clamp(3.5rem, 3.1096rem + 0.68493vw, 4.0rem);
  color: var(--color-primary);
  margin-bottom: 0.3em;
}

.lesmer-aktuelt a {
  display: flex;
  gap: 8px;
}

.lesmer-aktuelt a:hover {
  color: var(--color-primary);
  opacity: 0.6;
}

.midtstill-vertikalt {
  align-self: center;
}

.switch-place .bildeogtekst-bilde {
  order: 2;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .bildeogtekst-grid {
    grid-template-columns: 1fr;
  }
}

/* openclose-css */

.openclose-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
  overflow: hidden;
}

.openclose-content.open {
  grid-template-rows: 1fr;
}

.openclose-content-inner {
  min-height: 0;
}

.openclose-toggle .minus {
  display: none;
}

.openclose-toggle.open .pluss {
  display: none;
}

.openclose-toggle.open .minus {
  display: block;
}

/* Innhold-apne-lukke-tekst */

.innhold-apne-lukke-tekst .list-index {
  border-top: 1px solid var(--color-primary);
}

.list-item {
  border-bottom: 1px solid var(--color-primary);
}

.list-tittel {
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6em 0;
  font-weight: 500;
  font-size: clamp(2.1rem, 2.0219rem + 0.13699vw, 2.2rem);
}

.list-tittel i {
  margin-left: 40px;
}

.listeinnhold {
  padding: 5px 0 30px 0;
}

.listeinnhold iframe {
  width: 100%;
}

/* Innhold-video */

.videowrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.videowrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Kontaktpersoner */

.kontaktpersoner-alle .portrettbilde {
  max-width: 200px;
  margin: 0 auto;
  margin-bottom: 15px;
}

.portrettbilde {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

img.portrettbilde {
  object-fit: cover;
  object-position: center;
}

div.portrettbilde {
  background-color: var(--color-light);
}

.bg-color div.portrettbilde {
  background-color: #fff;
}

.kontaktperson-item h4 {
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.3em;
}

.kontaktperson-item h4 span {
  font-weight: 400;
}

.kontaktperson-personalia a {
  color: var(--color-text);
}

.kontaktperson-personalia a:hover {
  color: var(--color-primary);
}

.kontaktpersoner-alle .kontaktperson-personalia {
  text-align: center;
}

.kontaktpersoner-utvalgt .kontaktperson-item {
  background-color: var(--color-light);
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  align-items: center;
  padding: 25px 30px;
}

.bg-color .kontaktpersoner-utvalgt .kontaktperson-item {
  background-color: #fff;
}

.kontaktpersoner-utvalgt .kontaktperson-item .portrettbilde {
  width: 135px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.kontaktpersoner-utvalgt .kontaktperson-personalia p {
  white-space: nowrap;
}

.kontaktpersoner-utvalgt .kontaktperson-item + .kontaktperson-item {
  margin-top: 30px;
}

.kontaktpersoner-utvalgt .portrettmangler {
  display: none;
}

/* Innhold-aktueltsaker */

.innhold-aktueltsaker .gridcontent {
  gap: calc(var(--global-gap) * 2) var(--global-gap);
}

.aktueltsaker-item {
  text-decoration: none;
  color: var(--color-text);
}

.aktueltsaker-indexbilde {
  aspect-ratio: 353/220;
  overflow: hidden;
  margin-bottom: 0.8em;
}

.aktueltsaker-indexbilde img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.aktueltsaker-item:hover .aktueltsaker-indexbilde img { 
  transform: scale(1.1); 
}

.aktueltsaker-item:hover {
  opacity: 0.8;
}

div.aktueltsaker-indexbilde {
  background-color: var(--color-light);
}

.bg-color div.aktueltsaker-indexbilde {
  background-color: #fff;
}

.aktueltsaker-dato {
  font-size: 1.6rem;
  color: var(--color-primary);
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--color-primary);
  margin-bottom: 0.6em;
}

.side-dato {
  margin-bottom: 1.5em;
}

.aktueltsaker-item h3 {
  font-weight: 500;
  margin-bottom: 0.2em;
}

.lesmer-aktuelt {
  margin-top: 0.8em;
  color: var(--color-primary);
  display: flex;
  gap: 8px;
  font-weight: 500;
  text-decoration: underline;
}

.lesmer-aktuelt img {
  width: 25px;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .innhold-aktueltsaker .gridcontent {
    gap: var(--global-gap);
  }
}

/* PAGINATION */

.pagination {
  grid-column: 1 / -1;
  font-size: 1.5rem;
}

.pagination ul {
  box-shadow: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination ul > li {
  display: inline-block;
  margin-right: 4px;
  margin-bottom: 10px;
}

.pagination ul > li > a,
.pagination ul > li > span {
  display: block;
  float: none;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  padding: 9px 15px;
}

.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
  border: 1px solid var(--color-text);
  color: var(--color-text);
  background-color: var(--color-light);
}

.pagination ul > li > a:hover {
  background-color: #f6f5f3;
}

/* Innhold-embedkode */

.innhold-embedkode iframe {
  display: block;
  width: 100%;
}

/* Innhold-logogrid */

.logogrid-grid {
  display: grid;
  gap: var(--global-gap);
  grid-template-columns: repeat(5, 1fr);
}

.wrapper-normal .logogrid-grid {
  grid-template-columns: repeat(3, 1fr);
}

.boks-bilde {
  background-color: #fff;
  border: 1px solid #ccc;
  width: 100%;
  aspect-ratio: 505 / 272;
}

.boks-bilde {
  transition: border-color .2s ease;
}

.boks-bilde img {
  transition: opacity .2s ease;
}

a.boks-bilde:hover {
  border-color: var(--color-primary);
}

a.boks-bilde:hover img {
  opacity: 0.8;
}

.boks-padding {
  padding: 12% 14%;
  height: 100%;
}

.boks-padding img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .logogrid-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .logogrid-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .logogrid-grid,
  .wrapper-normal .logogrid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Innhold programoversikt */

.programcontainer {
  border-bottom: 2px dotted var(--color-text);
}

.program-flex {
  display: flex;
  text-decoration: none;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);

  padding: 15px 0;
  border-top: 2px dotted var(--color-text);
}

a.program-flex:hover {
  color: #6d6d6d;
}

.program-tittel {
  font-weight: 700;
}

.program-flex-sub {
  display: flex;
  width: 100%;
  padding-right: 26px;
}

.program-info {
  width: 100%;
}

.program-merinfo,
.program-klokkeslett {
  color: var(--color-primary);
}

.program-merinfo {
  padding-top: 22px;
  padding-bottom: 5px;
}

.program-klokkeslett {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 250px;
}

.program-klokkeslett i {
  color: var(--color-primary);
  margin-right: 8px;
}

.program-flex-main {
  flex: 1;
}

.program-flex-toggle {
  align-self: center;
}

.program-flex-toggle i {
  color: var(--color-primary);
}

.merinfo-flex {
  display: flex;
  align-items: flex-start;
  gap: 30px 20px;
}

.merinfo-flex .program-portrettbilde {
  flex-shrink: 0;
  width: 160px;
  aspect-ratio: 1/1.2;
}

.program-portrettbilde img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.merinfo-flex .program-merinfo-tekst {
  flex: 1;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  /* Programoversikt */

  .program-flex-sub {
    flex-direction: column;
  }

  .program-klokkeslett {
    max-width: none;
  }

  .program-klokkeslett {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .merinfo-flex {
    flex-direction: column;
  }
}

/* Innhold-faktaboks */

.faktaboks {
  display: flex;
}

.faktaboks + .faktaboks {
  margin-top: 30px;
}

.maks-faktahoyde {
  min-height: 350px;
}

.faktaboks-tekst-padding {
  padding: 60px;
}

.faktaboks-tekst {
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
}

.faktaboks-bilde {
  width: 100%;
}

.faktaboks-bilde img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.snu-faktaboks .faktaboks-bilde {
  order: 1;
}

.faktaboks a {
  color: #fff;
}

.faktaboks a:hover {
  color: #fff;
  opacity: 0.8;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .faktaboks {
    flex-direction: column;
  }

  .maks-faktahoyde {
    min-height: auto;
  }

  .faktaboks-bilde {
    width: 100%;
    height: 300px;
  }

  .faktaboks-tekst-padding {
    padding: 40px;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .faktaboks-tekst-padding {
    padding: 40px 25px;
  }
}

/* Innhold-symbolpunkter */

.gridlayout-flex {
  display: flex;
  gap: 60px 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.gridlayout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.symbolpunkter-item {
  text-decoration: none;
  color: var(--color-text);
}

a.symbolpunkter-item:hover {
  opacity: 0.6;
}

.gridlayout-flex .symbolpunkter-item {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.symbolpunkter-bildecontainer {
  min-height: 80px;
  display: flex;

  align-items: flex-end;
  margin-bottom: 1.2em;
}

.gridlayout-flex .symbolpunkter-bildecontainer {
  justify-content: center;
}

.symbolpunkter-bildecontainer img {
  max-width: 50px;
}

.symbolpunkter-item h3 {
  margin-bottom: 0.3em;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .gridlayout-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .gridlayout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* PARALLAX */

.text-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px;
}

.overlay-text {
  place-self: center;
  text-align: center;
  width: 88%;
  max-width: 834px;
}

.overlay-tekst-background {
  background-color: var(--color-text);
  color: #FFFFFF;
  display: inline;
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 2.0rem;
  font-family: arial, sans-serif;
  padding: 5px 12px 5px 13px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 4px;
}

.innhold-parallax + .innhold-bunntekst {
  margin-top: var(--global-spacing);
}

/* INDEX NÆRINGSTOMTER */

/* ----------------------------------------------------------
   Felles for alle visninger
   Bytt klassen på wrapperen for å velge visning:
     prosjekt-karusell  – karusell med piler, sveip og autoplay
                          (3 eller færre prosjekter: ingen piler og ingen autoplay)
     prosjekt-grid2     – alle prosjektene i 2 spalter
     prosjekt-grid3     – alle prosjektene i 3 spalter
   ---------------------------------------------------------- */
.innhold-naeringstomter .wrapper-normal {
  position: relative;
}

/* Wrapperen: går fra kant til kant av bildene */
.lk {
  --gap: 40px;
  position: relative;
}

@media (max-width: 1023px) {
  .lk { --gap: 32px; }
}

@media (max-width: 559px) {
  .lk { --gap: 24px; }
}

.lk__track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lk__slide { min-width: 0; }

.lk__link {
  display: block;
  color: var(--color-primary);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.lk__link:hover,
.lk__link:hover h3 {
  color: var(--color-primary);
}

.lk__link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

/* ----------------------------------------------------------
   Visning: karusell
   ---------------------------------------------------------- */
.prosjekt-karusell {
  --per-view: 3;
  --arrow-size: 50px;
  --arrow-offset: 25px;
}

/* Færre spalter når det er mindre plass */
@media (max-width: 1023px) {
  .prosjekt-karusell { --per-view: 2; }
}

@media (max-width: 559px) {
  .prosjekt-karusell { --per-view: 1; }
}

/* Gi plass til pilene som ligger utenfor wrapperen: 2 × (50px pil + 25px avstand) */
@media (min-width: 768px) {
  .prosjekt-karusell:not(.lk--few) {
    width: min(100%, 100vw - 190px);
    margin-inline: auto;
  }
}

.prosjekt-karusell .lk__viewport {
  overflow: hidden;
  touch-action: pan-y;          /* vertikal scroll beholdes, horisontal sveip går til karusellen */
  cursor: grab;
}

.prosjekt-karusell .lk__viewport.is-dragging { cursor: grabbing; }

.prosjekt-karusell .lk__track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
}

.prosjekt-karusell .lk__slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
}

.prosjekt-karusell .lk__link {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Innenfor karusellen klippes alt utenfor, så fokusrammen legges innenfor */
.prosjekt-karusell .lk__link:focus-visible { outline-offset: -3px; }

/* Alle prosjektene får plass samtidig: karusellen står stille, uten kopier */
.prosjekt-karusell.is-static .is-clone { display: none; }
.prosjekt-karusell.is-static .lk__viewport { cursor: auto; }

/* ----------------------------------------------------------
   Visning: grid med 2 eller 3 spalter (alle prosjektene vises)
   ---------------------------------------------------------- */
.prosjekt-grid2 { --cols: 2; }
.prosjekt-grid3 { --cols: 3; }

@media (max-width: 1023px) {
  .prosjekt-grid3 { --cols: 2; }
}

@media (max-width: 559px) {
  .prosjekt-grid2,
  .prosjekt-grid3 { --cols: 1; }
}

.prosjekt-grid2 .lk__track,
.prosjekt-grid3 .lk__track {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: calc(var(--gap) * 1.25);
}

/* ----------------------------------------------------------
   Kort: bilde, tittel og undertittel
   ---------------------------------------------------------- */

.lk__media {
  aspect-ratio: 470 / 345;
  overflow: hidden;
  background: var(--color-light);
}

.lk__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;         /* hindrer at nettleseren drar med seg bildet */
  transition: transform .6s ease;
}

@media (hover: hover) {
  .lk__link:hover .lk__media img { transform: scale(1.1); }
  .lk__link:hover {
    opacity: 0.8;
  }
}

.lk__title,
.lk__subtitle {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
}

.lk__title {
  margin-top: 10px;
  font-weight: 700;
}

.lk__subtitle {
  font-weight: 400;
}

/* ----------------------------------------------------------
   Piler: bare i karusellen, og bare fra 768px og oppover.
   De ligger utenfor wrapperen, sentrert på bildet.
   ---------------------------------------------------------- */
.lk__arrow {
  position: absolute;
  top: var(--arrow-top, 35%);
  transform: translateY(-50%);
  display: none;
  place-items: center;
  width: var(--arrow-size);
  height: var(--arrow-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-light);
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.bg-color .lk__arrow {
  background: #fff;
}

.lk__arrow--prev { left: calc(-1 * (var(--arrow-size) + var(--arrow-offset))); }
.lk__arrow--next { right: calc(-1 * (var(--arrow-size) + var(--arrow-offset))); }

.lk__arrow svg { width: 14px; height: 25px; }
.lk__arrow--prev svg { transform: translateX(-2px); }
.lk__arrow--next svg { transform: translateX(2px); }

.lk__arrow:hover {
  background: var(--color-primary);
  color: #fff;
}

.lk__arrow:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Under 768px: ingen piler – sveip med fingeren */
@media (min-width: 768px) {
  .prosjekt-karusell .lk__arrow { display: grid; }
}

@media (max-width: 767px) {
  .lk__title,
  .lk__subtitle { font-size: 18px; }
}

/* ----------------------------------------------------------
   Kulepunkter: vises under teksten i karusellen når pilene er borte
   (under 768px). Lages automatisk av JS – ett per prosjekt.
   ---------------------------------------------------------- */
.lk__dots {
  display: none;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .prosjekt-karusell .lk__dots { display: flex; }
}

/* 3 eller færre prosjekter: ingen piler, så kulepunktene vises på alle
   skjermbredder – men bare når ikke alle prosjektene får plass samtidig */
.prosjekt-karusell.lk--few .lk__dots { display: flex; }
.prosjekt-karusell.is-static .lk__dots { display: none; }

.lk__dot {
  display: grid;
  place-items: center;
  width: 22px;                  /* større trykkflate enn selve prikken */
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lk__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-light);
  transition: background-color .2s ease;
}

.bg-color .lk__dot::before {
  background: #fff;
}

.lk__dot[aria-current="true"]::before { background: var(--color-primary); }

.lk__dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lk__track { transition-duration: .01ms; }
  .lk__media img { transition: none; }
}

/* Innhold-punktliste */

.innhold-punktliste h4 {
  margin-bottom: 1em;
}

.punktliste-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  text-decoration: none;
  color: var(--color-primary);
  font-size: var(--fs-h4);
}

.punktliste-trigger:hover,
.punktliste-trigger:hover h4 {
  color: var(--color-text);
}

.punktliste-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--global-gap);
  color: var(--color-primary);
}

.punktliste-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--color-primary);
  padding: 18px 0;
}

.punktliste-grid > :nth-child(-n+2) {
  border-top: 1px solid var(--color-primary);
}

.punktliste-symbol {
  min-width: 47px;
  display: flex;
  justify-content: center;
}

.innhold-punktliste .punktliste-trigger h4 {
  margin-bottom: 0;
}

.punktliste-trigger i {
  margin-left: 40px;
}

.punktliste-openclose {
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

/* Flere samlede punktlister etter hverandre: ingen luft og ingen dobbel strek */
.punktliste-samlet.bg-none + .punktliste-samlet.bg-none,
.punktliste-samlet.bg-color + .punktliste-samlet.bg-color {
  margin-top: calc(var(--global-spacing) * -1);
  padding-top: 0;
}

.punktliste-samlet.bg-none + .punktliste-samlet.bg-none .punktliste-openclose,
.punktliste-samlet.bg-color + .punktliste-samlet.bg-color .punktliste-openclose {
  border-top: none;
}

/* Inne i kontaineren: ingen strek over første rad eller under siste rad */
.punktliste-openclose .punktliste-grid {
  padding-bottom: 20px;
}

.punktliste-openclose .punktliste-grid > :nth-child(-n+2) {
  border-top: none;
}

.punktliste-openclose .punktliste-grid > :last-child {
  border-bottom: none;
}

@media only screen and (min-width: 768px) {
  .punktliste-openclose .punktliste-grid > :nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .punktliste-grid {
    grid-template-columns: 1fr;
  }
  .punktliste-grid > :nth-child(2) {
    border-top: none;
  }
}

/* OVERSTYRING KARTSTØRRELSE MOBIL */

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .kart-innhold {
    aspect-ratio: 1/1 !important;
  }
}



/* FOOTER */

main {
  flex: 1 0 auto; /* Sørger for at hovedinnholdet fyller vertikalt rom */
}

.footer {
  margin-top: auto; /* Erstatter position: sticky / top: 100vh */
  background-color: var(--color-primary);
  padding: 60px 0 50px 0;
  color: #fff;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  opacity: 0.6;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 66px;
  align-items: flex-start;
}

.footer-logo {
  max-width: 191px;
}

.footer-text {
  margin-right: auto;
}

.spalter-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-bottom: 20px;
}

.spalter-flex p {
  white-space: nowrap;
}

.footer-some a {
  text-decoration: none;
  display: block;
  font-size: clamp(2.1rem, 2.0219rem + 0.13699vw, 2.2rem);
  font-weight: 700;
}

.footer-kredits {
  margin-top: 100px;
  font-size: 1.2rem;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .footer-kredits {
    margin-top: 60px;
  }
}