@font-face {
  font-family: "Inter 18pt";
  src: url("../fonts/Inter18pt-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("../fonts/Inter28pt-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("../fonts/Inter18pt-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("../fonts/Inter18pt-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter 18pt";
  src: url("../fonts/Inter18pt-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-color: #393939;
  --bg-color: #e4eaf0;
  --master: #1259cb;
  --white: #fff;
  --bg-color-top: #ffffff;
  --font-color-hover: #393939;
  --color-gray: #e4e9f0;
  --blue-light: #6ba5e7;
  --blue-medium: #4c8ed9;
  --blue-dark: #1259cb;
  --blue-darker: #0d3d7f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --font-color: #ffffff;
    --bg-color: #393939;
    --master: #cbcbcb;
    --white: #fff;
    --bg-color-top: #1e1e1e;
    --font-color-hover: #e4e4e4;
    --color-gray: #3d3e3e;
  }
}

html {
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
  top: 0;
  position: relative;
}

body {
  font-family: "Inter 18pt", Arial, sans-serif;
  font-style: normal;
  font-size: 18px;
  line-height: 1.5; /* Added for better readability */
  margin: 0;
  padding: 0;
  color: var(--font-color);
  background-color: var(--bg-color);
  font-weight: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word; /* Ensures words break correctly */
  overflow-wrap: break-word; /* Alternative for modern browsers */
  white-space: normal; /* Prevents text from overflowing */
  display: block; /* Ensures it behaves as a block-level container */
  max-width: 100%; /* Prevents horizontal overflow */
  margin-top: 0;
  position: static;
  scroll-margin-top: 100px; /* Adjust for your header height */
}

svg,
img,
picture {
  max-inline-size: 100%;
  block-size: auto;
  display: flex;
  justify-content: center;
}

/* Lists */
ul,
ol {
  padding-left: 1rem;
  margin-bottom: 40px;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: auto;
}
a {
  color: var(--font-color);
  transition: opacity 0.5s ease-in-out;
}

a:hover {
  color: var(--font-color);
  opacity: 0.7;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}
a,
button {
  font-family: inherit;
}
.Yellow {
    background: #FB7A20;
    background: linear-gradient(276.11deg, #FB7A20 52.53%, #FFAD32 139.82%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 12px 30px;
    display: inline-block;
    color: white;
}
p {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}
figure {
  display: block;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 30px;
  unicode-bidi: isolate;
}
h1 {
  font-weight: 600 !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 500;
  color: #163d7a;
  padding-right: 20px;
  word-wrap: break-word;
  /* word-break: break-word; */
  margin-block-start: 0;
}
h5, h6 {
    font-size: 18px;
    margin-bottom: 10px;
}
section.legal-section {
    padding-top: 40px;
    padding-bottom: 40px;
    display: block;
}
.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.max-width {
  max-width: 1366px;
  margin: auto;
}
.max-width-small {
  max-width: 900px;
  margin: auto;
}
.padding {
  padding: 0 20px;
}
.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}
.text-transfrom {
  text-transform: uppercase;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}
/* ScrollBar */
/* For Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
  width: 8px; /* Slim scrollbar */
  height: 8px; /* For horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: #8f8a8a; /* Thumb color */
  border-radius: 4px; /* Rounded corners */
  border: 2px solid #8f8a8a; /* Border around the thumb */
}

::-webkit-scrollbar-track {
  background: #f5f5f5; /* Track color */
  border-radius: 4px; /* Rounded corners */
}

/* For Firefox */
scrollbar {
  width: 8px;
}

scrollbar-thumb {
  background-color: #8f8a8a;
  border-radius: 4px;
}

scrollbar-track {
  background: #f5f5f5;
}

/* ===========================
   HEADER STYLES
   =========================== */
header {
  background-color: var(--bg-color-top);
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  position: relative;
}

.header-spacer {
  display: flex;
}

.header-logo img {
  height: 100px;
  width: 100px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  color: var(--font-color);
  font-weight: 300;
  font-size: 17px;
  transition: color 0.3s ease;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--font-color-hover);
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-nav a:hover {
  color: var(--font-color-hover);
}

.header-logo a::after {
  display: none;
}

.header-btn {
  background-color: var(--master);
  color: var(--white) !important;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-left: 100px;
  display: inline-block;
}

.header-btn:hover {
  background-color: #0d4194;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 30px 10px 30px;
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--font-color);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.burger-menu[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-menu[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.hero-content {
  width: 45%;
}

h2.hero-subtitle {
  color: #535353;
}

/* ===========================
   ABOUT SECTION
   =========================== */
div#about-section {
  background-color: var(--bg-color-top);
  padding: 100px 0;
}

.about-container {
  display: flex;
  gap: 5rem;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
  padding: 80px 20px 0 20px;
  background-color: var(--bg-color);
}

.testimonials-container {
  margin: 0 auto;
}

.testimonials-title {
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--bg-color-top);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-direction: column;
}

.testimonial-avatar {
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.testimonial-logo h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--font-color);
}

