:root {
    --ink: #1a1a1a;
    --ink-soft: rgb(120, 120, 120);
    --accent: rgb(157, 150, 132);
    --accent-soft: rgb(230, 223, 207);
    --surface: #ffffff;
    --surface-alt: rgb(140, 140, 140);
    --surface-dark: rgb(101, 101, 101);
    --text-muted: rgba(255, 255, 255, 0.78);
    --radius: 1rem;
    --gradient-beige: linear-gradient(to right, rgba(200,193,177,1) 0%, rgba(157,150,132,1) 100%);
    --gradient-beige-hover: linear-gradient(90deg, rgba(210, 203, 187, 1) 0%, rgba(230, 223, 207, 1) 100%);
    --gradient-grey: linear-gradient(0deg, rgba(158, 158, 158, 1) 0%, rgba(128, 128, 128, 1) 100%);
    --shadow-soft: 0 8px 16px 0 rgba(0, 0, 0, 0.15), 0 12px 30px 0 rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 16px 0 rgba(0, 0, 0, 0.4), 0 12px 40px 0 rgba(0, 0, 0, 0.3);
  }

  * {
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--surface);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--ink);
  }

  sup {
    font-size: 13px;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    opacity: 0.8;
  }

  h1, h2, h3, h4, h5 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
  }

  h5 {
    font-size: 1.1rem;
    color: white;
  }

  p, a {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
  }

  .shadow {
    box-shadow: var(--shadow-strong);
  }

  .section-pad {
    padding-top: 4rem;
    padding-bottom: 1rem;
  }

  .container-fluid-grey {
    background-color: var(--surface);
    color: var(--ink);
  }

  .container-fluid-grey2 {
    background-image: linear-gradient(rgba(140, 140, 140, 0.82), rgba(140, 140, 140, 0.82)), url('Bilder/Bildspel1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
  }

  .container-fluid-grey3 {
    background-image: linear-gradient(rgba(101, 101, 101, 0.85), rgba(101, 101, 101, 0.85)), url('Bilder/Bildspel2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
  }

  .container-fluid-grey3 .text-muted-section {
    color: rgba(255,255,255,0.7);
  }

  .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-soft);
    display: block;
    margin-bottom: 0.4rem;
  }

  .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem auto;
  }

  .navColor {
    background: var(--gradient-grey);
  }

  .container-fluid-black {
    background-color: var(--surface-dark);
  }

  @media screen and (min-width: 1000px) {
    .centered {
      position: absolute;
      transform: translate(-50%, -50%);
      top: 40%;
      left: 40%;
    }

    .barpos {
      position: absolute;
      bottom: 0%;
      left: 0%;
    }

    .offcanvas {
      display: none !important;
    }

    .menu {
      display: none !important;
    }

    .imgStyle {
      position: absolute;
      right: 5%;
      bottom: 30%;
      width: 400px;
      height: 500px;
      border-radius: var(--radius);
    }
  }

  @media screen and (max-width: 1000px) {
    .centered {
      position: absolute;
      transform: translate(-50%, -50%);
      top: 50%;
      left: 65%;
    }

    .nav-item {
      display: none !important;
    }

    .barpos {
      position: absolute;
      bottom: 0%;
      left: 0%;
    }

    .imgStyle {
      position: absolute;
      right: 5%;
      bottom: -10%;
      width: 240px;
      height: 300px;
      border-radius: var(--radius);
    }
  }

  i {
    font-size: 20px;
  }

  .left {
    float: left;
  }

  .right {
    float: right;
  }

  .menu {
    color: white;
    font-size: 30px;
    background: var(--gradient-grey);
    border-radius: 0.6rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 48px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .menu:hover {
    color: black;
    cursor: pointer;
    background: var(--gradient-beige-hover);
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
  }

  .menuLinks {
    color: white;
    text-decoration: none;
    font-size: 20px;
  }

  .menuLinks:hover {
    text-decoration: underline;
  }

  .accordion-button {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
  }

  .card-body i {
    color: white;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.55rem 0.7rem;
    display: inline-flex;
  }

  .cardColor {
    background: var(--gradient-beige);
    color: white;
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
  }

  .btnColor {
    background: linear-gradient(to right, rgba(247,246,244,1) 0%, rgba(198,194,183,1) 100%);
    color: var(--ink);
    font-weight: 600;
    border: none;
  }

  .icon {
    transform: translate(50%, 50%);
    top: 25%;
    left: 50%;
  }

  .dropdown-item {
    background: var(--gradient-beige);
    color: white;
    padding: 0.55rem 1rem;
  }

  .dropdown-item:hover {
    background: var(--gradient-beige-hover);
    cursor: pointer;
  }

  .dropdown-item:hover > a {
    color: black !important;
  }

  .dropdown-menu {
    background: var(--gradient-beige);
    box-shadow: var(--shadow-strong);
    border-radius: 0.75rem;
    border: none;
    padding: 0.5rem;
    margin-top: 0.5rem;
  }

  .card-body2 {
    transition: background 0.18s ease;
  }

  .card-body2:hover {
    background: var(--gradient-beige-hover);
    cursor: pointer;
  }

  .card-body2 > a {
    color: white;
  }

  .card-body2:hover > a {
    color: black !important;
  }

  .card-header2 {
    transition: background 0.18s ease;
  }

  .card-header2:hover {
    background: var(--gradient-beige-hover);
    cursor: pointer;
  }

  .card-header2 > a {
    color: white;
  }

  .card-header2:hover > a {
    color: black !important;
  }

  .nav-item {
    background: var(--gradient-beige);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
    transition: background 0.18s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .nav-item:hover {
    background: var(--gradient-beige-hover);
    box-shadow: var(--shadow-strong);
    cursor: pointer;
  }

  .nav-item > a {
    color: white;
  }

  .nav-item:hover > a {
    color: black !important;
  }

  .offcanvas-header {
    background: var(--gradient-grey);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
  }

  .barcol {
   background: var(--gradient-beige);
  }

  .barpos2 {
      position: absolute;
      top: 10%;
      left: 0%;
  }

  .extraText {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .cardExpand:hover .extraText {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
  }

  .moreText {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .moreText.show {
    display: block;
  }

  .cardExpand:hover .moreText.show {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
  }

  .readMoreBtn {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.18s ease;
  }

  .cardExpand:hover .readMoreBtn {
    opacity: 1;
    transition-delay: 0.6s;
  }

  .readMoreBtn:hover {
    background: rgba(0, 0, 0, 0.3);
  }

  .cardExpand {
    scroll-margin-top: 100px;
  }

  .cardExpand.card-target {
    animation: cardTargetPulse 1.8s ease-out 2;
  }

  @keyframes cardTargetPulse {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), var(--shadow-soft);
    }
    20% {
      box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.95), var(--shadow-soft);
    }
    70% {
      box-shadow: 0 0 0 26px rgba(255, 255, 255, 0), var(--shadow-soft);
    }
  }

  .span {
    display: block;
    width:750px;
    word-wrap:break-word;
  }

  .outlined-text {
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .logoBox {
    height: auto;
    width: 220px;
    margin-left: auto;
    align-self: center;
  }

  @media screen and (max-width: 1240px) {
    .cardExpand {
      background: var(--gradient-beige);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius);
      height: 200px;
      width: 100%;
      color: white;
      transition: height 0.5s ease, box-shadow 0.3s ease;
      overflow:hidden;
    }

    .cardExpand:hover {
      height: 600px;
      box-shadow: var(--shadow-strong);
    }

    .adCard2 {
      background: var(--gradient-beige);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius);
      max-height: 200px;
      max-width: 100%;
      transition: max-width 1s ease-in-out, max-height 1s ease-in-out;
      overflow:hidden;
      color: white;
    }

    .adCard {
      background: var(--gradient-beige);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius);
      height: 200px;
      width: 100%;
      color: white;
      transition: width 1s ease-in-out, height 1s ease-in-out;
      overflow:hidden;
    }
  }

  @media screen and (min-width: 1240px) {
    .cardExpand {
      background: var(--gradient-beige);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius);
      max-height: 200px;
      max-width: 20%;
      transition: max-width 0.5s ease, max-height 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
      overflow:hidden;
      color: white;
    }

    .cardExpand:hover {
      max-height: 650px;
      max-width: 50%;
      box-shadow: var(--shadow-strong);
      transform: translateY(-3px);
    }

    .adCard2 {
      background: var(--gradient-beige);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius);
      max-height: 200px;
      max-width: 61.75%;
      transition: max-width 1s ease-in-out, max-height 1s ease-in-out;
      overflow:hidden;
      color: white;
    }

    .adCard {
      background: var(--gradient-beige);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius);
      max-height: 200px;
      max-width: 20%;
      transition: max-width 1s ease-in-out, max-height 1s ease-in-out;
      overflow:hidden;
      color: white;
    }
  }

  .imgAdWrapper {
    background: white;
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .imgAd {
    display: block;
    max-width: 100%;
    max-height: 75px;
    height: auto;
  }

  .hero-cta {
    background: var(--gradient-beige);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.6rem;
    padding: 0.65rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    background: var(--gradient-beige-hover);
    color: black;
  }

  .guideCard {
    background: var(--gradient-beige);
    color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
    width: 230px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .guideCard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
  }

  .guideCard i {
    font-size: 28px;
    color: white;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.5rem 0.65rem;
    display: inline-flex;
    margin-bottom: 0.5rem;
  }

  .guideCard p {
    font-size: 0.9rem;
    opacity: 0.9;
  }