/* FACH-FAKTURA Hauptseite 2.1.7. Scoped additions to the existing R8.4 theme. */
body.ffhp-page{--ffhp-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--ffhp-ink:#241c2b;--ffhp-brand:#961981;--ffhp-dark:#661156;--ffhp-line:#e7dfe7;font-family:var(--ffhp-font);font-size:17px;line-height:1.65}
body.ffhp-page :is(.site-head,#inhalt,.site-footer),body.ffhp-page :is(.site-head,#inhalt,.site-footer) :is(h1,h2,h3,h4,p,a,span,strong,b,small,label,input,select,textarea,button,summary,li,address){font-family:var(--ffhp-font)}
body.ffhp-page :is(.site-head,#inhalt,.site-footer) :is(h1,h2,h3,h4,p,a,span,strong,b,small,label,summary,li,address){word-break:normal;overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual}
body.ffhp-page #inhalt h1{font-size:clamp(34px,4.2vw,56px)!important;line-height:1.14!important;letter-spacing:-.035em!important}
body.ffhp-page #inhalt h1 .brandtext,body.ffhp-page #inhalt h1 .brandtext *{-webkit-hyphens:none;hyphens:none}
body.ffhp-page #inhalt h2{font-size:clamp(28px,3.1vw,42px)!important;line-height:1.2!important;letter-spacing:-.035em}
body.ffhp-page #inhalt h3{font-size:22px;line-height:1.3;letter-spacing:-.02em}
body.ffhp-page .container{width:min(1168px,calc(100% - 48px));margin-inline:auto}
body.ffhp-page .hero-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:center}
body.ffhp-page .eyebrow{font-size:12px;letter-spacing:.11em;line-height:1.6}
body.ffhp-page .hero-links{display:flex;gap:12px;flex-wrap:wrap}
body.ffhp-page .btn{font-size:15px;line-height:1.5;min-height:48px;padding:12px 18px;letter-spacing:0;-webkit-hyphens:none;hyphens:none;text-align:center}
body.ffhp-page :is(.logo,.logo-text,.logo-sub,.menu-button){-webkit-hyphens:none;hyphens:none}
body.ffhp-page .ffhp-first-note{font-size:13px!important;line-height:1.65;margin:14px 0 0!important;color:#5b5362}
body.ffhp-page :is(.nav-links,.mobile-panel) .btn{font-size:13px}
body.ffhp-page .nav-links{gap:18px}
body.ffhp-page :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #961981;outline-offset:4px}
body.ffhp-page .panel-deep :is(a,button,summary):focus-visible,body.ffhp-page .ffhp-footer :focus-visible{outline-color:#f2d658}
body.ffhp-page .panel-deep a:not(.btn),body.ffhp-page .contact-final>.container>:is(.contact-head,.contact-privacy) a:not(.btn){color:#f2d658;text-decoration:underline;text-underline-offset:3px}
body.ffhp-page .panel-deep a:not(.btn):is(:visited,:link),body.ffhp-page .contact-final>.container>:is(.contact-head,.contact-privacy) a:not(.btn):is(:visited,:link){color:#f2d658}
body.ffhp-page .panel-deep a:not(.btn):is(:hover,:focus-visible),body.ffhp-page .contact-final>.container>:is(.contact-head,.contact-privacy) a:not(.btn):is(:hover,:focus-visible){color:#ffe578}
body.ffhp-page .ffhp-sectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.ffhp-page .ffhp-sector{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--ffhp-line);border-radius:12px;background:#fff;padding:24px}
body.ffhp-page .ffhp-sector h3{margin:0 0 12px}
body.ffhp-page .ffhp-sector h3 a{color:var(--ffhp-ink);text-decoration:none}
body.ffhp-page .ffhp-sector h3 a::after{content:"";position:absolute;inset:0;border-radius:12px}
body.ffhp-page .ffhp-sector:focus-within{outline:3px solid var(--ffhp-brand);outline-offset:3px}
body.ffhp-page .ffhp-sector p{font-size:15px;line-height:1.65;flex-grow:1;margin:0 0 18px;color:#5b5362}
body.ffhp-page .ffhp-sector>span{color:var(--ffhp-dark);font-size:13px;font-weight:750}
body.ffhp-page .ffhp-card-note{margin-top:24px;font-size:15px}
body.ffhp-page .ffhp-card-note a,body.ffhp-page .ffhp-booking-alternative a{color:var(--ffhp-dark);font-weight:700;text-underline-offset:3px}
body.ffhp-page .ffhp-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.ffhp-page .benefit-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.ffhp-page .ffhp-three article{padding:24px;border:1px solid var(--ffhp-line);border-radius:12px;background:#fff;min-width:0}
body.ffhp-page .ffhp-three article>span{display:block;font-size:12px;font-weight:750;color:var(--ffhp-brand);margin-bottom:14px}
body.ffhp-page .ffhp-three p{font-size:15px;line-height:1.65;margin-bottom:0}
body.ffhp-page .ffhp-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body.ffhp-page .ffhp-faq-grid>div{display:grid;gap:10px;min-width:0}
body.ffhp-page .ffhp-faq-item{margin:0;border:1px solid #dfcfdd;background:#fff;border-radius:10px;overflow:hidden}
body.ffhp-page .ffhp-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:16px 18px;list-style:none;cursor:pointer}
body.ffhp-page .ffhp-faq-item summary::-webkit-details-marker{display:none}
body.ffhp-page .ffhp-faq-item summary h3{margin:0;font-size:15px!important;line-height:1.5!important;letter-spacing:0;font-weight:700}
body.ffhp-page .ffhp-faq-icon{color:var(--ffhp-brand);flex:none;font-weight:500;font-size:20px;line-height:1}
body.ffhp-page .ffhp-faq-item[open] .ffhp-faq-icon{transform:rotate(45deg)}
body.ffhp-page .ffhp-faq-answer{padding:0 18px 18px;font-size:15px;line-height:1.7;color:#5b5362}
body.ffhp-page .ffhp-faq-answer p:last-child{margin-bottom:0}
body.ffhp-page .ffhp-faq-answer a{color:var(--ffhp-dark)}
body.ffhp-page .ff-r84-form-shell :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea){font-family:var(--ffhp-font);font-weight:400;font-size:16px;font-style:normal;line-height:1.5;min-width:0;width:100%}
body.ffhp-page .ff-r84-form-shell :is(input,textarea)::placeholder{font-family:var(--ffhp-font);font-weight:400;font-style:normal;opacity:1;color:#62566b}
body.ffhp-page .ff-r84-form-shell input[type="submit"]{font-weight:750;font-size:15px;line-height:1.5;white-space:normal;max-width:100%}
body.ffhp-page .ff-r84-form-shell .cf-turnstile{max-width:100%}
body.ffhp-page .ffhp-booking{background:#faf3f9}
body.ffhp-page .ffhp-booking-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:24px}
body.ffhp-page .ffhp-booking-points p{font-size:15px;line-height:1.65}
body.ffhp-page .ffhp-calendar-frame{border:1px solid var(--ffhp-line);border-radius:12px;background:#fff;overflow:hidden}
body.ffhp-page .ffhp-calendar-intro{padding:24px}
body.ffhp-page .ffhp-calendar-intro>p{font-size:13px;line-height:1.65;max-width:760px}
body.ffhp-page .ffhp-calendar-intro a{color:var(--ffhp-dark)}
body.ffhp-page #ffhp-calendar-host{width:100%;min-width:320px;min-height:760px}
body.ffhp-page #ffhp-calendar-host[hidden]{display:none}
body.ffhp-page #ffhp-calendar-host iframe{display:block;width:100%;border:0}
body.ffhp-page .ffhp-booking-alternative{font-size:13px;line-height:1.75;margin-top:18px}
body.ffhp-page .ffhp-footer{padding:28px 0 18px;background:#231a29;color:#f4edf4}
body.ffhp-page .ffhp-footer-top{display:flex;justify-content:space-between;gap:24px;align-items:start;border-bottom:1px solid #59445d;padding-bottom:18px}
body.ffhp-page .ffhp-footer-top strong{font-size:15px;letter-spacing:.045em}
body.ffhp-page .ffhp-footer-top p{font-size:13px;line-height:1.6;color:#d9cbdc;margin:5px 0 0}
body.ffhp-page .ffhp-footer address{font-size:12px;line-height:1.65;font-style:normal;text-align:right;color:#d9cbdc}
body.ffhp-page .ffhp-footer-label{font-size:12px;letter-spacing:.09em;font-weight:800;text-transform:uppercase;margin:18px 0 8px;color:#eadfeb}
body.ffhp-page .ffhp-footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 20px;list-style:none;margin:0;padding:0}
body.ffhp-page .ffhp-footer-links li{min-width:0}
body.ffhp-page .ffhp-footer-links a{display:flex;align-items:center;min-height:38px;padding:4px 0;font-size:13px;line-height:1.5;color:#e5d8e7;text-decoration:none}
body.ffhp-page .ffhp-footer-links a[aria-current="page"]{color:white;font-weight:800;text-decoration:underline;text-decoration-color:#f2d658;text-underline-offset:5px}
body.ffhp-page .ffhp-footer-links a.ffhp-footer-talk{color:#f2d658;font-weight:750}
body.ffhp-page .ffhp-footer-links a:is(:hover,:focus-visible){color:white;text-decoration:underline}
body.ffhp-page .ffhp-footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #59445d;margin-top:18px;padding-top:14px;font-size:11px;color:#cdbed1}
body.ffhp-page .ffhp-footer-bottom nav{display:flex;gap:18px}
body.ffhp-page .ffhp-footer-bottom a{font-size:12px;min-height:28px;display:inline-flex;align-items:center;color:#e5d8e7;text-decoration:none}
@media(max-width:1100px){body.ffhp-page .nav-links{display:none}body.ffhp-page .menu-button{display:inline-flex}body.ffhp-page .hero-layout{gap:30px}}
@media(max-width:980px){body.ffhp-page .hero-layout{grid-template-columns:1fr}body.ffhp-page .hero-portrait{max-width:520px;justify-self:center;width:100%}body.ffhp-page .ffhp-sectors{grid-template-columns:repeat(2,minmax(0,1fr))}body.ffhp-page .ffhp-three,body.ffhp-page .benefit-tiles{grid-template-columns:1fr}}
@media(min-width:521px) and (max-width:980px){body.ffhp-page .ffhp-sector:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:760px){body.ffhp-page .ffhp-three,body.ffhp-page .ffhp-booking-points,body.ffhp-page .benefit-tiles{grid-template-columns:1fr}body.ffhp-page .ffhp-faq-grid{grid-template-columns:1fr}body.ffhp-page .ffhp-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.ffhp-page .container{width:calc(100% - 32px)}body.ffhp-page{font-size:16px}body.ffhp-page .panel{padding-block:48px}body.ffhp-page .ffhp-sector{padding:22px}body.ffhp-page .ffhp-footer-links a{min-height:44px}}
@media(max-width:640px){body.ffhp-page .cred-grid{grid-template-columns:1fr}}
@media(max-width:560px){body.ffhp-page .ff-r84-form-shell .form-half,body.ffhp-page .ff-r84-form-shell .form-full{width:100%;flex-basis:100%;grid-column:1/-1}body.ffhp-page .ff-r84-form-shell .form-row{display:grid;grid-template-columns:1fr}}
@media(max-width:520px){body.ffhp-page .ffhp-sectors{grid-template-columns:1fr}body.ffhp-page .hero-links{align-items:stretch;flex-direction:column}body.ffhp-page .hero-links .btn{width:100%}body.ffhp-page .ffhp-calendar-frame{width:100vw;margin-inline:calc((100% - 100vw)/2);border-inline:0;border-radius:0}body.ffhp-page .ffhp-calendar-intro{padding:20px 16px}}
@media(max-width:520px){body.ffhp-page #software .ff-software-seven{grid-template-columns:repeat(2,minmax(0,1fr))}body.ffhp-page #software .ff-software-seven>span{grid-column:auto;min-height:48px}body.ffhp-page #software .ff-software-seven>span:last-child{grid-column:1/-1}}
@media(max-width:380px){body.ffhp-page .ffhp-footer-top{flex-direction:column;gap:12px}body.ffhp-page .ffhp-footer address{text-align:left}body.ffhp-page .ffhp-footer-bottom{flex-direction:column;gap:8px}}

/* White form islands own their colors; a colored ancestor must not recolor them. */
body.ffhp-page .btn{border:1px solid transparent;appearance:none}
body.ffhp-page .btn:hover{transform:none}
body.ffhp-page .btn-primary,body.ffhp-page .btn-primary:is(:link,:visited){color:#fff;background:#961981;border-color:#961981;text-decoration:none}
body.ffhp-page .btn-primary:is(:hover,:focus-visible){color:#fff;background:#661156;border-color:#661156;text-decoration:none}
body.ffhp-page .btn-outline,body.ffhp-page .btn-outline:is(:link,:visited){color:#661156;background:#fff;border-color:#b78bae;text-decoration:none}
body.ffhp-page .btn-outline:is(:hover,:focus-visible){color:#661156;background:#faf3f9;border-color:#961981;text-decoration:none}
body.ffhp-page .ff-r84-form-shell{color:#241c2b;background:#fff}
body.ffhp-page .ff-r84-form-shell a:not(.ff-r84-form-choice-link):not(.btn),body.ffhp-page .ff-r84-form-shell a:not(.ff-r84-form-choice-link):not(.btn):is(:link,:visited){color:#661156;text-decoration:underline;text-underline-offset:3px}
body.ffhp-page .ff-r84-form-shell a:not(.ff-r84-form-choice-link):not(.btn):is(:hover,:focus-visible){color:#961981}
body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:600px;margin-bottom:24px}
body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice-link,body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice-link:is(:link,:visited){min-width:0;width:100%;min-height:50px;padding:12px 16px;background:#fff;color:#661156;border:1px solid #b78bae;text-decoration:none;font-size:15px;line-height:1.5;text-align:center}
body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice-link:is(:hover,:focus-visible){background:#faf3f9;color:#661156;border-color:#961981;text-decoration:none}
body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice-link.is-current,body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice-link.is-current:is(:link,:visited){background:#961981;color:#fff;border-color:#961981;text-decoration:none}
body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice-link.is-current:is(:hover,:focus-visible){background:#661156;color:#fff;border-color:#661156;text-decoration:none}
body.ffhp-page .ff-r84-form-shell :is(a,input,select,textarea,button):focus-visible{outline:3px solid #961981;outline-offset:3px}
body.ffhp-page .ff-r84-form-shell input[type="submit"]{appearance:none;background:#961981;color:#fff;border:1px solid #961981;border-radius:10px}
body.ffhp-page .ff-r84-form-shell input[type="submit"]:is(:hover,:focus-visible){background:#661156;border-color:#661156;color:#fff}
body.ffhp-page #ff-anfrage-formular:focus:not(:focus-visible){outline:none}
body.ffhp-page #ff-anfrage-formular:focus-visible{outline:3px solid #f2d658;outline-offset:4px}
@media(max-width:560px){body.ffhp-page .ff-r84-form-shell .ff-r84-form-choice{grid-template-columns:1fr;max-width:none}}

/* Native fragment scrolling: measured sticky header once, no second section margin. */
html[data-ffhp-page]{scroll-padding-top:var(--ffhp-scroll-offset,var(--nav-height));scroll-behavior:auto}
body.ffhp-page .site-head{top:var(--ffhp-admin-offset,0px)}
body.ffhp-page #inhalt,body.ffhp-page #inhalt [id],body.ffhp-page #start{scroll-margin-top:0;scroll-margin-block-start:0}
body.ffhp-page .ffhp-start-anchor{display:block;width:0;height:0;margin:0;padding:0;border:0;overflow:hidden}
