@charset "UTF-8";
.dmi-main * {
  box-sizing: border-box;
}

.dmi-main {
  font-family: var(--dmi-font-sans);
  color: var(--dmi-text);
}

.dmi-main h2,
.dmi-main h3 {
  font-family: var(--dmi-font-serif);
  font-weight: 700;
}

.dmi-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dmi-section {
  padding: 3rem 0;
}

.dmi-section--tight {
  padding: 2rem 0;
}

.dmi-thanks { text-align: center; }

.dmi-plain-box.dmi-thanks h2 { padding-left: 0; }
.dmi-plain-box.dmi-thanks h2:before { display: none; }

.dmi-thanks__icon {
  display: inline-block;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: #2b8a3e;
  position: relative;
}
.dmi-thanks__icon::before {
  content: "";
  position: absolute;
  inset: 24%;
  background: #fff;
  -webkit-mask: var(--dmi-form-haken) center / contain no-repeat;
  mask: var(--dmi-form-haken) center / contain no-repeat;
}
.dmi-thanks h2 { margin-top: 0; }
.dmi-thanks p { max-width: 34rem; margin-left: auto; margin-right: auto; }
.dmi-thanks__hint { font-size: 0.92rem; color: #666; }
.dmi-thanks__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.dmi-select-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.dmi-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--dmi-border-light);
  border-radius: 4px;
  padding: 0 2.25rem 0 0.9rem;

  height: 44px;
  font-size: 1rem;
  font-family: var(--dmi-font-sans);
  color: #45484b;
  background-color: #fff;
  background-image: url('/img/icon7.png');
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) 50%;
  background-size: 11px 7px;
  cursor: pointer;
}

.dmi-carousel {
  position: relative;
}

.dmi-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: var(--dmi-gap);
  scrollbar-width: none;
}

.dmi-carousel__track::-webkit-scrollbar {
  display: none;
}

.dmi-carousel__item {
  scroll-snap-align: start;
  flex: 0 0 100%;
}

.dmi-carousel--multi .dmi-carousel__item {
  flex: 0 0 100%;
}

@media (min-width: 640px) {
  .dmi-carousel--multi .dmi-carousel__item {
    flex: 0 0 calc(50% - var(--dmi-gap) / 2);
  }
}

@media (min-width: 1000px) {
  .dmi-carousel--multi .dmi-carousel__item {
    flex: 0 0 calc(33.333% - var(--dmi-gap) * 2 / 3);
  }
}

.dmi-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dmi-blue);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.dmi-carousel__nav:hover {
  background: var(--dmi-blue);
  color: #fff;
}

.dmi-carousel__nav--prev {
  left: 0.5rem;
}

.dmi-carousel__nav--next {
  right: 0.5rem;
}

.dmi-carousel--multi {
  container-type: inline-size;
}

.dmi-carousel--multi .dmi-carousel__nav {
  --karussell-kartenbreite: calc(100cqw - 16px);
  top: calc(17px + (var(--karussell-kartenbreite) - 2px) * 0.625);
}

@media (min-width: 640px) {
  .dmi-carousel--multi .dmi-carousel__nav {
    --karussell-kartenbreite: calc((100cqw - 16px) / 2 - var(--dmi-gap) / 2);
  }
}

@media (min-width: 1000px) {
  .dmi-carousel--multi .dmi-carousel__nav {
    --karussell-kartenbreite: calc((100cqw - 16px) / 3 - var(--dmi-gap) * 2 / 3);
  }
}

.dmi-carousel--multi .dmi-carousel__track {
  padding: 16px 8px;
}

.dmi-carousel--multi .dmi-carousel__nav--prev {
  left: -1.25rem;
}

.dmi-carousel--multi .dmi-carousel__nav--next {
  right: -1.25rem;
}

@media (max-width: 1240px) {
  .dmi-carousel--multi .dmi-carousel__nav--prev {
    left: 0;
  }
  .dmi-carousel--multi .dmi-carousel__nav--next {
    right: 0;
  }
}

.dmi-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dmi-carousel__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: none;
  background: var(--dmi-border);
  padding: 0;
  cursor: pointer;
}

.dmi-carousel__dot.is-active {
  background: var(--dmi-blue);
}

