body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f3f0eb;
  font-family: 'Roboto', sans-serif;
  color: #555;
  line-height: 1.5
}
.logo-container {
  background-color: #f3f0eb;
  text-align: center;
  width: 30vw;
  margin: 0 auto;
  padding: 1.5rem 0 0 0;
}
.logo {
  width: 100%;
  height: auto;
  text-align: center;
}
@media (max-width: 768px) {
  .logo-container {
    width: 75vw;
    padding: 1rem 0 0 0;
  }
} 
a {
  color: #007889;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

/* --------------------------- */
/* ----- MAIN NAVIGATION ----- */
/* --------------------------- */
.nav-container {
  background: linear-gradient(
    to right,
    rgba(0,121,138,0) 0,
    rgba(0,121,138,1) 48vw,
    rgba(0,121,138,1) 52vw,
    rgba(0,121,138,0) 100vw
  );
}
.nav-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.nav-container li {
  margin: 0;
}
.nav-container a {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 1s;
}
.nav-container a:hover {
  background-color: #0096aa;
}
@media (max-width: 768px) {
  .nav-container {
    background: rgba(0,121,138,1)
  }
}

/* --------------------------- */
/* --- SEKUNDÆR NAVIGATION --- */
/* --------------------------- */
.sec-nav-wrapper {
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(0,121,138,0) 0,
    rgb(216, 216, 216) 48vw,
    rgb(216, 216, 216) 52vw,
    rgba(0,121,138,0) 100vw
  );
}
.sec-nav-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50vw;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  height: 36px;
}
.secondary-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.secondary-links li {
  margin: 0;
}
.secondary-links a {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  padding: 0;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}
.secondary-links a:hover {
  color: rgb(0,121,138,1);
  transform: scale(1.1);
}
.social-links {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
}
.social-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.social-links img {
  width: 30px;
  height: 30px;
  display: block;
  filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(80%) contrast(90%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.social-links a:hover img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(316%) hue-rotate(151deg) brightness(92%) contrast(89%);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .sec-nav-container {
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    gap: 0.5rem;
  }
  .social-links {
    justify-content: flex-start;
  }
  .social-links img {
    width: 24px;
    height: 24px;
  }
}

/* ------------------------- */
/* ----- SIDE: FORSIDE ----- */
/* ------------------------- */
.forside-wrapper {
  width: 50vw;
  margin: 0rem auto;
  padding: 2rem 0 0 0;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .forside-wrapper {
    width: 80vw;
    margin: 0rem auto;
    padding: 0 0 0 0;
    box-sizing: border-box;
    align-items: start;
  }
  .forside-wrapper h1 {
    font-size: 1rem;
  }
}
.forside-wrapper h1 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
.circle-float-left {
  float: left;
  height: 256px;
  width: 256px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: contain;
  margin: 2rem 1rem 1rem 0;
  shape-margin: 5px;
  max-width: 100%;
  height: auto;
  background-size: cover;
}
@media (max-width: 768px) {
  .circle-float-left {
    background-image: url('https://magnussenfoto.dk/img/portrait-256.webp');
    margin: 0rem 0.8rem 0rem 0;
    shape-margin: 5px;
    width: 112px;
    height: 112px;
    align-items: start;
  }
}
.circle-float-right {
  float: right;       
  height: 228px;
  width: 228px;  
  aspect-ratio: 1 / 1;         
  object-fit: cover;
  shape-margin: -10px;
  margin: -20px 0 -20px -0px;
  shape-outside: circle(50% at 50% 50%); 
}
@media (max-width: 768px) {
  .circle-float-right {
    height: 128px;
    width: 128px;
    margin: 10px 0 -20px -0px;
    padding: 0;
    object-fit: contain;
  }
}
.alert-forside {
  width: 50vw;
  margin: 0rem auto;
  text-align: center;
}
.alert-forside p {
  padding: 0 0 2rem 0;
  margin: -1.5rem 0 0 0;
  font-size: 1rem;
}
.alert-forside h3 {
  padding: 0;
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .alert-forside p {
    font-size: 0.8rem;
  }
}
@media (max-width: 500px) {
  .alert-forside {
    width: 90vw;
  }
}
/* -------------------------- */
/* --------- FOOTER --------- */
/* -------------------------- */
.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: start; 
  width: 50vw;
  margin: 0 auto;
  gap: 1rem;
  padding: 2rem 0;
}
.footer-wrapper p {
  margin: 0.4rem 0 0.6rem 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5rem;
}
.footer-wrapper h4 {
  margin: 0.2rem 0 0.5rem 0;
  text-align: left;
  font-size: 1rem;
}
footer a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0.4rem 0 0.6rem 0;
}
footer a:hover {
  text-decoration: underline;
}
@media (max-width: 1280px) {
  .footer-wrapper {
    width: 50vw;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    text-align: left;
  }
  .footer-wrapper h4 {
    font-size: 0.9rem;
    margin: 0.2rem 0 0.5rem 0;
  }
  .footer-wrapper a {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 0.3rem 0 0.5rem 0;
  }
  .footer-wrapper p {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 0.3rem 0 0.5rem 0;
  }
}
@media (max-width: 768px) {
  .footer-wrapper {
    width: 80vw;
  }
}
.footer-wrapper img {
  transition: filter 0.3s ease, transform 0.3s ease;
}
.footer-wrapper img:hover {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  transform: translateY(-2px);
}
.trustpilot-footer-widget {
  margin-top: 1rem;
  margin-left: -3rem;
}
@media (max-width: 768px) {
  .trustpilot-footer-widget {
    margin-left: -2.5rem;
    margin-top: 0.5rem;
  }
}
.hr-scroll {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.hr-scroll hr {
  flex-grow: 1;
  border: none;
  height: 1px;
  background-color: #555;
}
#scrollToTopBtn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f3f0eb;
  color: #555;
  padding: 5px 15px;
  border: 2px solid #555;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  z-index: 10;
  display: none;
}
#scrollToTopBtn:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: #555;
}
.hr-scroll span {
  padding: 0 15px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #555;
}
@media (max-width: 1024px) {
  #scrollToTopBtn {
    display: block;
  }
}
@media (min-width: 1025px) {
  #scrollToTopBtn {
    display: none;
  }
}
@font-face {
  font-family: 'cat';
  src: url('font/cat.woff') format('woff');
}

