/* Synced from Claude Design: styles.css – nicht von Hand bearbeiten */
/* ============================================================
   Immomio Website 2.0 — page-level styles
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--im-font-sans);
  color: var(--im-color-text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

:root {
  --page-max: 1280px;
  --side-pad: clamp(20px, 4vw, 48px);

  --ink: var(--bb-indigo);            /* CI: Indigo Dye statt Schwarz für Marken-Dunkelflächen, Headlines & Primär-CTA */
  --ink-2: oklch(0.4619 0.0165 258.37);
  --ink-3: oklch(0.6 0.012 258);
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --bg-3: #eef2f7;
  --line: oklch(0.91 0.006 240);
  --line-2: oklch(0.86 0.006 240);

  --primary: var(--im-color-primary);
  --primary-dark: var(--im-color-primary-dark);
  --primary-lighter: var(--im-color-primary-lighter);
  --navy: var(--im-color-secondary);
  --navy-dark: var(--im-color-secondary-dark);
  --navy-lighter: var(--im-color-secondary-lighter);

  /* ----------------------------------------------------------
     Brand Book (Immomio CI, July 2024) — marketing brand layer.
     The @immomio/ui design system covers Azure + Indigo + the
     functional palette; these are the additional brand-book
     values (vivid secondary spectrum + Warm Red elevation).
     ---------------------------------------------------------- */
  --bb-azure:       #3486EF;   /* Primary  — == --im-color-primary */
  --bb-indigo:      #193F70;   /* Primary  — == --im-color-secondary */
  --bb-soft-blue:   #D1F0F8;   /* Secondary */
  --bb-petrol:      #0088B0;   /* Secondary */
  --bb-aqua:        #A2EEFF;   /* Secondary */
  --bb-lilac:       #5538D7;   /* Secondary */
  --bb-bright:      #8EC3FF;   /* Secondary ("Bright Blue") */
  --bb-warm-red:    #FF6450;   /* Elevation / highlight */
  --bb-border:      #CED2D5;   /* Functional border */
  --bb-border-light:#E6E8EA;   /* Functional border light */
  --bb-text-2:      #7C8592;   /* Functional text secondary */
  --bb-text-black:  #050D13;   /* Functional text black */

  /* Highlight / elevation accent — Brand Book Warm Red
     (replaces the previous off-brand gold accent). */
  --accent:        var(--bb-warm-red);
  --accent-strong: #FF7A68;
  --accent-rgb:    255, 100, 80;

  /* Brand Book marketing type scale (desktop reference px).
     Letter-spacing is positive per CI — never negative. */
  --bb-h1: clamp(44px, 6vw, 80px);
  --bb-h2: clamp(34px, 4.4vw, 48px);
  --bb-h3: clamp(28px, 3.2vw, 39px);
  --bb-h4: clamp(24px, 2.4vw, 33px);
  --bb-h5: clamp(21px, 1.9vw, 27px);
  --bb-body-1: clamp(18px, 1.5vw, 22px);
  --bb-body-2: clamp(16px, 1.2vw, 20px);
}

/* ============================================================
   Brand Book marketing typography utilities
   (Source Sans Pro, semibold headings, positive tracking)
   ============================================================ */
.bb-h1 { font-size: var(--bb-h1); line-height: 1.06; font-weight: 600; letter-spacing: 0; margin: 0; }
.bb-h2 { font-size: var(--bb-h2); line-height: 1.12; font-weight: 600; letter-spacing: 0.01em; margin: 0; }
.bb-h3 { font-size: var(--bb-h3); line-height: 1.18; font-weight: 600; letter-spacing: 0.01em; margin: 0; }
.bb-h4 { font-size: var(--bb-h4); line-height: 1.2;  font-weight: 600; letter-spacing: 0.008em; margin: 0; }
.bb-h5 { font-size: var(--bb-h5); line-height: 1.25; font-weight: 600; letter-spacing: 0.008em; margin: 0; }
.bb-body-1 { font-size: var(--bb-body-1); line-height: 1.45; font-weight: 400; letter-spacing: 0.012em; }
.bb-body-2 { font-size: var(--bb-body-2); line-height: 1.5;  font-weight: 400; letter-spacing: 0.008em; }
.bb-overline {
  font-size: 14px; line-height: 1.4; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.shell {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}
.section { padding: clamp(64px, 9vw, 128px) 0; }
/* Plattform section: tighten the gap below the CTA box to match its 32px top gap */
#plattform { padding-bottom: 32px; }
#mehrwerte { padding-bottom: 32px; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--ink {
  background: var(--ink);
  color: #fff;
}
.section--soft { background: var(--bg-2); }

/* ============================================================
   Breadcrumbs — top of subpages, full-width bar below the nav
   ============================================================ */
.crumbs-bar { background: #fff; padding: 16px 0; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { opacity: 0.5; }
.crumbs .cur { color: var(--ink); }

/* Back-to-top floating button */
.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 60;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 28, 55, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .12s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); }
.back-to-top:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .2s ease, visibility .2s ease; transform: none; }
}

/* ============================================================
   Section header with side graphic (two-column intro row)
   ============================================================ */
.modhead { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .modhead { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.modhead__copy { display: flex; flex-direction: column; }
.modhead__visual img { width: 100%; height: auto; display: block; }

/* ============================================================
   Type
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary);
}
.section--dark .eyebrow,
.section--ink .eyebrow { color: rgba(255,255,255,0.7); }
.section--dark .eyebrow .dot,
.section--ink .eyebrow .dot { background: var(--accent); }

.display {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  overflow-wrap: break-word;
}
.display--sm {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.07;
  letter-spacing: 0.005em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);   /* CI: alle H2 immer in Indigo Dye */
}
.display--xs {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: 0.008em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);   /* CI: alle H2 immer in Indigo Dye */
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
  font-weight: 400;
}
.section--dark .lede,
.section--ink .lede { color: rgba(255,255,255,0.78); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  white-space: nowrap;
}
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
/* On narrow viewports, long CTA labels must wrap instead of forcing the button
   wider than the screen (which caused a horizontal scrollbar at 360px). */
@media (max-width: 520px) {
  .btn { white-space: normal; text-wrap: balance; max-width: 100%; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .btn--lg { min-height: 56px; }
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--navy-dark); }
.btn--indigo {
  background: var(--navy);
  color: #fff;
}
.btn--indigo:hover { background: var(--navy-dark); }
.btn--accent {
  background: var(--primary);
  color: #fff;
}
.btn--accent:hover { background: var(--primary-dark); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink-2);
  box-shadow: 0 1px 2px rgba(13,35,70,.12);
}
.btn--ghost:hover { background: var(--bg-2); border-color: var(--ink); }
.section--dark .btn--ghost,
.section--ink .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.32);
}
.section--dark .btn--ghost:hover,
.section--ink .btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover { background: oklch(0.95 0 0); }

