@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fui2/fonts/montserrat-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fui2/fonts/montserrat-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fui2/fonts/montserrat-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fui2/fonts/montserrat-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fui2/fonts/montserrat-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fui2/fonts/montserrat-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Mietbeginn.de, aus dem Logo und der Seite gelesen */
  --mb-green: #4d733d;
  --mb-green-dark: #38572b;
  --mb-brown: #35241b;
  --mb-brown-mid: #5c4a41;
  --mb-red: #a3412d;
  --mb-red-dark: #901812;
  --mb-sand: #dbb3a3;
  --mb-cream: #fcf8f1;
  --text: var(--mb-brown);
  --muted: var(--mb-brown-mid);
  --link: var(--mb-green);
  --border: var(--mb-sand);
  --bg: #fff;
  --fui2-search-width: 640px;
}

* {
  box-sizing: border-box;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

body.fui2-body {
  margin: 0;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body.fui2-body--home .fui2-header {
  padding-top: 4.8rem;
  padding-bottom: 0;
}

body.fui2-body--home .fui2-header-inner {
  flex-direction: column;
  align-items: center;
}

body.fui2-body--home .fui2-search-form {
  width: min(var(--fui2-search-width), 100%);
}

.fui2-header {
  padding: 1.25rem 1.5rem 0.5rem;
  border-bottom: 1px solid transparent;
}

body:not(.fui2-body--home) .fui2-header {
  border-bottom-color: var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  z-index: 10;
}

.fui2-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.fui2-slogan-home {
  display: block;
  color: inherit;
  text-decoration: none;
  margin: 0 0 1.05rem;
}

.fui2-search-form {
  flex: 0 0 auto;
  width: min(var(--fui2-search-width), 100%);
  max-width: 100%;
  min-width: 0;
}

.fui2-slogan {
  display: block;
  margin: 0;
  max-width: 100%;
  min-height: 1.45em;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mb-brown);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

body.fui2-body--home .fui2-slogan {
  font-size: 1.45rem;
  min-height: 1.9em;
}

.fui2-slogan--off {
  opacity: 0;
  transform: translateY(8px);
}

.fui2-spell-wrap {
  position: relative;
}

.fui2-search-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
  overflow: hidden;
  background: #fff;
}

.fui2-spell-mirror {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  min-width: 0;
  padding: 0.75rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  pointer-events: none;
  color: var(--mb-brown);
  z-index: 1;
  overflow: hidden;
  max-height: calc(1.4em * 4 + 1.5rem);
}

.fui2-spell-error {
  text-decoration: underline wavy var(--mb-red);
}

.fui2-search-input {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 0.75rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  min-width: 0;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  background: transparent;
  color: transparent;
  caret-color: var(--mb-brown);
  position: relative;
  z-index: 2;
}

.fui2-search-btn {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  border: 0;
  background: var(--mb-green);
  color: var(--mb-cream);
  padding: 0 1.1rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border-left: 1px solid var(--mb-green-dark);
}

.fui2-search-btn:hover {
  background: var(--mb-green-dark);
}

.fui2-version {
  margin: 0.35rem auto 0;
  max-width: 1100px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.fui2-hint,
.fui2-ignored {
  margin: 0.55rem auto 0;
  max-width: 1100px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

body.fui2-body--home .fui2-hint {
  margin-top: 0.6rem;
}

.fui2-ignored {
  color: var(--mb-green-dark);
}

.fui2-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.fui2-home {
  text-align: center;
  padding: 0;
}

.fui2-home-tagline {
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

body.fui2-body--home .fui2-main {
  max-width: calc(var(--fui2-search-width) + 3rem);
  padding-top: 4.25rem;
}

.fui2-home-newest {
  margin-top: 0;
  text-align: center;
}

.fui2-home-newest-head {
  display: block;
  margin: 0 0 0.65rem;
  text-align: center;
}

.fui2-home-newest-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

.fui2-home-rotator {
  position: relative;
  display: block;
  width: 100%;
}

.fui2-home-rotator-viewport {
  overflow: hidden;
  width: 100%;
}

.fui2-home-rotator-track {
  display: flex;
  transition: transform 0.45s ease;
}

.fui2-home-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
}

.fui2-home-card a {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  min-height: 118px;
  max-height: 118px;
}

.fui2-home-card a:hover {
  box-shadow: 0 2px 10px rgba(32, 33, 36, 0.1);
}

.fui2-home-card-thumb {
  display: block;
  width: 148px;
  height: 118px;
  max-height: 118px;
  flex-shrink: 0;
  background: #f4e9d4;
  overflow: hidden;
}

.fui2-home-card-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fui2-home-card-body {
  padding: 0.7rem 0.85rem 0.7rem 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.fui2-home-card-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fui2-home-card-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fui2-home-rotator-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--mb-brown);
}

#fui2-home-prev {
  left: 0.4rem;
}

#fui2-home-next {
  right: 0.4rem;
}

