.review-text:not(.preserve-linebreaks) {
  margin-top: 0 !important;
  font-weight: bold !important;
}

.sub {
  flex: 1 !important;
}

.reviews-title,
.label {
  margin-bottom: 3rem !important;
  text-align: center !important;
  width: fit-content;
}

h2 {
  display: none;
}

section#werkwijze {
  text-align: center !important;
  background-color: #008080 !important;
  color: white !important;
  padding: 2rem 0 2rem 0 !important;
  max-width: 60% !important;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 0.085rem 1.125rem #270f0458;
}

#werkwijze .flex-column {
  padding: 0 1rem;
}

#werkwijze h1 {
  color: white !important;
}

#werkwijze p {
  color: white !important;
  font-size: 18px !important;
  text-align: left;
}

.story .wrapper {
  align-items: center !important;
}

.green {
  background-color: #008080 !important;
  color: white !important;
}

.green h4,
.green p {
  color: white !important;
}

.wrapper.btn {
  margin: 0 auto;
  gap: 2px;
  align-items: stretch !important;
}

.cta-icon {
  width: fit-content !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
}

.cta,
.cta-icon {
  border-radius: 4px !important;
}

.klantlogos-slider img {
  padding: 1rem;
  background-color: white;
}

.menu {
  display: none !important;
}

#werkwijze .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #edf3eb;
  width: fit-content;
  padding: 1rem 3rem;
  border-radius: 60px;
  margin: 0 auto 2rem;
  width: 55%;
}

.logo img {
  display: block !important;
}

