/* A&P: Public unified visual system built on the user's restored PHP project.
   Loaded after site.css and ap27-home.css. Does not affect admin.css. */
:root{--ap-magenta:#f719ad;--ap-violet:#9d55e4;--ap-cyan:#06d9ec;--ap-bg:#030408;--ap-surface:#0b0e17;--ap-text:#f6f8ff;--ap-muted:#bdc7d8;--ap-border:#2c3548;--ap-gradient:linear-gradient(108deg,#fa18aa,#a55be1,#05d9ed)}
html{scroll-behavior:smooth}body{background:var(--ap-bg)!important;color:var(--ap-text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body :is(h1,h2,h3,h4){font-family:inherit} .container{width:min(1220px,92vw)}
/* Identical navigation on every publicly rendered route */
.topbar{position:sticky!important;top:0;z-index:1000!important;background:#030408!important;border-bottom:1px solid #252631!important;box-shadow:0 10px 25px #0008!important;backdrop-filter:blur(15px)}
.topbar .nav{min-height:78px;gap:clamp(10px,1.5vw,24px)}
.topbar .brand{min-width:0;flex:0 0 auto}.topbar .brand img{display:block;width:clamp(165px,16vw,205px)!important;height:68px!important;max-width:100%;border:0;border-radius:0!important;object-fit:contain!important;object-position:left center!important;filter:drop-shadow(0 0 9px #ef22a233)}
.topbar .nav-links{gap:clamp(8px,1vw,17px);font-size:13px;margin-left:auto;color:#f6f7fd}
.topbar .nav-links a,.topbar .dropbtn{font-size:13px;color:#f6f7fd;padding:10px 5px;font-weight:700}
.topbar .nav-links :is(a,.dropbtn):hover{color:#13e1f2}
.topbar .nav-cta{white-space:nowrap!important;min-height:42px;padding:9px 14px;border-radius:11px!important;background:linear-gradient(#080b13,#080b13) padding-box,var(--ap-gradient) border-box!important;border:1px solid transparent!important;color:#fff!important;box-shadow:0 0 15px #03d7ed2a!important}
.topbar .dropdown-menu{background:#0b0d15!important;border:1px solid #34364c!important;border-radius:12px}
.topbar .menu-toggle{background:#080d16;border:1px solid #287b8a;color:#fff}
/* Exact shared hero markup is emitted for home and subpages by render_ap_unified_hero(). */
.ap-public-hero{background:#030408!important;color:#fff!important}
.ap-public-hero .ap27-hero{background:radial-gradient(ellipse at 78% 10%,#102333 0%,transparent 46%),#020307!important}
.ap-public-hero .ap27-hero-inner{grid-template-columns:1fr 1.12fr;gap:12px;min-height:490px;padding-top:30px;padding-bottom:10px}
.ap-public-hero .ap27-hero-copy{padding:12px 0}
.ap-public-hero .ap27-hero h1{font-family:inherit!important;font-size:clamp(2.55rem,4.45vw,4.65rem)!important;font-weight:850!important;letter-spacing:-.052em!important;line-height:1.035!important;color:#fff!important;margin-bottom:13px!important}
.ap-public-hero .ap27-hero h1 :is(span,.gold){background:var(--ap-gradient);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
.ap-public-hero .ap27-intro{color:#eef1f9!important;max-width:645px;font-size:clamp(.95rem,1.13vw,1.15rem);line-height:1.45}
.ap-public-hero .ap27-slogan{color:#fff!important}
.ap-public-hero .ap27-trust span{color:#f8f8fe!important}
.ap-public-hero .ap27-actions .ap27-button{color:#fff!important;min-height:50px;border-radius:13px;font-weight:750;text-decoration:none}
.ap-public-hero .ap27-actions .ap27-primary{background:linear-gradient(105deg,#ef159e,#a62bca)!important;border-color:#f86bce!important}
.ap-public-hero .ap27-actions .ap27-outline{background:#06131d!important;border-color:#03d9ec!important}
.ap-public-hero .ap27-van img{max-height:485px!important;object-fit:contain!important;width:100%;height:auto!important;border:0!important;filter:drop-shadow(0 20px 18px #0009)!important}
.ap-public-hero .ap27-stats{padding:10px 0 23px;gap:20px}
.ap-public-hero .ap27-wave{height:8px!important}
/* Existing content below hero retains its structure while matching the new identity. */
.section,.hp4-section{color:#eef1fa}
.section.paper,.section.dark,.home-v400 .hp4-section,.home-v400 .hp4-bottom{background:#080a12!important;color:#eff1fa!important}
.section.paper:nth-of-type(even),.home-v400 .hp4-section:nth-of-type(even){background:#05070e!important}
.section :is(h2,h3,h4),.hp4-section :is(h2,h3,h4){color:#fff!important}
.section :is(p,li,.lead),.hp4-section p{color:#dce3ef}
.card,.mini-card,.pricing-card,.faq-item,.form-panel,.assistant-card,.hp4-service-card,.hp4-price-example{background:#10131e!important;color:#f7f7fd!important;border:1px solid #36384c!important;box-shadow:0 14px 32px #0006}
.card :is(p,li),.mini-card span,.price-note,.faq-answer,.hp4-service-card p{color:#ccd3e0!important}
.btn.btn-gold,.hp4-actions .btn-gold{background:linear-gradient(105deg,#ed149f,#924bd1)!important;color:#fff!important;border:1px solid #fa64d2!important;border-radius:12px!important;box-shadow:0 0 16px #ec149f3d!important}
.btn.btn-light,.btn.btn-dark,.hp4-btn-outline{background:#08141f!important;border:1px solid #12cde5!important;color:#fff!important;border-radius:12px!important}
.gold,.gold-text,.section h2 .gold,.hp4-section em{color:#f071d0!important}
.eyebrow,.eyebrow.gold,.hp4-kicker{color:#ee75cf!important}
.section .check-list li:before{color:#03d9ec!important}
.faq-item button{background:#10131e!important;color:#fff!important}
.content p,.content li{color:#cbd3e0!important}
.field input,.field select,.field textarea,.assistant-card :is(input,select,textarea),.aps-fastform :is(input,select,textarea){background:#090e18!important;color:#fff!important;border-color:#45495f!important;color-scheme:dark}
.field label,.consent{color:#e9edf9!important}
.field input::placeholder,.field textarea::placeholder{color:#8e9aae}
.notice,.legal-note,.summary-box{background:#151724!important;color:#e8edfa!important;border-color:#8756c9!important}
.footer{background:#030408!important;color:#e4e7ef;border-top:1px solid #33364b!important}
.footer a,.footer p,.footer span{color:#cdd5e2!important}.footer h3{color:#e58bdc!important}
.footer-logo{width:225px;max-height:100px;object-fit:contain;border-radius:0}
.mobile-cta{background:#030408!important;border-top:1px solid #39354e!important}
.mobile-cta a:last-child{color:#fff!important;background:linear-gradient(105deg,#eb159f,#8058d6)!important}
.photo-wa-float{z-index:130}
:is(a,button,input,select,textarea):focus-visible{outline:2px solid #03d9ec!important;outline-offset:3px}
/* Background & nav remain the same at every breakpoint */
@media(max-width:1160px){.topbar .nav-links{display:none;position:absolute;top:100%;left:0;right:0;margin:0!important;padding:16px;flex-direction:column;align-items:stretch;background:#070b13!important;border:1px solid #303448;border-radius:0 0 14px 14px;box-shadow:0 18px 40px #000a}.topbar .nav.open .nav-links{display:flex}.topbar .menu-toggle{display:block;margin-left:auto}.topbar .nav-cta{display:none}.topbar .dropdown-menu{display:grid;position:static;margin-top:6px}}
@media(max-width:900px){.ap-public-hero .ap27-hero-inner{grid-template-columns:1fr;min-height:0;padding-top:30px;padding-bottom:10px}.ap-public-hero .ap27-van img{max-height:380px!important}.ap-public-hero .ap27-stats{justify-content:center}}
@media(max-width:650px){.topbar .nav{min-height:69px}.topbar .brand img{width:166px!important;height:59px!important}.ap-public-hero .ap27-hero h1{font-size:clamp(2.15rem,9vw,3.2rem)!important}.ap-public-hero .ap27-actions{display:grid;grid-template-columns:1fr}.ap-public-hero .ap27-actions .ap27-button{width:100%}.ap-public-hero .ap27-trust{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ap-public-hero .ap27-van img{max-height:300px!important}.ap-public-hero .ap27-stats{gap:10px;padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ap-public-hero .ap27-button{transition:none!important}}

/* R3: shared header/mobile navigation refinement; same on every public route. */
.topbar .nav{position:relative;}
.topbar .nav-links{min-width:0;}
.topbar .dropdown-menu a{line-height:1.4;}
.topbar .nav-links a:focus-visible,.topbar .dropbtn:focus-visible,.topbar .menu-toggle:focus-visible{outline:2px solid #03d9ec!important;outline-offset:3px;}
.ap-public-hero .ap27-hero-inner{width:min(1220px,92vw);}
.ap-public-hero .ap27-hero-copy,.ap-public-hero .ap27-van{min-width:0;}
.ap-public-hero .ap27-hero h1{overflow-wrap:break-word;}
@media(max-width:1160px){
 .topbar .nav{flex-wrap:nowrap;}
 .topbar .nav-links{max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;}
 .topbar .nav-links a,.topbar .dropbtn{display:block;padding:12px 10px;font-size:15px;}
 .topbar .dropdown-menu{min-width:0;width:100%;} 
 .topbar .dropdown-menu a{padding:10px 16px;}
}
@media(max-width:650px){
 .ap-public-hero .ap27-hero-inner{width:min(1220px,92vw);}
 .ap-public-hero .ap27-overline{letter-spacing:.13em;}
 .ap-public-hero .ap27-actions .ap27-button{justify-content:center;text-align:center;white-space:normal;}
 .ap-public-hero .ap27-stats{justify-content:center;}
}

/* R4: submenu is collapsed on touch/mobile until deliberately opened. */
@media(max-width:1160px){
 .topbar .dropdown-menu{display:none!important;}
 .topbar .dropdown.is-open .dropdown-menu{display:grid!important;}
 .topbar .dropdown .dropbtn{width:100%;text-align:left;}
}
@media(min-width:1161px){
 .topbar .dropdown.is-open .dropdown-menu{display:grid;}
}
.hp4-example-note{font-size:.78rem;line-height:1.55;color:#bec6d5;margin-top:10px;}

/* R5 quality pass: readable, consistent public header and unobstructed CTAs. */
.ap-r5-cta-note{margin:12px 0 0;color:#bfc8da!important;font-size:.82rem;line-height:1.45}
.ap-public-hero .ap27-overline{line-height:1.45}
.ap-public-hero .ap27-intro{line-height:1.55!important}
.ap-public-hero .ap27-van img{display:block;aspect-ratio:auto;max-width:100%}
.topbar .brand{min-width:0!important}
.topbar .nav-links{align-items:center}
.topbar .nav-links .dropbtn{cursor:pointer}
.topbar .dropdown-menu{z-index:30}
.topbar .nav-links .dropdown-menu a{white-space:normal}
.topbar .menu-toggle{cursor:pointer}
:is(.ap27-button,.btn,.nav-links a,.dropbtn,.menu-toggle):focus-visible{outline:3px solid #16dfec!important;outline-offset:3px!important}
@media(max-width:1160px){
  .topbar .nav-links{z-index:1100}
  .topbar .nav-links .dropdown-menu{margin:0 0 12px}
  .topbar .nav-links .dropdown-menu a{padding-left:22px}
}
@media(max-width:760px){
  .photo-wa-float{display:none!important}
  .ap-public-hero .ap27-trust span{min-width:0;overflow-wrap:anywhere}
  .ap-public-hero .ap27-actions{margin-top:18px}
  .ap-public-hero .ap27-van{min-height:0}
  .hp4-service-grid,.hp4-example-columns{min-width:0}
  .hp4-price-example{min-width:0;overflow-wrap:break-word}
  main{padding-bottom:56px}
}
@media(prefers-reduced-motion:reduce){.reveal{transition:none!important}}

/* A&P R10: Google-Bewertungsleisten ausschließlich auf der Startseite.
   Sicherheitsregel gegen alte Aufrufe aus Unterseiten-Templates.
   Normale Leistungsversprechen (ohne Google-Wertungen) bleiben sichtbar. */
body.ap-page-inner .ap27-stats,
body.ap-page-inner .live-review-section,
body.ap-page-inner .home-trust-strip,
body.ap-page-inner .google-live-badge { display: none !important; }