.dmi-home-hero {
  position: relative;
}

.dmi-home-hero .dmi-carousel__item {
  position: relative;
}

.dmi-home-hero__img {
  width: 100%;
  display: block;
  height: 55vw;
  max-height: 620px;
  min-height: 320px;
  object-fit: cover;
}

.dmi-home-hero__caption {
  position: absolute;
  top: 2rem;
  left: max(1rem, calc((100% - 1200px) / 2 + 1rem));
  background: #fff;
  padding: 1.75rem;
  max-width: 340px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--dmi-accent);
}

.dmi-home-hero__caption .dmi-hero-titel {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

@media (min-width: 1400px) {
  .dmi-home-hero__caption {
    max-width: 400px;
    padding: 2.25rem;
  }

  .dmi-home-hero__caption .dmi-hero-titel {
    font-size: 1.6rem;
  }

  .dmi-home-hero__highlights {
    font-size: 0.95rem;
  }
}

@media (min-width: 1800px) {
  .dmi-home-hero__caption {
    max-width: 440px;
    padding: 2.5rem;
  }

  .dmi-home-hero__caption .dmi-hero-titel {
    font-size: 1.75rem;
  }
}

.dmi-home-hero__highlights {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
}

.dmi-home-hero__highlights li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.dmi-home-hero__highlights li::before,
.dmi-card__highlights li::before {
  content: "\2713";
  color: #37c46f;
  font-weight: 700;
  flex: 0 0 auto;
  line-height: 1.4;
}
.dmi-card__highlights li::before {
  color: #2b9e57;
}

.dmi-home-hero__facts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--dmi-border);
  font-size: 0.85rem;
}

.dmi-home-hero__facts li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.dmi-home-hero__kfw {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.dmi-home-hero__kfw img {
  max-width: 90px;
}

@media (max-width: 767px) {
  .dmi-home-hero__img {
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: 480 / 637;
  }

  .dmi-home-hero__caption {
    position: static;
    max-width: none;

    margin: 0 1rem;
  }

  .dmi-home-hero .dmi-carousel__nav {
    top: 66.4vw;
  }
}

.dmi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 767px) {
  .dmi-split {
    grid-template-columns: 1fr;
  }
}

.dmi-split__media img {
  width: 100%;
  height: auto;
  display: block;
}

.dmi-checklist {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

.dmi-checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.dmi-checklist img {
  width: 1.1rem;
  margin-top: 0.15rem;
}

.dmi-plain-list {
  margin: 1rem 0 1.25rem 1.25rem;
  padding: 0;
}

.dmi-plain-list li {
  margin-bottom: 0.4rem;
}

.dmi-steuern-img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(22, 91, 151, 0.18);
}

.dmi-map {
  width: 100%;
  height: auto;
}

.dmi-map__state {
  fill: var(--dmi-border);
  stroke: #fff;
  stroke-width: 1.5;
}

.dmi-map__link {
  cursor: pointer;
}

.dmi-map__link .dmi-map__state.is-active {
  fill: #9db8cd;
  transition: fill 0.15s ease;
}

.dmi-map__link:hover .dmi-map__state.is-active,
.dmi-map__link:focus-visible .dmi-map__state.is-active {
  fill: var(--dmi-accent);
}

.dmi-map-band {
  background: var(--dmi-blue);
  color: #fff;
}

.dmi-map-band h2 {
  margin-top: 0;
}

.dmi-map-band p {
  color: rgba(255, 255, 255, 0.85);
}

.dmi-map-band .dmi-map {
  width: auto;
  height: 430px;
  margin-left: auto;
}

.dmi-map-band .dmi-map__state {
  fill: #b9c9d6;
  stroke: var(--dmi-blue);
}

.dmi-map-band .dmi-map__link .dmi-map__state.is-active {
  fill: #44c5f8;
}

.dmi-map-band .dmi-map__link:hover .dmi-map__state.is-active,
.dmi-map-band .dmi-map__link:focus-visible .dmi-map__state.is-active {
  fill: #fff;
}

@media (max-width: 767px) {
  .dmi-map-band .dmi-map {
    height: 340px;
    margin: 1.5rem auto 0;
  }
}