.testimonial-logo a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.testimonial-logo a:hover {
  color: var(--font-color);
}

.testimonial-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem 1rem;
}

.testimonial-author-info {
  margin-bottom: 15px;
}

.testimonial-author-info strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 5px;
}

.testimonial-job-title {
  font-size: 14px;
  color: #666;
  font-weight: 300;
}

.testimonial-quote {
  flex-grow: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--font-color);
  margin: 0 0 20px 0;
  font-style: italic;
  position: relative;
  padding: 0 30px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 60px;
  line-height: 1;
  color: var(--master);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-quote::after {
  content: '"';
  position: absolute;
  right: 0;
  bottom: -30px;
  font-size: 60px;
  line-height: 1;
  color: var(--master);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--font-color);
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-left: auto;
}

.testimonial-read-more:hover {
  transform: scale(1.1);
}

.testimonials-load-more {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  background-color: var(--master);
  color: var(--white);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.load-more-btn:hover {
  background-color: #0d4194;
}

/* Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--master);
  color: var(--white);
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.popup-close:hover {
  background-color: #0d4194;
  transform: rotate(90deg);
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.popup-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.popup-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--master);
  margin: 0 0 10px 0;
}

.popup-info p {
  margin: 5px 0;
  font-size: 16px;
  color: var(--font-color);
}

.popup-job-title {
  font-size: 14px;
  color: #666;
  font-weight: 300;
}

.popup-quote {
  font-size: 22px;
  font-weight: 600;
  color: var(--master);
  margin-bottom: 20px;
  font-style: italic;
}

.popup-full-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--font-color);
  margin-bottom: 30px;
}

.popup-link {
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* ===========================
   BENEFITS SECTION
   =========================== */
section#vorteile {
  padding: 50px 20px;
}

.benefits-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 5rem;
  margin-bottom: 50px;
}

.benefits-image,
.benefits-content {
  width: 50%;
}

.benefits-image img {
  width: 100%;
  border-radius: 12px;
}

.benefits-content h3 {
  font-size: 24px;
  font-weight: 600;
}

/* ===========================
   BRANDS SECTION
   =========================== */
.brands-section {
  overflow: hidden;
  margin-top: 60px;
  margin-bottom: 60px;
}

.brands-container {
  width: 100%;
  margin: 0 auto;
}

.brands-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.brands-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: var(--bg-color-top);
}

.brands-track {
  display: flex;
  gap: 60px;
  will-change: transform;
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.brand-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*  */
.cta-container {
  display: flex;
  gap: 5rem;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cta-content,
.cta-logo {
  width: 45%;
}
.cta-logo {
  display: flex;
  justify-content: center;
}
a.header-btn.kontakt {
  margin: 0;
  width: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.company-benefits-image img {
  border-radius: 12px;
  margin-top: 60px;
}
h2.company-benefits-title {
  width: 50%;
}
.company-benefits-half {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  margin-top: 60px;
  margin-bottom: 0px;
}
.company-benefits-intro,
.company-benefits-image-half {
  width: 50%;
}
.company-benefits-image-half img {
  width: 100%;
}
.company-benefits-intro-main {
  margin-top: 40px;
}

.company-type-image {
  position: relative;
  margin-bottom: 30px;
}

.company-type-image h3 {
  position: absolute;
  left: -15px;
  top: 40px;
  background: var(--color-gray);
  max-width: 50%;
  padding-right: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 20px;
  border-radius: 10px;
  font-weight: 600;
}

div#CompanyTypesSection {
  background-color: var(--bg-color-top);
  padding-top: 80px;
  padding-bottom: 80px;
}

.company-type-text {
  width: 75%;
  margin-bottom: 40px;
}
.company-type-item {
  margin-bottom: 40px;
}
.second {
    padding-top: 80px;
    padding-bottom: 80px;
}

div#ImplementationProcessSection {
  background-color: var(--bg-color-top);
  padding-top: 80px;
  padding-bottom: 80px;
}
img.logoTable {
    width: 50px;
    height: 50px;
}
svg#arrow {
    width: 80px;
    height: 80px;
    margin-left: 25px;
    margin-right: 25px;
}
table {
    border-spacing: 0px;
}
th, td {
    padding: 0px;
    vertical-align: baseline;
    unicode-bidi: isolate;
}
.Mid {
    display: flex;
    align-items: center;
    font-size: xx-large;
    font-weight: 600;
    justify-content: center;
    padding: 15px;
    color: #d0ddf0;
}
table.HowToStep p {
    margin: 0px;
    padding: 0px;
}
.timeline {
    padding-top: 50px;
    padding-right: 25px;
    padding-bottom: 50px;
    padding-left: 25px;
    min-width: 200px;
}
.tableScroller {
    overflow: overlay;
    margin-top: 80px;
}
.process-header h2 {
    font-weight: 700;
}
div#UmfangSection {
    background-color: var(--bg-color-top);
    padding-bottom: 40px;
}
div#AllBenefitsOverviewSection {
    padding-top: 80px;
    padding-bottom: 80px;
}
ul.benefits-overview-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
li.benefit-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
svg#Right {
    margin-right: 20px;
    width: 30px;
    height: 30px;
    display: inline-flex;
}
.benefits-overview-header h2 {
    margin-bottom: 60px;
}
.benefits-overview-content {
    padding: 40px;
    background-color: var(--bg-color-top);
    border-radius: 12px;
}