.btn--text {
  height: auto;
  padding: 0;
  background: none;
  font-weight: 600;
  color: var(--primary);
}
.btn--text:hover { color: var(--primary-dark); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.nav__brand img { height: 26px; width: auto; }
.nav__links {
  display: none;
  gap: 4px;
  align-items: center;
}
@media (min-width: 992px) {
  .nav__links { display: flex; }
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  transition: background 120ms ease;
}
.nav__link:hover { background: var(--bg-2); }
.nav__link svg { width: 14px; height: 14px; opacity: 0.6; }

/* nav middle group + audience toggle */
.nav__mid { display: flex; align-items: center; gap: 24px; }
.nav__links { display: none; }
@media (min-width: 768px) { .nav__links { display: flex; } }

.aud {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
@media (min-width: 860px) { .aud { display: inline-flex; } }
.aud__btn {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.aud__btn:hover { color: var(--ink); }
.aud__btn.is-on {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--im-shadow-card);
}
.aud__btn--mieter.is-on { color: #fff; }

/* topbar mieter entry */
.topbar__mieter {
  color: var(--accent) !important;
  font-weight: 600;
}
.topbar__mieter:hover { color: var(--accent-strong) !important; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Login dropdown */
.login-menu { position: relative; }
/* JS-free variant for static subpages (<details>) */
details.login-menu > summary { list-style: none; cursor: pointer; }
details.login-menu > summary::-webkit-details-marker { display: none; }
details.login-menu > summary::marker { content: ""; }
details.login-menu[open] > summary svg { transform: rotate(180deg); }
details.login-menu:not([open]) .login-menu__pop { display: none; }
.login-menu__trigger svg { transition: transform .15s ease; opacity: 0.7; }
.login-menu__trigger.is-open { background: #fff; border-color: var(--ink); }
.login-menu__trigger.is-open svg { transform: rotate(180deg); }
.login-menu__pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 248px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px -16px rgba(16,28,55,0.38);
  padding: 6px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.login-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 120ms ease;
}
.login-menu__item:hover { background: var(--bg-2); }
.login-menu__ic {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--im-color-primary-lighter);
  color: var(--primary-dark);
}
.login-menu__txt { display: flex; flex-direction: column; line-height: 1.25; }
.login-menu__txt strong { font-size: 14px; font-weight: 600; }
.login-menu__txt span { font-size: 12px; color: var(--ink-2); }

/* ============================================================
   B2B Mega-Navigation (Vermieter-Bereich, statische Subpages)
   ============================================================ */
.navb2b__links { display: none; gap: 2px; align-items: center; }
@media (min-width: 860px) { .navb2b__links { display: flex; } }
.navb2b__item { position: relative; }
.navb2b__top {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 0; cursor: pointer; font: inherit;
  padding: 6px 6px; border-radius: 10px; color: var(--ink); font-weight: 500;
  font-size: 15px; white-space: nowrap;
}
.navb2b__top:hover { background: var(--bg-2); }
.navb2b__top svg { width: 14px; height: 14px; opacity: 0.55; transition: transform .15s ease; }
.navb2b__item:hover .navb2b__top svg,
.navb2b__item:focus-within .navb2b__top svg { transform: rotate(180deg); }
/* hover-bridge so the gap doesn't close the panel */
.navb2b__item:hover::before {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
.navb2b__panel {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 50px -18px rgba(16,28,55,0.4);
  padding: 8px; z-index: 70; min-width: 290px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.navb2b__panel--wide { min-width: 560px; }
/* Right-aligned panel: anchor to the item's right edge so a wide panel on a
   right-side nav item can't overflow the viewport (avoids horizontal scroll). */
.navb2b__panel--end { left: auto; right: 0; }
.navb2b__item:hover .navb2b__panel,
.navb2b__item:focus-within .navb2b__panel { opacity: 1; visibility: visible; transform: none; }
.navb2b__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.navb2b__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.navb2b__link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  border-radius: 10px; text-decoration: none; color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1.25;
}
.navb2b__link:hover { background: var(--bg-2); }
.navb2b__link.is-current { color: var(--primary-dark); background: var(--im-color-primary-lighter); }
.navb2b__link .ic {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: var(--im-color-primary-lighter); color: var(--primary-dark);
  display: grid; place-items: center;
}
.navb2b__panel-head {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); padding: 8px 12px 4px;
}

/* Mobile burger (B2B nav) */
.navmobile { display: none; }
.navmobile > summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--ink); }
.navmobile > summary::-webkit-details-marker { display: none; }
.navmobile[open] > summary .i-burger { display: none; }
.navmobile:not([open]) > summary .i-close { display: none; }
.navmobile__panel { position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px -22px rgba(16,28,55,0.35); padding: 14px 20px 26px; max-height: calc(100vh - 72px); overflow: auto; z-index: 80; }
.navmobile__h { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin: 18px 0 4px; }
.navmobile__link { display: block; padding: 9px 6px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.navmobile__link:hover { background: var(--bg-2); }
.navmobile__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
@media (max-width: 859px) { .navmobile { display: block; } .nav .nav__cta { display: none; } }

/* Testimonial (Kundenstimme) */
.kdvoice { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px clamp(28px, 5vw, 72px); }
.kdvoice__quote { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; font-weight: 600; letter-spacing: 0; max-width: 24ch; margin: 0; }
.kdvoice__quote .accent { color: var(--accent); }
.kdvoice__by { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.kdvoice__avatar { width: 52px; height: 52px; border-radius: 999px; background: rgba(255,255,255,0.14); display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none; }
.kdvoice__name { font-weight: 600; }
.kdvoice__role { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============================================================
   Happy-Customer-Karussell (Kundenstimmen)
   ============================================================ */
.hc { position: relative; }
.hc__viewport { overflow: hidden; border-radius: 28px; }
.hc__track { display: flex; align-items: stretch; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.hc__slide { flex: 0 0 100%; min-width: 0; display: flex; }

.hc-card {
  position: relative;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: stretch;
  overflow: hidden;
  min-height: 470px;
  padding-left: clamp(24px, 4vw, 56px);
}
.hc-card__photo {
  align-self: end;
  display: flex; justify-content: center; align-items: flex-end;
}
.hc-card__photo img {
  display: block;
  width: 100%;
  max-width: 330px;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.hc-card__body {
  padding: clamp(40px, 4.5vw, 60px) clamp(28px, 4.5vw, 60px) clamp(40px, 4.5vw, 60px) 0;
  display: flex; flex-direction: column; justify-content: center;
}
.hc-card .eyebrow { color: rgba(255,255,255,0.7); }
.hc-card .eyebrow .dot { background: var(--accent); }
.hc-card__headline {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.16; font-weight: 700; letter-spacing: 0;
  margin: 18px 0 0; color: #fff; text-wrap: balance;
}
.hc-card__quote {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5; font-weight: 400;
  color: rgba(255,255,255,0.86);
  margin: 20px 0 0; max-width: 48ch;
}
.hc-card__quote::before { content: "„"; color: var(--accent); }
.hc-card__quote::after { content: "“"; color: var(--accent); }
.hc-card__points {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.78); max-width: 52ch;
}
.hc-card__points li { display: flex; gap: 11px; line-height: 1.45; }
.hc-card__points li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 7px;
  border-radius: 50%; background: var(--accent);
}
.hc-card__by { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hc-card__avatar {
  width: 54px; height: 54px; border-radius: 999px; object-fit: cover;
  object-position: top center; flex: none; display: none;
  border: 2px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.1);
}
.hc-card__name { font-weight: 600; font-size: 16px; }
.hc-card__role { color: rgba(255,255,255,0.7); font-size: 14px; }

.hc__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--im-shadow-hover);
  display: grid; place-items: center; cursor: pointer; z-index: 3;
  transition: background .15s ease, transform .15s ease;
}
.hc__arrow:hover { transform: translateY(-50%) scale(1.07); }
.hc__arrow--prev { left: -10px; }
.hc__arrow--next { right: -10px; }
.hc__arrow--prev svg { transform: rotate(180deg); }
.hc__dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.hc__dot {
  width: 8px; height: 8px; border-radius: 999px; border: none;
  background: var(--line-2); cursor: pointer; padding: 0;
  transition: width .2s ease, background .2s ease;
}
.hc__dot.is-on { width: 26px; background: var(--ink); }

@media (max-width: 820px) {
  .hc-card { grid-template-columns: 1fr; min-height: 0; padding-left: 0; }
  .hc-card__photo { display: none; }
  .hc-card__body { padding: clamp(32px, 7vw, 46px); }
  .hc-card__avatar { display: block; }
  .hc__arrow { display: none; }
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq__item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary .faq__plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .2s ease; color: var(--primary); }
.faq__item[open] > summary .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 22px; color: var(--ink-2); line-height: 1.6; max-width: none; }
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: 13px; }
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  gap: 16px;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar__left {
  display: inline-flex; align-items: center; gap: 8px;
}
.topbar__pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,100,80,0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,100,80,0.5); }
  60% { box-shadow: 0 0 0 6px rgba(255,100,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,100,80,0); }
}
.topbar__right {
  display: inline-flex; align-items: center; gap: 18px;
}
.topbar__sep { opacity: 0.3; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, oklch(0.94 0.04 250), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
}
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; }
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__title .accent {
  color: #193f70;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.hero__meta-item {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__meta-item svg { width: 16px; height: 16px; color: var(--primary); }

.hero__visual {
  position: relative;
  min-height: 540px;
}

/* ============================================================
   Logo bar
   ============================================================ */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  background: #fff;
}
.logos__lede {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
/* Continuously-scrolling logo marquee (track duplicated for a seamless
   loop). Shown at all widths — references span all customer groups. */
.logos__marquee {
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  width: max-content;
  animation: logosScroll 45s linear infinite;
}
.logos:hover .logos__marquee-track { animation-play-state: paused; }
.logos__marquee-item {
  flex: none;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: oklch(0.45 0.012 258);
  opacity: 0.85;
}
@media (max-width: 767px) {
  .logos__marquee-track { gap: 36px; animation-duration: 26s; }
  .logos__marquee-item { font-size: 17px; }
}
@keyframes logosScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__marquee-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 20px; width: auto; }
}

