/* Leistungsseiten für die Suche (Sanitär, Heizung, Klima in Lemgo). Baut auf styles/faq.css auf (Farben, .fold, Buttons, Footer). */
.sx-wrap{ max-width:1100px; margin:0 auto; padding:0 24px; }
.sx-hero{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; padding:48px 0 24px; }
.sx-hero h1{ font-size:clamp(30px,4.6vw,46px); color:#fff; text-wrap:balance; margin-bottom:16px; }
.sx-hero h1 span{ color:var(--orange-text); }
.sx-lead{ color:#E6E1E4; font-size:17px; max-width:56ch; margin-bottom:24px; }
.sx-btns{ display:flex; flex-wrap:wrap; gap:12px; }

.sx-sec{ padding:44px 0 0; scroll-margin-top:90px; }
.sx-sec h2{ font-size:clamp(22px,3vw,30px); color:#fff; margin-bottom:12px; text-wrap:balance; }
.sx-sec > p{ color:#E6E1E4; max-width:70ch; margin-bottom:12px; }
.sx-sec a{ color:var(--orange-text); text-underline-offset:3px; }
.sx-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; margin-top:20px; }
.sx-card{ padding:20px; border:1px solid var(--grey-line); border-radius:12px; background:var(--ink); }
.sx-card h3{ font-size:17px; color:#fff; margin-bottom:6px; }
.sx-card p{ font-size:15px; color:#E6E1E4; }
.sx-cta{ margin:56px 0 72px; padding:32px 28px; border:1px solid var(--grey-line); border-radius:14px; background:var(--ink); }
.sx-cta h2{ font-size:clamp(22px,3vw,28px); color:#fff; margin-bottom:10px; }
.sx-cta p{ color:#E6E1E4; max-width:60ch; }
.sx-cta p a{ color:var(--orange-text); }
.sx-cta .sx-btns{ margin-top:20px; }
@media(max-width:800px){ .sx-hero{ grid-template-columns:1fr; gap:24px; padding-top:32px; } }

/* Leistungs-Kacheln: Text erscheint beim Darüberfahren (wie auf den anderen Seiten), mobil/Touch immer sichtbar */
.sx-card{ transition:background .4s ease, border-color .4s ease, transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease; }
.sx-card:hover, .sx-card:focus-within, .sx-card:focus{ background:#24384A; border-color:#A7798E; transform:translateY(-4px); box-shadow:0 16px 32px rgba(0,0,0,.35), 0 0 0 3px rgba(255,92,141,.2); outline:none; }
@media (hover:hover) and (pointer:fine){
  .sx-card p{ opacity:0; transform:translateY(12px); filter:blur(4px); transition:opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), filter .5s cubic-bezier(.22,1,.36,1); }
  .sx-card:hover p, .sx-card:focus-within p, .sx-card:focus p{ opacity:1; transform:none; filter:none; }
}
@media (prefers-reduced-motion:reduce){ .sx-card, .sx-card p{ transition:none; transform:none !important; } }

/* Ablauf: eine Kachel mit Link zur Startseite */
.sx-ablauf{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 26px; border:1px solid var(--grey-line); border-radius:14px; background:var(--ink); text-decoration:none; color:#E6E1E4 !important; max-width:none; transition:border-color .3s ease, transform .3s ease; }
.sx-ablauf b{ display:block; color:#fff; font-size:17px; margin-bottom:6px; }
.sx-ablauf span{ font-size:15px; max-width:66ch; }
.sx-ablauf em{ font-style:normal; font-weight:700; white-space:nowrap; color:var(--orange-text); }
.sx-ablauf:hover, .sx-ablauf:focus-visible{ border-color:var(--orange); transform:translateY(-3px); outline:none; }
@media(max-width:700px){ .sx-ablauf{ flex-direction:column; align-items:flex-start; gap:12px; } }

/* Textlinks: hell mit feiner magentafarbener Linie, beim Darüberfahren magenta */
.sx-sec a:not(.sx-ablauf), .sx-cta p a, .fold-body a{ color:#F5F3F1; text-decoration:underline; text-decoration-color:rgba(232,92,218,.6); text-decoration-thickness:1px; text-underline-offset:3px; transition:color .2s ease, text-decoration-color .2s ease; }
.sx-sec a:not(.sx-ablauf):hover, .sx-sec a:not(.sx-ablauf):focus-visible, .sx-cta p a:hover, .fold-body a:hover, .fold-body a:focus-visible{ color:var(--orange-text); text-decoration-color:var(--orange-text); }
.sx-ablauf em{ color:#fff; text-decoration:underline; text-decoration-color:rgba(232,92,218,.6); text-decoration-thickness:1px; text-underline-offset:4px; }
.sx-ablauf:hover em, .sx-ablauf:focus-visible em{ color:var(--orange-text); text-decoration-color:var(--orange-text); }

.sx-mehr{ display:flex; flex-wrap:wrap; gap:6px 22px; font-size:14.5px; }

/* Buttons im Fließtext-Bereich: Linkstil der Textlinks nicht anwenden */
.sx-sec .sx-btns a.fbtn{ color:#fff; text-decoration:none; }
.sx-call{ margin:14px 0 16px; }

/* Leistungs-Kacheln kompakter */
.sx-grid{ grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:10px; margin-top:16px; }
.sx-card{ padding:14px 16px; border-radius:10px; }
.sx-card h3{ font-size:15.5px; margin-bottom:4px; }
.sx-card p{ font-size:13.5px; line-height:1.45; }

/* Kachel nur so hoch wie der Titel; der Text klappt beim Darüberfahren als Feld darunter auf */
@media (hover:hover) and (pointer:fine){
  .sx-card{ position:relative; padding:12px 16px; }
  .sx-card h3{ margin-bottom:0; }
  .sx-card p{ position:absolute; left:-1px; right:-1px; top:calc(100% - 6px); z-index:5; padding:12px 16px 14px; background:#24384A; border:1px solid #A7798E; border-top:0; border-radius:0 0 10px 10px; box-shadow:0 16px 28px rgba(0,0,0,.4); pointer-events:none; }
  .sx-card:hover, .sx-card:focus-within, .sx-card:focus{ z-index:6; border-bottom-left-radius:0; border-bottom-right-radius:0; transform:none; box-shadow:none; }
}
@media(min-width:900px){ .sx-grid.c6{ grid-template-columns:repeat(3,1fr); } .sx-grid.c4{ grid-template-columns:repeat(4,1fr); } }

.sx-ablauf{ padding:16px 22px; }
.sx-ablauf b{ margin-bottom:0; }

/* Hero-Bild über der Seite (wie auf den anderen Seiten); Text folgt darunter */
.sx-heroimg{ position:relative; }
.sx-sym{ position:absolute; right:16px; bottom:12px; padding:5px 12px; border-radius:999px; background:rgba(20,32,48,.72); border:1px solid rgba(255,255,255,.28); color:#F5F3F1; font-size:12px; line-height:1.4; letter-spacing:.02em; backdrop-filter:blur(3px); }
.sx-hero{ grid-template-columns:1fr; padding:36px 0 8px; }
.sx-hero .sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Linkzeile: genug Tippfläche auf dem Handy */
.sx-mehr a{ padding:8px 0; }
