/*
Theme Name: ArbSchuLio
Theme URI: https://arbschulio.de
Author: Medic Assistance Business Health GmbH
Description: Individuelles WordPress-Theme für ArbSchuLio.
Version: 2.0.16
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: arbschulio
*/

:root {
  --navy: #00245a;
  --navy-deep: #001a43;
  --green: #20b24b;
  --green-dark: #148c38;
  --ink: #10213b;
  --muted: #566783;
  --line: #dce5ef;
  --soft-blue: #f2f7fc;
  --soft-green: #f1fbf4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 36, 90, .10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,229,239,.9); backdrop-filter: blur(14px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 230px; display: block; }
.main-nav { margin-left: auto; }
.main-nav-list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.main-nav a { text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green-dark); }
.main-nav a { position: relative; display: inline-block; }
.main-nav .current-menu-item > a::after,
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; border-radius: 2px; background: var(--green); }
.header-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--white); border-radius: 12px; width: 46px; height: 46px; color: var(--navy); font-size: 24px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent; text-decoration: none; font-weight: 750; font-size: 16px; transition: .2s ease; }
.button-primary { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(32,178,75,.22); }
.button-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-secondary:hover { background: var(--navy); color: var(--white); }
.button-small { min-height: 44px; padding-inline: 17px; font-size: 14px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(110deg, #f4f8fc 0%, #edf6fb 56%, #f0fbf3 100%); }
.hero::after { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; right: -120px; top: -150px; background: rgba(32,178,75,.10); }
.hero-inner { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; padding-block: 86px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green-dark); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--green); }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.45rem, 4vw, 3.75rem); margin: 18px 0 24px; max-width: 740px; }
h2 { font-size: clamp(1.7rem, 2.4vw, 2rem); margin-bottom: 18px; }
h3 { font-size: 1.55rem; margin-bottom: 12px; }
.hero-lead { color: var(--muted); font-size: clamp(1.15rem, 1.8vw, 1.38rem); line-height: 1.55; max-width: 680px; margin: 0 0 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 15px 25px; margin-top: 34px; color: var(--navy); font-size: 15px; font-weight: 650; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: white; font-size: 13px; }
.hero-visual { position: relative; }
.lio-panel { position: relative; min-height: 390px; border-radius: 34px; background: var(--navy); color: white; padding: 48px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.lio-panel::before { content: ""; position: absolute; width: 290px; height: 290px; border-radius: 50%; background: var(--green); right: -75px; top: -65px; }
.lio-panel::after { content: "Lio"; position: absolute; right: 36px; top: 38px; font-size: 88px; line-height: 1; font-weight: 900; color: rgba(255,255,255,.95); letter-spacing: -.07em; }
.lio-panel h2 { color: white; font-size: 2rem; max-width: 390px; margin-bottom: 14px; }
.lio-panel p { color: rgba(255,255,255,.78); margin: 0; max-width: 400px; }
.float-card { position: absolute; left: -34px; top: 34px; width: 215px; padding: 20px; background: white; border-radius: 18px; box-shadow: var(--shadow); }
.float-card strong { display: block; color: var(--navy); font-size: 18px; }
.float-card span { color: var(--muted); font-size: 14px; }

.section { padding-block: 100px; }
.section-soft { background: var(--soft-blue); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p { color: var(--muted); font-size: 19px; margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(0,36,90,.05); overflow: hidden; }
.pillar:first-child { background: linear-gradient(145deg, var(--soft-green), #fff 70%); }
.pillar:nth-child(2) { background: linear-gradient(145deg, #eef7ff, #fff 70%); }
.pillar:nth-child(3) { background: linear-gradient(145deg, #f5f2ff, #fff 70%); }
.icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: rgba(32,178,75,.13); color: var(--green-dark); font-size: 28px; margin-bottom: 26px; }
.pillar:nth-child(2) .icon { background: rgba(0,36,90,.09); color: var(--navy); }
.pillar:nth-child(3) .icon { background: rgba(82,63,145,.10); color: #523f91; }
.pillar p { color: var(--muted); margin: 0 0 20px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { gap: 13px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: steps; }
.step { counter-increment: steps; padding: 30px 26px; border-radius: 18px; background: white; border: 1px solid var(--line); }
.step::before { content: counter(steps, decimal-leading-zero); display: block; color: var(--green); font-size: 14px; font-weight: 900; letter-spacing: .08em; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

.cta { padding-block: 84px; }
.cta-box { position: relative; overflow: hidden; background: var(--navy); color: white; border-radius: 28px; padding: 58px 62px; display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.cta-box::after { content: ""; width: 240px; height: 240px; border-radius: 50%; background: var(--green); position: absolute; right: -75px; bottom: -150px; }
.cta-copy { position: relative; z-index: 1; }
.cta-box h2 { color: white; font-size: 2rem; margin-bottom: 22px; max-width: 760px; }
.cta-box .cta-principle { margin: 0; padding-left: 18px; border-left: 4px solid var(--green); color: var(--white); font-size: 1.18rem; line-height: 1.5; font-weight: 750; max-width: 670px; }
.cta-box .button { position: relative; z-index: 1; flex: 0 0 auto; }

.site-footer { border-top: 1px solid var(--line); padding-block: 45px; }
.footer-inner { display: flex; align-items: center; gap: 35px; }
.footer-brand img { width: 190px; display: block; }
.footer-note { color: var(--muted); font-size: 14px; margin: 0 auto 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav-list { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 650; }

.content-page { padding-block: 80px; min-height: 60vh; }
.content-page > * { max-width: 800px; }
.content-page p, .content-page li { color: var(--muted); }

/* ArbSchuLio page builder: section geometry stays in the theme while content
   remains editable with native WordPress blocks. */
.arbschulio-builder-page > .wp-block-group { margin-block: 0; }
.arbschulio-builder-page .wp-block-heading { margin-top: 0; }
.arbschulio-section { margin-block: 0; }
.arbschulio-section:not(.hero).is-style-arbschulio-white { background: var(--white); }
.arbschulio-section:not(.hero).is-style-arbschulio-soft { background: var(--soft-blue); }
.arbschulio-section:not(.hero).is-style-arbschulio-navy { background: var(--navy); color: var(--white); }
.arbschulio-section.is-style-arbschulio-navy > .container > .section-heading h2,
.arbschulio-section.is-style-arbschulio-navy > .container > .as-intro-grid h2,
.arbschulio-section.is-style-arbschulio-navy > .container > .as-portal-intro h2 { color: var(--white); }
.arbschulio-section.is-style-arbschulio-navy > .container > .section-heading p,
.arbschulio-section.is-style-arbschulio-navy > .container > .as-intro-grid p,
.arbschulio-section.is-style-arbschulio-navy > .container > .as-portal-intro p { color: #d5e3f1; }
.arbschulio-section:not(.hero).is-style-arbschulio-compact-white { padding-block: 58px; background: var(--white); }
.arbschulio-section:not(.hero).is-style-arbschulio-compact-soft { padding-block: 58px; background: var(--soft-blue); }
.arbschulio-builder-page .wp-block-button { background: transparent; box-shadow: none; }
.arbschulio-builder-page .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 750; text-decoration: none; transition: .2s ease; }
.arbschulio-builder-page .wp-block-button.button-primary .wp-block-button__link { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(32,178,75,.22); }
.arbschulio-builder-page .wp-block-button.button-primary .wp-block-button__link:hover { background: var(--green-dark); transform: translateY(-1px); }
.arbschulio-builder-page .wp-block-button.button-secondary .wp-block-button__link { border-color: var(--navy); color: var(--navy); background: transparent; }
.arbschulio-builder-page .wp-block-button.button-secondary .wp-block-button__link:hover { background: var(--navy); color: var(--white); }
.arbschulio-builder-page .trust-item { margin: 0; }
.arbschulio-builder-page .float-card p { margin: 0; color: var(--muted); font-size: 14px; }
.arbschulio-builder-page .float-card p:first-child { color: var(--navy); font-size: 18px; }
.arbschulio-builder-page .cta-box > .wp-block-buttons { position: relative; z-index: 1; flex: 0 0 auto; }
.as-intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: start; }
.as-intro-grid h2 { max-width: 440px; font-size: clamp(1.7rem, 2.4vw, 2rem); line-height: 1.16; }
.as-intro-copy p { color: var(--muted); font-size: clamp(1.15rem, 1.8vw, 1.38rem); line-height: 1.55; }
.as-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.as-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(0,36,90,.05); }
.as-card p { color: var(--muted); margin-bottom: 0; }
.as-portal-section { background: var(--white); }
.as-portal-intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: end; margin-bottom: 46px; }
.as-portal-intro .eyebrow { color: var(--muted); font-size: 19px; }
.as-portal-intro h2 { max-width: 440px; color: var(--navy); font-size: clamp(1.7rem, 2.4vw, 2rem); line-height: 1.16; margin-bottom: 0; }
.as-portal-intro-copy p { margin: 0; color: var(--muted); font-size: clamp(1.15rem, 1.8vw, 1.38rem); line-height: 1.55; }
.as-portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.as-portal-feature { min-height: 190px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #f7fafe, var(--white)); box-shadow: 0 10px 30px rgba(0,36,90,.05); }
.as-portal-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 0 20px; border-radius: 12px; background: rgba(32,178,75,.12); color: var(--green-dark); font-size: 20px; font-weight: 900; }
.as-portal-feature h3 { margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -.02em; }
.as-portal-feature > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.as-next-section .section-heading { margin-bottom: 36px; }
.as-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: steps; }
.as-next-step { display: flex; flex-direction: column; min-height: 285px; }
.as-next-step .wp-block-buttons { margin-top: auto; padding-top: 24px; }
.as-next-step .wp-block-button__link { width: 100%; }
.as-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.as-split-copy p { color: var(--muted); font-size: 18px; }
.as-split-media { min-height: 320px; border-radius: 26px; overflow: hidden; background: var(--soft-blue); }
.as-split-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.as-faq { display: grid; gap: 12px; max-width: 860px; }
.as-faq details { padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.as-faq summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.as-faq details p { color: var(--muted); margin: 14px 0 0; }
.as-quote { padding: 48px 54px; border-left: 6px solid var(--green); border-radius: 20px; background: var(--navy); color: var(--white); }
.as-quote p { margin: 0; color: var(--white); font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 750; line-height: 1.35; }
.as-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.as-stat { padding: 30px; text-align: center; border-radius: 18px; background: var(--soft-blue); }
.as-stat strong { display: block; color: var(--green-dark); font-size: 2.4rem; line-height: 1.1; }
.as-stat span { color: var(--navy); font-weight: 700; }

/* Portal preview: editable copy around a replaceable, wide product image. */
.as-showcase-section { padding-block: 76px 84px; }
.as-showcase-heading { display: grid; grid-template-columns: .82fr 1.18fr; align-items: end; gap: 66px; margin-bottom: 30px; }
.as-showcase-heading h2 { max-width: 400px; margin: 13px 0 0; font-size: clamp(1.7rem, 2.4vw, 2rem); }
.as-showcase-heading > p { margin: 0; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.25rem); line-height: 1.5; }
.as-showcase-image { max-width: 1030px; margin: 0 auto; }
.as-showcase-image img { display: block; width: 100%; height: auto; border: 7px solid #dce8f4; border-radius: 16px; background: var(--white); box-shadow: 0 15px 34px rgba(0,36,90,.13); }
.as-showcase-caption { margin: 10px 0 0; text-align: right; color: var(--muted); font-size: 12px; }
.as-showcase-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; margin-top: 33px; }
.as-showcase-number { margin: 0 0 7px; color: var(--green-dark); font-size: 14px; font-weight: 800; }
.as-showcase-point h3 { margin: 0 0 5px; color: var(--navy); font-size: 1.13rem; }
.as-showcase-point > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.as-showcase-section.is-style-arbschulio-navy .as-showcase-heading h2,
.as-showcase-section.is-style-arbschulio-navy .as-showcase-point h3 { color: var(--white); }
.as-showcase-section.is-style-arbschulio-navy .as-showcase-heading > p,
.as-showcase-section.is-style-arbschulio-navy .as-showcase-point > p:last-child { color: #d5e3f1; }
.as-showcase-section.is-style-arbschulio-navy .as-showcase-caption { color: #bbcee2; }
.as-showcase-section.is-style-arbschulio-navy .as-showcase-number,
.as-showcase-section.is-style-arbschulio-navy .eyebrow { color: #8be4a4; }
.as-showcase-section.is-style-arbschulio-navy .as-showcase-image img { border-color: #31527d; }

/* Optional health hero and reusable two-card / compact process sections. */
.hero-health .hero-inner { min-height: 520px; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: 30px; padding-block: 68px; }
.hero-health h1 { max-width: none; font-size: clamp(2.6rem, 3.2vw, 3.25rem); }
.health-hero-visual { min-height: 430px; isolation: isolate; }
.health-hero-visual::before { content: ""; position: absolute; z-index: -1; width: 390px; height: 390px; top: 26px; left: 30px; border-radius: 50%; background: #d9eefe; }
.health-hero-visual::after { content: ""; position: absolute; z-index: 3; top: 38px; right: 47px; width: 116px; height: 116px; background: url('assets/images/hero-health-lio.svg') center / contain no-repeat; transform: rotate(6deg); }
.health-hero-card { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 220px; min-height: 218px; padding: 24px 16px; text-align: center; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.health-hero-card::before { content: ""; display: block; width: 62px; height: 62px; flex: 0 0 62px; margin-bottom: 10px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.health-hero-card-one { top: 5px; left: 95px; transform: rotate(-7deg); }
.health-hero-card-one::before { background-image: url('assets/images/hero-health-leaf.svg'); }
.health-hero-card-two { bottom: 0; left: 8px; transform: rotate(7deg); }
.health-hero-card-two::before { background-image: url('assets/images/hero-health-people.svg'); }
.health-hero-card-three { bottom: 5px; right: 2px; transform: rotate(-7deg); }
.health-hero-card-three::before { background-image: url('assets/images/hero-health-bars.svg'); }
.health-hero-icon { display: none; } /* Previously inserted instances contained font symbols. */
.health-hero-card h3 { margin: 0 0 7px; color: var(--navy); font-size: 18px; letter-spacing: -.02em; }
.health-hero-card p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }

.as-product-section { padding-block: 80px; }
.as-product-heading { max-width: 820px; margin-bottom: 32px; }
.as-product-heading h2 { max-width: 700px; margin: 14px 0; }
.as-product-heading > p:last-child { margin: 0; color: var(--muted); font-size: 19px; }
.as-product-grid, .as-compact-offers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.as-product-card, .as-compact-offer { display: flex; align-items: flex-start; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgba(0,36,90,.05); }
.as-product-icon, .as-compact-offer-icon { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; margin: 0; border-radius: 50%; background: var(--soft-green); color: var(--green-dark); font-size: 37px; line-height: 1; }
.as-product-copy h3, .as-compact-offer h3 { margin: 0 0 8px; font-size: 1.2rem; }
.as-product-copy > p:not(.as-product-tag), .as-compact-offer .wp-block-group > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.as-product-tag { display: inline-block; margin: 18px 0 0; padding: 5px 13px; border-radius: 20px; background: var(--soft-green); color: var(--green-dark); font-size: 13px; font-weight: 750; }
.as-product-actions { justify-content: center; margin-top: 28px; }
.as-compact-offers-section { padding-block: 74px; }
.as-compact-offers-heading { margin-bottom: 26px; }
.as-compact-offers-heading h2 { margin: 12px 0 0; }
.as-compact-offer { align-items: center; padding: 24px 26px; }
.as-compact-offer-icon { flex-basis: 56px; width: 56px; height: 56px; font-size: 29px; }
.as-compact-process-section { padding-block: 76px; }
.as-compact-process-heading { margin-bottom: 32px; }
.as-compact-process-heading h2 { margin: 12px 0 0; }
.as-compact-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.as-compact-process-item { display: flex; align-items: flex-start; gap: 18px; }
.as-compact-process-number { display: grid; place-items: center; flex: 0 0 62px; width: 62px; height: 62px; margin: 0; border-radius: 50%; background: #e2f7eb; color: var(--green-dark); font-size: 20px; font-weight: 900; }
.as-compact-process-item h3 { margin: 1px 0 6px; font-size: 1.08rem; }
.as-compact-process-item .wp-block-group > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.as-product-section.is-style-arbschulio-navy .as-product-heading h2,
.as-compact-offers-section.is-style-arbschulio-navy .as-compact-offers-heading h2,
.as-compact-process-section.is-style-arbschulio-navy .as-compact-process-heading h2 { color: var(--white); }
.as-product-section.is-style-arbschulio-navy .as-product-heading > p:last-child,
.as-compact-process-section.is-style-arbschulio-navy .as-compact-process-item .wp-block-group > p { color: #d5e3f1; }
.as-compact-process-section.is-style-arbschulio-navy .as-compact-process-item h3 { color: var(--white); }

/* A light-weight CTA between content sections; the closing banner stays separate. */
.as-quick-cta-section { padding-block: 32px; }
.as-quick-cta-bar { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 90px; padding: 23px 32px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 16px; background: var(--soft-blue); }
.as-quick-cta-prompt { margin: 0; color: var(--navy); font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.as-quick-cta-action { margin: 0; font-size: 1rem; font-weight: 800; }
.as-quick-cta-action a { color: var(--green-dark); text-decoration: none; text-underline-offset: 4px; }
.as-quick-cta-action a:hover, .as-quick-cta-action a:focus-visible { text-decoration: underline; }
.as-quick-cta-section.is-style-arbschulio-navy .as-quick-cta-bar { border-color: #31527d; border-left-color: var(--green); background: var(--navy-deep); }
.as-quick-cta-section.is-style-arbschulio-navy .as-quick-cta-prompt { color: var(--white); }
.as-quick-cta-section.is-style-arbschulio-navy .as-quick-cta-action a { color: #9ce5b1; }


.legal-hero { background: linear-gradient(110deg, #f4f8fc 0%, #edf6fb 65%, #f0fbf3 100%); border-bottom: 1px solid var(--line); }
.legal-hero-inner { padding-block: 64px; }
.legal-hero h1 { margin: 14px 0 12px; font-size: clamp(2.5rem, 4.5vw, 4rem); }
.legal-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 70px; padding-block: 76px 96px; }
.legal-content { max-width: 760px; }
.legal-content > :first-child { margin-top: 0; }
.legal-content h1 { display: none; }
.legal-content h2 { margin: 42px 0 14px; color: var(--navy); font-size: 1.38rem; letter-spacing: -.02em; }
.legal-content h3 { margin: 32px 0 12px; font-size: 1.15rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p { margin: 0 0 18px; }
.legal-content a { color: var(--green-dark); font-weight: 700; text-underline-offset: 3px; }
.legal-aside { position: sticky; top: 118px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 30px rgba(0,36,90,.05); }
.legal-aside-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.legal-aside > a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; }
.legal-aside > a.is-current { color: var(--green-dark); }
.legal-contact { margin-top: 24px; padding-top: 2px; }
.legal-contact strong, .legal-contact span { display: block; }
.legal-contact strong { color: var(--navy); }
.legal-contact span { margin: 3px 0 8px; color: var(--muted); font-size: 14px; }
.legal-contact a { color: var(--green-dark); font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }

@media (max-width: 1020px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.nav-open .main-nav { display: block; position: absolute; left: 0; right: 0; top: 88px; background: white; padding: 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.nav-open .main-nav-list { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-header.nav-open .header-actions { display: flex; position: absolute; left: 24px; top: 374px; z-index: 2; }
  .site-header.nav-open { padding-bottom: 350px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { max-width: 660px; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-aside { position: static; }
  .as-intro-grid, .as-split-grid { grid-template-columns: 1fr; gap: 38px; }
  .as-card-grid, .as-stats { grid-template-columns: 1fr; }
  .as-portal-intro { grid-template-columns: 1fr; gap: 24px; }
  .as-portal-grid { grid-template-columns: 1fr 1fr; }
  .as-next-steps { grid-template-columns: 1fr; }
  .as-next-step { min-height: 0; }
  .as-showcase-heading { grid-template-columns: 1fr; gap: 18px; }
  .health-hero-visual { width: 530px; max-width: 100%; }
  .hero-health .hero-inner { min-height: auto; grid-template-columns: 1fr; }
  .as-compact-process-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand img { width: 185px; }
  .site-header.nav-open .main-nav { top: 74px; }
  .hero-inner { padding-block: 62px; gap: 46px; }
  .hero-visual { display: none; }
  .hero-buttons .button { width: 100%; }
  .section { padding-block: 72px; }
  .arbschulio-section:not(.hero).is-style-arbschulio-compact-white,
  .arbschulio-section:not(.hero).is-style-arbschulio-compact-soft { padding-block: 46px; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .pillar { padding: 30px; }
  .as-portal-grid { grid-template-columns: 1fr; }
  .as-portal-feature { min-height: 0; }
  .as-showcase-section { padding-block: 56px; }
  .as-showcase-points { grid-template-columns: 1fr; gap: 24px; }
  .as-showcase-image img { border-width: 4px; border-radius: 12px; }
  .as-product-grid, .as-compact-offers-grid { grid-template-columns: 1fr; }
  .as-product-card, .as-compact-offer { gap: 16px; padding: 23px; }
  .as-product-icon, .as-compact-offer-icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 29px; }
  .as-product-heading > p:last-child { font-size: 17px; }
  .as-quick-cta-section { padding-block: 24px; }
  .as-quick-cta-bar { align-items: flex-start; flex-direction: column; gap: 6px; padding: 19px 22px; }
  .cta { padding-block: 64px; }
  .cta-box { padding: 42px 30px; flex-direction: column; align-items: flex-start; }
  .legal-hero-inner { padding-block: 48px; }
  .legal-layout { padding-block: 54px 72px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { margin: 0; }
}

/* About page modules. All copy is in editable blocks; illustrations are theme assets. */
.hero-about { background: linear-gradient(115deg, #f5faff 0%, #edf8ff 62%, #f4fcf7 100%); }
.hero-about::after { display: none; }
.hero-about .as-about-hero-inner { min-height: 520px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; padding-block: 60px; }
.hero-about h1 { max-width: 750px; font-size: clamp(2.55rem, 3vw, 3.05rem); }
.hero-about .hero-lead { max-width: 650px; }
.as-about-hero-art { min-height: 405px; isolation: isolate; }
.as-about-hero-art::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 310px; left: 22px; top: 66px; border-radius: 50%; background: #dceeff; }
.as-about-hero-art::after { content: ""; position: absolute; z-index: 4; width: 112px; height: 112px; left: 215px; top: 8px; background: url('assets/images/hero-health-lio.svg') center / contain no-repeat; transform: rotate(6deg); pointer-events: none; }
.as-about-paper { position: absolute; z-index: 2; display: grid; place-items: center; width: min(195px, calc((100% - 22px)/2)); height: 210px; padding: 18px; border-radius: 21px; background: #fff; box-shadow: 0 22px 48px rgba(12,43,84,.11); text-align: center; }
.as-about-paper-main { left: -6px; top: 129px; transform: rotate(-7deg); }
.as-about-paper-side { z-index: 3; right: -6px; top: 143px; transform: rotate(3deg); align-content: center; gap: 13px; }
.as-about-paper-main p { margin: 0; color: var(--navy); font: 700 clamp(1rem, 1.5vw, 1.27rem)/1.25 'Segoe Print','Bradley Hand','Comic Sans MS',cursive; }
.as-about-paper-main p::after { content: ""; display: block; width: 75%; height: 3px; margin: 13px auto 0; background: var(--green); transform: rotate(-3deg); }
.as-about-paper-side p.as-about-check { position: relative; width: 100%; margin: 0; padding-left: 28px; text-align: left; color: var(--navy); font: 700 clamp(.94rem, 1.3vw, 1.18rem)/1.3 'Segoe Print','Bradley Hand','Comic Sans MS',cursive; }
.as-about-paper-side .as-about-check::before { content: "✓"; position: absolute; left: 0; top: -4px; color: var(--green); font: 700 27px/1.2 sans-serif; }
.hero-about.is-style-arbschulio-white { background: #fff; }
.hero-about.is-style-arbschulio-soft { background: var(--soft-blue); }
.hero-about.is-style-arbschulio-navy { background: var(--navy); }
.hero-about.is-style-arbschulio-navy h1 { color: #fff; }
.hero-about.is-style-arbschulio-navy .hero-lead { color: #d5e3f1; }
.hero-about.is-style-arbschulio-navy .eyebrow { color: #8be4a4; }

.as-about-story-section { padding-block: 86px; }
.as-about-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); align-items: center; gap: 65px; }
.as-about-story-copy h2 { max-width: 650px; margin: 15px 0 20px; font-size: clamp(1.85rem, 2.6vw, 2.35rem); }
.as-about-story-copy > p:last-child { max-width: 675px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.as-about-story-visual { position: relative; min-height: 320px; }
.as-about-story-image { width: 100%; height: 320px; margin: 0; }
.as-about-story-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.as-about-story-note { position: absolute; top: 92px; right: 4%; margin: 0; color: var(--navy); font: 700 clamp(1.2rem, 1.7vw, 1.6rem)/1.35 'Segoe Print','Bradley Hand','Comic Sans MS',cursive; transform: rotate(-7deg); }
.as-about-story-note::after { content: ""; display: block; width: 80%; height: 3px; margin: 8px auto 0; background: var(--green); transform: rotate(-4deg); }
.as-about-working-section .as-about-story-note { top: 62px; right: 21%; font-size: clamp(1.03rem, 1.4vw, 1.28rem); transform: rotate(4deg); }
.as-about-story-section.is-style-arbschulio-navy .as-about-story-copy h2,
.as-about-story-section.is-style-arbschulio-navy .as-about-story-note { color: #fff; }
.as-about-story-section.is-style-arbschulio-navy .as-about-story-copy > p:last-child { color: #d5e3f1; }
.as-about-story-section.is-style-arbschulio-navy .eyebrow { color: #8be4a4; }

.as-about-team-section { padding-block: 88px; }
.as-about-team-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); align-items: center; gap: 45px; }
.as-about-team-copy h2 { margin: 15px 0 12px; font-size: clamp(1.85rem, 2.6vw, 2.4rem); }
.as-about-company { margin: 0 0 14px; color: var(--navy); font-size: 21px; font-weight: 750; }
.as-about-team-copy > p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.as-about-team-visual { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 242px; }
.as-about-team-visual::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 202px; border-radius: 45% 55% 42% 58%; background: #ddf6ed; transform: rotate(-12deg) translateX(-14px); }
.as-about-team-visual::after { content: ""; position: absolute; z-index: -2; width: 220px; height: 180px; border-radius: 60% 40% 50% 50%; background: #dbeafe; transform: rotate(14deg) translate(24px,22px); }
.as-about-team-visual p { margin: 0; color: var(--navy); font: 700 clamp(1.32rem, 1.7vw, 1.75rem)/1.35 'Segoe Print','Bradley Hand','Comic Sans MS',cursive; transform: rotate(-9deg); }
.as-about-team-visual p::after { content: ""; display: block; width: 80%; height: 3px; margin: 7px auto 0; background: var(--green); }
.as-about-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 52px; }
.as-about-value { min-width: 0; padding-right: 32px; }
.as-about-value + .as-about-value { padding-left: 35px; border-left: 1px solid var(--line); }
.as-about-value::before { content: ""; display: block; width: 57px; height: 57px; margin-bottom: 18px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.as-about-value-clear::before { background-image: url('assets/images/about-speech.svg'); }
.as-about-value-personal::before { background-image: url('assets/images/about-team.svg'); }
.as-about-value-practical::before { background-image: url('assets/images/about-gear.svg'); }
.as-about-value h3 { margin: 0 0 9px; font-size: 21px; }
.as-about-value p { max-width: 345px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.as-about-team-section.is-style-arbschulio-navy h2,
.as-about-team-section.is-style-arbschulio-navy h3,
.as-about-team-section.is-style-arbschulio-navy .as-about-company,
.as-about-team-section.is-style-arbschulio-navy .as-about-team-visual p { color: #fff; }
.as-about-team-section.is-style-arbschulio-navy .as-about-team-copy > p:last-child,
.as-about-team-section.is-style-arbschulio-navy .as-about-value p { color: #d5e3f1; }
.as-about-team-section.is-style-arbschulio-navy .eyebrow { color: #8be4a4; }

/* One site-wide eyebrow treatment: green rule, navy text. */
.arbschulio-section .eyebrow { color: var(--navy); }
.arbschulio-section.is-style-arbschulio-navy .eyebrow { color: #fff; }

@media (max-width: 1020px) {
  .hero-about .as-about-hero-inner { grid-template-columns: 1fr; }
  .as-about-hero-art { width: min(530px,100%); }
  .as-about-story-grid { grid-template-columns: 1fr; gap: 20px; }
  .as-about-team-intro { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 700px) {
  .hero-about .hero-visual { display: block; }
  .hero-about .as-about-hero-inner { gap: 22px; padding-block: 55px 37px; }
  .hero-about h1 { font-size: clamp(2.12rem,8.5vw,3rem); }
  .as-about-hero-art { min-height: 294px; }
  .as-about-hero-art::before { width: 260px; height: 245px; left: 12px; top: 36px; }
  .as-about-hero-art::after { width: 78px; height: 78px; left: 44%; top: 0; }
  .as-about-paper { width: min(160px, calc((100% - 20px)/2)); height: 166px; padding: 13px; border-radius: 16px; }
  .as-about-paper-main { left: 0; top: 92px; }
  .as-about-paper-side { right: 0; top: 99px; gap: 9px; }
  .as-about-paper-main p { font-size: 1.02rem; }
  .as-about-paper-side p.as-about-check { font-size: .84rem; padding-left: 20px; }
  .as-about-paper-side .as-about-check::before { font-size: 21px; }
  .as-about-story-section, .as-about-team-section { padding-block: 66px; }
  .as-about-story-visual { min-height: 245px; }
  .as-about-story-image { height: 245px; }
  .as-about-story-note { top: 66px; right: 4%; font-size: 1.1rem; }
  .as-about-working-section .as-about-story-note { top: 39px; right: 17%; font-size: .88rem; }
  .as-about-team-visual { min-height: 185px; }
  .as-about-values { grid-template-columns: 1fr; gap: 27px; margin-top: 35px; }
  .as-about-value, .as-about-value + .as-about-value { padding: 0; border: 0; }
  .as-about-value::before { width: 48px; height: 48px; margin-bottom: 10px; }
}