/* ============================================================
   Module grid (Plattform Pillars)
   ============================================================ */
.pillars {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 56px;
}
@media (min-width: 768px)  { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillars__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  background: var(--primary-lighter);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.pillars__cta-copy { min-width: 0; flex: 1 1 320px; }
.pillars__cta-title {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.pillars__cta-note {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.pillars__cta .btn { flex: none; }
/* On the blue Showcase section, use a white surface so the box stands out. */
.section--blue .pillars__cta { background: #fff; }
/* On the dark Workflow section, use a white surface so the box stands out. */
.section--dark .pillars__cta { background: #fff; border-color: transparent; }
.pillar {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 150ms ease;
}
.pillar:hover { background: var(--bg-2); }
.pillar__num {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.pillar__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-lighter);
  color: var(--primary-dark);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 {
  font-size: 20px; line-height: 1.25; font-weight: 600; margin: 0;
}
.pillar p {
  font-size: 15px; line-height: 1.55; margin: 0; color: var(--ink-2);
}
.pillar__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; color: var(--ink-2);
}
.pillar__list li {
  display: flex; align-items: center; gap: 8px;
  font: inherit;
  line-height: 1.4;
}
.pillar__list li::before {
  content: ""; width: 14px; height: 1px; background: var(--ink-3); flex: 0 0 auto;
}

/* ============================================================
   Showcase (big product visual w/ tabs)
   ============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (min-width: 992px) {
  .showcase { grid-template-columns: 360px 1fr; gap: 48px; }
}
.showcase__rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showcase__tab {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 16px;
  padding: 18px 18px 18px 22px;
  border-radius: 14px;
  text-align: left;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease;
  position: relative;
  overflow: hidden;
}
/* Auto-advance progress indicator on the active tab */
.showcase__tab-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: color-mix(in oklch, var(--primary) 16%, transparent);
}
.showcase__tab-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--primary);
  animation-name: showcaseProgress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes showcaseProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__tab-progress { display: none; }
}
.showcase__tab:hover { background: rgba(255,255,255,0.05); }
.showcase__tab.is-active {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}
.showcase__tab-num {
  font-family: inherit;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.showcase__tab.is-active .showcase__tab-num { color: var(--accent); }
.showcase__tab-body strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.showcase__tab-body p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

.showcase__stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  min-height: 520px;
}
/* Device-mockup variant: float the render, no browser chrome */
.showcase__stage--device {
  background: radial-gradient(120% 120% at 50% 0%, #fff 0%, var(--im-color-primary-lighter) 70%);
  box-shadow: none;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.showcase__device {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase__device img {
  width: 100%;
  height: 100%;
  max-width: 620px;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(13, 35, 70, 0.22));
}
/* Cross-fade / slide between Showcase modules */
.showcase__fade {
  width: 100%;
  height: 100%;
  animation: showcaseFade 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.showcase__stage--device .showcase__fade {
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes showcaseFade {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__fade { animation: none; }
}

/* ============================================================
   Stats band
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: #fff;
  padding: 36px 28px;
}
.stat__num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
}
.stat__num span { color: var(--primary); font-size: 0.6em; }
.stat__label {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 28ch;
}

/* ============================================================
   Testimonial
   ============================================================ */
.quote {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) { .quote { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.quote__copy blockquote {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.quote__copy blockquote::before { content: "\201C "; color: var(--primary); }
.quote__copy blockquote::after { content: "\201D"; color: var(--primary); }
.quote__author {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
}
.quote__avatar {
  width: 56px; height: 56px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
}
.quote__author-name { font-weight: 600; color: var(--ink); }
.quote__author-role { font-size: 14px; color: var(--ink-2); }
.quote__visual {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4/5;
  position: relative;
  border: 1px solid var(--line);
}

/* ============================================================
   Workflow timeline
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 56px;
}
@media (min-width: 768px) { .flow { grid-template-columns: repeat(7, 1fr); gap: 0; } }
.flow__step {
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
  padding: 24px 20px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (min-width: 768px) {
  .flow__step {
    border-radius: 0;
    background: transparent;
    border-left: 1px solid rgba(255,255,255,0.16);
    padding: 28px 20px 20px;
  }
  .flow__step:first-child { border-left: 1px solid rgba(255,255,255,0.16); }
}
.flow__step-num {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.flow__step strong {
  font-size: 15px; font-weight: 600;
}
.flow__step p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.flow__rail {
  display: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32) 30%, rgba(255,255,255,0.32) 70%, transparent);
  margin: 12px 0 0;
}
@media (min-width: 768px) { .flow__rail { display: block; grid-column: 1 / -1; order: -1; } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 992px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.tier--feature {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.tier__pop {
  position: absolute;
  top: -10px; right: 24px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tier__name { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.tier--feature .tier__name { color: rgba(255,255,255,0.65); }
.tier__head h3 { font-size: 28px; line-height: 1.15; font-weight: 700; margin: 8px 0 0; letter-spacing: 0; }
.tier__price { display: flex; align-items: baseline; gap: 6px; padding-top: 4px; }
.tier__price strong { font-size: 36px; font-weight: 700; letter-spacing: 0; }
.tier__price span { color: var(--ink-2); font-size: 14px; }
.tier--feature .tier__price span { color: rgba(255,255,255,0.65); }
.tier__lede { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.tier--feature .tier__lede { color: rgba(255,255,255,0.7); }
.tier__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; line-height: 1.5;
}
.tier__list li {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px;
  font: inherit;
}
.tier__list li svg {
  width: 18px; height: 18px; color: var(--primary); margin-top: 2px;
}
.tier--feature .tier__list li svg { color: var(--accent); }
.tier__divider { height: 1px; background: var(--line); }
.tier--feature .tier__divider { background: rgba(255,255,255,0.14); }

/* ============================================================
   Mieterportal/-app section
   ============================================================ */
.portal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .portal { grid-template-columns: 0.85fr 1fr; gap: 72px; }
}
.portal__visual {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--navy), var(--navy-dark));
  min-height: 520px;
  overflow: visible;
}
.portal__visual > div:first-child {
  border-radius: 24px;
  overflow: hidden;
  height: 520px;
}
.portal__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 24px;
}
.portal__list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  align-items: start;
  font: inherit;
}
.portal__list-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--im-color-primary-lighter);
  color: var(--primary-dark);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.portal__list strong {
  display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px;
  color: var(--ink);
}
.portal__list p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.portal__langs {
  margin-top: 32px;
  background: var(--im-color-primary-lighter);
  border: 1px solid color-mix(in oklch, var(--primary) 22%, transparent);
  border-radius: 16px;
  padding: 20px 22px;
}
.portal__langs-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.01em;
}
.portal__langs-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.portal__lang--more { background: transparent; border: none; color: var(--primary-dark); font-weight: 700; min-width: auto; padding: 0 4px; }
.portal__lang {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 32px; padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}
.portal__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.portal__metric-num {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}
.portal__metric-label { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.35; }

/* ============================================================
   Resource cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card-rs {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 150ms ease, transform 200ms ease;
}
.card-rs:hover { border-color: var(--ink); transform: translateY(-2px); }
.card-rs__media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.card-rs__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.card-rs__kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.card-rs__title { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 0; color: var(--ink); }
.card-rs__meta { font-size: 13px; color: var(--ink-2); margin-top: auto; padding-top: 8px; }

/* ============================================================
   Final CTA band
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-band { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, oklch(0.62 0.18 256 / 0.4), transparent 60%);
  pointer-events: none;
}
.cta-band__head h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
  position: relative;
}
.cta-band__head p {
  margin: 16px 0 0;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
  position: relative;
}
.cta-band__actions {
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  align-items: stretch;
}
@media (min-width: 768px) {
  .cta-band__actions { align-items: flex-end; }
}
.cta-band__actions .btn { min-width: 220px; }
.cta-band__note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   ROI-Rechner embed
   ============================================================ */
.roi-embed { margin-top: clamp(32px, 5vw, 56px); }
.roi-embed iframe {
  width: 100%;
  min-height: 400px;
  border: 0;
  display: block;
  background: #f6f7fb;
}

/* Demo-Störer: Button-Gruppe + sekundärer ROI-Rechner-Button (auf dunkler/azurer Leiste) */
.democta__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.democta .btn--ghost {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.democta .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
@media (max-width: 640px) { .democta__cta { width: 100%; } .democta__cta .btn { flex: 1; } }

/* ============================================================
   Integrations grid (zweizeilig, ausklappbar + „U. v. m."-Kachel)
   ============================================================ */
.int-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
@media (min-width: 640px)  { .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .int-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.int-card {
  background: #fff;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
}
.int-card__logo {
  width: 36px; height: 36px; border-radius: 8px; flex: none;
  background: var(--bg-2);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.int-card__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.int-card__cat { font-size: 12px; color: var(--ink-2); }

.int-more {
  background: var(--im-color-primary-lighter);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease;
}
.int-more:hover { background: color-mix(in oklch, var(--primary) 16%, #fff); }
.int-more__ic {
  width: 36px; height: 36px; border-radius: 8px; flex: none;
  background: #fff; color: var(--primary-dark);
  display: grid; place-items: center;
  font-weight: 700; font-size: 22px; line-height: 1;
}
.int-more__t { display: block; font-size: 14px; font-weight: 700; color: var(--primary-dark); }
.int-more__s { display: block; font-size: 12px; color: var(--primary-dark); opacity: 0.8; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.footer__col { min-width: 0; }
.footer__col a { overflow-wrap: break-word; }
@media (min-width: 600px) {
  .footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 40px; }
}
@media (min-width: 992px) {
  .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 48px; }
}
.footer__brand img { height: 28px; }
.footer__tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
  max-width: 32ch;
  line-height: 1.55;
}
.footer__col h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2); margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font: inherit; font-size: 14px; }
.footer__col a:hover { color: var(--primary); }
.footer__bot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) { .footer__bot { flex-direction: row; align-items: center; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__locale {
  display: inline-flex; gap: 6px; align-items: center;
  background: var(--bg-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

/* ============================================================
   Mockup primitives — used inside hero + showcase
   ============================================================ */
.mock-window {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 30px 60px -20px rgba(20, 30, 60, 0.22),
    0 1px 0 rgba(255,255,255,0.6) inset;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mock-window__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.mock-window__chrome .dots {
  display: flex; gap: 6px;
}
.mock-window__chrome .dots i {
  width: 10px; height: 10px; border-radius: 999px;
  background: oklch(0.86 0 0);
}
.mock-window__chrome .url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink-2);
  font-family: inherit;
  text-align: center;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 18px 36px -12px rgba(20,30,60,0.25);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  transform: rotate(var(--rot, 0deg));
}
/* Hero „Störer“ pop in on load, staggered, without covering faces */
@keyframes floatCardPop {
  0%   { opacity: 0; transform: translateY(12px) scale(0.82) rotate(var(--rot, 0deg)); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.03) rotate(var(--rot, 0deg)); }
  100% { opacity: 1; transform: translateY(0)    scale(1)    rotate(var(--rot, 0deg)); }
}
.float-card--pop {
  opacity: 1;
  animation: floatCardPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--pop-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .float-card--pop { opacity: 1; animation: none; }
}
.float-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}

/* ============================================================
   IDA-Störer — lebendiger Orb über dem Mieterportal-Visual,
   verlinkt auf die IDA-Unterseite
   ============================================================ */
@keyframes idaBob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes idaGlow  { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .95; transform: scale(1.12); } }
@keyframes idaBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes idaSpin  { to { transform: rotate(360deg); } }
@keyframes idaRing  { 0% { transform: scale(.58); opacity: .85; } 100% { transform: scale(1.5); opacity: 0; } }

.ida-storer {
  position: absolute;
  top: -34px; right: -30px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  animation: idaBob 5.5s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.ida-storer__bubble {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 13px 17px;
  max-width: 232px;
  margin-right: -14px;
  box-shadow: 0 20px 44px -16px rgba(15,28,55,0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ida-storer__bubble::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 16px; height: 16px;
  background: var(--navy);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
}
.ida-storer__kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--im-color-primary-light); margin-bottom: 5px;
}
.ida-storer__kicker .ida-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--im-color-primary-light);
  box-shadow: 0 0 0 0 rgba(142,195,255,0.6);
  animation: idaGlow 1.8s ease-in-out infinite;
}
.ida-storer__txt { font-size: 13.5px; line-height: 1.42; font-weight: 500; }
.ida-storer__more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--im-color-primary-light);
}
.ida-storer__more svg { transition: transform 0.18s ease; }