/* --------------------------- */
/* INSTAGRAM KAROUSEL BILLEDER */
/* --------------------------- */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 170px;
}
.carousel-track {
    display: flex;
    align-items: center;
    transition: transform 0.05s linear;
    max-width: 100vw;
    white-space: nowrap;
    flex-shrink: 0;
}
.carousel-item {
    height: 150px;
    margin: 10px 10px 10px 10px;
    object-fit: cover;
    border-radius: 10px;
}
@media (max-width: 768px) {
  .carousel-item {
    height: 80px;
    margin: 5px 5px 5px 5px;
    object-fit: cover;
    border-radius: 7px;
  }
  .carousel-wrapper {
    min-height: 90px;
  }
}
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
@media (max-width: 768px) {
  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 5%;
  }
}
.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(242, 240, 234, 1) 0%, rgba(242, 240, 234, 0) 100%);
}
.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(242, 240, 234, 1) 0%, rgba(242, 240, 234, 0) 100%);
}
.hr-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
  text-decoration: none;
  font-family: 'cat';
  font-weight: 500;
  font-size: 1.4rem;
  color: #555;
  transition: color 0.3s ease;
}
.hr-link img.hr-icon {
  width: 1.4rem;
  height: 1.4rem;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(80%) contrast(90%);
  transition: none; /* ingen hover-effekt */
}
.hr-link:hover {
  color: #c13584;
  text-decoration: none; /* ingen underline */
}
@media (max-width: 768px) {
  .hr-link {
    font-size: 1.2rem;
  }

  .hr-link img.hr-icon {
    width: 1.2rem;
    height: 1.2rem;
  }
}

