/* Bausteine landing page. Loaded only for the public /bausteine/ route. */
.iv-bausteine-route {
  overflow-x: clip;
  background: #f5efe3;
}

.iv-bausteine-page,
.iv-bausteine-page * {
  box-sizing: border-box;
}

.iv-bausteine-page {
  position: relative;
  width: 100%;
  overflow-wrap: break-word;
  font-family: var(--iv-font-ui);
}

.iv-bausteine-page .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.iv-bausteine-page[id] {
  scroll-margin-top: 190px;
}

.iv-bausteine-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-right: clamp(28px, 5vw, 72px);
  padding-left: clamp(28px, 5vw, 72px);
}

.iv-bausteine-page h1,
.iv-bausteine-page h2,
.iv-bausteine-page h3 {
  margin-top: 0;
  font-family: var(--iv-font-serif) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}

.iv-bausteine-page p,
.iv-bausteine-page li {
  letter-spacing: normal;
}

.iv-bausteine-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 20px;
  color: #a98634;
  font: 700 10px/1.5 var(--iv-font-ui);
  letter-spacing: .19em !important;
}

.iv-bausteine-eyebrow::before {
  width: 38px;
  height: 1px;
  content: "";
  flex: 0 0 auto;
  background: currentColor;
}

.iv-bausteine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.iv-bausteine-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid #a98634;
  color: #15130e;
  font: 700 10px/1.45 var(--iv-font-ui);
  letter-spacing: .12em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.iv-bausteine-button span {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.iv-bausteine-button--gold {
  border-color: #d6b256;
  background: linear-gradient(105deg, #b48c3c, #d6b256);
  color: #15130e;
}

.iv-bausteine-button--light,
.iv-bausteine-button--outline {
  background: transparent;
  color: #29251d;
}

.iv-bausteine-button--dark {
  border-color: rgba(214, 178, 86, .68);
  background: rgba(5, 5, 5, .35);
  color: #fff;
}

.iv-bausteine-button:hover {
  border-color: #ebcd84;
  background: #ebcd84;
  color: #050505;
}

.iv-bausteine-button:focus-visible,
.iv-bausteine-table-wrap:focus-visible {
  outline: 2px solid #d6b256;
  outline-offset: 4px;
}

/* Split hero */
.iv-bausteine-hero {
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 51%);
  min-height: 520px;
  background: #f5efe3;
  color: #171714;
}

.iv-bausteine-hero__content {
  z-index: 2;
  align-self: center;
  padding: clamp(52px, 6.5vw, 94px) clamp(30px, 5.8vw, 88px);
}

.iv-bausteine-hero h1 {
  max-width: 650px;
  margin-bottom: 20px;
  color: #171714 !important;
  font-size: clamp(46px, 4.5vw, 70px) !important;
  line-height: .91 !important;
  text-align: left !important;
}

.iv-bausteine-hero__lead {
  max-width: 610px;
  margin: 0 0 25px;
  color: #3e3b35;
  font: 400 14px/1.65 var(--iv-font-ui);
}

.iv-bausteine-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  background: #111;
}

.iv-bausteine-hero__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 13, 11, .16), rgba(13, 13, 11, .03) 55%, rgba(13, 13, 11, .58));
}

.iv-bausteine-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(1.04) brightness(.74);
}

.iv-bausteine-hero__claim {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(22px, 5vw, 72px);
  margin: 0;
  color: #e4d8bf;
  font: 600 11px/1.55 var(--iv-font-ui);
  letter-spacing: .45em !important;
  transform: translateY(-50%);
}

/* Dark value band */
.iv-bausteine-benefits {
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(214, 178, 86, .22);
  background: #080908;
  color: #fff;
}

.iv-bausteine-benefits__inner {
  display: grid;
  grid-template-columns: minmax(210px, .82fr) minmax(290px, 1.25fr) minmax(390px, 1.45fr);
  gap: 30px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px clamp(28px, 5vw, 72px);
}

.iv-bausteine-benefits h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(30px, 2.7vw, 43px) !important;
  line-height: .98 !important;
  text-align: left !important;
}

.iv-bausteine-benefits__intro {
  margin: 0;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.68;
}

.iv-bausteine-benefits__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.iv-bausteine-benefits__list li {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 2px 15px;
  text-align: center;
}