.ida-storer__orb { position: relative; width: 96px; height: 96px; flex: 0 0 auto; }
.ida-storer__glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, #2B6FE0 0%, rgba(43,111,224,0) 70%);
  filter: blur(18px); animation: idaGlow 5.5s ease-in-out infinite;
}
.ida-storer__ring {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 2px solid rgba(52,134,239,0.55);
  animation: idaRing 2.8s ease-out infinite;
}
.ida-storer__img {
  position: relative; width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 10px 22px rgba(15,28,55,0.45));
  animation: idaBreathe 5.5s ease-in-out infinite;
}
.ida-storer__hl {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 42%);
  animation: idaSpin 11s linear infinite;
}
.ida-storer:hover .ida-storer__bubble { transform: translateY(-3px); box-shadow: 0 26px 52px -16px rgba(15,28,55,0.66); }
.ida-storer:hover .ida-storer__more svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .ida-storer { top: -22px; right: -10px; }
  .ida-storer__bubble { display: none; }
  .ida-storer__orb { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .ida-storer,
  .ida-storer__glow, .ida-storer__breathe, .ida-storer__img,
  .ida-storer__ring, .ida-storer__hl, .ida-storer__kicker .ida-pulse { animation: none; }
}

/* ============================================================
   Misc
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
}
@media (min-width: 992px) {
  .section-head { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
.section-head__lede { color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 56ch; margin: 0; }
.section--dark .section-head__lede,
.section--ink .section-head__lede { color: rgba(255,255,255,0.72); }

.gold { color: var(--accent); }

/* ============================================================
   Brand Book — Ripple motif (primary design element)
   The „ripple/wave“ reflects Immomio's 360° orientation and the
   growth of the platform. Used as a subtle background texture.
   ============================================================ */