/* -------------------------- */
/* INSTAGRAM KAROUSEL HR-SPAN */
/* -------------------------- */
.hr-instagram {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 2rem;
}
.hr-sport {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}
.hr-sport hr,
.hr-instagram hr {
  flex-grow: 1;
  border: none;
  height: 1px;
  background-color: #555;
}
.hr-sport span,
.hr-instagram span {
  padding: 0 15px;
  font-weight: 500;
  font-family: 'cat';
  font-size: 1.4rem;
  white-space: nowrap;
  color: #555;
}
@media (max-width: 768px) {
  .hr-sport span,
  .hr-instagram span {
    font-size: 1.2rem;
  }
}

/* ----------------------------------- */
/* SIDE: PRODUKTER - BÅDE WEB OG MOBIL */
/* ----------------------------------- */
.produkter-box {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.144);
  border: 1px solid #cfcecd;
  width: 60vw;
  margin: 0 auto;
  box-sizing: border-box;
}

.services-container {
  width: 80vw;
  margin: 0rem auto;
  padding: 2rem 0 2rem 0;
  box-sizing: border-box;
}

.services-container-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.produkter-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}
.produkter-text .list-head {
  display: inline-block;
  margin-top: 0.5rem;
}

.produkter-text h3 {
  color: #555;
  margin: 0;
  padding: 0;
}
.produkter-text h1 {
  color: #555;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
}
.scan-print-container {
  width: 80vw;
  margin: 0rem auto;
  padding: 2rem 0 2rem 0;
  box-sizing: border-box;
}
.scan-print-container h1 {
  justify-content: center;
}
@media (max-width: 768px) {
  .services-container {
    width: 90vw;
    box-sizing: border-box;
  }
  .scan-print-container {
    width: 90vw;
    box-sizing: border-box;
  }
  .services-container-top {
    width: 90vw;
    box-sizing: border-box;
  }
  .produkter-box {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }
  .services-container-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
  }
  .services-container-inner > div {
    margin: 0;
    padding: 0;
  }
  .produkter-text {
    font-size: 0.85rem;
  }
  .produkter-text ul {
    margin: 0;
    padding-left: 1.2rem;
  }
  .produkter-text ul li {
    margin-bottom: 0.1rem;
  }
  .produkter-text .list-head {
    font-size: 0.9rem;
  }
  .produkter-text h1 {
    font-size: 1.2rem;
  }
}