.fui2-home-rotator-btn:hover {
  background: #f8f0e2;
}

.fui2-home-rotator-status {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.fui2-status {
  padding: 1.5rem 0;
  color: var(--muted);
}

.fui2-stats {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  text-align: center;
}

.fui2-serp {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.fui2-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1.15rem;
  align-items: start;
  background: #fff;
  border: 1px solid #e7dfd8;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(53, 36, 27, 0.05);
}

.fui2-result--anbieter {
  grid-template-columns: minmax(0, 1fr);
}

.fui2-result-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  min-width: 0;
}

.fui2-result-head {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.fui2-result-favicon {
  width: 26px;
  height: 26px;
  margin: 0.05rem 0 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  flex-shrink: 0;
}

.fui2-result-favicon--placeholder,
.fui2-result-favicon.is-broken {
  display: none;
}

.fui2-result-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.fui2-result-title {
  margin: 0;
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.fui2-result-title a {
  display: block;
  color: var(--link);
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
}

.fui2-result-title a:hover {
  text-decoration: underline;
}

.fui2-result-title a:visited {
  color: var(--mb-green-dark);
}

.fui2-result-url {
  font-size: 0.88rem;
  color: var(--mb-green);
  line-height: 1.4;
  word-break: break-all;
  margin-bottom: 0.25rem;
}

.fui2-result-snippet {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  hyphens: manual;
  overflow-wrap: break-word;
}

.fui2-result-snippet mark {
  background: none;
  color: inherit;
  font-weight: inherit;
  padding: 0;
}

.fui2-result-meta {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
}

.fui2-result-source {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: #8a817c;
  line-height: 1.4;
}

.fui2-result-thumb {
  width: 156px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  border: 0;
}

.fui2-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 2rem;
  justify-content: center;
}

.fui2-page-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--link);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.fui2-page-btn:hover:not(:disabled) {
  background: #f8f0e2;
}

.fui2-page-btn.is-active {
  font-weight: 600;
  color: var(--mb-cream);
  background: var(--mb-brown);
}

.fui2-page-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.fui2-spell-banner {
  max-width: 652px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.fui2-did-you-mean {
  margin: 0.5rem 0;
}

.fui2-results-for {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}

.fui2-link-btn {
  border: 0;
  background: none;
  color: var(--link);
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
}

.fui2-header--compact {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.fui2-back-link {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--link);
  text-decoration: none;
}

.fui2-back-link:hover {
  text-decoration: underline;
}

.fui2-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem;
}

.fui2-detail-card {
  background: #fff;
}

.fui2-detail-head h1 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.fui2-detail-sub,
.fui2-detail-price {
  color: var(--muted);
  margin: 0.2rem 0;
}

.fui2-detail-vendor {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--link);
}

.fui2-detail-vendor + .fui2-detail-vendor {
  margin-left: 1rem;
}

.fui2-hardfacts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem 1rem;
  margin: 1.25rem 0;
}

.fui2-hf-row dt {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.fui2-hf-row dd {
  margin: 0.1rem 0 0;
}

.fui2-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.fui2-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.fui2-text-block h3 {
  font-size: 1rem;
  margin: 1rem 0 0.35rem;
}

.fui2-text-block p {
  margin: 0;
  line-height: 1.55;
  color: var(--mb-brown-mid);
  white-space: pre-wrap;
}

.fui2-serp-section {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

/* Anbieter: Impressum · alle Exposés · Objekt: Exposé anfragen */
.fui2-result-actions,
.fui2-anbieter-actions {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.fui2-result-action,
.fui2-anbieter-action {
  color: var(--mb-green);
  text-decoration: none;
}

.fui2-result-action:hover,
.fui2-anbieter-action:hover {
  text-decoration: underline;
}

.fui2-anbieter-action--exposes {
  font-weight: 500;
}

.fui2-anbieter-sep {
  color: var(--muted);
  user-select: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .fui2-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .fui2-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .fui2-slogan {
    font-size: 1.02rem;
    letter-spacing: 0.04em;
  }

  body.fui2-body--home .fui2-header {
    padding-top: 1.9rem;
  }

  .fui2-home-card a {
    min-height: 96px;
    max-height: 96px;
  }

  .fui2-home-card-thumb {
    width: 108px;
    height: 96px;
    max-height: 96px;
  }

  .fui2-home-card-thumb-img {
    width: 100%;
    height: 100%;
  }

  .fui2-result {
    align-items: start;
    padding: 0.85rem;
    gap: 0.7rem;
  }
}

@media (max-width: 840px) {
  .fui2-result {
    grid-template-columns: minmax(0, 1fr);
  }

  .fui2-result-thumb {
    order: -1;
    width: 100%;
    height: 180px;
  }
}