.hero { position: relative; }
.hero > .shell { position: relative; z-index: 1; }
.hero .hero__audience { position: relative; z-index: 1; }
.hero::after {
  content: "";
  position: absolute;
  top: -38%;
  right: -14%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  background: url("assets/ripple-azure.png") center / contain no-repeat;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 991px) { .hero::after { opacity: 0.32; right: -28%; top: -22%; } }

/* White ripple on dark / accent bands */
.cta-band::after {
  content: "";
  position: absolute;
  top: -52%;
  left: -16%;
  width: min(620px, 60%);
  aspect-ratio: 1;
  background: url("assets/ripple-white.png") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.democta::before {
  content: "";
  position: absolute;
  bottom: -64%;
  left: -6%;
  width: min(520px, 52%);
  aspect-ratio: 1;
  background: url("assets/ripple-white.png") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.democta__inner { z-index: 1; }

/* Warm Red highlight arrow — Brand Book „red arrow for highlighting“ */
.bb-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
}
.bb-arrow svg { width: 1.05em; height: 1.05em; }

/* Light-blue section variant (used by 360° + Showcase) */
.section--blue { background: var(--im-color-primary-lighter); }
.section--blue .showcase__tab:hover { background: rgba(255,255,255,0.55); }
.section--blue .showcase__tab.is-active {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--im-shadow-card);
}
.section--blue .showcase__tab-num { color: var(--ink-3); }
.section--blue .showcase__tab.is-active .showcase__tab-num { color: var(--primary); }
.section--blue .showcase__tab-body strong { color: var(--ink); }
.section--blue .showcase__tab-body p { color: var(--ink-2); }