/* ---------------------------- */
/* --------- BEREGNER --------- */
/* ---------------------------- */
.bg-film { background-color: #3995a1; }
.bg-papir { background-color: #007889; }
.bg-dias { background-color: #61b7c0; }

.price-overskrift {
  border: 1px solid #cfcecd;
  border-radius: 10px;
  padding: 0.5rem;
  width: 60vw;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.144);
  box-sizing: border-box;
}
.price-overskrift h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  padding: 0;
}
@media (max-width: 768px) {
  .price-overskrift { width: 90vw; }
}
.price-card-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 2rem;
  width: 60vw;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 500px) {
  .price-card-wrapper {
    width: 90vw;
    gap: 0.5rem;
  }
}
.price-info {
  width: 55vw;
  margin: 0 auto;
}
.price-info ul {
  padding: 0;
  margin: 1rem 0 3rem 0;
  font-size: 1rem;
}
@media (max-width: 500px) {
  .price-info {
    width: 85vw;
    gap: 0.5rem;
  }
  .price-info ul {
    font-size: 0.8rem;
  }
}
.price-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  font-family: sans-serif;
  background-color: #fff;
  margin-top: 1rem;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.144);
  border: 1px solid #cfcecd;
}
@media (max-width: 500px) {
  .price-card {
    width: auto;
    margin-top: 0.5rem;
  }
}
.price-top {
  background-color: #fff;
  color: #555;
  padding: 0.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  border-bottom: 1px solid #ddd;
}
@media (max-width: 768px) {
  .price-top {
    font-size: 0.8rem;
    padding: 0.2rem;
  }
}
.card-header {
  color: #fff;
  padding: 0.8rem 0;
  text-align: center;
  letter-spacing: 0.05rem;
}
.card-header h3 {
  font-size: 2rem;
  margin: 0;
}
.card-header h4 {
  font-size: 1.2rem;
  margin: 0;
}
.card-header p {
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .card-header {
    padding: 0.4rem 0;
  }
  .card-header h3 {
    font-size: 0.9rem;
  }
  .card-header h4 {
    font-size: 0.85rem;
  }
  .card-header p {
    font-size: 0.7rem;
  }
}
.features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features li {
  padding: 0.8rem 1rem;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #333;
}
.features li:nth-child(even) {
  background-color: #f5f7f9;
}
@media (max-width: 768px) {
  .features li {
    font-size: 0.8rem;
    padding: 0.4rem;
  }
}
.price-calc-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  font-family: sans-serif;
  background-color: #fff;
  margin-top: 1rem;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.144);
  border: 1px solid #cfcecd;
}
@media (max-width: 500px) {
  .price-calc-card {
    width: auto;
    margin-top: 0.5rem;
  }
}
.price-calc-top {
  background-color: #fff;
  color: #555;
  padding: 0.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  border-bottom: 1px solid #ddd;
}
@media (max-width: 768px) {
  .price-calc-top {
    font-size: 0.8rem;
    padding: 0.2rem;
  }
}
.calc-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.calc-features p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .calc-features p {
    font-size: 0.8rem;
  }
}
.calc-features li {
  padding: 0.8rem 1rem;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #333;
}
@media (max-width: 768px) {
  .calc-features li {
    font-size: 0.8rem;
  }
  .calc-features {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}
.paper-guide {
  text-align: center;
  margin: 2rem auto;
}
.paper-image {
  margin-bottom: 3rem;
}
.paper-image img {
  width: 50vw;
  height: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  .paper-image img {
    width: 80vw;
  }
}

/* ---------------------------- */
/* SIDE: PORTFOLIO - PROGRAM HR */
/* ---------------------------- */
.hr-program {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 3rem auto;
}
.hr-program hr {
  flex-grow: 1;
  border: none;
  height: 1px;
  background-color: #222;
}
.hr-program span {
  padding: 0 15px;
  font-weight: 500;
  font-size: 1.4rem;
  white-space: nowrap;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hr-program {
  height: 20px;
  width: auto;
}
.hr-program img {
  height: 20px;
  width: auto;
}
@media (max-width: 768px) {
  .hr-program span {
    font-size: 1.2rem;
  }
  .hr-program span {
    font-weight: 500;
    font-size: 1rem;
  }
}

/* ----------------------------------------- */
/* SIDE: PORTFOLIO - BILLEDER - BEFORE/AFTER */
/* ----------------------------------------- */
.portfolio-image-wrapper {
  padding-top: 0rem;
  margin-top: 0rem;
}
.portfolio-image-wrapper IMG {
  margin-top: 2rem;
}

.portfolio-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .portfolio-image {
    border-radius: 7px;
  }

  .portfolio-image-wrapper {
    padding-top: 0;
    margin-top:0;
  }
  .portfolio-image-wrapper IMG {
    padding-top: 0;
    margin-top: 0;
  }
}
.image-group-photoshop {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.before-after-3x2 {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: transparent;
}
.before-after-3x2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.horizontal-images-photoshop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.before-after {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}
.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.before-after .after,
.before-after-3x2 .after {
  z-index: 1;
  opacity: 1;
}
.before-after .before,
.before-after-3x2 .before {
  z-index: 2;
  animation: fadeBefore 4s infinite;
}
.before-after-horizontal {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}
.before-after-horizontal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.image-group-lightroom {
  display: grid;
  grid-template-columns: 4fr 5.2fr;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
}
.before-after-2x3 {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: transparent;
  grid-row: span 2;
}
.before-after-2x3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.horizontal-images-lightroom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.before-after-2x3 .after,
.horizontal-images-lightroom .before-after .after {
  z-index: 1;
  opacity: 1;
}
.before-after-2x3 .before,
.horizontal-images-lightroom .before-after .before {
  z-index: 2;
  animation: fadeBefore 4s infinite;
}
@keyframes fadeBefore {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}
@media (max-width: 768px) {
  .horizontal-images-photoshop {
    grid-template-columns: 1fr 1fr;
  }
  .horizontal-images-lightroom {
    grid-template-columns: 1fr;
  }
  .image-group-photoshop,
  .image-group-lightroom {
    order: -1;
    margin-top: 0rem;
  }
  .before-after-horizontal img,
  .before-after-2x3 img,
  .before-after img,
  .before-after-3x2 img {
    border-radius: 7px;
  }
  .image-group-photoshop,
  .image-group-lightroom,
  .horizontal-images-photoshop,
  .horizontal-images-lightroom {
    gap: 0.5rem;
  }
  .image-group-photoshop,
  .image-group-lightroom,
  .horizontal-images-photoshop,
  .horizontal-images-lightroom {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
  }
  .before-after,
  .before-after img,
  .before-after-3x2,
  .before-after-3x2 img,
  .before-after-2x3,
  .before-after-2x3 img,
  .before-after-horizontal,
  .before-after-horizontal img {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* --------------------------------------- */
/* -- SIDE: PORTFOLIO - VSCode BAGGRUND -- */
/* --------------------------------------- */
.main-wrapper-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 50vw;
  margin: 0 auto;
  margin-top: 3rem;
}
.main-wrapper-two-column h1 {
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .main-wrapper-two-column h1 {
    font-size: 1.2rem;
  }
}@media (max-width: 768px) {
  .main-wrapper-two-column {
    grid-template-columns: 1fr;
    width: 90vw;
    max-width: 90vw;
    margin-top: 0;
    padding-top: 0;
  }
}
.secondary-wrapper-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 50vw;
  margin: 0 auto;
  margin-top: 3rem;
}
.vscode-window {
  width: 50vw;
  aspect-ratio: 1919 / 1030; /* Horisontal */
  background: url('../img/portfolio/vscodewindowscreenshot1.webp') no-repeat center center;
  background-size: cover;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .vscode-window {
    width: 90vw;
    aspect-ratio: 845 / 1032;
    background: url('../img/portfolio/vscodemobilbaggrund1.webp') no-repeat center center;
    background-size: cover;
  }
  .secondary-wrapper-two-column {
    grid-template-columns: 1fr;
    width: 90vw;
    max-width: 90vw;
  }
}

/* ----------------------------- */
/* ------- SIDE: GALLERI ------- */
/* -------- GALLERIGRID -------- */
/* ------ PINTEREST STYLE ------ */
/* ----------------------------- */
.centered-info {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0;
  padding-top: 1.5rem;
}
@media (max-width: 768px) {
  .centered-info {
    font-size: 0.9rem;
  }
}
.gallery-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 75vw;
  margin: 2rem auto;
}
@media (max-width: 1024px) {
  .gallery-section-grid {
    width: 90vw;
  }
}
@media (max-width: 768px) {
  .gallery-section-grid {
    grid-template-columns: 1fr;
    width: 90vw;
  }
}
.gallery-block {
  background-color: #f9f9f9;
  border: 1px solid #cfcecd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.144);
}
@media (max-width: 768px) {
  .gallery-block {
    border-radius: 7px;
  }
}
.gallery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .gallery-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.gallery-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.gallery-text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 1024px) {
  .gallery-text h2 { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .gallery-text h2 { font-size: 1.5rem; }
}
.gallery-grid-manual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.gallery-grid-manual .full-width {
  grid-column: 1 / -1;
  width: 100%;
}
.gallery-column {
  display: grid;
  grid-auto-rows: auto;
  gap: 0.5rem;
}
.gallery-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
@media (max-width: 768px) {
  .gallery-image {
    border-radius: 7px;
  }
}
.gallery-image:fullscreen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

/* ----------------------------- */
/* ------- SIDE: GALLERI ------- */
/* ---- FULLSCREEN OVERLAY ----- */
/* ----------------------------- */
#lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .lightbox-arrow {
    font-size: 2rem;
    padding: 0 0.5rem;
  }
}
.lightbox-arrow.left {
  left: 10px;
}
@media (max-width: 768px) {
  .lightbox-arrow.left {
    left: 5px;
  }
}
.lightbox-arrow.right {
  right: 10px;
}
@media (max-width: 768px) {
  .lightbox-arrow.right {
    right: 5px;
  }
}
#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10001;
}
#lightbox-close:hover {
  color: #ccc;
}