footer {
    background-color: #153d7a;
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
    font-size: 14px;
}
footer a, footer a:hover, footer a:visited {
    color: #ffffff;
    text-decoration: none;
}
.footer-links {
    margin-bottom: 40px;
}
.footer-links nav {
    display: flex;
    gap: 2rem;
}
/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

/* 1366px and below (updated from 1536px) */
@media only screen and (max-width: 1366px) {
}


/* 1280px and below */
@media only screen and (max-width: 1280px) {
  .hero-content {
    width: 75%;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .testimonials-title {
    font-size: 32px;
  }
  .company-type-image h3 {
    position: relative;
    left: 0;
    top: 0;
    background: var(--color-gray);
    max-width: 100%;
    padding-right: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 20px;
  }
  .company-type-text {
    width: 100%;
    margin-bottom: 40px;
  }
}

/* 1180px and below */
@media only screen and (max-width: 1180px) {
  .hero-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-content {
    width: 100%;
    margin: 40px 0;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    width: 100%;
  }

  .about-container {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  h2.company-benefits-title {
    width: 100%;
  }
}

/* 867px and below */
@media only screen and (max-width: 867px) {
  .hero-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: auto;
  }

  .hero-content,
  .hero-image {
    width: 100%;
  }

  .burger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 80%;
    background-color: var(--bg-color-top);
    flex-direction: column;
    padding: 80px 0 20px 0;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: none;
    gap: 0;
    z-index: 1000;
  }

  .header-nav.transition-enabled {
    transition: all 0.3s ease;
  }

  .header-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .header-nav a {
    width: -webkit-fill-available;
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    display: block;
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .header-btn {
    margin-left: 0;
  }

  .header-nav.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 300px;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .benefits-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .benefits-image,
  .benefits-content {
    width: 100%;
  }
  .cta-content,
  .cta-logo {
    width: 100%;
  }
  .company-benefits-half {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-top: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
  }
  .company-benefits-intro,
  .company-benefits-image-half {
    width: 100%;
  }
  p.cta-text {
    margin-bottom: 40px;
  }
  a.header-btn.kontakt {
    width: 80%;
    margin: auto;
  }
}

/* 781px and below */
@media only screen and (max-width: 781px) {
  figure {
    margin-inline-end: 0;
  }
}

/* 667px and below */
@media only screen and (max-width: 667px) {
  .header-content {
    padding: 10px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .popup-content {
    padding: 30px 20px;
  }

  .popup-header {
    flex-direction: column;
    text-align: center;
  }

  .popup-avatar img {
    width: 200px;
    height: 200px;
  }

  .popup-quote {
    font-size: 18px;
  }
}

/* 441px and below */
@media only screen and (max-width: 441px) {
}

/* Contact Form Section */
section.contact-form-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-form-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-form-header h2 {
  font-weight: 700;
  font-size: 42px;
  color: var(--font-color);
  margin: 0 0 15px 0;
}

.contact-form-header p {
  font-size: 20px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.contact-form-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrapper {
  padding: 0;
  border-radius: 0;
}

.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding: 0;
  text-align: center;
}

.contact-person h3 {
  color: var(--master);
  margin: 0 0 30px 0;
  font-size: 26px;
  font-weight: 700;
}

.contact-person-avatar {
  width: 200px;
  height: 200px;
  margin-bottom: 25px;
}

.contact-person-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-person-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 100%;
}

.contact-person-details h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--font-color);
}

