/* === ic-yoo-mcp:start — verwaltet, NICHT manuell editieren === */
/* Eingespielt per rclone, weil die Site DISALLOW_FILE_EDIT setzt (22.10.2026). */

/* 1) Sprachumschalter (Falang) weiß, schlicht, passend zum Header */
.widget_falang .falang-language-switcher { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.widget_falang .falang-language-switcher li { margin: 0; padding: 0; background: none; border: 0; }
.widget_falang .falang-language-switcher li + li { border-left: 1px solid rgba(255,255,255,.6); margin-left: 8px; padding-left: 8px; }
.widget_falang .falang-language-switcher a { color: #fff !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; font-weight: 400; text-decoration: none; opacity: .8; }
.widget_falang .falang-language-switcher a:hover { opacity: 1; }
.widget_falang .falang-language-switcher a.current { font-weight: 700; opacity: 1; }

/* 2) Sprachumschalter seit 30.10.2026 sichtbar (vorher hier: .widget_falang { display: none !important; }).
      Mobil (<960 px) steht er links neben dem Menü-Button; das Widget wird per inc/mehrsprachig.php
      zusätzlich in die Position header-mobile gestellt. */
.tm-header-mobile .widget_falang { padding-left: 10px; padding-right: 10px; }
/* 3) Im Sticky-Header (heller Grund) dunkelgrün wie Icons und „MENÜ“ (Regel in style.css: .uk-navbar-sticky …) */
.uk-navbar-sticky .widget_falang .falang-language-switcher a { color: #4f6652 !important; }
.uk-navbar-sticky .widget_falang .falang-language-switcher li + li { border-left-color: rgba(79,102,82,.6); }
/* === ic-yoo-mcp:end === */

/* Preisaktion November (Popup 3873): „Finanzierungsbonus“ nie trennen (Luca, 02.11.2026).
   Unter 640 px Schrift so verkleinern, dass das lange Wort in die Zeile passt. Ab 01.12. mit dem Popup entfernen. */
#idco-popup-3873 h2 { -webkit-hyphens: none; hyphens: none; }
@media (max-width: 639px) {
    #idco-popup-3873 h2 { font-size: clamp(14px, calc((100vw - 110px) / 13.6), 30px); }
}

/* Preisaktion November, Aktions-Teaser auf /grundrisse/ (Seite 1154, DE+EN): unter 640 px Schrift begrenzen,
   damit „Finanzierungsbonus“ ungetrennt in die Zeile passt (02.11.2026). Ab 01.12. mit entfernen. */
@media (max-width: 639px) {
    .page-id-1154 .uk-section-secondary.uk-section h2.uk-text-left { -webkit-hyphens: none; hyphens: none; font-size: min(32.04px, calc((100vw - 60px) / 10.8)); }
}