/* ---------------------------- */
/* ------- SIDE: FOOTER ------- */
/* - PRIVATLIVSPOLITIK IFRAME - */
/* ---------------------------- */
#legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#legal-content {
  position: relative;
  background: white;
  width: 90vw;
  height: 90vh;
  max-width: 1200px;
  max-height: 800px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
}
#legal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#legal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  z-index: 10;
}
@media (max-width: 500px) {
  #legal-content {
    width: 95vw;
    height: 85vh;
  }
  #legal-close {
    font-size: 1.5rem;
    top: 8px;
    right: 10px;
  }
}

/* ---------------------------------- */
/* --- SIDE: PRODUKTER - DIAS MM: --- */
/* ---------------------------------- */
.scan-types-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.0rem;
}
.scan-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7rem;
  text-align: center;
  min-height: 130px;
  position: relative;
  flex: 1 1 150px;
  max-width: 100px;
  box-sizing: border-box;
}
.scan-frame {
  background-color: #ddd;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scan-window {
  border: 1px solid #333;
  background: white;
}
.scan-35mm-dias {
  width: 25px;
  height: 15px;
}
.scan-120 {
  width: 36px;
  height: 24px;
}
.scan-4x5 {
  width: 42px;
  height: 34px;
}
.paper-scan {
  background: #eee;
  font-size: 1.5rem;
  color: #888;
}
.scan-icon {
  line-height: 1;
  font-size: 2rem;
}
.scan-note {
  font-size: 0.7rem;
  color: #555;
}
.filmstrip-true {
  width: 60px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 10px 0;
}
.film-frame-true {
  background-color: #333;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 4px;
  box-sizing: border-box;
  margin: 1rem 0rem 1rem 0rem;
}
.film-body {
  display: flex;
  gap: 2px;
  padding: 0 2px;
  background-color: #888;
  flex: 1;
}
.frame-segment {
  flex: 1;
  background-color: #777;
  border: 1px solid #222;
  box-sizing: border-box;
}
.film-hole-row {
  display: flex;
  justify-content: space-between;
}
.film-hole-row span {
  display: block;
  width: 4px;
  height: 4px;
  background-color: #eee;
  border-radius: 1px;
}
@media (max-width: 768px) {
  .scan-type {
    flex: 1 1 50%;
    max-width: 50px;
  }
}
/* ==========================================================================
   Generel container for sektioner
   ========================================================================== */
