/* Extracted from inline page */
/* ===================================================================
   JHB Leistungsangebote – v20 Refactor
   - Single source of truth for styles
   - Semantic markup preserved
   - A11y and stability improvements
   =================================================================== */

/* 1) Design Tokens */
:root{
  --brand:#E9620B;
  --brand-50:#fff1e6;
  --brand-200:#ffcfb3;
  --brand-600:#cc5f16;
  --brand-700:#a44a10;
}

/* 2) Base & Resets */
*{box-sizing:border-box}
html:focus-within{scroll-behavior:smooth}
body{margin:0;color:#0f172a;background:#fff;font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,[role="button"]:focus-visible,summary:focus-visible{
  outline:2px solid var(--brand-600); outline-offset:2px
}
img{max-width:100%;height:auto;display:block}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none; animation: none; scroll-behavior: auto; }
}

/* 3) Layout Utilities */
.container{width:min(1100px,100%);margin-inline:auto;padding:0 20px}
.mt-16{margin-top:4rem}
.grid{display:grid;gap:1rem}
.grid--cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.grid--cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.grid--cols-3{grid-template-columns:1fr}}

/* 4) Components: Tiles (Offers) */
.offers{list-style:none;margin:0;padding:0}
.offers > li{margin:0;padding:0}
.tile{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile__media{width:100%;aspect-ratio:16/9;object-fit:cover}
.tile__body{padding:16px 16px 20px}
.tile__kicker{display:inline-block;font-size:.8125rem;line-height:1;border-radius:9999px;padding:6px 10px;background:var(--brand-50);border:1px solid var(--brand-200);margin-bottom:10px}
.tile__title{font-size:1.125rem;line-height:1.3;margin:.25rem 0 .35rem;font-weight:700}
.tile__text{color:#334155;margin:0 0 .75rem}
.tile__actions{margin-top:auto}
.btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:12px;border:1px solid rgba(15,23,42,.12);padding:10px 12px;font-weight:600}
.btn:hover{border-color:rgba(15,23,42,.22)}

/* 5) FAQ */
details{border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:10px 12px;background:#fff}
details + details{margin-top:.75rem}
summary{cursor:pointer;font-weight:700;list-style:none}
summary::-webkit-details-marker{display:none}
details[open]{background:#fff}
details[open] > summary{margin-bottom:.5rem}

/* 6) Kostenliste */
#kosten .list{list-style:none;margin:.25rem 0 0;padding:0;text-align:left}
#kosten .list li{display:flex;align-items:flex-start;gap:.55rem;line-height:1.6;margin:0;padding:.18rem 0;border-top:1px solid rgba(15,23,42,.08)}
#kosten .list li:first-child{border-top:0}
#kosten .list li::before{content:"";width:7px;height:7px;margin-top:.6rem;flex:0 0 7px;border-radius:9999px;background:#cbd5e1}

/* Legacy specific rules (kept for parity) */
/* --- merged from original <style> blocks --- */

:root{
  --ink:#0f172a;--muted:#4b5563;--line:#e6edf5;--brand:#E9620B;--brand-700:#c2410c;
  --accent:#0d6e3a;--radius:16px;--ring:0 0 0 4px rgba(234,88,12,.12);
  --shadow-1:0 6px 18px rgba(15,23,42,.06);--shadow-2:0 14px 34px rgba(15,23,42,.12);
  --grad-hero:radial-gradient(1000px 480px at 12% -18%, rgba(234,88,12,.10), transparent 60%),radial-gradient(900px 460px at 88% -14%, rgba(13,110,58,.08), transparent 60%),linear-gradient(180deg, rgba(255,247,237,.92) 0%, #ffffff 70%);
  --grad-card:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);--container:1080px
}
*,*::before,*::after{box-sizing:border-box} html,body{margin:0}
body{background:#fff;color:var(--ink);font:400 18px/1.67 'Nunito',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,Arial;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.wrap{max-width:var(--container);margin:0 auto;padding:0 20px}
a{color:var(--brand);text-decoration:none} a:hover{text-decoration:underline}
:where(a,button,summary,.tile){outline:none} :where(a,button,summary,.tile):focus-visible{box-shadow:var(--ring)}
h1,h2,h3{letter-spacing:.2px;color:#1f2937}
h1{font-weight:900;font-size:clamp(40px,6.2vw,58px);line-height:1.12;text-align:center;color:var(--brand)}
h2{font-weight:900;font-size:clamp(28px,4vw,36px);line-height:1.18;text-align:center;color:var(--brand)}
h3{font-weight:900;font-size:clamp(18px,2vw,20px);line-height:1.25;margin:.25rem 0 .2rem}
.section{padding:92px 0} .section + .section{border-top:1px solid #eef2f6}
.section p.lead{margin:6px auto 0;text-align:center;color:var(--muted);max-width:780px}
.hero{padding:96px 0 56px;background:var(--grad-hero);text-align:center}
.hero p{margin:8px auto 0;color:var(--muted);max-width:780px}
.grid{display:grid;gap:22px} .grid--three{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid--offers{display:flex;flex-wrap:wrap;gap:32px;justify-content:center}
.grid--offers>.tile{flex:1 1 320px;max-width:360px}
@media (max-width:520px){ .grid--offers{gap:24px} }
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 28px;border-radius:9999px;font-weight:800;letter-spacing:.2px;border:2px solid transparent;transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease}
.btn--brand{background:linear-gradient(90deg,var(--brand),var(--brand-700));color:#fff;box-shadow:var(--shadow-1)}
.btn--brand:hover{transform:translateY(-2px);box-shadow:var(--shadow-2)}
.btn--info{background:linear-gradient(180deg,#fb923c,#ea580c);color:#fff;box-shadow:0 6px 14px rgba(234,88,12,.18)}
.btn--info:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(234,88,12,.24)}
.btn--light{background:#fff;color:var(--brand);border-color:var(--brand)}
.tile{position:relative;background:var(--grad-card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-1);display:flex;flex-direction:column;overflow:hidden}
.tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-2);border-color:#dfe7f3}
.tile::after{content:none}
.tile::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--brand),var(--brand-700))}
.tile__media{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center;background:#f8fafc;border-radius:calc(var(--radius) - 2px);margin:12px 12px 0}
/* full-bleed images on offer cards */
.grid--offers .tile .tile__media{margin:0;border-radius:0}
.tile__body{padding:20px 20px 14px;text-align:center}
.tile__body p{margin:0;color:var(--muted);font-size:1rem}
.tile__actions{display:flex;gap:10px;justify-content:center;margin-top:auto;padding:12px 12px 18px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:9999px;font-weight:800;font-size:.75rem;background:#fff7ed;border:1px solid #ffedd5;color:#8a2e0e}
.benefits-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.benefit__inner{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px}
.benefit__badge{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:linear-gradient(180deg,#fff7ed,#ffffff);border:1px solid #ffedd5;box-shadow:0 6px 18px rgba(234,88,12,.15);margin-bottom:12px}
.icon-line{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.miX{background:linear-gradient(180deg,#f8fff9,#ffffff)}
.miX-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px}
.miX-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(2,6,23,.10)}
.miX-media{height:112px;position:relative;background:radial-gradient(600px 140px at 20% -20%, #fed7aa30, transparent), radial-gradient(600px 140px at 90% -20%, #bbf7d030, transparent)}
.miX-media .ico{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#0f172a}
.miX-body{padding:14px}
.miX-body .kicker{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:9999px;background:#fff7ed;border:1px solid #ffedd5;color:#9a3412;font-size:.78rem;font-weight:800;margin-bottom:6px}
.miX-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}
@media (max-width:960px){.miX-top{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.miX-top{grid-template-columns:1fr}}
.digitalX-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-top:16px}
.digitalX-card{background:#fff;border:1px solid #e6edf5;border-radius:16px;box-shadow:0 8px 24px rgba(2,6,23,.08)}
.checksX{list-style:none;padding:16px 16px 14px;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.checksX li{display:flex;align-items:flex-start;gap:10px}
.tickX{width:22px;height:22px;border-radius:8px;border:1px solid #cdeedd;background:linear-gradient(180deg,#ecfdf5,#ffffff);display:grid;place-items:center;color:#0d6e3a;margin-top:2px}
.tickX svg{width:14px;height:14px}
.digitalX-side{background:#fff;border:1px solid #e6edf5;border-radius:16px;box-shadow:0 8px 24px rgba(2,6,23,.08);padding:16px;text-align:left}
.digitalX-side h3{font-size:1rem;margin:0 0 6px 0}
.digitalX-side p{color:#475569;margin:0 0 10px 0}
.digitalX-side ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.digitalX-side li{display:flex;gap:8px;align-items:flex-start}
@media (max-width:960px){.digitalX-grid{grid-template-columns:1fr}.checksX{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.checksX{grid-template-columns:1fr}}
.faq{background:linear-gradient(180deg,#fff,#f8fbfa)} .faq__wrap{max-width:980px;margin:0 auto;padding:0 20px}
details.faq__item{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-1);margin:0 0 12px}
summary.faq__q{list-style:none;cursor:pointer;padding:14px 16px;font-weight:900;display:flex;align-items:center;gap:10px;position:relative}
summary.faq__q::-webkit-details-marker{display:none}
.faq__num{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#fff7ed;border:1px solid #ffedd5;color:#c2410c;font-weight:900}
.faq__perma{margin-left:auto;opacity:0;transition:opacity .2s ease;font-weight:700;color:#ea580c;text-decoration:none}
summary.faq__q:hover .faq__perma, summary.faq__q:focus-within .faq__perma{opacity:1}
.faq__a{padding:0 16px 14px;color:var(--muted);max-width:70ch}
.mt-n28{margin-top:-28px} .mt-16{margin-top:16px}

/* Softer borders only for offer cards */
.grid--offers .tile:hover{border-color:#e7edf7}

/* Reserve image height to reduce CLS in offer cards */
.grid--offers .tile__media{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}

/* Ensure single source of truth for lists in #kosten (checks only, no counters) */
#kosten .list li+li{border-top:1px solid rgba(15,23,42,.08)}

/* Slim & longer Info buttons (offers) */
.grid--offers .tile__actions .btn{min-width:7.8rem;padding-block:.42rem;padding-inline:1.35rem}
@media (max-width:520px){
  .grid--offers .tile__actions .btn{min-width:7.2rem;padding-block:.38rem}
}

/* === Restore v19_18 visuals === */
.grid--offers .tile__media{border-radius:0;display:block;width:100%;height:auto}
.grid--offers > .tile:nth-last-child(-n+2) .tile__media{border:0;outline:0;box-shadow:none}
.grid--offers .tile__actions .btn{min-width:7.8rem;padding-block:.42rem;padding-inline:1.35rem}
@media (max-width:520px){
  .grid--offers .tile__actions .btn{min-width:7.2rem;padding-block:.38rem}
}

/* Kosten & Übernahme lists (checks only, small, left aligned, thin dividers) */
#kosten .list li+li{border-top:1px solid rgba(15,23,42,.08)}
#kosten .list--checks li::before,
#kosten .list--steps li::before{
  content:"";width:12px;height:12px;margin-top:.38rem;flex:0 0 12px;border-radius:3px;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background:var(--brand-600,#f97316);box-shadow:none
}
#kosten .list--steps{counter-reset:none}
#kosten .list--steps li::before{counter-increment:none}

/* Reset top borders everywhere */
.tile::before{content:none}

/* FAQ: Schrift nicht fett */
summary.faq__q{font-weight:400}
.faq__perma{font-weight:400}
.faq__num{font-weight:600}

/* canonical: .miX-card */
.miX-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:14px}
.miX-card .miX-media{margin:14px auto 12px;width:64px;height:64px;border-radius:9999px;display:grid;place-items:center;background:var(--brand-50,#fff1e6);border:1px solid var(--brand-200,#ffd7c5)}
.miX-card .miX-media svg{width:30px;height:30px;color:var(--brand-700,#ea580c)}

/* canonical: #kosten .list (normalized) */
#kosten .list{
  list-style:none;margin:.25rem 0 0;padding:0;text-align:left
}
#kosten .list li{
  display:flex;align-items:flex-start;gap:.55rem;line-height:1.6;
  margin:0;padding:.18rem 0;border-top:1px solid rgba(15,23,42,.08)
}
#kosten .list li:first-child{border-top:0}
#kosten .list li::before{
  content:"";width:7px;height:7px;margin-top:.6rem;flex:0 0 7px;border-radius:9999px;
  background:#cbd5e1
}

/* accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none; animation: none; scroll-behavior: auto; }
}

/* === Tile variant: miX look (for Migration & Integration) === */
.tile--mix{ border-radius:22px; overflow:hidden; text-align:left }
.tile--mix .tile__body{ padding:18px 16px 20px }
.tile--mix .tile__mediaCircle{
  margin:10px 0 12px; width:72px; height:72px; border-radius:9999px;
  display:grid; place-items:center;
  background: radial-gradient(600px 140px at 90% -20%, #bbf7d030, transparent),
              radial-gradient(600px 140px at 10% 120%, #fed7aa60, transparent),
              #fff7ed;
  border:1px solid #ffe1c4;
}
.tile--mix .tile__mediaCircle svg,
.tile--mix .tile__mediaCircle img{ width:32px; height:32px }
.tile--mix .tile__kicker{ background:#fff7ed; border-color:#ffe1c4 }
.tile--mix:hover{ transform:translateY(-2px); box-shadow:0 14px 34px rgba(2,6,23,.10) }
@media (prefers-reduced-motion: reduce){
  .tile--mix:hover{ transform:none; box-shadow:none }
}

/* Desktop: 3x3x2 zentriertes Kartenraster */
@media (min-width: 1024px) {
  .grid--offers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 32px;
  }
  .grid--offers > .tile { max-width: 340px; margin-inline: auto; }
  .grid--offers > .tile:nth-last-child(-n+2){ justify-self:center; }
}

/* Hero-Benefits: Floating Icon Badges (Jobs-Stil) */
.benefit__inner{position:relative}
.benefit__badge{
  position:relative;
  width:56px;height:56px;border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(180deg,#ffffff,#fff7ed);
  border:1px solid #ffedd5;
  box-shadow:0 6px 18px rgba(234,88,12,.15),
             0 1px 0 rgba(255,255,255,.9) inset,
             0 0 0 1px rgba(255,237,213,.8) inset;
  margin-bottom:12px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.benefit__badge svg{width:26px;height:26px;color:var(--brand-700,#c2410c)}
.benefit__badge::after{
  content:""; position:absolute; inset:-10px; border-radius:22px;
  background:radial-gradient(60% 60% at 50% 40%, rgba(234,88,12,.20), transparent 70%);
  filter:blur(8px); z-index:-1; pointer-events:none;
}
.tile.benefit:hover .benefit__badge{transform:translateY(-2px); box-shadow:
  0 12px 28px rgba(234,88,12,.22),
  0 1px 0 rgba(255,255,255,.95) inset,
  0 0 0 1px rgba(255,237,213,.9) inset;
}

/* Kosten: hochwertige, ikonlose Karten */
.kosten-card{background:#fff;border:1px solid #e6edf5;border-radius:16px;box-shadow:0 8px 24px rgba(2,6,23,.06);display:flex;flex-direction:column}
.kosten-card .tile__body{padding:20px 18px 18px;text-align:center}
.kosten-head{display:flex;flex-direction:column;gap:8px;align-items:center}
.kosten-head .pill{background:#fff7ed;border:1px solid #ffedd5;color:#9a3412}
.kosten-title{font-weight:900;margin:.25rem 0 .2rem}
.kosten-rule{height:1px;background:rgba(2,6,23,.08);width:86%;margin:10px auto 12px;border-radius:9999px}
.kosten-list{list-style:none;margin:0;padding:0;text-align:left}
.kosten-list li{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid rgba(2,6,23,.06)}
.kosten-list li:first-child{border-top:0}
.kosten-dot{
  width:18px;height:18px;border-radius:9999px;
  border:1px solid #cdeedd;
  background:radial-gradient(60% 60% at 50% 45%, #f0fdf4, #ffffff 70%);
  display:grid;place-items:center;flex:0 0 18px;margin-top:2px;
  box-shadow:0 2px 8px rgba(13,110,58,.08);
}
.kosten-dot svg{
  width:11px;height:11px;
  stroke:#0d6e3a; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;
}
.kosten-note{background:#fff;border:1px solid #e6edf5;border-radius:16px;box-shadow:0 8px 24px rgba(2,6,23,.06)}
.kosten-note .tile__body{padding:16px}

/* Digital: 4 Spalten auf Desktop, responsive */
#digital .miX-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:16px}
@media (max-width:1200px){#digital .miX-top{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:960px){#digital .miX-top{grid-template-columns:1fr 1fr}}
@media (max-width:520px){#digital .miX-top{grid-template-columns:1fr}}

/* Konsistente Karten im Digital-Bereich */
#digital .miX-card{background:#fff;border:1px solid #e6edf5;border-radius:16px;box-shadow:0 8px 24px rgba(2,6,23,.08)}
#digital .miX-card .miX-body{padding:22px;text-align:center}
#digital .miX-card .kicker{display:inline-block;padding:4px 10px;border-radius:9999px;background:#fff7ed;border:1px solid #ffedd5;color:#9a3412;font-weight:800;font-size:.78rem;margin-bottom:6px}
#digital .miX-card .muted{color:#475569}

/* Migration & Integration: ohne Icon-Circles */
#migration .tile--mix .tile__body{padding-top:20px}

/* Scroll Reveal (IntersectionObserver) */
.reveal{opacity:0; transform:translateY(12px) scale(.98)}
.reveal--in{opacity:1; transform:none; transition:opacity .55s ease, transform .55s ease}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none}
  .reveal--in{transition:none}
}

/* === Small elegant badges (gray) === */
.tile .pill {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #E9620B;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: .2px;
}

/* === Premium hover effects (offers, dezenter) === */
.tile { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.grid--offers .tile:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12); }
#digital .miX-card:hover, #migration .tile:hover, #kosten .tile:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
}

/* === Rounded media images (harmonized) === */
.tile__media { border-radius: 12px 12px 0 0; overflow: hidden; }

/* === Ensure offer card buttons baseline aligned === */
.grid--offers .tile{display:flex;flex-direction:column}
.grid--offers .tile__body{display:flex;flex-direction:column;flex:1;min-height:280px}
.grid--offers .tile__actions{margin-top:auto}

/* === Global refined pill badges (small, elegant, dark-gray text) === */
.pill{
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: #374151;
  font-size: 0.63rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 9999px;
  letter-spacing: 0.15px;
  text-transform: none;
}

/* === Calm offer-card header: thin gray top + left orange accent on h3 === */
#angebote .offers .tile { border-top: 1px solid #E5E7EB; }
#angebote .offers .tile h3 { position: relative; padding-left: 8px; }
#angebote .offers .tile h3::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:#E9620B; border-radius:2px;
}

/* === Final badge tuning === */
#angebote .offers .pill,
#digital .kicker.pill,
#migration .pill,
#kosten .pill {
  display:inline-flex; align-items:center; justify-content:center;
  padding: 1px 4px;
  font-size: 0.66rem;
  font-weight:600;
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.07);
  color: #374151;
  border-radius: 9999px;
  letter-spacing: .15px;
  line-height: 1.3;
}

/* === Child Theme Patch — Outline buttons + Hero fullbleed === */
.page-leistungsangebote .wp-block-button__link,
.page-leistungsangebote a.btn,
.page-leistungsangebote .wp-element-button {
  min-height: 32px;
  padding: .3rem .6rem;
  font-size: .875rem;
  line-height: 1;
  border-radius: 12px;
  font-weight: 700;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--brand);
  border: 1.5px solid color-mix(in srgb, var(--brand) 85%, white 15%);
}
.page-leistungsangebote .wp-block-button.is-style-fill .wp-block-button__link,
.page-leistungsangebote .wp-block-button.is-style-default .wp-block-button__link {
  background: transparent;
  background-image: none;
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 85%, white 15%);
}
.page-leistungsangebote .wp-block-button__link:hover,
.page-leistungsangebote a.btn:hover,
.page-leistungsangebote .wp-element-button:hover {
  background: color-mix(in srgb, var(--brand) 10%, white 90%);
}
.page-leistungsangebote .wp-block-button__link:active,
.page-leistungsangebote a.btn:active,
.page-leistungsangebote .wp-element-button:active {
  background: color-mix(in srgb, var(--brand) 15%, white 85%);
}

.page-leistungsangebote .hero { position: relative; z-index: 0; }
.page-leistungsangebote .hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  left: 50%; width: 100vw; margin-left: -50vw;
  background: linear-gradient(180deg, #FFE9D8 0%, #FFFFFF 60%);
}
.page-leistungsangebote .hero > .wrap { position: relative; }

/* === Tile-Description kompakter & gut lesbar (minimal) === */
.page-leistungsangebote .tile__text {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 46ch;
  hyphens: auto;
  color: #334155;
}
@media (max-width: 600px) {
  .page-leistungsangebote .tile__text { font-size: 0.9rem; line-height: 1.6; max-width: 60ch; }
}
@media (max-width: 360px) {
  .page-leistungsangebote .tile__text { font-size: 0.875rem; }
}

/* =========================================================
   SOFT BRIDGE BACKGROUNDS (ineinander, full-bleed)
   ========================================================= */
.page-leistungsangebote .miX { background: transparent; }
.page-leistungsangebote .faq { background: transparent; }

/* Migration (helles Grün) */
.page-leistungsangebote #migration{position:relative;z-index:0}
.page-leistungsangebote #migration::before{
  content:""; position:absolute; inset:0; left:50%; width:100vw; margin-left:-50vw; z-index:-1;
  background: linear-gradient(180deg,#FFFFFF 0%, #F4FFF8 16%, #F4FFF8 84%, #FFFFFF 100%);
}

/* Digitale Medien (sehr zartes Apricot) */
.page-leistungsangebote #digital{position:relative;z-index:0}
.page-leistungsangebote #digital::before{
  content:""; position:absolute; inset:0; left:50%; width:100vw; margin-left:-50vw; z-index:-1;
  background: linear-gradient(180deg,#FFFFFF 0%, #FFF5EE 16%, #FFF5EE 84%, #FFFFFF 100%);
}

/* FAQ (warmes Off-White) */
.page-leistungsangebote .faq{position:relative;z-index:0}
.page-leistungsangebote .faq::before{
  content:""; position:absolute; inset:0; left:50%; width:100vw; margin-left:-50vw; z-index:-1;
  background: linear-gradient(180deg,#FFFFFF 0%, #FFF8F2 18%, #FFF8F2 86%, #FFFFFF 100%);
}

/* Section-Spacing */
@media (min-width: 769px) {
  .page-leistungsangebote #migration,
  .page-leistungsangebote #digital,
  .page-leistungsangebote .faq { padding-block: 92px; }
}
@media (max-width: 768px) {
  .page-leistungsangebote #migration,
  .page-leistungsangebote #digital,
  .page-leistungsangebote .faq { padding-block: 72px; }
}

/* =========================================================
   KOSTEN – Lesbarkeit & Premium-Finish
   ========================================================= */
/* Linksbuendig & ruhiger Text in allen Karten im #kosten-Block */
#kosten .tile .tile__body{
  text-align:left;
  padding:22px 22px 20px;
  display:flex; flex-direction:column; gap:.35rem;
}
#kosten h3{
  text-align:left;
  margin:.25rem 0 .55rem;
  text-wrap:balance;
}
#kosten p{
  margin:.25rem 0;
  line-height:1.65;
  font-size:1rem;
  color:#1f2937;
  hyphens:auto;
  overflow-wrap:break-word;
}

/* Erste Karte „Wer zahlt?“ leicht akzentuiert */
#kosten .tile:first-child{
  background: linear-gradient(180deg,#ffffff 0%, #fbfdfc 45%, #ffffff 100%);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 8px 22px rgba(2,6,23,.08);
}
#kosten .tile:first-child .tile__body{ padding-top:22px; }
#kosten .tile:first-child p{ line-height:1.58; }

/* Schlagwörter als ruhige Pills (z.B. Jugendamt / SGB IX) */
#kosten strong{
  font-weight:800; color:#0f172a;
  padding:0 .35rem;
  border-radius:8px;
  background:rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.07);
}

/* feiner Trenner direkt unter dem Titel */
#kosten h3 + *{ position:relative; margin-top:.35rem; }
#kosten h3 + *::before{
  content:""; position:absolute; left:0; right:0; top:-10px; height:1px;
  background:rgba(2,6,23,.08); border-radius:9999px;
}

/* CTA-Buttons in Karten – sanftes Outline/Glow */
.grid--offers .tile .btn{
  border-color: var(--brand-200);
  background: linear-gradient(180deg, #ffffff, #fff7f2);
  box-shadow: 0 2px 6px rgba(233,98,11,0.08);
}
.grid--offers .tile .btn:hover{
  background: linear-gradient(180deg, #fff6ef, #fff1e6);
  transform: translateY(-2px);
}