.iv-bausteine-benefits__list li + li {
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.iv-bausteine-icon {
  color: #d6b256;
  font: 400 29px/1 var(--iv-font-serif);
}

.iv-bausteine-benefits__list strong {
  margin: 7px 0 4px;
  color: #fff;
  font: 500 13px/1.3 var(--iv-font-serif);
}

.iv-bausteine-benefits__list li > span:last-child {
  color: rgba(255, 255, 255, .63);
  font-size: 9px;
  line-height: 1.55;
}

/* Packages */
.iv-bausteine-packages {
  padding: clamp(58px, 6vw, 88px) 0;
  background: #f7f2e8;
  color: #171714;
}

.iv-bausteine-packages__layout {
  display: grid;
  grid-template-columns: minmax(240px, .74fr) minmax(0, 2.35fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.iv-bausteine-packages__intro h2 {
  margin-bottom: 25px;
  color: #171714 !important;
  font-size: clamp(36px, 3vw, 46px) !important;
  line-height: .98 !important;
  text-align: left !important;
}

.iv-bausteine-packages__intro > p:last-child,
.iv-bausteine-comparison__intro > p:last-child,
.iv-bausteine-check__intro > p,
.iv-bausteine-reasons p,
.iv-bausteine-closing p {
  color: #4c4942;
  font-size: 12px;
  line-height: 1.65;
}

.iv-bausteine-packages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.iv-bausteine-package {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 28px 25px 24px;
  border: 1px solid #d8d0c1;
  background: #fbf7ef;
  box-shadow: 0 12px 30px rgba(59, 49, 31, .06);
}

.iv-bausteine-package--featured {
  border-color: #a98634;
  background: #0b0c0b;
  color: #fff;
  box-shadow: 0 16px 34px rgba(5, 5, 5, .2);
}

.iv-bausteine-package__badge {
  position: absolute;
  top: 0;
  left: 50%;
  min-width: 122px;
  margin: 0;
  padding: 6px 12px;
  background: #d6b256;
  color: #111;
  font: 700 9px/1 var(--iv-font-ui);
  letter-spacing: .12em !important;
  text-align: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.iv-bausteine-package h3 {
  margin-bottom: 2px;
  color: #171714 !important;
  font-size: clamp(27px, 2vw, 34px) !important;
  line-height: 1 !important;
  text-align: left !important;
}

.iv-bausteine-package--featured h3 {
  color: #fff !important;
}

.iv-bausteine-package header > p {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8d0c1;
  color: #6a665e;
  font-size: 10px;
  line-height: 1.5;
}

.iv-bausteine-package--featured header > p {
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .64);
}

.iv-bausteine-checklist {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.iv-bausteine-checklist li {
  position: relative;
  padding-left: 19px;
  color: #4f4a42;
  font-size: 10px;
  line-height: 1.48;
}

.iv-bausteine-checklist li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "✓";
  color: #a98634;
  font-weight: 700;
}

.iv-bausteine-package--featured .iv-bausteine-checklist li {
  color: rgba(255, 255, 255, .82);
}

.iv-bausteine-package--featured .iv-bausteine-checklist li::before {
  color: #d6b256;
}

.iv-bausteine-package__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #d8d0c1;
}

.iv-bausteine-package--featured .iv-bausteine-package__footer {
  border-color: rgba(255, 255, 255, .16);
}

.iv-bausteine-package__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  min-height: 56px;
  margin: 0 0 13px;
  color: #171714;
}

.iv-bausteine-package--featured .iv-bausteine-package__price {
  color: #fff;
}

.iv-bausteine-package__price strong {
  display: block;
  width: 100%;
  color: inherit;
  font: 500 31px/.95 var(--iv-font-serif);
}

.iv-bausteine-package__price span {
  color: #6b675f;
  font-size: 8px;
}

.iv-bausteine-package--featured .iv-bausteine-package__price span {
  color: rgba(255, 255, 255, .55);
}

.iv-bausteine-package .iv-bausteine-button {
  width: 100%;
}

/* Comparison */
.iv-bausteine-comparison {
  padding: clamp(46px, 5vw, 72px) 0;
  overflow-x: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #080908;
  color: #fff;
}

.iv-bausteine-comparison__layout {
  display: grid;
  grid-template-columns: minmax(190px, .66fr) minmax(0, 2.6fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.iv-bausteine-comparison h2 {
  margin-bottom: 24px;
  color: #fff !important;
  font-size: clamp(36px, 3.2vw, 49px) !important;
  line-height: .98 !important;
  text-align: left !important;
}

.iv-bausteine-comparison__intro > p:last-child {
  color: rgba(255, 255, 255, .68);
}

.iv-bausteine-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid rgba(214, 178, 86, .18);
  scrollbar-color: #d6b256 #171717;
}

.iv-bausteine-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  line-height: 1.35;
}

.iv-bausteine-table-wrap th,
.iv-bausteine-table-wrap td {
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.iv-bausteine-table-wrap th:last-child,
.iv-bausteine-table-wrap td:last-child {
  border-right: 0;
}

.iv-bausteine-table-wrap tr:last-child > * {
  border-bottom: 0;
}

.iv-bausteine-table-wrap thead th {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.iv-bausteine-table-wrap thead th:first-child,
.iv-bausteine-table-wrap tbody th {
  text-align: left;
}

.iv-bausteine-table-wrap tbody th {
  width: 36%;
  color: rgba(255, 255, 255, .72);
  font-weight: 400;
}

.iv-bausteine-table-wrap td {
  text-align: center;
}

.iv-bausteine-yes {
  color: #d6b256;
  font-size: 13px;
  font-weight: 700;
}

/* WhatsApp check */
.iv-bausteine-check {
  padding: clamp(52px, 5.5vw, 84px) 0;
  background: #f5efe3;
  color: #171714;
}

.iv-bausteine-check__layout {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(420px, 1.55fr) minmax(170px, .55fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.iv-bausteine-check h2 {
  margin-bottom: 20px;
  color: #171714 !important;
  font-size: clamp(37px, 3.4vw, 52px) !important;
  line-height: .94 !important;
  text-align: left !important;
}

.iv-bausteine-check__intro > p {
  margin: 0 0 22px;
}

.iv-bausteine-check__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: none;
  list-style: none;
}

.iv-bausteine-check__steps li {
  position: relative;
  min-width: 0;
  padding: 0 20px;
  text-align: center;
}

.iv-bausteine-check__steps li + li::before {
  position: absolute;
  top: 16px;
  left: -8px;
  color: #a98634;
  content: "→";
}

.iv-bausteine-check__steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #b28c42;
  color: #fff;
  font: 600 10px/1 var(--iv-font-ui);
}

.iv-bausteine-check__steps strong {
  display: block;
  margin-bottom: 8px;
  color: #201d18;
  font: 500 17px/1.15 var(--iv-font-serif);
}

.iv-bausteine-check__steps p {
  margin: 0;
  color: #5c574e;
  font-size: 9px;
  line-height: 1.55;
}

.iv-bausteine-phone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 28px 15px;
  overflow: hidden;
  border: 7px solid #171717;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 33%, #252925, #080a08 72%);
  box-shadow: 0 18px 34px rgba(21, 18, 12, .28);
  color: #f5efe3;
  text-align: center;
  transform: rotate(5deg);
}

.iv-bausteine-phone::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42px;
  height: 5px;
  border-radius: 6px;
  content: "";
  background: #030403;
  transform: translateX(-50%);
}

.iv-bausteine-phone img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.iv-bausteine-phone span {
  color: #e7dcc6;
  font: italic 500 19px/1.13 var(--iv-font-serif);
}

/* Reasons */
.iv-bausteine-reasons {
  border-top: 1px solid #d8d0c1;
  background: #fbf7ef;
  color: #171714;
}

.iv-bausteine-reasons__layout {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 2.55fr);
  gap: 40px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.iv-bausteine-reasons h2 {
  margin: 0;
  color: #171714 !important;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: .96 !important;
  text-align: left !important;
}

.iv-bausteine-reasons ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.iv-bausteine-reasons li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 8px 22px;
}