.section-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  margin: 2rem auto;
  max-width: 1200px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* ========================================================================== 
   Overskrifter for tjenester 
   ========================================================================== */
.services-heading-1 {
  font-size: 1.8rem;
  text-align: center;
  background: #61b7c0;
  color: #fff;
  padding: 0.7rem;
  border-radius: 8px;
  margin: 0 auto 1rem;
  width: 98%;
}

.services-heading-2 {
  font-size: 1.8rem;
  text-align: center;
  background: #3995a1;
  color: #fff;
  padding: 0.7rem;
  border-radius: 8px;
  margin: 0 auto 1rem;
  width: 98%;
}

.services-heading-3 {
  font-size: 1.8rem;
  text-align: center;
  background: #007889;
  color: #fff;
  padding: 0.7rem;
  border-radius: 8px;
  margin: 0 auto 1rem;
  width: 98%;
}

/* ==========================================================================
   Grid-layout til service-kort
   ========================================================================== */
.service-grid {
  display: grid;
  gap: 2rem;
}

/* Fire kolonner på stor skærm */
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Tre kolonner på stor skærm */
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* To kolonner på stor skærm */
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* --------------------------------------------------------------------------
   Responsiv nedskalering til tablet / mindre skærme
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Mobil-visning: Én kolonne, smallere fart (margin/padding)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .services-heading-1,
  .services-heading-2,
  .services-heading-3 {
    width: 92.5%;
    margin-bottom: 1rem;
  }
  .section-box {
    width: 90vw;
  }
}

