/* Startseiten-Hero */
:root {
  --home-brand: #49a5a2;
  --home-brand-dark: #2f7f7b;
  --home-ink: #231f1f;
  --home-text: #505250;
  --home-muted: #777a78;
  --home-surface: #fff;
  --home-shell: 1400px;
  --home-gutter: clamp(22px, 4vw, 64px);
  --home-title: "Kaisei Tokumin", Georgia, serif;
  --home-body: "Noto Sans Extra Condensed", "Lato", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--home-ink);
  font-family: var(--home-body);
}

main {
  overflow: clip;
}

.home-preview-shell {
  width: min(var(--home-shell), calc(100% - (2 * var(--home-gutter))));
  margin-inline: auto;
}

.home-preview-hero {
  --home-visible-gap-adjust: 0px;
  --home-image-gap-adjust: 0px;
  --home-image-width: 74%;
  --home-image-progress: 0;
  --home-network-detail-opacity: 0;
  --home-image-radius: 30px;
  position: relative;
  padding-top: clamp(124px, 9vw, 152px);
  background: var(--home-surface);
}

.home-preview-hero__layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(380px, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(48px, 4vw, 80px);
  row-gap: calc(clamp(34px, 3vw, 46px) - 6px + var(--home-visible-gap-adjust));
  align-items: end;
  padding-bottom: calc(clamp(34px, 3vw, 46px) + var(--home-image-gap-adjust));
}

.home-preview-eyebrow {
  margin: 0 0 18px;
  color: var(--home-brand-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-preview-hero__brand {
  grid-column: 1;
  align-self: start;
  padding-bottom: 6px;
  container-type: inline-size;
}

.home-preview-hero h1 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--home-title);
  font-size: 36.85cqi;
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .78;
  transform: translateX(-2.2cqi);
}

.home-preview-lead {
  max-width: 450px;
  margin: 0;
  color: var(--home-text);
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  font-weight: 300;
  line-height: 1.55;
}

.home-preview-lead strong {
  display: block;
  color: var(--home-ink);
  font-family: var(--home-title);
  font-size: clamp(1.45rem, 1.75vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.18;
}

.home-preview-trust {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.home-preview-rating {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-preview-rating__topline {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.home-preview-rating__topline strong {
  color: var(--home-ink);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-preview-rating__stars {
  color: #f5a623;
  font-size: .86rem;
  letter-spacing: .06em;
  line-height: 1;
}

.home-preview-rating__label {
  color: var(--home-muted);
  font-size: .78rem;
  line-height: 1.2;
}

.home-preview-trust__divider {
  width: 1px;
  height: 42px;
  flex: 0 0 1px;
  background: rgba(35, 31, 31, .15);
}

.home-preview-partners {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-preview-partners img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
}

.home-preview-actions {
  width: 301px;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 18px;
}

.home-preview-button {
  flex: 1 1 auto;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 29px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--home-ink);
  font-size: .96rem;
  font-weight: 400;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.home-preview-button:hover {
  transform: translateY(-2px);
}

.home-preview-button--primary {
  background: var(--home-ink);
  color: #fff;
}

.home-preview-button--primary:hover {
  background: var(--home-brand-dark);
}

.home-preview-button--secondary {
  border-color: rgba(35, 31, 31, .22);
  background: transparent;
}

.home-preview-button--secondary:hover {
  border-color: var(--home-ink);
}

.home-preview-metrics {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.8vw, 28px);
  align-self: stretch;
}

.home-preview-hero__copy {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  width: 110%;
  max-width: 510px;
  align-self: end;
}

.home-preview-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--home-text);
}

.home-preview-metric__icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: currentColor;
}

.home-preview-metric__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.home-preview-metric__title {
  color: currentColor;
  font-family: var(--home-body);
  font-size: clamp(1.5rem, 1.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
}

.home-preview-metric__number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 7px;
  color: currentColor;
}

.home-preview-metric__number strong {
  min-width: 2ch;
  font-size: clamp(1.5rem, 1.8vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-preview-metric__number small {
  display: inline;
  margin-top: 0;
  color: currentColor;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.1;
  white-space: nowrap;
}

.home-preview-metric__cta {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 9px 12px 9px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: currentColor;
  font-size: .88rem;
  font-weight: 450;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.home-preview-metric__cta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.home-preview-metric__cta:hover,
.home-preview-metric__cta:focus-visible {
  border-color: var(--home-ink);
  background: var(--home-ink);
  color: #fff;
}

.home-preview-metric__cta:hover svg,
.home-preview-metric__cta:focus-visible svg {
  transform: translateX(2px);
}

.home-preview-image-stage {
  min-height: clamp(720px, 64vw, 920px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.home-preview-image {
  position: relative;
  width: var(--home-image-width);
  height: clamp(680px, 58vw, 840px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--home-image-radius);
  background: #d9ddda;
  isolation: isolate;
  will-change: width, border-radius;
}

.home-preview-image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 20, 20, .62), rgba(17, 20, 20, .34) 48%, rgba(17, 20, 20, .6)),
    radial-gradient(circle at 50% 51%, rgba(17, 20, 20, .12), rgba(17, 20, 20, .48) 80%);
  content: "";
  pointer-events: none;
}

.home-preview-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 54px);
  display: block;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.62) contrast(1.08) brightness(.72);
  transform: translateY(calc(-54px * var(--home-image-progress))) scale(calc(1.045 - (.02 * var(--home-image-progress))));
  transform-origin: center;
  will-change: transform;
}