/* Final CTA ghost button on dark band — make it clearly visible */
.cta-band .btn--ghost {
  color: #fff;
  border-color: #fff;
  border-width: 1.5px;
  background: rgba(255,255,255,0.06);
}
.cta-band .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Before/after bar chart in testimonial visual */
.ba-chart { width: 78%; display: flex; flex-direction: column; align-items: center; gap: 20px; color: #fff; }
.ba-chart__title { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; font-weight: 600; align-self: flex-start; }
.ba-chart__track { display: flex; gap: 36px; align-items: flex-end; }
.ba-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ba-bar { width: 76px; border-radius: 10px 10px 0 0; display: block; }
.ba-bar--before { background: rgba(255,255,255,0.30); }
.ba-bar--after { background: #fff; }
.ba-val { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.ba-cap { font-size: 13px; opacity: 0.85; }

/* ============================================================
   360°-Circle
   ============================================================ */
.circle-sec { overflow: hidden; background: var(--im-color-primary-lighter); }

/* ============================================================
   Recurring Demo CTA strip — full-bleed band
   ============================================================ */
.democta {
  width: 100%;
  padding: clamp(44px, 5.5vw, 72px) 0;
  position: relative;
  overflow: hidden;
}
.democta--ink { background: var(--ink); color: #fff; }
.democta--accent {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.democta::after {
  content: ""; position: absolute; inset: -60% -10% auto auto; width: 45%; aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(255,255,255,0.10), transparent 65%);
  pointer-events: none;
}
.democta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; position: relative;
}
.democta__text { display: flex; flex-direction: column; gap: 6px; max-width: 60ch; }
.democta__text strong {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: 0; line-height: 1.15;
}
.democta__text span { font-size: 14px; opacity: 0.78; }
.democta .btn { position: relative; white-space: nowrap; }
@media (max-width: 640px) { .democta .btn { width: 100%; } }
/* ============================================================
   Official 360° graphic (Brand Book) + clickable hotspots
   ============================================================ */
.p360 { margin-top: clamp(36px, 5vw, 68px); }
.p360__art {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto;
  aspect-ratio: 602.9 / 412.73;
}
.p360__art > img { width: 100%; height: 100%; display: block; }
.p360__hot, .p360__center {
  position: absolute;
  border-radius: 16px;
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.p360__center { border-radius: 50%; }
.p360__hot:hover, .p360__hot:focus-visible,
.p360__center:hover, .p360__center:focus-visible {
  background: color-mix(in oklch, var(--primary) 9%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--primary) 38%, transparent);
  outline: none;
}
@media (max-width: 760px) { .p360__art { display: none; } }
@media (min-width: 761px) { .p360 .circ360__list { display: none; } }

/* IDA orb badge (Digital Assistant marker) — sits left of the "IDA" label */
.p360__ida {
  position: absolute;
  width: 2.7%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("assets/ida-orb-256.png") center / contain no-repeat;
  pointer-events: none;
}

/* Animierter Kreislauf-Ring um den zentralen 360°-Hub (wie auf der Live-Website) */
.p360__orbit {
  position: absolute;
  left: 46.2%; top: 46.1%;
  width: 40%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px dashed color-mix(in oklch, var(--navy) 32%, transparent);
  pointer-events: none;
  z-index: 1;
  animation: p360orbit 30s linear infinite;
}
.p360__orbit i { display: none; }
@keyframes p360orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .p360__orbit { animation: none; } }
:root[data-circle-anim="off"] .p360__orbit { display: none; }
@media (max-width: 760px) { .p360__orbit { display: none; } }

/* ============================================================
   Interactive 360° circle (light-blue section)
   ============================================================ */
.circ360 {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex;
  justify-content: center;
}
.circ360__ring {
  position: relative;
  width: min(640px, 94vw);
  aspect-ratio: 1;
}
.circ360__dash {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: circ360spin 90s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .circ360__dash { animation: none; } }
@keyframes circ360spin { to { transform: rotate(360deg); } }

.circ360__flow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.circ360__node, .circ360__center { z-index: 2; }

.circ360__center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -10px rgba(20,30,60,0.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.circ360__center:hover { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 16px 36px -10px rgba(20,30,60,0.26); }
.circ360__center img { width: 64%; max-width: 130px; height: auto; margin-bottom: 8px; }
.circ360__center-num {
  font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; color: var(--ink); letter-spacing: 0; line-height: 1;
}
.circ360__center-label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}

.circ360__node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 138px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.circ360__node-ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(47,107,220,0.55);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  position: relative;
}
.circ360__ida {
  position: absolute; top: -9px; right: -9px;
  min-width: 24px; height: 20px; padding: 0 6px 0 4px; border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 3px;
  border: 2px solid var(--im-color-primary-lighter);
  box-shadow: 0 2px 6px rgba(20,30,60,0.25);
}
.circ360__ida img { width: 13px; height: 13px; display: block; border-radius: 999px; }
.circ360__list .circ360__ida { border-color: #fff; }
.circ360__node-label {
  font-size: 13px; line-height: 1.25; font-weight: 500; color: var(--navy);
  text-wrap: balance;
  transition: font-weight 120ms ease, color 120ms ease;
}
.circ360__node:hover .circ360__node-ic,
.circ360__node:focus-visible .circ360__node-ic {
  transform: scale(1.12);
  background: var(--primary-dark);
  box-shadow: 0 12px 26px -8px rgba(47,107,220,0.7);
}
.circ360__node:hover .circ360__node-label,
.circ360__node:focus-visible .circ360__node-label {
  font-weight: 700;
  color: var(--primary-dark);
}

.circ360__list { display: none; }
@media (max-width: 760px) {
  .circ360__ring { display: none; }
  .circ360__list {
    display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; padding: 0; margin: 0;
    width: 100%;
  }
  .circ360__list li a {
    display: flex; align-items: center; gap: 14px;
    font-size: 15px; font-weight: 600; color: var(--navy);
    padding: 12px 14px; border-radius: 12px;
    background: #fff; border: 1px solid var(--line);
    transition: border-color 120ms ease;
  }
  .circ360__list li a:hover { border-color: var(--primary); }
  .circ360__list .circ360__node-ic { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px; }
}

/* ============================================================
   Product peek (real screenshots)
   ============================================================ */
.peek {
  display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 48px;
}
@media (min-width: 768px) { .peek { grid-template-columns: 1fr 1fr; } }
.peek__item { margin: 0; }
/* Tablet-style frame for the product screenshots */
.peek__item .peek__shot {
  position: relative;
  background: #10151e;
  border-radius: clamp(22px, 2.4vw, 30px);
  padding: clamp(11px, 1.5vw, 17px);
  box-shadow: 0 30px 60px -22px rgba(13,35,70,0.42), 0 2px 6px rgba(0,0,0,0.18);
}
.peek__item .peek__shot::after {
  content: "";
  position: absolute; top: 50%; left: 8px; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.peek__item .peek__shot img {
  width: 100%; display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: clamp(9px, 1vw, 13px);
}
.peek__item figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-2); font-weight: 500; text-align: center; }

/* ============================================================
   Mehrwerte cards
   ============================================================ */
.mw-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px;
}
@media (min-width: 600px) { .mw-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mw-grid { grid-template-columns: repeat(4, 1fr); } }
.mw-card {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.mw-card:hover { transform: translateY(-3px); box-shadow: var(--im-shadow-hover); }
.mw-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.mw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mw-card__ic {
  position: absolute; left: 16px; top: 16px; bottom: auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(20,30,60,0.4);
}
.mw-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.mw-card__body h3 { font-size: 20px; font-weight: 600; margin: 0; }
.mw-card__body p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ============================================================
   Team band
   ============================================================ */
.teamband {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--im-shadow-card);
}
@media (min-width: 900px) { .teamband { grid-template-columns: 1.1fr 1fr; } }
.teamband__media { position: relative; min-height: 300px; }
.teamband__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teamband__copy { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }

/* ============================================================
   Mionauten-Abschluss (echte Team-Fotos vor dem Footer)
   ============================================================ */
.teamclose { padding: clamp(32px, 4vw, 56px) 0 0; }
.teamclose__head { max-width: none; margin: 0 auto; text-align: center; }
.teamclose__head .eyebrow { justify-content: center; }
.teamclose__title {
  margin-top: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}
