/* ── FreiesRohr24 Service Page Layout Classes ─────────────────────────────── */

/* Hero full-bleed */
.hero-full{position:relative;background:#071220;overflow:hidden;min-height:500px;display:flex;align-items:center}
.hero-img-bg{position:absolute;right:0;top:0;bottom:0;width:68%;pointer-events:none;z-index:1}
.hero-img-bg img{width:100%;height:100%;object-fit:cover;display:block}
.hero-img-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,#071220 0%,#071220 10%,rgba(7,18,32,.94) 28%,rgba(7,18,32,.65) 52%,rgba(7,18,32,.18) 78%,transparent 100%)}
.hero-wrap{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:88px 24px;width:100%}
.hero-text-col{max-width:510px}
.hero-text-col h1{font-size:clamp(32px,4.5vw,54px);color:#fff;line-height:1.12;margin-bottom:20px;font-weight:900}
.hero-text-col h1 span{color:#28ABE1}
.hero-text-col .hero-sub{font-size:16px;color:rgba(255,255,255,.72);line-height:1.7;margin-bottom:30px;max-width:480px}
.hero-text-col .hero-note{color:rgba(255,255,255,.45);font-size:13px;margin-top:14px}
.ki-label{position:absolute;bottom:8px;right:8px;font-size:8px;color:rgba(255,255,255,.25);letter-spacing:.05em;background:rgba(0,0,0,.2);padding:2px 5px;border-radius:3px}

/* Common section styles */
.section{padding:72px 0}
.section--gray{background:#f4f8fc;padding:72px 0}
.section--dark{background:#071220;color:#fff;padding:72px 0}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.section-eyebrow{font-size:11px;font-weight:700;color:#28ABE1;text-transform:uppercase;letter-spacing:.18em;margin-bottom:12px;text-align:center}
.section-title{font-size:clamp(26px,3.5vw,40px);font-weight:900;color:#0a0f1a;text-align:center;margin-bottom:16px;line-height:1.2}
.section-title--white{color:#fff}
.section-sub{font-size:16px;color:#555;text-align:center;max-width:600px;margin:0 auto 48px;line-height:1.7}

/* Trust bar */
.trust-bar{background:#0c1e38;padding:28px 0}
.trust-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.trust-item{text-align:center}
.trust-num{font-size:28px;font-weight:900;color:#28ABE1;display:block}
.trust-lbl{font-size:13px;color:rgba(255,255,255,.7);margin-top:4px}

/* Cards */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card{background:#fff;border-radius:16px;padding:28px;box-shadow:0 2px 16px rgba(0,20,40,.07)}
.card h3{font-size:17px;font-weight:700;color:#0a0f1a;margin-bottom:8px}
.card p{font-size:14px;color:#666;line-height:1.6}

/* Process steps */
.process-steps{display:flex;gap:0;position:relative;counter-reset:step}
.process-step{flex:1;text-align:center;padding:0 16px;position:relative}
.process-step::before{counter-increment:step;content:counter(step);width:40px;height:40px;background:#28ABE1;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;margin:0 auto 16px}
.process-step::after{content:"";position:absolute;top:20px;left:50%;width:100%;height:2px;background:rgba(40,171,225,.3);z-index:-1}
.process-step:last-child::after{display:none}
.process-step h4{font-size:15px;font-weight:700;color:#0a0f1a;margin-bottom:6px}
.process-step p{font-size:13px;color:#666;line-height:1.5}

/* Photo strip */
.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.photo-card{border-radius:12px;overflow:hidden;position:relative;background:#e0e8f0;min-height:220px}
.photo-card img{width:100%;height:220px;object-fit:cover;display:block}
.photo-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(7,18,32,.85),transparent);padding:16px 14px 12px}
.photo-caption strong{display:block;color:#fff;font-size:14px;font-weight:700}
.photo-caption span{color:rgba(255,255,255,.7);font-size:12px}

/* GIF animation two-column */
.gif-section{background:#0a1628;padding:56px 0}
.gif-section h3{color:#fff;font-size:22px;font-weight:700;margin:0 0 8px;text-align:center}
.gif-section .gif-sub{color:rgba(255,255,255,.6);font-size:15px;margin:0 0 32px;text-align:center;line-height:1.6}
.gif-layout{display:grid;grid-template-columns:auto 1fr;gap:52px;align-items:center;max-width:1060px;margin:0 auto}
.gif-anim-col{flex-shrink:0}
.gif-frame{background:#071220;border-radius:14px;padding:24px 28px;border:1px solid rgba(40,171,225,.2);display:inline-block}
.gif-text-col h3{color:#fff;font-size:24px;font-weight:700;margin:0 0 14px;line-height:1.3;text-align:left}
.gif-text-col .gif-sub{color:rgba(255,255,255,.72);font-size:15px;line-height:1.8;margin:0;text-align:left}
@media(max-width:900px){.gif-layout{grid-template-columns:1fr}.gif-anim-col{text-align:center}}

/* Reviews */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.review-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 2px 12px rgba(0,20,40,.07)}
.review-stars{color:#f59e0b;font-size:16px;margin-bottom:10px}
.review-text{font-size:14px;color:#444;line-height:1.6;margin-bottom:14px;font-style:italic}
.review-author{font-size:13px;font-weight:700;color:#0a0f1a}
.review-source{font-size:11px;color:#888;margin-top:2px}

/* FAQ accordion */
.faq-section{padding:60px 0;background:#f4f8fc}
.faq{display:flex;flex-direction:column;gap:10px;max-width:780px;margin:28px auto 0}
.faq-item{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(0,20,40,.06)}
.faq-q{width:100%;background:none;border:none;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:15px;font-weight:700;color:#0a0f1a;text-align:left;gap:16px}
.faq-arrow{width:24px;height:24px;border-radius:50%;background:rgba(40,171,225,.13);display:flex;align-items:center;justify-content:center;transition:.25s;flex-shrink:0;font-size:12px;color:#28ABE1;font-weight:700}
.faq-q.faq-open .faq-arrow{background:#28ABE1;color:#fff;transform:rotate(90deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .32s ease}
.faq-a.faq-open{max-height:300px}
.faq-a p{padding:0 24px 18px;font-size:14px;color:#555;line-height:1.7}

/* CTA strip */
.cta-strip{background:#0a1628;padding:32px 0}
.cta-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.cta-text h3{color:#fff;font-weight:700;font-size:18px;margin:0}
.cta-text p{color:rgba(255,255,255,.6);font-size:13px;margin:4px 0 0}

/* Button styles */
.btn-primary{background:#28ABE1;color:#fff;padding:14px 28px;border-radius:10px;font-weight:700;font-size:15px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;border:none;cursor:pointer}
.btn-secondary{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;padding:14px 24px;border-radius:10px;font-weight:600;font-size:15px;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.eyebrow{font-size:11px;font-weight:700;color:#28ABE1;text-transform:uppercase;letter-spacing:.18em;margin-bottom:14px;display:block}

/* Header phone pulse */
.header-phone,.btn.btn-primary{animation:ctaPulse 2.2s ease-in-out infinite}
@keyframes ctaPulse{0%,100%{box-shadow:0 4px 14px rgba(40,171,225,.35);transform:scale(1)}50%{box-shadow:0 4px 28px rgba(40,171,225,.65),0 0 0 7px rgba(40,171,225,.12);transform:scale(1.05)}}

/* ── Landing Page: Hard override of all WP wrapper constraints ─────────────── */
/* These rules ensure no WordPress or theme default style leaks into landing pages */
body.is-landing-page #page,
body.is-landing-page .site{padding:0!important;margin:0!important;background:transparent!important}
body.is-landing-page .site-main{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;overflow:visible!important}
body.is-landing-page .hentry,
body.is-landing-page .lp-entry{margin:0!important;padding:0!important;border:none!important;background:none!important}
body.is-landing-page .entry-header,
body.is-landing-page .page-header,
body.is-landing-page .entry-footer,
body.is-landing-page .entry-meta,
body.is-landing-page .breadcrumb-area{display:none!important}

/* Section backgrounds — force correct theme colors against style.css .section--dark override */
body.is-landing-page .section--dark{background:#071220!important;color:#fff!important;padding:72px 0!important}
body.is-landing-page .section--gray{background:#f4f8fc!important;padding:72px 0!important}
body.is-landing-page .section{padding:72px 0!important}

/* Typography fixes — override global h1/h2/h3 colors set in style.css */
body.is-landing-page .hero-text-col h1{font-size:clamp(32px,4.5vw,54px)!important;color:#fff!important;line-height:1.12!important;font-weight:900!important;margin-bottom:20px!important}
body.is-landing-page .hero-text-col h1 span{color:#28ABE1!important}
body.is-landing-page .section-title{font-size:clamp(26px,3.5vw,40px)!important;font-weight:900!important;color:#0a0f1a!important;margin-bottom:16px!important}
body.is-landing-page .section-title--white{color:#fff!important}
body.is-landing-page .section-eyebrow{color:#28ABE1!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.18em!important}
body.is-landing-page .card h3{font-size:17px!important;color:#0a0f1a!important;font-weight:700!important;margin-bottom:8px!important}
body.is-landing-page .card p{font-size:14px!important;color:#666!important;line-height:1.6!important;margin:0!important}
body.is-landing-page .process-step h4{font-size:15px!important;color:#0a0f1a!important;font-weight:700!important;margin-bottom:6px!important}
body.is-landing-page .process-step p{font-size:13px!important;color:#666!important;line-height:1.5!important;margin:0!important}
body.is-landing-page .gif-text-col h3{color:#fff!important;font-size:24px!important;font-weight:700!important;text-align:left!important}

/* Elementor: when canvas/full-width mode, let sections remain edge-to-edge */
body.elementor-page.is-landing-page .elementor-section-boxed>.elementor-container{max-width:1200px}
body.is-landing-page .elementor-widget-container{padding:0!important}

/* ── GIF Animation keyframes ──────────────────────────────────────────────── */
@keyframes gMoveR{0%{transform:translateX(0)}70%{transform:translateX(220px)}100%{transform:translateX(220px)}}
@keyframes gBreak{0%,40%{opacity:1;transform:scale(1)}60%{opacity:.3;transform:scale(1.4,.5)}80%,100%{opacity:0;transform:scale(2,.1)}}
@keyframes gFlow{0%{transform:translateX(-10px);opacity:0}15%{opacity:.8}85%{opacity:.8}100%{transform:translateX(290px);opacity:0}}
@keyframes gDrop{0%{transform:translateY(-60px);opacity:0}20%{opacity:1}75%{opacity:1}100%{transform:translateY(90px);opacity:0}}
@keyframes gScan{0%,100%{transform:translateX(0)}50%{transform:translateX(250px)}}
@keyframes gCam{0%{transform:translateX(0)}65%{transform:translateX(185px)}100%{transform:translateX(185px)}}
@keyframes gRotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes gSpray{0%,100%{opacity:0;transform:scaleX(.05)}30%,70%{opacity:1;transform:scaleX(1)}}
@keyframes gPulse{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes gBlink{0%,100%{opacity:0}50%{opacity:1}}
@keyframes gFadeIn{0%,55%{opacity:0;transform:scale(.6)}75%,100%{opacity:1;transform:scale(1)}}
@keyframes gLineR{0%{stroke-dashoffset:280}100%{stroke-dashoffset:0}}
@keyframes gRise{0%,20%{height:0}55%,100%{height:38px}}
@keyframes gDebL{0%{transform:translate(0,0);opacity:0}40%{opacity:1}100%{transform:translate(-22px,-16px);opacity:0}}
@keyframes gDebR{0%{transform:translate(0,0);opacity:0}40%{opacity:1}100%{transform:translate(22px,-16px);opacity:0}}
@keyframes gTechUp{0%{transform:translateY(0)}30%{transform:translateY(0)}55%{transform:translateY(-44px)}80%{transform:translateY(-44px)}100%{transform:translateY(-88px)}}
@keyframes gCalChk{0%,75%{opacity:0}100%{opacity:1}}
@keyframes gFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes gMoveR2{0%{transform:translateX(-10px)}80%{transform:translateX(200px)}100%{transform:translateX(200px)}}
