/* T4c Glied 85, 21.11.2026: Bildsprache Schweiz nach Daniels Feedback (CH-E57, CH-E58, CH-E61, CH-E62; Nacharbeiten CH-N2004, CH-N2005, CH-N2008, CH-N2009).
   Laedt nach sf-facelift.css und snf-kuckuck.css; jede Regel beginnt mit body, damit sie unabhaengig von der Ladefolge greift.
   Rueckbau: Ladeblock in functions.php und inc/snf-bildsprache-ch.php entfernen (Vorher-Stand in snf_vorher, Phase T4c-g85). */

/* 1 · Hoehenlinien nur als leise Verzierung in einer Ecke (G2 Glied 99, 21.11.2026, CH-E63 Punkt 2, CH-N2047; ersetzt die
   Flaechenfassung aus CH-N2008 und CH-N2009). Vorbild ist die deutsche Seite: ein paar Linien rechts oben, klein, nicht dominant.
   Roter Aufruf: Linien links oben, weil rechts die Kuckucksuhr sitzt (auch .snf-kk, Pruefrunde G2-w1-r1).
   Zweite Maskenebene (radialer Verlauf) laesst das Muster zur Mitte hin weich auslaufen, damit keine Kante entsteht. */
body.sf-facelift.sf-geladen.sf-muster-hoehen.home .block-1-hero-full-screen>.bgImgWrap::after,
body.sf-facelift.sf-geladen.sf-muster-hoehen:not(.sf-ruhig) footer::before,
body.sf-facelift.sf-geladen.sf-muster-hoehen :is(.snf-leistung, .snf-ablauf)::before {
  -webkit-mask-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-jura-weich.svg"), radial-gradient(ellipse 36% 52% at 100% 0, #000 0, #000 40%, transparent 100%);
  mask-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-jura-weich.svg"), radial-gradient(ellipse 36% 52% at 100% 0, #000 0, #000 40%, transparent 100%);
  -webkit-mask-size: 760px auto, 100% 100%; mask-size: 760px auto, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat; mask-repeat: no-repeat, no-repeat;
  -webkit-mask-position: right -220px top -190px, 0 0; mask-position: right -220px top -190px, 0 0;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
body.sf-facelift.sf-geladen.sf-muster-hoehen.home .block-1-hero-full-screen>.bgImgWrap::after { background-color: rgba(255,255,255,.12); }
body.sf-facelift.sf-geladen.sf-muster-hoehen section.sf-cta-rot::before {
  background-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/uhr.svg"), url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-jura-rot-weich.svg");
  background-size: var(--sf-uhr-w) auto, 700px auto;
  background-position: right var(--sf-uhr-rechts) top 0, left -260px top -230px;
  background-repeat: no-repeat, no-repeat;
}
body.sf-facelift.sf-geladen.sf-muster-hoehen section.sf-cta-rot.snf-kk::before {
  background-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-jura-rot-weich.svg");
  background-size: 700px auto;
  background-position: left -260px top -230px;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  body.sf-facelift.sf-geladen.sf-muster-hoehen.home .block-1-hero-full-screen>.bgImgWrap::after,
  body.sf-facelift.sf-geladen.sf-muster-hoehen:not(.sf-ruhig) footer::before,
  body.sf-facelift.sf-geladen.sf-muster-hoehen :is(.snf-leistung, .snf-ablauf)::before {
    -webkit-mask-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-jura-weich.svg"), radial-gradient(ellipse 70% 30% at 100% 0, #000 0, #000 40%, transparent 100%);
    mask-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-jura-weich.svg"), radial-gradient(ellipse 70% 30% at 100% 0, #000 0, #000 40%, transparent 100%);
    -webkit-mask-size: 480px auto, 100% 100%; mask-size: 480px auto, 100% 100%;
    -webkit-mask-position: right -170px top -130px, 0 0; mask-position: right -170px top -130px, 0 0;
  }
  body.sf-facelift.sf-geladen.sf-muster-hoehen section.sf-cta-rot::before { background-size: 0 0, 460px auto; background-position: right var(--sf-uhr-rechts) top 0, left -180px top -150px; }
  body.sf-facelift.sf-geladen.sf-muster-hoehen section.sf-cta-rot.snf-kk::before { background-size: 460px auto; background-position: left -180px top -150px; }
}

