/* Kolmedia 19.11.2026 · putz24 · Anfrage einfacher: Schritte im Konfigurator, PLZ-Eingabe auf Ortsseiten, Hinweise im Feld
   Gehört zum Snippet «Kolmedia: Anfrage einfacher» (JavaScript). Farben aus «Lesbarkeit Grün» (Variablen, seit 20.11. Variante Hell).
   «html body[class] form.k24-in-schritten» ist stärker als die Knopf-Regeln der Konfiguratoren (button { … } mit !important). */

/* Hinweise direkt am Feld (statt Browser-Fenster) */
html body .k24-hinweis { color: #b42318; font-size: 14px; line-height: 1.35; margin: 6px 0 10px; font-weight: 600; }
html body[class] .konfigurator-container .k24-hinweis { margin: -8px 0 14px; }
html body .k24-fehler, html body .k24-fehler:focus,
html body[class] .konfigurator-container .k24-fehler, html body[class] .konfigurator-container .k24-fehler:focus {
  border-color: #b42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .15) !important;
}

/* Schrittleiste: drei Karten, jederzeit anklickbar */
html body[class] form.k24-in-schritten .k24-schrittleiste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
html body[class] form.k24-in-schritten .k24-karte {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 64px; margin: 0; padding: 10px 12px; text-align: left;
  background: #fff !important; background-color: #fff !important; color: #14201a !important; border: 2px solid #dfe7e2 !important;
  border-radius: 12px; box-shadow: none; font: inherit; line-height: 1.2; cursor: pointer; transition: border-color .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
html body[class] form.k24-in-schritten .k24-karte:hover { border-color: #9fc7aa !important; background-color: #fff !important; }
html body[class] form.k24-in-schritten .k24-karte:focus-visible { outline: 3px solid rgba(21, 134, 43, .35); outline-offset: 2px; }
html body[class] form.k24-in-schritten .k24-karte.k24-aktiv { border-color: var(--k24-g, #15862b) !important; box-shadow: 0 4px 14px rgba(21, 134, 43, .15); }
html body[class] form.k24-in-schritten .k24-karte.k24-fehlt { border-color: #b42318 !important; }
html body[class] form.k24-in-schritten .k24-nr {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #eaf3ec; color: var(--k24-g, #15862b); font-weight: 800; font-size: 15px;
}
html body[class] form.k24-in-schritten .k24-aktiv .k24-nr { background: var(--k24-g, #15862b); color: #fff; }
html body[class] form.k24-in-schritten .k24-fehlt .k24-nr { background: #b42318; color: #fff; }
html body[class] form.k24-in-schritten .k24-kartentext { display: flex; flex-direction: column; min-width: 0; }
html body[class] form.k24-in-schritten .k24-titel { font-weight: 700; font-size: 15px; line-height: 1.2; color: #14201a; }
html body[class] form.k24-in-schritten .k24-info { font-size: 12.5px; font-weight: 400; color: #5b6670; line-height: 1.3; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .k24-fehlerkopf { background: #fdecea; color: #8a1c13; border-radius: 10px; padding: 10px 14px; margin: -6px 0 16px; font-weight: 600; font-size: 15px; }
html body .k24-schritt[hidden], html body .k24-fehlerkopf[hidden] { display: none !important; }

/* Weiter / Zurück */
html body[class] form.k24-in-schritten .k24-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 8px; flex-wrap: wrap; }
html body[class] form.k24-in-schritten .k24-weiter {
  margin-left: auto; background: var(--k24-g, #15862b) !important; background-color: var(--k24-g, #15862b) !important; color: #fff !important; border: 0 !important;
  border-radius: 10px; padding: 14px 22px; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; min-height: 48px; width: auto;
}
html body[class] form.k24-in-schritten .k24-weiter:hover { background: var(--k24-gd, #11722a) !important; background-color: var(--k24-gd, #11722a) !important; }
html body[class] form.k24-in-schritten .k24-zurueck {
  background: transparent !important; background-color: transparent !important; color: var(--k24-g, #15862b) !important; border: 0 !important;
  padding: 12px 4px; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; min-height: 44px; width: auto; box-shadow: none !important;
}
html body[class] form.k24-in-schritten .k24-zurueck:hover { background: transparent !important; background-color: transparent !important; text-decoration: underline; }
html body .k24-plz-notiz { font-size: 14px; color: #5b6670; margin: -4px 0 12px; }
html body .k24-plz-notiz a { color: var(--k24-g, #15862b); font-weight: 700; text-decoration: underline; }
html body .k24-plz-abschnitt .konfigurator-plz-ort-container { margin-top: 4px; }

@media (max-width: 640px) {
  html body[class] form.k24-in-schritten .k24-schrittleiste { gap: 6px; }
  html body[class] form.k24-in-schritten .k24-karte { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; padding: 8px; }
  html body[class] form.k24-in-schritten .k24-titel { font-size: 13.5px; }
  html body[class] form.k24-in-schritten .k24-info { display: none; }
  html body[class] form.k24-in-schritten .k24-weiter { width: 100%; margin-left: 0; }
  html body[class] form.k24-in-schritten .k24-nav { flex-direction: column-reverse; align-items: stretch; }
  html body[class] form.k24-in-schritten .k24-zurueck { align-self: flex-start; }
  html body form.k24-in-schritten { padding-bottom: 72px; }   /* Platz für die Preisleiste unten */
}

/* Ortsseiten: PLZ oder Ort oben (seit 20.11. abends mit Vorschlagsliste, auch FR/IT/EN) */
html body .k24-plzbox {
  position: relative; z-index: 5; margin: 18px 0 20px; padding: 16px; background: #fff; border: 2px solid #dfe7e2; border-radius: 14px;
  box-shadow: 0 8px 24px -12px rgba(20, 60, 30, .25); max-width: 520px;
}
html body .k24-plzbox-titel { display: block; font-weight: 800; font-size: 17px; color: #14201a; margin: 0 0 10px; }
html body .k24-plzbox-zeile { display: flex; gap: 8px; }
html body .k24-plzbox-feld { position: relative; flex: 1 1 auto; min-width: 0; }
html body .k24-plzbox-zeile input {
  box-sizing: border-box; width: 100%; min-width: 0; height: 52px; padding: 0 14px; font-size: 18px; border: 2px solid #cfdcd3; border-radius: 10px;
  background: #fff; color: #14201a; letter-spacing: normal;
}
html body .k24-plzbox-zeile input::placeholder { font-size: 16px; color: #7a877f; opacity: 1; }
/* Vorschlagsliste (PLZ oder Ort) */
html body .k24-plz-liste {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50; margin: 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid #cfdcd3; border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(20, 40, 30, .4);
  max-height: 264px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
html body .k24-plz-liste[hidden] { display: none; }
html body .k24-plz-vorschlag { margin: 0; padding: 11px 14px; font-size: 16px; line-height: 1.3; color: #14201a; cursor: pointer; list-style: none; }
html body .k24-plz-vorschlag b { font-weight: 800; margin-right: 2px; }
html body .k24-plz-vorschlag.k24-aktiv { background: #ebf7ec; }
html body .k24-plz-kopf { margin: 0; padding: 9px 14px 5px; font-size: 14px; font-weight: 700; color: var(--k24-g, #15862b); list-style: none; cursor: default; }
@media (hover: hover) and (pointer: fine) { html body .k24-plz-vorschlag:hover { background: #ebf7ec; } }
html body .k24-plzbox-zeile input:focus { border-color: var(--k24-g, #15862b); outline: none; box-shadow: 0 0 0 3px rgba(21, 134, 43, .2); }
html body[class] .k24-plzbox-knopf {
  flex: 0 0 auto; height: 52px; padding: 0 18px; background: var(--k24-g, #15862b) !important; color: #fff !important; border: 0 !important;
  border-radius: 10px; font-weight: 800; font-size: 16px; cursor: pointer; white-space: nowrap;
}
html body[class] .k24-plzbox-knopf:hover { background: var(--k24-gd, #11722a) !important; }
html body .k24-plzbox-ort { font-size: 14px; color: var(--k24-g, #15862b); font-weight: 700; min-height: 18px; margin-top: 6px; }
/* Am Handy (Kopfbereich einspaltig, Klasse vom Snippet): Bild oben wie auf Live, das Feld halb über dem unteren Bildrand
   (Wunsch Tomi 20.11. abends: Eingabe ohne Scrollen sichtbar). Bisher stand das Bild unter dem Text. */
html body.k24-plz-mobil .b24 .hero .hgrid > .vis { order: 1 !important; }
html body.k24-plz-mobil .b24 .hero .hgrid > .k24-plzbox { order: 2; margin: -112px 14px -10px !important; max-width: none; padding: 14px; }
html body.k24-plz-mobil .b24 .hero .hgrid > div:first-child { order: 3; }
@media (max-width: 480px) {
  html body .k24-plzbox-zeile { flex-direction: column; }
  html body[class] .k24-plzbox-knopf { width: 100%; }
}

/* Kopf am Desktop (Kolmedia 20.11.2026): «Angebot anfordern» ist breiter als «Jetzt buchen» (Wunsch Tomi). Damit das Menü
   einzeilig bleibt wie auf Live (Symbol neben dem Wort), etwas weniger Abstand zwischen den Menüpunkten: 7 statt 10 px je Seite.
   Erst ab 1200 px; darunter bricht das Menü auch auf Live um. Starke Selektoren, weil die Datei je nach Seite vor dem Theme-CSS lädt. */
@media (min-width: 1200px) {
  html body[class] .pixfort-header-col ul.navbar-nav > li.nav-item.menu-item { padding-left: 7px !important; padding-right: 7px !important; }
  html body[class] .pixfort-header-col ul.navbar-nav > li.nav-item > a.nav-link, html body[class] .pixfort-header-col ul.navbar-nav > li.nav-item > a.nav-link * { white-space: nowrap !important; }
}

/* Kopf am Handy (Kolmedia 20.11.2026): der längere Knopftext schob das Menü-Symbol (☰) in eine zweite Zeile.
   Etwas weniger Innenabstand bei Sprachauswahl und Knopf, damit Logo, Knopf, Sprache und ☰ in einer Zeile bleiben
   wie auf Live (ab 375 px in allen Sprachen; bei 360 px bricht auch Live um). */
@media (max-width: 430px) {
  html body[class] header.pix-header-mobile .pix-wpml-header-btn { padding-left: 4px !important; padding-right: 4px !important; }
  html body[class] header.pix-header-mobile a.btn.btn-primary { padding-left: 9px !important; padding-right: 9px !important; }
}
@media (max-width: 380px) {
  html body[class] header.pix-header-mobile a.btn.btn-primary { padding-left: 6px !important; padding-right: 6px !important; }
}

/* Ortsseiten mit unserem PLZ-Feld (Kolmedia 20.11.2026, Fund Tomi): Markus' Kopfbereich hat am Desktop feste Höhen
   (Raster 770 px, Textspalte max. 770 px mit overflow hidden). Das PLZ-Feld braucht rund 170 px, darum wurden unten die
   Knöpfe abgeschnitten. Hier darf der Kopfbereich mitwachsen, das Bild wächst mit. Seiten ohne PLZ-Feld bleiben unverändert. */
html body.k24-mit-plzbox .b24 .hero .hgrid { height: auto !important; grid-template-rows: auto !important; }
html body.k24-mit-plzbox .b24 .hero .hgrid > div:first-child { max-height: none !important; overflow: visible !important; }
/* nur zweispaltig (Klasse k24-plz-mobil fehlt): bei 992 bis ~1023 px ist Markus' Raster schon einspaltig */
@media (min-width: 992px) {
  html body.k24-mit-plzbox:not(.k24-plz-mobil) .b24 .hero .hgrid { min-height: 770px; }
  html body.k24-mit-plzbox:not(.k24-plz-mobil) .b24 .hero .vis { height: auto !important; min-height: 770px; align-self: stretch !important; }
  html body.k24-mit-plzbox:not(.k24-plz-mobil) .b24 .hero .vis .frame { height: 100% !important; }
}

/* Konfigurator Objektreinigung (Kolmedia 20.11.2026 abends, Wünsche Tomi nach dem Gespräch mit Markus), alle Sprachen:
   1. Gewählter Tag: nur der Kreis wird grün, keine hellgrüne Fläche dahinter (Markus' Regel :has(input:checked) mit #ebf7ec). */
html body[class] .konfigurator-container .konfigurator-weekday:has(input:checked) { background: transparent !important; }
/* 2. Punkt rechts bei «Zusätzlicher Service» / «Haustiere»: zu = hell mit grünem «+», offen = grün mit weissem «−».
      Am Handy blieb er nach dem Antippen grün (Hover hängt nach dem Fingertipp). Hover-Farbe nur noch mit Maus. */
html body[class] .konfigurator-container .konfigurator-toggle-header span:last-child,
html body[class] .konfigurator-container .konfigurator-toggle-header:hover span:last-child { background: #ebf7ec !important; color: var(--k24-g, #15862b) !important; }
html body[class] .konfigurator-container .konfigurator-toggle-header:has(+ .konfigurator-toggle-content[style*="block"]) span:last-child { background: var(--k24-g, #15862b) !important; color: #fff !important; }
@media (hover: hover) and (pointer: fine) {
  html body[class] .konfigurator-container .konfigurator-toggle-header:hover:hover span:last-child { background: var(--k24-g, #15862b) !important; color: #fff !important; }
}
/* 3. Gewählter Zusatzservice (Klasse vom Snippet) und gewähltes Haustier: Kachel grün, Symbol und Text weiss, wie die Tage */
html body[class] .konfigurator-container .konfigurator-service.k24-gewaehlt,
html body[class] .konfigurator-container .konfigurator-service:has(input:checked) {
  background: var(--k24-g, #15862b) !important; border-color: var(--k24-g, #15862b) !important; color: #fff !important;
}
html body[class] .konfigurator-container .konfigurator-service.k24-gewaehlt img,
html body[class] .konfigurator-container .konfigurator-service:has(input:checked) img { filter: brightness(0) invert(1); border-color: transparent !important; }
/* 3b. Zweispaltige Felder bleiben gleich breit (min-width 0), damit eine einzeilige Beschriftung die Spalte nicht
       verbreitert; das Snippet verkleinert die Schrift nur so weit nötig (Messung 20.11.: 14 px passt meist nicht ganz). */
html body[class] .konfigurator-container .konfigurator-two-column > * { min-width: 0; }
/* 4. Im Fenster «Stunden für … auswählen»: Knopf «Service entfernen», nur wenn der Service schon gewählt ist */
html body[class] .konfigurator-modal .konfigurator-modal-content button.k24-entfernen {
  display: block; width: 100%; margin-top: 10px; padding: 12px 16px; background: #fff !important; background-color: #fff !important;
  color: #9b2c1f !important; border: 1px solid #e6cfcb !important; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: none !important;
}
html body[class] .konfigurator-modal .konfigurator-modal-content button.k24-entfernen[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  html body[class] .konfigurator-modal .konfigurator-modal-content button.k24-entfernen:hover { background: #fdf3f1 !important; background-color: #fdf3f1 !important; }
}
/* 5. Zusatzservices und Haustiere am Handy: 2 Kacheln pro Zeile statt 3, ohne Silbentrennung
      (Tomi 21.11. am Android: «zu zerdrückt», «Wa-schen & Trock-nen»). */
@media (max-width: 600px) {
  html body[class] .konfigurator-container .konfigurator-service-group { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body[class] .konfigurator-container .konfigurator-service { hyphens: manual !important; -webkit-hyphens: manual !important; font-size: 14px !important; min-width: 0; }
}

/* Ortsseiten am Tablet (641 bis 1000 px): Markus' Raster ist dort einspaltig, das Bild hochformatig (3:4) und darum
   971 bis 1'147 px hoch, Titel und Feld kamen erst darunter (Fund 20.11., Entscheid Tomi 21.11.). Querformat 16:10. */
@media (min-width: 641px) and (max-width: 1000px) {
  html body .b24 .hero .hgrid .vis img,
  html body .b24 .hero .hgrid .vis .frame img { aspect-ratio: 16 / 10 !important; height: auto !important; width: 100% !important; object-position: center 35%; }
}

/* Adresse der Reinigung (Wunsch Tomi 21.11.): PLZ und Ort aus Schritt 1 als ausgefüllte, nur lesbare Felder unter der Strasse */
html body .k24-plzort-kopie input[readonly] { background: #f3f6f4 !important; color: #33413a !important; cursor: pointer; }
html body .k24-plzort-aendern { display: table; margin: 4px 0 22px; font-size: 15px; font-weight: 700; color: var(--k24-g, #15862b) !important; text-decoration: underline; text-underline-offset: 3px; }