.teamclose__strip {
  margin-top: clamp(18px, 2.5vw, 28px);
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.teamclose__shot { margin: 0 auto; max-width: 1040px; }
.teamclose__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* ============================================================
   Mietinteressenten / Suchprofil
   ============================================================ */
.mieter-sec {
  background:
    radial-gradient(900px 500px at 12% 0%, oklch(0.62 0.18 256 / 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mieter {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 992px) { .mieter { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.mieter__accent {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mieter__steps {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 760px) { .mieter__steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.mieter__step { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-top: 22px; border-top: 2px solid var(--line); }
.mieter__step-ic {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto;
  background: #fff; border: 1px solid var(--line);
  color: var(--primary); display: grid; place-items: center;
  box-shadow: var(--im-shadow-card);
}
.mieter__step-n {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--primary);
}
.mieter__step strong { display: block; font-size: 18px; font-weight: 600; margin: 2px 0 4px; }
.mieter__step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: none; }
.mieter__cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px;
}
.mieter__note { font-size: 13px; color: var(--ink-2); }

/* Gesuch card */
.mieter__visual { display: flex; justify-content: center; }
.mieter__shot {
  width: 100%;
  aspect-ratio: 1536 / 730;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--im-shadow-hover);
  background: var(--bg-2);
}
.mieter__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Mieterportal app carousel */
.appcar { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.appcar__frame {
  position: relative; width: 100%; aspect-ratio: 1;
  border-radius: 24px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: var(--im-shadow-hover);
}
.appcar__track { display: flex; height: 100%; transition: transform 520ms cubic-bezier(.4,0,.2,1); }
.appcar__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.appcar__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(20,30,60,0.18);
  transition: background 140ms ease;
}
.appcar__arrow:hover { background: #fff; }
.appcar__arrow--prev { left: 12px; transform: translateY(-50%) scaleX(-1); }
.appcar__arrow--next { right: 12px; }
.appcar__dots { display: flex; gap: 8px; }
.appcar__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--line-2); transition: background 140ms ease, width 140ms ease;
}
.appcar__dot.is-on { background: var(--primary); width: 22px; }
.gesuch {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--im-shadow-hover);
  padding: 22px; display: flex; flex-direction: column; gap: 18px;
}
.gesuch__head { display: flex; align-items: center; gap: 14px; }
.gesuch__avatar {
  width: 52px; height: 52px; border-radius: 999px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px;
}
.gesuch__name { font-size: 16px; font-weight: 600; }
.gesuch__sub { font-size: 13px; color: var(--ink-2); }
.gesuch__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--im-color-positive-lighter); color: var(--im-color-positive-dark);
}
.gesuch__badge-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.gesuch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gesuch__field { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.gesuch__field span { font-size: 12px; color: var(--ink-2); }
.gesuch__field strong { font-size: 15px; font-weight: 600; }
.gesuch__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gesuch__tag { font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); }
.gesuch__match { background: var(--bg-2); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.gesuch__match-head { display: flex; align-items: center; gap: 8px; color: var(--primary-dark); font-size: 14px; }
.gesuch__hit { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.gesuch__hit-addr { font-size: 14px; font-weight: 600; }
.gesuch__hit-meta { font-size: 12px; color: var(--ink-2); }
.gesuch__hit-pct {
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: var(--im-color-primary-lighter); padding: 4px 10px; border-radius: 999px; flex: 0 0 auto;
}

/* hide on small */
@media (max-width: 767px) { .hide-md { display: none !important; } }

/* a11y skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; font-size: 14px; z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 3px; }
.hide-topbar .topbar { display: none; }

/* density tweak */
:root[data-density="compact"] .section { padding: 64px 0; }
:root[data-density="compact"] .hero { padding: 48px 0 64px; }

/* hero variant: centered */
:root[data-hero-variant="centered"] .hero__grid { grid-template-columns: 1fr !important; text-align: center; }
:root[data-hero-variant="centered"] .hero__copy { align-items: center; max-width: 760px; margin: 0 auto; }
:root[data-hero-variant="centered"] .hero__cta,
:root[data-hero-variant="centered"] .hero__meta { justify-content: center; }
:root[data-hero-variant="centered"] .hero__visual { display: none; }

/* ============================================================
   Hero variant B: Pfad-Splitter (Vermieter / Mieter)
   ============================================================ */
.hero__audience { display: none; }
:root[data-hero-variant="audience"] .hero__std { display: none; }
:root[data-hero-variant="audience"] .hero__audience,
.hero--splitter .hero__audience { display: block; }
:root[data-hero-variant="audience"] .hero__audience > .shell,
.hero--splitter .hero__audience > .shell {
  padding: 64px 48px 64px;
}
:root[data-density="compact"][data-hero-variant="audience"] .hero__audience > .shell,
:root[data-density="compact"] .hero--splitter .hero__audience > .shell {
  padding: 52px 48px 56px;
}

.hero-aud__intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-aud__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  font-weight: 700;
  max-width: none;
}
.hero-aud__q {
  font-size: clamp(46px, 7.4vw, 86px);
  line-height: 1.02;
  display: block;
  white-space: normal;
  text-wrap: balance;
}
@media (min-width: 700px) {
  .hero-aud__q { white-space: nowrap; }
}
.hero-aud__q em {
  font-style: normal;
  font-size: 0.78em;
  font-weight: 400;
  color: var(--ink-2);
}
.hero-aud__cue {
  font-size: clamp(22px, 3.1vw, 40px);
  line-height: 1.08;
  font-weight: 600;
  display: block;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-aud__intro .lede { margin: 0; font-size: clamp(16px, 1.2vw, 18px); }

.hero-aud__paths {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 860px) {
  .hero-aud__paths { grid-template-columns: 1fr 1fr; }
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 28px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 50px -22px rgba(16,28,55,0.55);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.path-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.path-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.path-card__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,22,46,0.05) 0%, rgba(12,22,46,0.35) 42%, rgba(10,18,38,0.86) 100%);
  transition: background .35s ease;
}
.path-card--vermieter .path-card__veil {
  background:
    linear-gradient(180deg, rgba(8,22,46,0.12) 0%, rgba(10,28,58,0.46) 42%,
    color-mix(in oklch, var(--navy) 58%, #03070f) 100%);
}
.path-card--mieter .path-card__veil {
  background:
    linear-gradient(180deg, rgba(8,24,52,0.10) 0%, rgba(8,34,70,0.44) 42%,
    color-mix(in oklch, var(--primary-dark) 52%, #04101f) 100%);
}

.path-card__top {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
}
.path-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.path-card__badge svg { width: 16px; height: 16px; }

.path-card__body { position: relative; }
.path-card__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 700;
}
.path-card__text {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}
.path-card__points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height .4s ease, opacity .35s ease, transform .35s ease, margin .4s ease;
}
.path-card__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.path-card__points svg {
  flex: none;
  color: #fff;
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 3px;
  width: 21px; height: 21px;
}
.path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  height: 50px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fff;
  align-self: flex-start;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.5);
  transition: gap .25s ease, background .25s ease, color .25s ease;
}
.path-card--mieter .path-card__cta { color: var(--primary-dark); }
.path-card--vermieter .path-card__cta { color: var(--navy); }
.path-card__cta svg { transition: transform .25s ease; }

