/* Immobilienmarkt Europa · Rahmen: Dienstleiste, Kopf, Handymenü und Fuß (nach portal.css geladen) */

/* Dienstleiste über dem Kopf (nur Desktop, scrollt mit weg, der Kopf darunter bleibt stehen) */
.dienstleiste { position: relative; z-index: 51; background: var(--nacht); color: rgba(255, 255, 255, .86); font-size: 13.5px; font-weight: 600; }
.dienstleiste .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.dienstleiste__links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.dienstleiste a { color: inherit; text-decoration: none; }
.dienstleiste__links a { display: inline-block; padding: 9px 0; }
.dienstleiste__aktion { display: flex; align-items: center; gap: 6px; }
.dienstleiste__merk { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; }
.dienstleiste__merk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dienstleiste__merk span[data-merkzahl]:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ziegel); color: #fff; font-size: 11px; font-weight: 800; }
.dienstleiste .sprachwahl summary { min-height: 36px; color: #fff; font-size: 13px; }
.dienstleiste .sprachwahl summary svg { width: 18px; height: 18px; }
.dienstleiste .sprachwahl ul { color: var(--text); font-size: 15px; }
.dienstleiste__konto { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.dienstleiste__konto svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.dienstleiste :focus-visible { outline-color: #f0a58e; }
@media (hover: hover) {
  .dienstleiste__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
  .dienstleiste__merk:hover, .dienstleiste .sprachwahl summary:hover { background: rgba(255, 255, 255, .1); }
  .dienstleiste__konto:hover { background: #fff; color: var(--nacht) !important; }
}

/* Kopf: Makler finden als Rahmenknopf, Jetzt inserieren als Hauptknopf */
.kopf__aktion .kopf__makler { padding: 0 16px; }
.dienstleiste__makler { display: none; }
@media (max-width: 1279px) {
  .kopf__aktion .kopf__makler { display: none; }
  .dienstleiste__makler { display: list-item; list-style: none; }
}
@media (max-width: 1100px) {
  .dienstleiste { display: none; }
}
/* Russisch und Usbekisch haben längere Menüwörter: Makler finden schon früher in die obere Leiste */
@media (max-width: 1599px) {
  html:is([lang|="ru"], [lang|="uz"]) .kopf__aktion .kopf__makler { display: none; }
  html:is([lang|="ru"], [lang|="uz"]) .dienstleiste__makler { display: list-item; list-style: none; }
}

/* Handymenü: Hauptpunkte groß, Zusatzpunkte kleiner; Testhinweis weg, solange das Menü offen ist (nichts verdeckt) */
body:has(.handymenue.ist-offen) .hinweis { display: none; }
.handymenue nav { display: block; }
.handymenue .handymenue__klein { margin-top: 10px; }
.handymenue .handymenue__klein a { font-family: var(--sans); font-size: 17px; font-weight: 600; padding: 13px 0; }
.handymenue .handymenue__klein a span[data-merkzahl]:not(:empty) { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-inline-start: 6px; padding: 0 6px; border-radius: 11px; background: var(--ziegel); color: #fff; font-size: 12px; font-weight: 800; }

/* Fuß */
.fuss { padding: 48px 0 28px; }
.fuss :focus-visible { outline-color: #f0a58e; }
.fuss h3 { margin-bottom: 10px; }
.fuss a { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* Aufklappblöcke */
.fuss__klapp { border-top: 1px solid rgba(255, 255, 255, .14); }
.klapp { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.klapp > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 14px 0; cursor: pointer; color: #fff; border-radius: 8px; }
.klapp > summary::-webkit-details-marker { display: none; }
.klapp > summary h2 { font-family: var(--serif); font-size: clamp(19px, 2vw, 22px); font-weight: 560; letter-spacing: -0.01em; line-height: 1.25; color: #fff; }
.klapp__pfeil { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.klapp[open] > summary .klapp__pfeil { transform: rotate(180deg); }
@media (hover: hover) { .klapp > summary:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; } }
.klapp__spalten { display: grid; gap: 28px 32px; padding: 4px 0 32px; }
.klapp__spalten--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.klapp__spalten--orte { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fuss .klapp ul { gap: 0; }
.fuss .klapp a { padding: 5px 0; font-size: 14.5px; line-height: 1.45; }
.fuss .klapp__liste { display: block; columns: 2 200px; column-gap: 32px; }
.fuss .klapp__spalten--orte > :last-child .klapp__liste { columns: 1; }
.klapp__liste li, .klapp__kacheln li { break-inside: avoid; }
.fuss .klapp__kacheln { display: block; columns: 3 220px; column-gap: 32px; padding: 0 0 32px; }
.klapp__kacheln small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* Vier Spalten */
.fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.fuss__spalten ul { gap: 0 !important; }
.fuss .fuss__spalten li a { padding: 5px 0; font-size: 14.5px; line-height: 1.45; }
.fuss a.fuss__kunde { display: inline-flex; margin-top: 16px; min-height: 44px; padding: 0 20px; background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); max-width: 100%; white-space: normal; text-align: center; }
@media (hover: hover) { .fuss .fuss__kunde:hover { background: #fff; color: var(--nacht); text-decoration: none; } }

/* App und Social Media */
.fuss__kanaele { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 64px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fuss__apps, .fuss__social { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.fuss .appknopf { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 12px; border-radius: 10px; background: #08172a; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.appknopf svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.appknopf > span:not(.nur-vorleser) { display: flex; flex-direction: column; font-size: 16px; font-weight: 700; line-height: 1.1; }
.appknopf small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.fuss__social a { width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.fuss__social svg { width: 20px; height: 20px; fill: currentColor; }
.fuss__social svg.umriss { fill: none; stroke: currentColor; stroke-width: 2; }
.fuss__social svg.umriss .punkt { fill: currentColor; stroke: none; }
@media (hover: hover) {
  .fuss .appknopf:hover { background: #000; text-decoration: none; }
  .fuss__social a:hover { background: #fff; color: var(--nacht); }
}

/* Unterste Zeile */
.fuss .fuss__unten { align-items: center; gap: 14px 28px; margin-top: 40px; }
.fuss__unten .logo { font-size: 19px !important; }
.fuss__unten .logo__zeichen { width: 30px !important; height: 30px !important; }
.fuss__unten > span:last-child { margin-inline-start: auto; }

/* Tablet und Handy */
@media (max-width: 1100px) {
  .klapp__spalten--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fuss { padding-top: 36px; }
  .klapp__spalten--5, .fuss__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .klapp__spalten--orte { grid-template-columns: minmax(0, 1fr); }
  .fuss__kanaele { justify-content: flex-start; gap: 24px 40px; }
  .fuss__unten > span:last-child { margin-inline-start: 0; }
  .fuss .fuss__unten { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .klapp__spalten--5, .fuss__spalten { grid-template-columns: minmax(0, 1fr); }
}