.dmi-card__media {
  position: relative;
}

.dmi-card__city {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--dmi-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
}

.dmi-card__kfw {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 46px;
  height: auto;
}
.dmi-card__highlights {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--dmi-text-muted);
}

.dmi-card__highlights li {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.dmi-card__facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--dmi-border);
  font-size: 0.85rem;
}

.dmi-card__facts li {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0;
}

.dmi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 767px) {
  .dmi-grid-3 {
    grid-template-columns: 1fr;
  }
}

.dmi-feature {
  text-align: center;
}

.dmi-feature img.dmi-feature__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.dmi-feature {
  position: relative;
  display: flex;
  flex-direction: column;
}

.dmi-feature__body {
  position: relative;
  z-index: 1;
  background: #fff;
  margin: -3rem 1.25rem 0;
  padding: 1.25rem;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dmi-feature__body .dmi-link {
  margin-top: auto;
  padding-top: 0.6rem;
}

.dmi-feature__body h3 {
  font-size: 1.3rem;
}

.dmi-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .dmi-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dmi-grid-5 {
    grid-template-columns: 1fr;
  }
}

.dmi-icon-card {
  text-align: center;
  display: block;
  text-decoration: none;
  color: inherit;
}

.dmi-icon-card:hover p {
  color: var(--dmi-blue);
}

.dmi-icon-card img {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
}

.dmi-icon-card p {
  font-size: 0.9rem;
  color: var(--dmi-text-muted);
}

.dmi-kicker {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dmi-blue);
  margin: 0 0 0.6rem;
  padding-left: 28px;
}

.dmi-main .dmi-titel {
  margin: 0 0 1.5rem;
}

.dmi-calc-band {
  background: #23303a url('/img/beispiel_bg.jpg') center / cover no-repeat;
  padding: 6rem 0 3.5rem;
}

.dmi-calc {
  display: flex;
  flex-wrap: wrap;
  max-width: 780px;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.35);
}

.dmi-calc__intro {
  background: #fff;
  padding: 1.9rem 1.6rem;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.dmi-calc__intro .dmi-titel {
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

.dmi-calc__note {
  color: var(--dmi-text-muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
  flex: 1;
}

.dmi-calc__table {
  background: var(--dmi-blue);
  color: #fff;
  padding: 1.4rem 1.6rem;
  flex: 1 1 360px;
}

.dmi-calc__table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dmi-calc__table li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.dmi-calc__table li span:last-child {
  white-space: nowrap;
  font-weight: 600;
}

.dmi-calc__sum {
  border-bottom: none !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 0.75rem !important;
}

.dmi-consult {
  background: var(--dmi-blue-dark);
  color: #fff;
}

.dmi-consult__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.dmi-consult__intro h2 {
  color: #fff;
  margin: 0 0 1rem;
}

.dmi-consult__intro p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.dmi-consult__phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  text-decoration: none;
  color: #fff;
}

.dmi-consult__phone img {
  width: 52px;
  height: auto;
}

.dmi-consult__phone strong {
  color: var(--dmi-accent);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.dmi-consult .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmi-consult .fields li.er,
.dmi-consult .fields li.hint,
.dmi-consult .fields li:has(textarea) {
  grid-column: 1 / -1;
}

.dmi-consult .fields li label {
  color: #fff;
}

@media (max-width: 767px) {
  .dmi-consult__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .dmi-consult .fields {
    grid-template-columns: 1fr;
  }
}

.dmi-bg-light {
  background: var(--dmi-bg-light);
}

.dmi-calc__legal {
  color: var(--dmi-text-muted);
  font-size: 0.76rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.dmi-home-hero__highlights,
.dmi-card__highlights {
  font-weight: 500;
}

.dmi-home-hero__facts li span:last-child,
.dmi-card__facts li span:last-child {
  font-weight: 700;
}

.dmi-home-hero__facts li span.dmi-wert-offen,
.dmi-card__facts li span.dmi-wert-offen {
  font-weight: 400;
}

.dmi-home-hero__caption .dmi-titel {
    font-size: 1.6rem;
    margin: 0 0 12px;
}

.dmi-hero-titel__ort {
    color: var(--dmi-blue);
}