.contact-person-details p {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-style: italic;
}

.contact-person-details a {
  color: var(--master);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.contact-person-details a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.contact-email {
  word-break: break-all;
}

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--master);
  color: white !important;
  border-radius: 5px;
  margin-top: 5px;
}

.contact-linkedin:hover {
  background: var(--blue-dark);
  color: white !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 89, 203, 0.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--font-color);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  height: 52px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 14px 16px;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
  color: var(--font-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  border-color: var(--master);
  box-shadow: 0 0 0 3px rgba(18, 89, 203, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
  padding-top: 14px;
}

input#datenschutz {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  cursor: pointer;
  border: 2px solid #ccc;
  background: white;
  flex-shrink: 0;
}

label.checkbox-label {
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
}

label.checkbox-label span {
  color: #555;
}

label.checkbox-label a {
  color: var(--master);
  text-decoration: underline;
}

label.checkbox-label a:hover {
  color: var(--blue-dark);
}

span#datenschutz-error {
  background: #fee;
  display: inline-block;
  width: fit-content;
  color: #d32f2f;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 5px;
}

div#formMessage {
  font-size: 15px;
  margin-top: 20px;
}

.form-error {
  color: #d32f2f;
  font-size: 13px;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.form-control.error {
  border-color: #d32f2f;
  background: #fff5f5;
}

.form-message {
  padding: 14px 18px;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: 500;
  font-size: 14px;
}

.form-message.form-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message.form-error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.btn-submit {
  background-color: var(--master);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(18, 89, 203, 0.2);
}

.btn-submit:hover {
  background-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 89, 203, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.required {
  color: #d32f2f;
}

/* Dark Mode */
@media screen and (prefers-color-scheme: dark) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #ffffff;
  }
  
  .contact-form-header p {
    color: #cccccc;
  }
  
  .contact-person {
    background: transparent;
  }
  
  .form-group input,
  .form-group textarea {
    background: #252525;
    border-color: #444;
    color: #ffffff;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    background: #2a2a2a;
    border-color: var(--master);
  }
  
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #666;
  }
  
  span#datenschutz-error {
    background: #2a0000;
  }

  .form-group label {
    color: #ffffff;
  }

  label.checkbox-label {
    color: #cccccc;
  }
}

/* Light Mode */
@media screen and (prefers-color-scheme: light) {
}

/* Contact Form Responsive */
@media screen and (max-width: 768px) {
  .contact-form-header h2 {
    font-size: 32px;
  }

  .contact-form-header p {
    font-size: 18px;
  }

  .contact-form-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-person h3 {
    font-size: 22px;
  }

  .contact-person-avatar {
    width: 160px;
    height: 160px;
  }

  .contact-person-details h4 {
    font-size: 18px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .btn-submit {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* FAQ Section */
div#FAQSection {
    background-color: var(--bg-color-top);
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq-container {
  width: 100%;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--font-color);
  margin: 0;
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  background: white;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-item.active .faq-question {
  background: #f0f4f8;
  border-bottom: 1px solid #e0e0e0;
}

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  flex: 1;
  padding-right: 30px;
  line-height: 1.4;
}

.faq-toggle {
  font-size: 32px;
  font-weight: 300;
  color: var(--master);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
  border-radius: 50%;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--master);
  color: white;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 30px 30px 30px 30px;
  max-height: 2000px;
}

.faq-answer p {
  margin: 0 0 15px 0;
  line-height: 1.7;
  color: #555;
  font-size: 16px;
}

.faq-answer ul, .faq-answer ol {
  margin: 15px 0;
  padding-left: 20px;
  color: #555;
}

.faq-answer li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--master);
  text-decoration: underline;
  word-break: break-all;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Dark Mode */
@media screen and (prefers-color-scheme: dark) {

  .faq-item {
    background: #1a1a1a;
    border-color: #333;
  }

  .faq-question {
    background: #1a1a1a;
  }

  .faq-question:hover {
    background: #252525;
  }

  .faq-item.active .faq-question {
    background: #202020;
    border-bottom-color: #333;
  }

  .faq-question h3 {
    color: #ffffff;
  }

  .faq-toggle {
    background: #2a2a2a;
  }

  .faq-item.active .faq-toggle {
    background: var(--master);
  }

  .faq-answer {
    background: #1a1a1a;
  }

  .faq-answer p,
  .faq-answer li {
    color: #cccccc;
  }

  .faq-title {
    color: #ffffff;
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .faq-title {
    font-size: 32px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 18px;
    padding-right: 20px;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
    font-size: 28px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }
}