.iv-bausteine-reasons li + li {
  border-left: 1px solid #d8d0c1;
}

.iv-bausteine-reasons li > span {
  color: #a98634;
  font: 400 28px/1 var(--iv-font-serif);
}

.iv-bausteine-reasons strong {
  color: #242019;
  font: 500 19px/1.1 var(--iv-font-serif);
}

.iv-bausteine-reasons p {
  margin: 5px 0 0;
  font-size: 9px;
}

/* Closing CTA */
.iv-bausteine-closing {
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #070807;
  color: #fff;
}

.iv-bausteine-closing__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #070807 0%, rgba(7, 8, 7, .94) 52%, rgba(7, 8, 7, .58)),
    url("../img/contact-meeting-bg.jpg") center / cover no-repeat;
  opacity: .95;
}

.iv-bausteine-closing__inner {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(240px, .82fr) auto;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: 190px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.iv-bausteine-closing h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(34px, 3.1vw, 50px) !important;
  line-height: .96 !important;
  text-align: left !important;
}

.iv-bausteine-closing p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

@media (max-width: 980px) {
  .iv-bausteine-page[id] {
    scroll-margin-top: 150px;
  }

  .iv-bausteine-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .iv-bausteine-hero__visual {
    min-height: 420px;
  }

  .iv-bausteine-benefits__inner,
  .iv-bausteine-packages__layout,
  .iv-bausteine-comparison__layout,
  .iv-bausteine-check__layout,
  .iv-bausteine-reasons__layout,
  .iv-bausteine-closing__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .iv-bausteine-benefits__intro {
    padding: 0;
    border: 0;
  }

  .iv-bausteine-packages__grid {
    gap: 18px;
  }

  .iv-bausteine-check__intro,
  .iv-bausteine-comparison__intro,
  .iv-bausteine-packages__intro {
    max-width: 670px;
  }

  .iv-bausteine-phone {
    width: 190px;
    justify-self: center;
  }

  .iv-bausteine-closing__inner {
    min-height: 0;
  }

  .iv-bausteine-closing .iv-bausteine-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .iv-bausteine-shell,
  .iv-bausteine-benefits__inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .iv-bausteine-hero__content {
    padding: 48px 24px;
  }

  .iv-bausteine-hero h1 {
    font-size: clamp(42px, 13vw, 58px) !important;
  }

  .iv-bausteine-hero__visual {
    min-height: 340px;
  }

  .iv-bausteine-hero__claim {
    right: 24px;
    font-size: 9px;
  }

  .iv-bausteine-benefits__inner {
    gap: 22px;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .iv-bausteine-benefits__list,
  .iv-bausteine-packages__grid,
  .iv-bausteine-check__steps,
  .iv-bausteine-reasons ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .iv-bausteine-benefits__list li {
    grid-template-columns: 34px minmax(0, 1fr);
    justify-items: start;
    padding: 14px 0;
    text-align: left;
  }

  .iv-bausteine-benefits__list li + li,
  .iv-bausteine-reasons li + li {
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-left: 0;
  }

  .iv-bausteine-benefits__list strong {
    align-self: end;
    margin: 0;
  }

  .iv-bausteine-benefits__list li > span:last-child {
    grid-column: 2;
    font-size: 11px;
  }

  .iv-bausteine-package {
    padding: 28px 24px 24px;
  }

  .iv-bausteine-checklist li,
  .iv-bausteine-package header > p {
    font-size: 11px;
  }

  .iv-bausteine-package--featured {
    margin-top: 10px;
  }

  .iv-bausteine-table-wrap table {
    min-width: 680px;
  }

  .iv-bausteine-check__steps {
    gap: 22px;
  }

  .iv-bausteine-check__steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 15px;
    padding: 0;
    text-align: left;
  }

  .iv-bausteine-check__steps li + li::before {
    display: none;
  }

  .iv-bausteine-check__steps li > span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .iv-bausteine-check__steps strong {
    margin: 0;
  }

  .iv-bausteine-check__steps p,
  .iv-bausteine-reasons p {
    font-size: 11px;
  }

  .iv-bausteine-reasons__layout {
    gap: 25px;
  }

  .iv-bausteine-reasons li {
    padding: 16px 0;
  }

  .iv-bausteine-reasons li + li {
    border-top-color: #d8d0c1;
  }
}

@media (max-width: 560px) {
  .iv-bausteine-actions,
  .iv-bausteine-button {
    width: 100%;
  }

  .iv-bausteine-hero h1 br {
    display: none;
  }

  .iv-bausteine-hero__visual {
    min-height: 290px;
  }

  .iv-bausteine-package h3 {
    font-size: 30px !important;
  }

  .iv-bausteine-closing h2 br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iv-bausteine-button {
    transition: none;
  }
}