/* ==========================================================================
   Stil for hvert service-card (flex i kolonne-retning)
   ========================================================================== */
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Billede i toppen af kortet */
.service-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   .service-content: alt indhold under billedet, i kolonne-flex
   ========================================================================== */
.service-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;      /* fylder resterende højde */
  padding: 1rem;
  color: #fff;
  text-align: center;
}

/* H3-overskrift i kortet */
.service-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   Beskrivelses­blok (placeret øverst i .service-content)
   -------------------------------------------------------------------------- */
.desc p {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Prissektions­wrapper (pris + knap) – denne skubbes ned i bunden
   -------------------------------------------------------------------------- */
.price-group {
  margin-top: auto;          /* “skubber” denne blok nedad */
  display: flex;
  flex-direction: column;
}

/* Hvis der er flere pris-<p> i .price-group, giver vi lidt afstand */
.price-group p {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.4;
}

/* Knappen placeres som sidste element i price-group */
.service-button {
  display: inline-block;
  background: #fff;
  color: #007889;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.service-button:hover {
  background-color: #f1f1f1;
}

/* ==========================================================================
   Baggrundsfarver til kortenes indhold
   ========================================================================== */
.bg1 { background-color: #61b7c0; }
.bg2 { background-color: #3995a1; }
.bg3 { background-color: #007889; }
.bg4 { background-color: #46959b; }


.scan-info-note {
  margin: 1rem 0 1rem 2rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .scan-info-note {
    margin: 0.5rem 0 0.5rem 1rem;
    font-size: 0.7rem;
  }
}
.faq-container {
  width: 50vw;
  margin: 2rem auto;
}
@media (max-width: 768px) {
  .faq-container {
    width: 90vw;
  }
}

.faq-item {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: white;
  overflow: hidden; /* sikrer at rundede hjørner vises korrekt */
  transition: box-shadow 0.3s ease;
}

.faq-question {
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 1rem;
  border-top: 1px solid #ccc;
  background: #f9f9f9;
  transition: height 0.6s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  /* Højde sættes via JS – men padding aktiveres her */
  padding: 1rem;
}
.faq-nav {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.faq-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.faq-nav a {
  text-decoration: none;
  color: #00798a;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.faq-nav a:hover {
  background: #f0f0f0;
}
.faq-container h2 {
  scroll-margin-top: 3.5rem; /* eller fx 3.5rem afhængigt af sticky menuens højde */
}

.kontakt-menu {
  width: 50vw;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  text-align: center;
}

.kontakt-menu a {
  color: #00798a;
  text-decoration: none;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.kontakt-menu a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
.kontakt-menu {
  width: 90vw;
    margin: 0 auto 0.5rem;
}
.kontakt-menu a {
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
}
}