.home-preview-network__connectors {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-preview-network__connectors path {
  fill: none;
  stroke: rgba(255, 255, 255, .56);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: var(--home-network-detail-opacity);
}

.home-preview-network__center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(40%, 500px);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.home-preview-network__center p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-preview-network__center h2 {
  margin: 16px 0 0;
  color: #fff;
  font-family: var(--home-title);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
}

.home-preview-network__center span {
  max-width: 36ch;
  display: block;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.92rem, 1vw, 1.08rem);
  font-weight: 300;
  line-height: 1.5;
}

.home-preview-network__node {
  --home-node-x: 0px;
  --home-node-y: 0px;
  position: absolute;
  z-index: 3;
  width: clamp(210px, 20vw, 310px);
  color: #fff;
  opacity: var(--home-network-detail-opacity);
  transform: translate(var(--home-node-x), var(--home-node-y));
  will-change: transform;
}

.home-preview-network__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
}

.home-preview-network__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.home-preview-network__node h3 {
  margin: 8px 0 0;
  color: #fff;
  font-family: var(--home-title);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 400;
  line-height: 1.08;
}

.home-preview-network__node p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.35;
}

.home-preview-network__node--immobilien {
  top: 18%;
  left: 8%;
  width: max-content;
  max-width: 28%;
}

.home-preview-network__node--finanzierung {
  top: 20%;
  right: 7%;
  text-align: left;
}

.home-preview-network__node--versicherung {
  right: 10%;
  bottom: 13%;
  text-align: left;
}

.home-preview-network__anchor {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}

.home-preview-network__node--immobilien .home-preview-network__anchor {
  top: 52%;
  right: -18px;
}

.home-preview-network__node--finanzierung .home-preview-network__anchor,
.home-preview-network__node--versicherung .home-preview-network__anchor {
  top: 52%;
  left: -18px;
}

.home-preview-followup {
  padding: clamp(100px, 12vw, 170px) 0 clamp(120px, 14vw, 200px);
  background: #fff;
}

.home-preview-followup__grid {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1.55fr);
  gap: clamp(40px, 8vw, 130px);
}

.home-preview-followup h2 {
  max-width: 820px;
  margin: 0;
  color: var(--home-ink);
  font-family: var(--home-title);
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.home-preview-followup__grid > div > p {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--home-text);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 300;
  line-height: 1.6;
}

