#map {
  height: 400px;
  width: 100%;
  z-index: 100;
}

.list-guide {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 40px;
}

.list-guide > li::marker {
  font-size: 2rem;
  font-weight: 500px;
  color: var(--color-primary);
}

/*  backgrounds */
.bg-white {
  background: linear-gradient(to bottom, #ffffff 80%, transparent 0%);
}
.bg-wb {
  background: linear-gradient(
    to top,
    var(--color-tertiary) 50%,
    transparent 0%
  );
}
.bg-bw {
  background: linear-gradient(
    to bottom,
    var(--color-tertiary) calc(67.6%),
    #ffffff 0%
  );
}
.bg-gradient {
  background: linear-gradient(
    45deg,
    rgba(125, 140, 196, 1) 0%,
    rgba(0, 229, 186, 1) 100%
  );
}

/* semantic */
.max-width {
  max-width: 1200px;
  margin: auto;
}

.full-width {
  max-width: unset;
}

.stacked {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 16px;
}

.stacked > img {
  width: 100%;
  min-width: 256px;
  max-width: 384px;
}

.stacked.step-1 {
  text-align: start;
}
.stacked.step-2 {
  text-align: center;
}
.stacked.step-3 {
  text-align: end;
}
.stacked > span {
  display: block;
  width: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.flex-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 32px;
}

.flex-col img {
  max-width: 100%;
}

/* literal */
.section {
  display: block;
  width: 100%;
}
#section-1 {
}

.triangle-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--color-tertiary),
    var(--color-primary),
    var(--color-secondary)
  );
  clip-path: polygon(0 100%, 100% 30%, 100% 100%);
  z-index: -1;
}

.content-container {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  /* gap: 32px; */
}

.content-block {
  padding: 64px;
  contain: content;
  box-sizing: border-box;
  grid-area: r-content;
}

.content-block-hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 32px;
  padding: 16px 64px;
}
.content-block-hero > div:first-of-type {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.content-block-hero > div:last-of-type {
  flex: 1;
}
.content-block-hero > div > img {
  display: block;
}
.content-block-hero > div > a > button {
}

.content-block-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 16px 64px;
}

.content-block-flex.cta-container {
  width: 100%;
  flex: 1;
}
.content-block-flex.cta-container > input {
  height: 64px;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  border: 2px solid var(--color-primary);
  background-color: var(--color-white);
}
.content-block-flex.cta-container > input::placeholder {
  font-size: 1.25rem;
}
.content-block-flex.cta-container > input:focus {
  background-color: var(--color-light);
}
.content-block-flex.cta-container > input:active {
  background-color: var(--color-light);
}

.header-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: fit-content;
  box-sizing: border-box;
  grid-area: l-header;
  min-width: 0;
}

.two-cols {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.item-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

hr {
  margin: 0.5em 0;
  border: 2px solid var(--color-primary);
}

hr.full-width {
  width: 100%;
}

hr.start-width {
  width: 20%;
}

.a {
  grid-area: a;
}
.b {
  grid-area: b;
}
.c {
  grid-area: c;
}

.item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: 'a b c';
  gap: 64px;
}

.bauu-iso {
  height: auto;
  width: 100%;
  max-width: 512px;
}
.bauu-car {
  width: 100%;
  margin: auto;
  min-width: 256px;
  max-width: 384px;
}

.bauu-help {
  /* width: 55%; */
  width: 100%;
  height: auto;
  max-width: 512px;
  float: right;
}

.bauu-box {
  width: 100%;
  height: auto;
  max-width: 512px;
  float: right;
}

.bauu-guide {
  max-width: 100%;
}

.bauu-faq {
  width: 100%;
  max-width: 256px;
  margin-left: auto;
}

.bauu-forbidden-items {
  width: 20%;
}

.col-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas: 'l-header r-content';
}

.price-div {
  padding: 4px 16px;
  width: fit-content;
}

