/* FRONTELIER · D+ Rollenverteilung, ohne Eingriff in Shoplogik oder geschützten Admin. */
:root{--flx-sans:var(--font-ui);--flx-serif:var(--font-serif);--h14-font:var(--font-ui)}
html,body{font-family:var(--font-ui)!important;font-synthesis:none}
body :is(button,input,select,textarea,option,label,nav,a,small,legend,summary,td,th,p,li,ol,ul,figcaption,footer){font-family:var(--font-ui)!important}
body input,body textarea,body select{font-size:max(16px,1em)}
body h1,body h2{font-family:var(--font-display)!important;font-weight:400!important;font-style:normal!important;letter-spacing:-.02em}
body :is(q,blockquote){font-family:var(--font-serif)!important;font-weight:400!important;font-style:normal!important}
body :is(h3,h4,h5,h6){font-family:var(--font-ui)!important}
/* Explicit serif roles: project cards, decorative color names and review quotes. */
body :is(.flx-project-text h3,.flx-color-body strong,.fr-pro-subtitle,.flx .flx-color-name,.decor-name,.decor-name-label,.fr-h21-card blockquote,.fr-h21-inline blockquote){font-family:var(--font-serif)!important;font-style:normal!important;font-weight:400!important}
body :is(.hero-entry-card strong,.flx .flx-color-body strong){font-family:var(--font-serif)!important;font-weight:400!important;font-style:normal!important}
body :is(.flx-price b,.flx-price strong:not(.flx-label)){font-family:var(--font-display)!important;font-style:normal!important;font-weight:400!important;font-variant-numeric:tabular-nums}
/* Prices inside shopping processes retain the existing values, not a display face. */
body :is(.price,.price-value,.price-total,.total-price,.cart-total,.checkout-total,.quote-total,.summary-price,.planner-price){font-family:var(--font-ui)!important;font-variant-numeric:tabular-nums}
body :is(.hero-cinematic h1){font-family:var(--font-display)!important;font-weight:400!important;font-size:64px!important;line-height:1.02!important;letter-spacing:-.02em!important}
body .hero-cinematic h1 .hero-system-line{white-space:nowrap}
body .hero-entry-grid .hero-entry-card strong{font-family:var(--font-serif)!important;font-weight:400!important;font-style:normal!important;font-size:28px!important;line-height:1.13!important}
body .hero-entry-grid .hero-entry-card .hero-v579-description{font-family:var(--font-ui)!important;font-size:14px!important;line-height:1.48!important}
body .hero-entry-grid .hero-entry-card .hero-v579-button{font-family:var(--font-ui)!important;font-weight:600!important;font-size:14px!important}
body :is(.flx-hero-review-quote,.flx-reviews-merged .flx-project-text blockquote,.flx-price-review q){font-family:var(--font-serif)!important;font-size:18px!important;font-style:normal!important;font-weight:400!important;line-height:1.35!important}
body .flx .flx-sec h2{font-family:var(--font-display)!important;font-weight:400!important;font-style:normal!important;font-size:40px!important;line-height:1.07!important}
body .flx .flx-prices .flx-price b{font-family:var(--font-display)!important;font-weight:400!important;font-size:28px!important}
body .flx .flx-color-body strong{font-family:var(--font-serif)!important;font-weight:400!important;font-size:22px!important}
body .flx .flx-project-text h3{font-family:var(--font-serif)!important;font-weight:400!important;font-size:22px!important}
body .frontelier-hero-trust{font-family:var(--font-ui)!important}
body .frontelier-hero-trust strong{font-family:var(--font-ui)!important;font-weight:700!important}
body .hero-cinematic-independence{font-family:var(--font-ui)!important;font-size:12px!important;line-height:1.4!important}
body .flx-hero-review-author,body .flx-hero-platform small{font-family:var(--font-ui)!important;font-size:12px!important}
body .flx-hero-review-more,body .hero-quiet-links a{font-family:var(--font-ui)!important;font-size:14px!important}
body .hero-v579-eyebrow,body .flx .flx-eyebrow{font-family:var(--font-ui)!important;font-size:12px!important;letter-spacing:.14em!important;font-weight:700!important}
body .flx .flx-btn,body .hero-quiet-links a{font-family:var(--font-ui)!important;font-weight:600!important}
/* Public planners, studio and checkout: UI font only; preserve their individual layouts and price logic. */
body :is(.planner-app,.planner-page,.studio-page,.checkout-page,.cart-page){font-family:var(--font-ui)!important}
body :is(.planner-app,.planner-page,.studio-page,.checkout-page) :is(input,select,textarea){font-family:var(--font-ui)!important;font-size:max(16px,1em)!important}
/* Landingpages: keep their HTML, headings and structured data unchanged. */
body.seo-page main h1{font-family:var(--font-display)!important;font-weight:400!important;line-height:1.07!important}
body.seo-page main h2{font-family:var(--font-display)!important;font-weight:400!important}
body.seo-page main :is(.fr-h21-inline blockquote,.fr-pro-review blockquote){font-family:var(--font-serif)!important;font-weight:400!important;font-style:normal!important}
@media(min-width:761px){
 body .hero-cinematic-copy{max-width:880px!important}
 body .hero-cinematic h1{max-width:860px!important}
 body .flx-hero-reviews-stage{align-items:stretch}
 body .flx-hero-review{justify-content:flex-start}
 body .flx-hero-review-meta{margin-top:auto}
}
@media(max-width:760px){
 body .hero-cinematic h1{font-size:40px!important;line-height:1.02!important;letter-spacing:-.02em!important;max-width:min(100%,540px)!important}
 body .hero-cinematic h1 .hero-system-line{white-space:normal}
 body .hero-entry-grid .hero-entry-card strong{font-size:22px!important;line-height:1.12!important}
 body .hero-entry-grid .hero-entry-card .hero-v579-description{font-size:14px!important;line-height:1.35!important;max-width:255px!important}
 body .hero-entry-grid .hero-entry-card .hero-v579-button{font-size:14px!important}
 body .flx .flx-sec h2{font-size:28px!important;line-height:1.1!important}
 body .flx .flx-prices .flx-price b{font-size:18px!important}
 body .flx .flx-color-body strong{font-size:18px!important}
 body .flx-hero-review-quote{font-size:18px!important;line-height:1.23!important}
 body .flx-hero-review-author{font-size:12px!important;white-space:normal!important}
 body .flx-hero-review-more{font-size:12px!important}
 body .hero-quiet-links a{font-size:12px!important}
 body .flx-hero-review-meta{flex-wrap:wrap!important;gap:5px!important;padding-right:0!important}
 body .flx-hero-platform small{display:none!important}
 body .hero-v579-eyebrow{font-size:12px!important}
 body .flx .flx-sec h2{font-weight:400!important}
 body .hero-v581-photo-content{min-height:calc(clamp(520px,76svh,690px) - 359px)!important}
}
@media(max-width:365px){body .flx-hero-review-author{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){body .flx-hero-review{transition:none!important}}

/* D+ priority over the many versioned inline hero rules: deliberate high specificity. */
html body.home-page .hero-cinematic h1{
 font-family:var(--font-display)!important;font-weight:400!important;font-style:normal!important;
 font-size:64px!important;line-height:1.02!important;letter-spacing:-.02em!important;
 max-width:880px!important;text-wrap:initial!important;
}
html body.home-page .hero-cinematic h1 .hero-system-line{white-space:nowrap}
html body.home-page .flx .flx-sec h2{
 font-family:var(--font-display)!important;font-weight:400!important;font-style:normal!important;
 font-size:40px!important;line-height:1.07!important;
}
html body.home-page .hero-entry-grid .hero-entry-card strong{
 font-family:var(--font-serif)!important;font-style:normal!important;font-weight:400!important;
 font-size:28px!important;line-height:1.13!important;
}
html body.home-page .flx-hero-review-quote{
 font-family:var(--font-serif)!important;font-weight:400!important;font-style:normal!important;font-size:18px!important;
}
@media(max-width:760px){
 html body.home-page .hero-cinematic h1{
  font-size:40px!important;line-height:1.02!important;max-width:100%!important;
 }
 html body.home-page .hero-cinematic h1 .hero-system-line{white-space:normal}
 html body.home-page .flx .flx-sec h2{font-size:28px!important}
 html body.home-page .hero-entry-grid .hero-entry-card strong{font-size:22px!important}
}

/* D+ fit: wider desktop journey cards; no enlargement of small-screen content width. */
@media(min-width:1121px){
 html body.home-page .hero-cinematic-copy{max-width:980px!important}
 html body.home-page .hero-v579-grid{width:min(980px,100%)!important;max-width:980px!important}
 html body.home-page .hero-v579-grid .hero-entry-card strong{max-width:none!important}
 html body.home-page .hero-v579-grid>.hero-entry-card{gap:10px!important}
}
@media(min-width:761px) and (max-width:1120px){
 html body.home-page .hero-cinematic h1{font-size:48px!important;max-width:min(100%,840px)!important}
 html body.home-page .hero-entry-grid .hero-entry-card strong{font-size:22px!important}
 html body.home-page .hero-v579-grid .hero-entry-card strong{max-width:none!important}
}

/* Reserve the measured quote height before the first JS/font frame to avoid a mobile layout jump. */
@media(max-width:760px){html body.home-page .flx-hero-reviews-stage{height:96px}}
@media(max-width:365px){html body.home-page .flx-hero-reviews-stage{height:120px}}

/* The studio had an older high-specificity system-font override: replace only that display layer. */
html body.studio-page{font-family:var(--font-ui)!important}
html body.studio-page input:not([type="hidden"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]),
html body.studio-page textarea,html body.studio-page select{
 font-family:var(--font-ui)!important;font-size:16px!important;
}