/* audience badges in brand colours (CI) */
.path-card--mieter .path-card__badge {
  background: var(--bb-bright);
  border-color: color-mix(in oklch, var(--bb-bright) 65%, #fff);
  color: var(--bb-indigo);
}
.path-card--vermieter .path-card__badge {
  background: var(--navy);
  border-color: color-mix(in oklch, var(--navy) 55%, #fff);
}

/* hover / focus interactions */
.path-card:hover,
.path-card:focus-visible {
  box-shadow: 0 34px 60px -22px rgba(16,28,55,0.6);
}
.path-card:hover .path-card__points,
.path-card:focus-visible .path-card__points {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 18px;
}
.path-card:hover .path-card__cta svg,
.path-card:focus-visible .path-card__cta svg { transform: translateX(4px); }
.path-card:focus-visible { outline: 3px solid rgba(255,255,255,0.85); outline-offset: 3px; }

.hero-aud__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}

@media (max-width: 859px) {
  .path-card { min-height: 360px; }
  /* on touch / small screens, always reveal the points */
  .path-card__points { max-height: 160px; opacity: 1; transform: none; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .path-card, .path-card__bg img, .path-card__points, .path-card__cta, .path-card__cta svg { transition: none; }
}

/* ============================================================
   Startseite · Info-Boxen (Vermieter / Mieter)
   ============================================================ */
.aud-info .shell {
  display: flex;
  flex-direction: column;
  --aud-gap: 40px;
  gap: 64px;
}
.aud-info__row {
  position: relative;
  border-radius: 24px;
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.aud-info__row--mieter { background: #eef5ff; }
.aud-info__row--vermieter { background: var(--bg-2, #f4f6fa); border: 1px solid var(--line); }
@media (min-width: 880px) {
  .aud-info__row { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  /* second row: image on the right for rhythm */
  .aud-info__row--vermieter .aud-info__media { order: 2; }
}
.aud-info__media {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 26px 54px -24px rgba(16,28,55,0.45);
}
.aud-info__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aud-info__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.aud-info__copy .eyebrow svg { color: var(--primary); }
.aud-info__title { margin: 0; max-width: 18ch; }
.aud-info__copy .lede { margin: 0; }
.aud-info__points {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aud-info__points li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.aud-info__points svg {
  flex: none;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 4px;
  width: 24px; height: 24px;
}
.aud-info__row--mieter .aud-info__points svg { background: #8ec3ff; color: var(--bb-indigo); }
.aud-info__row--vermieter .aud-info__points svg { background: var(--navy); }
.aud-info__row--vermieter .aud-info__copy .eyebrow svg { color: var(--navy); }

/* Christiane (Brand-Book-Farben): Audience-Titel + CTAs */
.aud-info__row--mieter .aud-info__title { color: var(--bb-bright); }
.aud-info__row--vermieter .aud-info__title { color: var(--navy); }
.aud-info__row--mieter .aud-info__copy .btn {
  background: var(--bb-bright);
  color: var(--bb-indigo);
}
.aud-info__row--mieter .aud-info__copy .btn:hover {
  background: color-mix(in oklch, var(--bb-bright) 86%, #000);
}
.aud-info__row--vermieter .aud-info__copy .btn {
  background: #193f70;
  color: #fff;
}
.aud-info__row--vermieter .aud-info__copy .btn:hover {
  background: color-mix(in oklch, #193f70 88%, #000);
}

/* Footer im B2C-Zuschnitt: Marke + drei Spalten (wie relaunch/mieter.html) */
.footer--b2c .footer__grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
@media (min-width: 860px) { .footer--b2c .footer__grid { grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: clamp(28px,4vw,56px); } }
.footer--b2c .footer__brand { max-width: 44ch; }
.footer--b2c .footer__brand .btn { margin-top: 18px; }
.footer--b2c .footer__col h3 { font-size: 14px; letter-spacing: .03125rem; margin: 0 0 14px; }
.footer--b2c .footer__col li { font-size: 15px; }

/* ============================================================
   Mobile-Hero-Variante "compact" (Tweak): CTAs sofort sichtbar
   ============================================================ */
@media (max-width: 859px) {
  :root[data-mobile-hero="compact"] .hero--splitter .hero__audience > .shell { padding: 24px 20px 32px; }
  :root[data-mobile-hero="compact"] .hero-aud__intro { gap: 10px; }
  :root[data-mobile-hero="compact"] .hero-aud__intro .eyebrow { font-size: 14px !important; }
  :root[data-mobile-hero="compact"] .hero-aud__q { font-size: 34px; }
  :root[data-mobile-hero="compact"] .hero-aud__cue { font-size: 20px; }
  :root[data-mobile-hero="compact"] .hero-aud__intro .lede { display: none; }
  :root[data-mobile-hero="compact"] .hero-aud__paths { margin-top: 18px; gap: 12px; }
  :root[data-mobile-hero="compact"] .path-card {
    min-height: 132px; padding: 16px 18px; border-radius: 16px;
    justify-content: flex-end; box-shadow: 0 14px 30px -18px rgba(16,28,55,0.55);
  }
  :root[data-mobile-hero="compact"] .path-card__top { position: static; margin-bottom: auto; }
  :root[data-mobile-hero="compact"] .path-card__badge { padding: 5px 10px; font-size: 12px; }
  :root[data-mobile-hero="compact"] .path-card__title { font-size: 22px; }
  :root[data-mobile-hero="compact"] .path-card__text { display: none; }
  :root[data-mobile-hero="compact"] .path-card__points { display: none; }
  :root[data-mobile-hero="compact"] .path-card__cta { margin-top: 8px; font-size: 15px; }
  /* Mietinteressenten-Karte bleibt oben und bekommt mehr Gewicht */
  :root[data-mobile-hero="compact"] .path-card--mieter { min-height: 168px; order: -1; }
  :root[data-mobile-hero="compact"] .hero-aud__meta { margin-top: 14px; font-size: 13px; gap: 6px 12px; }
}

@media (max-width: 859px) {
  .path-card__top { display: none; }
  :root[data-mobile-hero="compact"] .hero--splitter { min-height: calc(100dvh - 72px); display: flex; }
  :root[data-mobile-hero="compact"] .hero--splitter .hero__audience { flex: 1; display: flex; }
  :root[data-mobile-hero="compact"] .hero--splitter .hero__audience > .shell { flex: 1; display: flex; flex-direction: column; }
  :root[data-mobile-hero="compact"] .hero-aud__paths { flex: 1; align-content: stretch; }
  :root[data-mobile-hero="compact"] .path-card { height: 100%; }
  :root[data-mobile-hero="compact"] .path-card--mieter { min-height: 180px; }
}

.crumbs-bar,.rl-crumbs{display:none!important}

/* 360°-Grafik: ERP als Fundament */
.p360-erp{width:min(900px,100%);margin:8px auto 0;display:grid;justify-items:center;gap:12px}
.p360-erp__sync{display:flex;align-items:center;gap:8px;color:var(--primary);font-size:14px;font-weight:600;letter-spacing:.03em}
.p360-erp__sync svg{width:22px;height:22px;flex:0 0 auto}
.p360-erp__base{width:100%;display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;align-items:center;gap:16px 28px;padding:20px 24px;border-radius:16px;background:var(--navy);color:#fff}
.p360-erp__label{display:grid;gap:2px}.p360-erp__label b{font-size:20px;line-height:28px}.p360-erp__label span{font-size:14px;line-height:20px;color:oklch(0.9 0.02 256);max-width:22ch}
.p360-erp__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.p360-erp__list a{display:block;padding:5px 12px;border-radius:999px;background:oklch(1 0 0 / .1);box-shadow:inset 0 0 0 1px oklch(1 0 0 / .18);color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:background-color .1s ease}
.p360-erp__list a:hover{background:oklch(1 0 0 / .2)}
.p360-erp__more{color:#fff;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
@media(max-width:879px){.p360-erp__base{grid-template-columns:minmax(0,1fr);text-align:center;justify-items:center}.p360-erp__label span{max-width:none}.p360-erp__list{justify-content:center}}
