/* Important Notice Section */
.important-notice-section {
  background-color: #1F3377;
  margin-top: 0;
  position: relative;
  padding: 30px 0;
}

.important-notice-section .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.important-notice-section .notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.important-notice-section .text-wrapper p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 800px;
}

.important-notice-section .text-wrapper p strong {
  color: #FEEC01;
  font-weight: 700;
}

/* Fix für die ungleichen Button-Breiten in der primary-section - linksbündig */
.primary-section .content-wrapper .content .btn-primary {
    display: block;  /* Buttons untereinander anzeigen */
    width: 170px;   /* Feste Breite für beide Buttons */
    box-sizing: border-box;
    text-align: center;
    padding: 10px 0;
    margin: 15px 0 0 0;  /* Abstand oben, kein automatischer Rand links/rechts */
  }
  
  /* Ersten Button extra Abstand geben */
  .primary-section .content-wrapper .content .btn-primary:first-of-type {
    margin-top: 25px;
  }
  
  /* Responsives Design für mobile Geräte */
  @media screen and (max-width: 400px) {
    .primary-section .content-wrapper .content .btn-primary {
      width: 150px;
    }
  }

/* Primary Section */
.primary-section {
    background-color: #203277;
    margin-top: 85px;
    position: relative;
  }
  
  .primary-section .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px 120px;
  }
  
  .primary-section .content-wrapper .content {
    color: #fff;
  }
  
  .primary-section .content-wrapper .content h1 {
    font-family: "Bai Jamjuree";
    font-weight: 400;
    font-size: 36px;
  }
  
  .primary-section .content-wrapper .content h1 .primary-text {
    color: #fdea00;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
  }
  
  .primary-section .content-wrapper .content .features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .primary-section .content-wrapper .content .features .item {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .primary-section .content-wrapper .content .features .item .icon-wrapper img {
    width: 25px;
  }
  
  .primary-section .content-wrapper .content .features .item h3 {
    color: #fff;
    font-family: "Bai Jamjuree";
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 400;
  }
  
  .primary-section .content-wrapper .content .features a.item {
    text-decoration-color: #feec01;
  }
  
  .primary-section .content-wrapper .content .features .split {
    display: flex;
    gap: 30px;
  }
  
  .primary-section .content-wrapper .content .btn-primary {
    margin-top: 25px;
  }
  
  .primary-section .deco, 
  .primary-section .deco-mobile, 
  .primary-section .deco-mobile-xs {
    position: absolute;
    bottom: -10px;
    right: 0;
    height: auto;
    pointer-events: none;
  }
  
  .primary-section .deco-mobile, 
  .primary-section .deco-mobile-xs {
    display: none;
  }
  
  /* Video Section */
  .video-section {
    max-width: 1250px;
    margin: 0 auto;
    padding: 70px 30px 0;
  }
  
  .video-section h2 {
    font-family: "Bai Jamjuree";
    font-weight: 600;
    font-size: 54px;
    margin-bottom: 20px;
  }
  
  .video-section iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 5px;
  }
  
  .video-section .btn-primary {
    margin: 20px auto 0;
  }
  
  /* Service Section Wrapper */
  .service-section-wrapper {
    overflow: hidden;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
    overflow: visible;
  }
  
  .service-section-wrapper .service-section {
    max-width: 1250px;
    margin: 0 auto;
    padding: 60px 30px 80px;
  }
  
  .service-section-wrapper .service-section h2 {
    font-family: "Bai Jamjuree";
    font-weight: 600;
    font-size: 58px;
    margin-bottom: 40px;
  }
  
  .service-section-wrapper .service-section .grid {
    display: grid;
    row-gap: 50px;
    -moz-column-gap: 75px;
    column-gap: 75px;
    grid-template-columns: calc(33.33% - 50px) calc(33.33% - 50px) calc(33.33% - 50px);
  }
  
  .service-section-wrapper .service-section .grid .item {
    background-color: #203277;
    border-radius: 30px;
    padding: 24px 35px 30px;
    position: relative;
    z-index: 2;
  }
  
  .service-section-wrapper .service-section .grid .item .deco {
    width: 260px;
    height: 260px;
    position: absolute;
    z-index: -1;
    bottom: -72px;
    left: -30px;
  }
  
  .service-section-wrapper .service-section .grid .item h3 {
    color: #feec01;
    font-family: Mulish;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
  }
  
  .service-section-wrapper .service-section .grid .item .bullet-points {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: Palanquin;
    color: #c5c8d5;
  }
  
  .service-section-wrapper .service-section .grid .item .bullet-points .bullet-point {
    display: flex;
    gap: 7px;
    align-items: center;
  }
  
  .service-section-wrapper .service-section .grid .item .bullet-points .bullet-point img {
    transform: translateY(-1.5px);
  }
  
  .service-section-wrapper .service-section .grid .item .bullet-points .bullet-point p {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 400;
  }
  
  .service-section-wrapper .service-section .grid .item .btn-primary {
    align-self: flex-end;
    margin-top: 25px;
    background-color: #feec01;
    color: #082537;
    border-radius: 10px;
    padding: 10px 32px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
  }
  
  .service-section-wrapper .service-section .grid .item .btn-primary:hover {
    color: #003657;
    background-color: #d1d1d1;
  }
  
  .service-section-wrapper .service-section .grid .contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
  }
  
  .service-section-wrapper .service-section .grid .contact-item .deco-person {
    width: 102.17px;
    height: 83.69px;
    position: absolute;
    z-index: 1;
    transform: translate(-84px, 47px);
  }
  
  .service-section-wrapper .service-section .grid .contact-item .deco-circle {
    width: 260px;
    height: 260px;
    position: absolute;
    z-index: -1;
    bottom: -190px;
    left: -106px;
  }
  
  .service-section-wrapper .service-section .grid .contact-item .deco-animation {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transform: translate(124px, -14px);
  }
  
  /* CTA Section */
  .cta-section {
    background-color: #feec01;
    padding: 60px 0;
    position: relative;
    z-index: 1;
  }
  
  .cta-section .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
  }
  
  .cta-section .content-wrapper h2 {
    text-align: center;
    font-family: "Bai Jamjuree";
    font-weight: 600;
    font-size: 50px;
    margin-bottom: 30px;
    color: #1e3075;
  }
  
  .cta-section .content-wrapper .items {
    display: flex;
    gap: 30px;
    justify-content: space-between;
  }
  
  .cta-section .content-wrapper .items .item {
    width: 340px;
  }
  
  .cta-section .content-wrapper .items .item .animation {
    margin: 0 auto;
  }
  
  .cta-section .content-wrapper .items .item p {
    margin-top: 5px;
    text-align: center;
    font-family: "Bai Jamjuree";
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 0;
  }
  
  .cta-section .content-wrapper .btn-primary {
    margin: 30px auto 0;
    background-color: #203277;
    color: #feec01;
    z-index: 1;
    position: relative;
  }
  
  .cta-section .content-wrapper .btn-primary:hover {
    color: #feec01;
    background-color: #0d1a52;
  }
  
  .cta-section .lower-deco {
    position: absolute;
    bottom: 0;
    right: 0;
    min-width: 100%;
    height: 70px;
  }
  
  .cta-section .deco-car {
    position: absolute;
    bottom: -10px;
    right: 40px;
    width: 190px;
  }
  
  /* Contact CTA Section */
  .contact-cta-section {
    margin-top: 20px;
    width: 100%;
    padding: 60px 0;
    background-color: #203277;
  }
  
  .contact-cta-section .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
    color: #fff;
  }
  
  .contact-cta-section .content-wrapper h3 {
    text-align: center;
    font-family: "Bai Jamjuree";
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .contact-cta-section .content-wrapper p {
    text-align: center;
    font-size: 18px;
  }
  
  .contact-cta-section .content-wrapper .btn-primary {
    margin: 25px auto 0;
  }
  
  /* Media Queries */
  @media screen and (max-width: 1130px) {
    .service-section-wrapper .service-section .grid {
      -moz-column-gap: 50px;
      column-gap: 50px;
      grid-template-columns: calc(50% - 25px) calc(50% - 25px);
    }
  }
  
  @media screen and (max-width: 1030px) {
    .primary-section .content-wrapper {
      padding-bottom: 90px;
    }
    
    .primary-section .deco {
      display: none;
    }
    
    .primary-section .deco-mobile {
      display: block;
      width: 1100px;
    }
    
    .primary-section .deco-mobile-xs {
      width: 1100px;
    }
  }
  
  @media screen and (max-width: 900px) {
    .service-section-wrapper .service-section h2 {
      font-size: 44px;
      text-align: center;
    }
    
    .video-section h2 {
      font-size: 44px;
    }
    
    .cta-section .content-wrapper h2 {
      font-size: 40px;
    }
    
    .cta-section .content-wrapper .items {
      flex-direction: column;
      gap: 15px;
    }
    
    .cta-section .content-wrapper .items .item {
      width: 100%;
    }
    
    .contact-cta-section .content-wrapper h3 {
      font-size: 34px;
    }
  }
  
  @media screen and (max-width: 816px) {
    .primary-section .content-wrapper {
      padding-bottom: 80px;
    }
    
    .primary-section .deco-mobile,
    .primary-section .deco-mobile-xs {
      width: 850px;
    }
  }
  
  @media screen and (max-width: 690px) {
    .cta-section {
      padding-bottom: 80px;
    }
  }
  
  @media screen and (max-width: 590px) {
    .reviews-section {
      margin-top: 0 !important;
    }
  }
  
  @media screen and (max-width: 587px) {
    .cta-section {
      padding-bottom: 110px;
    }
  }
  
  @media screen and (max-width: 550px) {
    .service-section-wrapper .service-section .grid {
      row-gap: 25px;
    }
  }
  
  @media screen and (max-width: 510px) {
    .cta-section {
      padding-bottom: 135px;
    }
    
    .cta-section .content-wrapper h2 {
      margin-bottom: 10px;
    }
    
    .contact-section {
      padding: 60px 30px 50px;
    }
  }

  /* Solution to display "Carbon-optik schilder bei uns erhältlich" in multiple lines while keeping icon alignment */
@media screen and (max-width: 650px) {
    /* Keep original styles */
    .primary-section .content-wrapper {
      padding-top: 60px;
      padding-bottom: 75px;
    }
    
    .primary-section .content-wrapper .content h1 {
      font-size: 30px;
    }
    
    .primary-section .content-wrapper .content h1 .primary-text {
      font-size: 50px;
    }
    
    /* Maintain the item layout but allow text to wrap properly for both items */
    .primary-section .content-wrapper .content .features a.item,
    .primary-section .content-wrapper .content .features .item {
      display: flex;
      flex-direction: row;
      align-items: flex-start; /* Align to top instead of center */
      gap: 12px;
    }
    
    /* Style the text part for both "Annahmestellen" and "Carbon-optik" items */
    .primary-section .content-wrapper .content .features a.item .text-wrapper h3,
    .primary-section .content-wrapper .content .features .item .text-wrapper h3 {
      display: block;
      width: 180px;
      white-space: normal;
      line-height: 1.3;
      word-wrap: break-word;
    }
    
    /* Ensure icon wrapper stays aligned at the top */
    .primary-section .content-wrapper .content .features .item .icon-wrapper {
      flex-shrink: 0; /* Prevent icon from shrinking */
      margin-top: 2px; /* Fine-tune vertical alignment if needed */
    }
    
    /* Keep original license plate styling */
    .primary-section .deco-mobile, .primary-section .deco-mobile-xs {
      width: 700px;
    }
}
  
/* Solution to display "Annahmestellen in Ihrer Nähe" in two lines while keeping icon alignment */
@media screen and (max-width: 650px) {
    /* Keep original styles */
    .primary-section .content-wrapper {
      padding-top: 60px;
      padding-bottom: 75px;
    }
    
    .primary-section .content-wrapper .content h1 {
      font-size: 30px;
    }
    
    .primary-section .content-wrapper .content h1 .primary-text {
      font-size: 50px;
    }
    
    /* Maintain the item layout but allow text to wrap properly */
    .primary-section .content-wrapper .content .features a.item {
      display: flex;
      flex-direction: row;
      align-items: flex-start; /* Align to top instead of center */
      gap: 12px;
    }
    
    /* Style the text part only */
    .primary-section .content-wrapper .content .features a.item span,
    .primary-section .content-wrapper .content .features a.item h3 {
      display: block;
      width: 180px;
      white-space: normal;
      line-height: 1.3;
    }
    
    /* Keep original license plate styling */
    .primary-section .deco-mobile, .primary-section .deco-mobile-xs {
      width: 700px;
    }
  }
  
  @media screen and (max-width: 590px) {
    .service-section-wrapper .service-section {
      padding-top: 50px;
    }
    
    .service-section-wrapper .service-section h2 {
      font-size: 40px;
      text-align: left;
      margin-bottom: 25px;
    }
    
    .service-section-wrapper .service-section .grid {
      -moz-column-gap: 50px;
      column-gap: 50px;
      grid-template-columns: 100%;
    }
    
    .service-section-wrapper .service-section .grid .item {
      flex: 1;
      width: 360px;
      max-width: 100%;
      margin: 0 auto;
    }
    
    .service-section-wrapper .service-section .grid .contact-item {
      margin-top: 40px;
    }
    
    .service-section-wrapper .service-section .grid .contact-item .deco-animation {
      transform: translate(141px, -14px);
    }
    
    .video-section {
      padding-top: 65px;
    }
    
    .video-section h2 {
      font-size: 40px;
      margin-bottom: 10px;
    }
  }
  
  @media screen and (max-width: 560px) {
    .primary-section .content-wrapper {
      padding-top: 60px;
      padding-bottom: 90px;
    }
    
    .primary-section .content-wrapper .content h1 {
      font-size: 26px;
      text-align: center;
    }
    
    .primary-section .content-wrapper .content h1 .primary-text {
      font-size: 44px;
    }
    
    .primary-section .content-wrapper .content .features .split {
      flex-direction: column;
      gap: 20px;
    }
    
    .primary-section .deco-mobile,
    .primary-section .deco-mobile-xs {
      width: 700px;
    }
  }
  
  @media screen and (max-width: 495px) {
    .primary-section .content-wrapper .content h1 {
      font-size: 22px;
    }
    
    .primary-section .content-wrapper .content h1 .primary-text {
      font-size: 36px;
    }
  }
  
  @media screen and (max-width: 421px) {
    .primary-section .content-wrapper {
      padding-bottom: 100px;
    }
    
    .primary-section .content-wrapper .content h1 {
      font-size: 20px;
    }
    
    .primary-section .content-wrapper .content h1 .primary-text {
      font-size: 32px;
    }
    
    .service-section-wrapper .service-section h2 {
      margin-bottom: 20px;
      font-size: 36px;
    }
    
    .service-section-wrapper .service-section .grid .contact-item .deco-animation {
      transform: translate(140px, -14px);
    }
    
    .video-section h2 {
      font-size: 36px;
    }
    
    .cta-section .content-wrapper h2 {
      font-size: 36px;
      margin-bottom: 20px;
    }
    
    .cta-section .content-wrapper .items {
      gap: 10px;
    }
  }
  
  @media screen and (max-width: 1274px) {
    .service-section-wrapper .service-section .grid .contact-item .deco-animation {
      transform: translate(141px, -14px);
    }
  }
  
  @media screen and (max-width: 722px) {
    .service-section-wrapper .service-section .grid .contact-item .deco-animation {
      transform: translate(122px, -62px);
    }
  }
  
  @media screen and (max-width: 420px) {
    .primary-section .deco-mobile {
      display: none;
    }
    
    .primary-section .deco-mobile-xs {
      display: block;
    }
  }
  
  @media screen and (max-width: 380px) {
    .service-section-wrapper .service-section .grid .contact-item .deco-animation {
      transform: translate(150px, -14px);
    }
  }
  
  @media screen and (max-width: 384px) {
    .primary-section .content-wrapper {
      padding-bottom: 100px;
    }
    
    .primary-section .content-wrapper .content h1 {
      font-size: 18px;
    }
    
    .primary-section .content-wrapper .content h1 .primary-text {
      font-size: 30px;
    }
  }
  