.reviews {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.reviews .sqzl-column {
  flex-direction: column !important;
  display: flex;
  gap: 1rem;
}

.reviews h3 {
  display: none;
}

body p {
  font-size: 18px !important;
}

.reviews p {
  font-size: 14px !important;
}

body h4 {
  font-size: 20px;
}
h1 {
  font-size: 30px;
}

@media (min-width: 768px) {
  main section .container:not(.hero .container) {
    max-width: 75vw !important;
  }

  .klantlogos-slider,
  .reviews-slider {
    max-width: 75vw;
    margin: 0 auto;
  }

  .reviews .sqzl-column {
    width: 25%;
  }

  body h4 {
    font-size: 28px;
  }
  h1 {
    font-size: 40px;
  }

  .label {
    font-size: 20px !important;
  }
}

/* CSS voor alle voormalige inline styling */

/* Hero section image */
.hero-image {
  width: 100%;
  height: 50vh;
}

/* Programma section styling */
.programma .container.intro_wrapper {
  padding: 0 4vw;
  width: unset;
  margin-bottom: 0;
}

.programma .intro_wrapper {
  margin-bottom: 0;
  margin-top: 4rem;
}

/* Klantlogos section */
.klantlogos-section {
  margin-bottom: 0 !important;
}

.klantlogos-title {
  text-align: center;
  margin-bottom: 1rem;
}

/* Review styling */
.review-text {
  margin-top: 2rem;
}

.review-author {
  font-weight: bold !important;
  font-style: italic;
}

.review-author-with-margin {
  font-weight: bold !important;
  font-style: italic;
  margin-top: 2rem !important;
}

/* Vergelijking section */
.vergelijking .container.intro_wrapper {
  padding: 0 4vw;
  width: unset;
  margin-bottom: 0;
}

.vergelijking .intro_wrapper {
  margin-bottom: 0;
  margin-top: 4rem;
}

.whyright h6 {
  color: #2d3047;
}

.whyright li {
  color: #2d3047;
}

/* Calculator section */
.calculator .container.intro_wrapper {
  padding: 0 4vw;
  width: unset;
  margin-bottom: 0;
}

.calculator .intro_wrapper {
  margin-bottom: 0;
  margin-top: 4rem;
}

.calculator .cta-link {
  margin-top: 4rem;
}

.hide {
  display: none;
}

/* GTM noscript iframe */
.gtm-noscript {
  display: none;
  visibility: hidden;
}

/* Browser compatibiliteit voor alle styling */
.hero-image {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.programma .container.intro_wrapper,
.vergelijking .container.intro_wrapper,
.calculator .container.intro_wrapper {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.klantlogos-title {
  -webkit-text-align: center;
  -moz-text-align: center;
  -ms-text-align: center;
  text-align: center;
}

.review-author,
.review-author-with-margin {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hide {
  -webkit-display: none;
  -moz-display: none;
  -ms-display: none;
  display: none;
}

/* Flexbox browser compatibility */
.sqzl-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.sqzl-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.mobile-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

@media (min-width: 768px) {
  .mobile-column {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.preserve-linebreaks {
  white-space: pre-line;
}

.portfolio {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: -1px;
  margin: 2rem 0 0;
  background: none;
  height: 400px;
  width: 100%;
  transform: translate(0, 24%);
}

.portfolio img {
  background: #fff;
  border-radius: 8px 8px 2px 2px;
  box-shadow: 0 0.085rem 1.125rem #270f0458;
  object-fit: contain;
  transition: transform 0.2s;
}

.portfolio img:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
}

.portfolio img {
  width: fit-content;
  object-fit: cover;
  object-position: top;
}

.portfolio img:nth-child(1) {
  width: 22%;
  max-height: 60%;
  margin-right: -2rem;
  z-index: 1;
}

.portfolio img:nth-child(2) {
  width: 28%;
  max-height: 80%;
  margin-right: -1rem;
  z-index: 2;
}

.portfolio img:nth-child(3) {
  width: 35%;
  max-height: 100%;
  z-index: 3;
}

.portfolio img:nth-child(4) {
  width: 28%;
  max-height: 80%;
  margin-left: -1rem;
  z-index: 2;
}

.portfolio img:nth-child(5) {
  width: 22%;
  max-height: 60%;
  margin-left: -2rem;
  z-index: 1;
}

.center {
  text-align: center !important;
}

.form-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: fit-content;

  border: 1px solid #e5e7eb;
  margin: 0 auto 2rem;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
  line-height: 1.2;
  margin-bottom: 1rem !important;
}

ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  font-weight: 500;
}

.form-group {
  margin-bottom: 24px;
  margin-top: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: white;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.success-message {
  display: none;
  text-align: center;
  color: #059669;
  font-weight: 500;
  margin-top: 20px;
  padding: 16px;
  background: #ecfdf5;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
}

.error-message {
  display: none;
  text-align: center;
  color: #dc2626;
  font-weight: 500;
  margin-top: 20px;
  padding: 16px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

.loading {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #6b7280;
}

.loading::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f4f6;
  border-top: 2px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 24px;
  }

  .portfolio {
    width: calc(100% + 2rem);
    height: 250px;
    transform: translate(-1rem, 6rem);
  }
}

header.desktop .container {
  height: fit-content !important;
  padding: 0 !important;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 1px;
  max-width: 60%;
  margin: 0 auto;
  box-shadow: unset !important;
}

.announcement-bar {
  background: #008080;
  padding: 0.5rem;
  border-radius: 0 0 12px 12px;
  width: fit-content;
  margin: 0 auto;
}

.announcement-bar-text {
  font-size: 14px !important;
  color: white !important;
  line-height: 1.5 !important;
}

@media (max-width: 768px) {
  header.desktop .container {
    height: fit-content !important;
    padding: 0 1rem !important;
    flex-direction: column;
    width: 100%;
    max-width: unset;
  }

  .announcement-bar {
    width: 100%;
  }

  .logo {
    margin: 1rem 0 !important;
  }

  section#werkwijze {
    max-width: 95% !important;
  }
}

@media (min-width: 1100px) {
  header.desktop .container {
    flex-direction: row-reverse !important;
    align-items: flex-start;
    justify-content: space-between;
  }

  .logo {
    justify-content: flex-start !important;
    margin-left: 1rem;
  }

  #werkwijze .wrapper.btn {
    width: fit-content;
  }
}