.home-preview-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1500;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(35, 31, 31, .84);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .05em;
  backdrop-filter: blur(10px);
}

.home-preview-button:focus-visible,
.home-preview-metric__cta:focus-visible {
  outline: 3px solid rgba(73, 165, 162, .32);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .home-preview-hero__layout {
    min-height: 0;
    grid-template-columns: minmax(0, 1.65fr) minmax(330px, .85fr);
    column-gap: 46px;
    row-gap: 28px;
  }

  .home-preview-image {
    height: clamp(620px, 68vw, 760px);
  }
}

@media (max-width: 820px) {
  .home-preview-hero {
    --home-image-width: 88%;
  }

  .home-preview-hero__layout {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    gap: 42px;
    padding-bottom: 64px;
  }

  .home-preview-hero__brand,
  .home-preview-metrics,
  .home-preview-hero__copy {
    grid-column: 1;
    grid-row: auto;
  }

  .home-preview-hero__copy {
    max-width: 520px;
    width: 100%;
    margin-top: 44px;
  }

  .home-preview-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .home-preview-image-stage {
    min-height: 700px;
  }

  .home-preview-image {
    height: 660px;
  }
}

@media (max-width: 620px) {
  .home-preview-hero {
    --home-image-width: 100%;
    --home-image-radius: 22px;
    display: grid;
    grid-template-areas:
      "brand"
      "copy"
      "visual";
    grid-template-columns: minmax(0, 1fr);
    padding-top: 128px;
  }

  .home-preview-hero__layout {
    display: contents;
  }

  .home-preview-hero__brand {
    grid-area: brand;
    order: 1;
    width: min(var(--home-shell), calc(100% - (2 * var(--home-gutter))));
    margin-inline: auto;
    margin-bottom: 20px;
    text-align: center;
  }

  .home-preview-hero__copy {
    grid-area: copy;
    order: 2;
    width: min(346px, calc(100% - (2 * var(--home-gutter))));
    max-width: 346px;
    margin-inline: auto;
    margin-top: 0;
    text-align: left;
  }

  .home-preview-metrics {
    grid-area: visual;
    order: 3;
    z-index: 3;
    width: 70%;
    min-width: 0;
    margin: 26px auto 0;
    padding: 44px 0 52px;
    align-self: start;
  }

  .home-preview-metric {
    min-width: 0;
    color: #fff;
  }

  .home-preview-hero h1 {
    font-size: min(36.85cqi, 8.2rem);
    line-height: .82;
    text-align: center;
  }

  .home-preview-lead {
    font-size: 1rem;
  }

  .home-preview-trust {
    gap: 12px;
    justify-content: flex-start;
  }

  .home-preview-rating {
    min-width: 136px;
    align-items: flex-start;
  }

  .home-preview-partners {
    gap: 7px;
  }

  .home-preview-partners img {
    width: 48px;
    height: 48px;
  }

  .home-preview-actions {
    width: 264px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .home-preview-button {
    min-height: 48px;
    padding-inline: 15px;
    font-size: .88rem;
  }

  .home-preview-metrics {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-preview-metric__cta {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-color: rgba(255, 255, 255, .82);
    background: rgba(17, 20, 20, .14);
    color: #fff;
  }

  .home-preview-metric__cta span {
    min-width: 0;
  }

  .home-preview-image-stage {
    grid-area: visual;
    z-index: 1;
    min-height: 720px;
    margin-top: 26px;
  }

  .home-preview-image {
    width: calc(100% - 28px);
    height: 720px;
    min-height: 720px;
  }

  .home-preview-image img {
    object-position: center 45%;
  }

  .home-preview-network__connectors,
  .home-preview-network__center,
  .home-preview-network__node {
    display: none;
  }

  .home-preview-followup__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-preview-followup h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .home-preview-badge {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-preview-image,
  .home-preview-image img,
  .home-preview-metric,
  .home-preview-button {
    transition: none;
    transform: none;
  }
}