/* media queries */
@media only screen and (max-width: 992px) {
  .item-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
      'b'
      'a'
      'c';
  }
  .col-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas:
      'l-header'
      'r-content';
  }
  .stacked.step-1,
  .stacked.step-2,
  .stacked.step-3 {
    text-align: center;
  }
}

@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 578px) {
  .content-block-hero > div {
    margin: auto;
  }

  .content-block-hero > div > a > button {
    margin: auto;
  }
  .content-block-flex > div {
    margin: auto;
  }

  .content-block-flex > div > a > button {
    margin: auto;
  }

  .content-block-flex > div > ul {
    text-align: center;
  }

  .price-div {
    padding: 4px 16px;
    width: unset;
  }

  .section {
    text-align: center;
  }

  .content-block {
    padding: 32px 16px;
  }
  .content-block-flex {
    padding: 32px;
  }
  .content-block-hero {
    padding: 32px;
  }

  ul {
    text-align: start;
  }

  .button-large {
    margin: 0 auto;
  }

  hr {
    margin-left: auto;
    margin-right: auto;
  }
  span > button {
    margin-left: auto;
    margin-right: auto;
  }

  .bg-bw {
    background: linear-gradient(
      to bottom,
      var(--color-tertiary) calc(82.5%),
      #ffffff 0%
    );
  }
}

.video-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  aspect-ratio: 9 / 16; /* Keeps the 9:16 aspect ratio */
  width: 100%; /* Ensures it scales across all screen sizes */
  max-width: 100%; /* Ensures the video doesn't exceed the container width */
  max-height: 80vh; /* Limits the height to 80% of the viewport height */
  overflow: hidden;
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the video is fully contained within the container */
  display: block; /* Removes any unwanted spacing below the video */
}

.video-container iframe {
  height: 100%;
  width: 100%;
}

.table-container {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 8px;
}

.table-header,
.table-cell {
  word-break: break-word;
}

.table-header {
  font-weight: bold;
}

/*  */
.comparison-table {
  margin: auto;
  padding: 16px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  vertical-align: middle;
}

.comparison-table-icon img {
  display: block;
  margin: 0 auto; /* horizontally center */
}

.comparison-table > thead > tr > th {
  max-width: 128px;
  min-width: 64px;
  padding: 8px 32px;
  vertical-align: middle;
}

.comparison-table > thead > tr > th > img {
  width: 100%;
  /* max-width: 80px;  */
}

.comparison-table > tbody > tr > td {
  padding: 8px 4px;
  text-align: end;
}

.comparison-table > tbody > tr > td.comparison-table-icon {
  max-width: 128px;
  text-align: center;
  padding: 8px 4px;
}

.comparison-table > tbody > tr > td.comparison-table-icon > img {
  width: 20px;
}

.comparison-table > tbody > tr > td.comparison-table-separator {
  background-color: var(--color-medium);
  width: 2px !important;
  padding: 0 !important;
}

.comparison-table > thead > tr > th.comparison-table-separator {
  background-color: transparent;
  width: 2px !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.form-container {
  max-width: 578px;
  margin: auto;
}

/* Small device (e.g. iPhone SE) adjustments */
@media (max-width: 578px) {
  .comparison-table {
    padding: 8px; /* Slightly reduce padding */
    font-size: 16px; /* Slightly smaller font */
  }

  .comparison-table > thead > tr > th {
    padding: 4px;
  }

  .comparison-table > thead > tr > th > img {
    max-width: 64px; /* Reduce logo size */
  }

  .comparison-table > tbody > tr > td {
    padding: 0px;
    font-size: 14px; 
    /* padding: 8px;
    font-size: 16px;  */
  }

  .comparison-table > tbody > tr > td.comparison-table-icon > img {
    width: 20px; /* Smaller icons */
  }

  .comparison-table > tbody > tr {
    height: 32px; /* Ensure rows are not too tall */
  }
}