/* 2 · Weisser Balken unter dem Schlussstreifen (CH-N2009). Ursache: die Sprechblase des Fuss-Kuckucks (.snf-fk-satz) steht
   unsichtbar, aber ohne Lage im Fluss unter dem Fuss und verlaengert die Seite um rund 24 px. Ohne gesetzte Lage oben links im Fuss. */
body footer .snf-fk-satz { top: 0; left: 0; }

/* 3 · Silhouetten Basel und Zuerich deutlich sichtbar (CH-N2004): Stadt in Tannengruen aus den Tokens, der Bodenstreifen
   (untere 15,7 Prozent der Form; Grenze bei 83,8 Prozent, damit keine Haarlinie bleibt) bleibt in der Farbe des folgenden Blocks und geht nahtlos in ihn ueber. */
body.sf-facelift .trennlinieBlockOben:is(.trennlinieTypbasel, .trennlinieTypzuerich) {
  background-image: linear-gradient(to bottom, var(--sf-tanne, #0f3d2e) 0, var(--sf-tanne, #0f3d2e) 83.8%, transparent 83.8%);
}

/* 4 · Bewertungsblock im Fuss (CH-N2005): grosser Stern weg, ProvenExpert-Logo als eigene Datei im Link aufs Profil,
   Zahl und Sterne bleiben; darunter die Abzeichen, dann die Angebote mit eigenem Abstand. */
body footer .footer4 .bewertungenTotalWrap .googleLogoWrap { display: none; }
body footer .footer4 .bewertungenTotalWrap { margin-bottom: 1.5rem; }
body footer .footer4 .bewertungenWrap a.noGlobalStyling { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: .5rem; }
body footer .footer4 .bewertungenWrap a.noGlobalStyling::before {
  content: ""; display: block; position: static !important; transform: none !important; inset: auto !important; order: -1; width: 120px; height: 25px; padding: 6px 10px; box-sizing: content-box;
  border-radius: 6px; background: #fff url("/wp-content/themes/southvision-child/assets/bewertung/provenexpert-logo.webp") center / 120px auto no-repeat;
  background-origin: content-box;
}
body footer .footer4WysiwygWrap p:has(> img.snf-fuss-abzeichen) { margin: 0 0 2.25rem; }
body footer .footer4WysiwygWrap img.snf-fuss-abzeichen { display: inline-block; float: none; margin: 0; }
@media (max-width: 767px) {
  body footer .footer4 .bewertungenWrap a.noGlobalStyling { align-items: center; }
}

/* 5 · Bewertung im mobilen Menü (V5 aus Glied 85, gleiche Aussage wie CH-E58): grosser Einzelstern weg,
   ProvenExpert-Logo wie im Fuss, Zahl und Sterne bleiben. */
body header .bewertungenTotalWrap .googleLogoWrap { display: none; }
body header .bewertungenTotalWrap .bewertungenWrap > a { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: .5rem; }
body header .bewertungenTotalWrap .bewertungenWrap > a::before {
  content: ""; display: block; position: static !important; transform: none !important; inset: auto !important; order: -1; width: 120px; height: 25px; padding: 6px 10px; box-sizing: content-box;
  border-radius: 6px; background: #fff url("/wp-content/themes/southvision-child/assets/bewertung/provenexpert-logo.webp") center / 120px auto no-repeat;
  background-origin: content-box;
}

/* 21.11.2026: Bildunterschrift unter die Grafik statt auf die Tannenlinie (CH-N2059) */
body :is(.block-5-text-media, .block-5a-text-media-einfach) .imgWrap:has(img.sf-strich) .imageCopyright {
  position: static;
  margin-top: .75rem;
  font-size: max(1.4rem, 13px);
  line-height: 1.45;
  text-align: left;
}
