/*
Theme Name: EmanCopys Static
Theme URI: https://emancopys.com
Author: EmanCopys
Description: Schlankes Theme — vollständig statisch, ohne Elementor, ohne CDN.
Version: 1.3
*/

/* ────────────────────────────────────────────────────────────
   VARIABLEN — von functions.php überschreibbar
   ──────────────────────────────────────────────────────────── */
:root{
  --brand:#233e84;
  --brand-dark:#1a2e63;
  --brand-light:#2a4a9e;
  --accent:#f53d3d;
  --accent-dark:#b72d2d;
  --ink:#0f1218;
  --muted:#5a6273;
  --soft:#f7f9fc;
  --slate:#f1f5f9;
  --border:#e2e8f0;
  --container:1140px;
}

/* RESET */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);line-height:1.5;-webkit-font-smoothing:antialiased;background:#fff}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none}
h1,h2,h3,h4{line-height:1.15;font-weight:700;letter-spacing:-.02em}
p{line-height:1.65}

/* CONTAINER — Desktop 24px, Mobile 20px */
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
@media (min-width:768px){.container{padding:0 24px}}

/* HEADER */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;transition:background .3s ease,box-shadow .3s ease}
.site-header.scrolled{background:rgba(255,255,255,.95);backdrop-filter:blur(10px);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.site-header.scrolled .nav-link{color:var(--ink)}
.site-header.scrolled .nav-brand{color:var(--ink)}
.site-header.scrolled .nav-toggle{background:rgba(15,18,24,.06);border-color:rgba(15,18,24,.12);color:var(--ink)}

/* Bei hellem Hero (split, minimal) ODER auf Unterseiten → Header-Text dunkel sofort */
body.has-hero-split-right .site-header:not(.scrolled) .nav-link,
body.has-hero-minimal    .site-header:not(.scrolled) .nav-link,
body.has-hero-light      .site-header:not(.scrolled) .nav-link{color:var(--ink) !important}
body.has-hero-split-right .site-header:not(.scrolled) .nav-link:hover,
body.has-hero-minimal    .site-header:not(.scrolled) .nav-link:hover,
body.has-hero-light      .site-header:not(.scrolled) .nav-link:hover{color:var(--brand) !important}
body.has-hero-split-right .site-header:not(.scrolled) .nav-brand,
body.has-hero-minimal    .site-header:not(.scrolled) .nav-brand,
body.has-hero-light      .site-header:not(.scrolled) .nav-brand{color:var(--ink) !important}
body.has-hero-split-right .site-header:not(.scrolled) .btn-phone,
body.has-hero-minimal    .site-header:not(.scrolled) .btn-phone,
body.has-hero-light      .site-header:not(.scrolled) .btn-phone{background:var(--brand);color:#fff}
body.has-hero-split-right .site-header:not(.scrolled) .nav-toggle,
body.has-hero-minimal    .site-header:not(.scrolled) .nav-toggle,
body.has-hero-light      .site-header:not(.scrolled) .nav-toggle{background:rgba(15,18,24,.06);border-color:rgba(15,18,24,.12);color:var(--ink)}
.site-header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;max-width:var(--container);margin:0 auto;gap:12px}
@media (min-width:768px){.site-header-inner{padding:18px 24px}}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:42px;width:auto;display:block}
.brand-logo-fallback{width:40px;height:40px;border-radius:8px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800}
.nav-brand{color:#fff;font-weight:700;letter-spacing:-.01em}
.nav{display:flex;align-items:center;gap:32px}
.nav-link{color:rgba(255,255,255,.9);font-size:14px;font-weight:500;transition:color .2s}
.nav-link:hover{color:#fff}
.site-header.scrolled .nav-link:hover{color:var(--brand)}
.btn-phone{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--brand);padding:10px 18px;border-radius:8px;font-weight:600;font-size:14px;transition:transform .2s,box-shadow .2s}
.btn-phone:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.12)}
.btn-phone svg{width:16px;height:16px}
@media (max-width:768px){
  .nav-desktop{display:none !important}
  .btn-phone{display:none !important}
}
@media (min-width:769px){
  .nav-toggle{display:none !important}
  .nav-desktop{display:flex !important;align-items:center;gap:32px}
}

/* HAMBURGER */
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:rgba(255,255,255,.1);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.2);border-radius:10px;cursor:pointer;color:#fff;transition:background .2s}
.nav-toggle:hover{background:rgba(255,255,255,.2)}
.site-header.scrolled .nav-toggle{background:rgba(15,18,24,.06);border-color:rgba(15,18,24,.12);color:var(--ink)}
.nav-toggle svg{width:22px;height:22px}

/* Mobile-Menü-Drawer */
.nav-mobile{position:fixed;inset:0;background:rgba(15,18,24,.97);backdrop-filter:blur(20px);z-index:99;display:none;flex-direction:column;padding:80px 20px 40px;overflow-y:auto}
.nav-mobile.open{display:flex}
.nav-mobile a{color:#fff;font-size:1.4rem;font-weight:600;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between}
.nav-mobile a::after{content:"→";color:rgba(255,255,255,.4);font-weight:400}
.nav-mobile .btn-mobile-call{margin-top:32px;background:var(--accent);color:#fff;padding:18px 24px;border-radius:12px;border:0;text-align:center;justify-content:center}
.nav-mobile .btn-mobile-call::after{content:""}
.nav-mobile-close{position:absolute;top:18px;right:18px;width:42px;height:42px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:10px;color:#fff;font-size:22px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
body.nav-open{overflow:hidden}

/* HERO */
section.hero{position:relative;min-height:100vh;display:flex;align-items:center;color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,18,24,.85) 0%,rgba(15,18,24,.7) 50%,rgba(35,62,132,.4) 100%)}
.hero-inner{position:relative;z-index:1;padding:120px 20px 80px;max-width:var(--container);margin:0 auto;width:100%}
@media (min-width:768px){.hero-inner{padding:160px 24px 100px}}
.hero-content{max-width:780px}
.hero-pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2);border-radius:9999px;padding:6px 14px;font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;margin-bottom:24px}
.hero-pill-dot{width:8px;height:8px;border-radius:50%;background:#34d399;animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
.hero h1{font-size:clamp(2rem,5.5vw,4.5rem);font-weight:800;line-height:1.1;margin-bottom:20px}
.hero-sub{font-size:clamp(1rem,1.4vw,1.2rem);color:rgba(255,255,255,.85);line-height:1.6;margin-bottom:40px;max-width:620px}
.hero-cta-row{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:40px}
.btn-primary{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;padding:16px 28px;border-radius:12px;font-weight:600;font-size:15px;box-shadow:0 8px 20px rgba(245,61,61,.3);transition:transform .25s,box-shadow .25s,background .25s}
.btn-primary:hover{background:var(--accent-dark);transform:translateY(-2px);box-shadow:0 12px 28px rgba(245,61,61,.4)}
.btn-primary svg{width:18px;height:18px}
.btn-ghost{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3);color:#fff;padding:16px 28px;border-radius:12px;font-weight:600;font-size:15px;transition:background .25s}
.btn-ghost:hover{background:rgba(255,255,255,.2)}
.btn-ghost svg{width:18px;height:18px}
.hero-badges{display:flex;flex-wrap:wrap;column-gap:32px;row-gap:12px;font-size:14px;font-weight:500;color:rgba(255,255,255,.75)}
.hero-badges-item{display:flex;align-items:center;gap:8px}
.hero-badges-item svg{width:16px;height:16px;color:#34d399}
.hero-scroll{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.6);transition:color .2s}
.hero-scroll:hover{color:#fff}
.hero-scroll svg{width:24px;height:24px;animation:bounce 2s infinite}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}

/* SECTION basics — Mobile kompakter */
.section{padding:64px 0}
.section-tight{padding:48px 0}
@media (min-width:768px){.section{padding:96px 0}.section-tight{padding:72px 0}}
.section-dark{background:var(--ink);color:#fff}
.section-soft{background:var(--soft)}
.section-slate{background:var(--slate)}
.section-head{text-align:center;max-width:680px;margin:0 auto 64px}
.section-kicker{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.section h2{font-size:clamp(1.8rem,3.8vw,2.8rem);margin-bottom:18px}
.section-dark h2{color:#fff}
.section-sub{font-size:1.05rem;color:var(--muted)}
.section-dark .section-sub{color:rgba(255,255,255,.7)}

/* STATS */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:48px 24px;text-align:center}
@media (min-width:768px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat-value{font-size:clamp(2.5rem,4.5vw,3.4rem);font-weight:800;color:var(--brand);letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-bottom:6px}
.stat-label{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* ABOUT */
.about-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:center}
@media (min-width:768px){.about-grid{grid-template-columns:1fr 1fr;gap:80px}}
.about-text h2{margin-bottom:20px;font-size:clamp(1.6rem,3.5vw,2.6rem)}
.about-text p{font-size:1rem;color:var(--muted);margin-bottom:16px;line-height:1.7}
@media (min-width:768px){.about-text p{font-size:1.08rem}}
.about-badges{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px;margin-bottom:24px}
@media (min-width:480px){.about-badges{grid-template-columns:repeat(3,1fr);gap:14px}}
.about-badge{background:#fff;border-radius:12px;padding:18px;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.about-badge-title{font-size:1.2rem;font-weight:700;color:var(--brand);margin-bottom:4px;letter-spacing:-.01em}
.about-badge-desc{font-size:12px;color:var(--muted);line-height:1.4}
.about-image-wrap{position:relative}
/* Mobile: Bild bei image-left-Variante unten zeigen (bessere UX) */
@media (max-width:767px){.about-mobile-img-bottom{order:2}}
.about-image{border-radius:16px;width:100%;aspect-ratio:4/3;object-fit:cover;box-shadow:0 18px 48px rgba(0,0,0,.12)}
@media (min-width:768px){.about-image{aspect-ratio:4/5}}
.text-link{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-weight:600;transition:gap .2s}
.text-link:hover{gap:10px}
.text-link svg{width:18px;height:18px}

/* LEISTUNGEN */
.leist-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:640px){.leist-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.leist-grid.cols-3{grid-template-columns:repeat(3,1fr)}.leist-grid.cols-4{grid-template-columns:repeat(4,1fr)}}
.leist-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:transform .3s,box-shadow .3s}
.leist-card:hover{transform:translateY(-4px);box-shadow:0 18px 48px rgba(0,0,0,.12)}
.leist-card-img{aspect-ratio:4/3;overflow:hidden;background:#eee}
.leist-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.leist-card:hover .leist-card-img img{transform:scale(1.05)}
.leist-card-body{padding:24px}
.leist-card h3{font-size:1.25rem;margin-bottom:10px}
.leist-card-desc{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:16px}
.leist-card-preis{font-size:12px;font-weight:700;color:var(--brand);margin-bottom:12px}
.leist-card-link{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--brand);transition:gap .2s}
.leist-card-link:hover{gap:8px}

/* PROCESS */
.process-grid{display:grid;grid-template-columns:1fr;gap:32px;position:relative}
@media (min-width:768px){.process-grid.cols-3{grid-template-columns:repeat(3,1fr)}.process-grid.cols-4{grid-template-columns:repeat(4,1fr)}.process-grid.cols-5{grid-template-columns:repeat(5,1fr)}}
.process-line{display:none}
@media (min-width:768px){.process-line{display:block;position:absolute;top:48px;left:10%;right:10%;height:1px;background:linear-gradient(to right,transparent,rgba(255,255,255,.2),transparent)}}
.process-step{position:relative;background:var(--ink);z-index:1;text-align:center}
.process-num{width:88px;height:88px;margin:0 auto 22px;border-radius:18px;border:1px solid rgba(35,62,132,.4);background:rgba(35,62,132,.2);display:grid;place-items:center;font-size:1.6rem;font-weight:800;color:#fff}
.process-step.last .process-num{border-color:rgba(245,61,61,.4);background:rgba(245,61,61,.2)}
.process-step h3{font-size:1.15rem;margin-bottom:10px}
.process-step p{color:rgba(255,255,255,.7);line-height:1.6}

/* TESTIMONIALS */
.testimonials{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:768px){.testimonials{grid-template-columns:repeat(3,1fr)}}
.testimonial{background:#fff;border-radius:16px;padding:28px;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.testimonial-stars{color:var(--accent);font-size:18px;margin-bottom:14px;letter-spacing:1px}
.testimonial-text{color:#334155;line-height:1.65;margin-bottom:20px;font-size:.96rem}
.testimonial-name{font-weight:600;font-size:.96rem}
.testimonial-role{font-size:13px;color:var(--muted);margin-top:2px}

/* FAQ */
.faq-wrap{max-width:760px;margin:0 auto}
.faq-item{background:var(--soft);border:1px solid var(--border);border-radius:12px;margin-bottom:10px;transition:background .2s}
.faq-item:hover{background:var(--slate)}
.faq-summary{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;font-weight:600;font-size:1rem;cursor:pointer;list-style:none}
.faq-summary::-webkit-details-marker{display:none}
.faq-chevron{width:18px;height:18px;color:var(--brand);transition:transform .25s}
.faq-item[open] .faq-chevron{transform:rotate(180deg)}
.faq-body{padding:0 22px 20px;color:var(--muted);line-height:1.7;font-size:.96rem}

/* CTA */
.cta{position:relative;overflow:hidden;color:#fff;padding:64px 0}
@media (min-width:768px){.cta{padding:96px 0}}
.cta-bg{position:absolute;inset:0;background:linear-gradient(135deg,var(--brand-dark) 0%,var(--brand) 50%,var(--brand-light) 100%)}
.cta-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.1),transparent 40%),radial-gradient(circle at 80% 70%,rgba(245,61,61,.15),transparent 40%)}
.cta-inner{position:relative;z-index:1;text-align:center;max-width:760px;margin:0 auto;padding:0 20px}
@media (min-width:768px){.cta-inner{padding:0 24px}}
.cta h2{font-size:clamp(1.7rem,4vw,3rem);margin-bottom:14px;line-height:1.15}
.cta-sub{font-size:1.05rem;color:rgba(255,255,255,.85);margin-bottom:32px;line-height:1.5}
@media (min-width:768px){.cta-sub{font-size:1.2rem;margin-bottom:40px}}
.cta-buttons{display:flex;flex-direction:column;gap:12px;margin-bottom:36px}
@media (min-width:520px){.cta-buttons{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:16px;margin-bottom:48px}}
.cta-buttons a{justify-content:center}
.btn-light,.btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:12px;font-weight:600;font-size:.95rem;max-width:100%;box-sizing:border-box;white-space:nowrap;transition:transform .25s,background .25s}
@media (min-width:520px){.btn-light,.btn-outline{padding:16px 28px;font-size:1rem}}
.btn-light{background:#fff;color:var(--brand);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.btn-light:hover{transform:translateY(-2px)}
.btn-outline{background:rgba(255,255,255,.1);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3);color:#fff}
.btn-outline:hover{background:rgba(255,255,255,.2)}
.btn-light svg,.btn-outline svg{width:18px;height:18px;flex-shrink:0}
.cta-info{display:grid;grid-template-columns:1fr;gap:18px;max-width:640px;margin:0 auto;padding-top:24px;border-top:1px solid rgba(255,255,255,.2);text-align:left}
@media (min-width:640px){.cta-info{grid-template-columns:repeat(3,1fr);gap:24px;padding-top:32px;text-align:center}}
.cta-info-block{padding:6px 0}
.cta-info-block .cta-info-label{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:8px}
.cta-info-block .cta-info-value{font-weight:600}

/* FOOTER */
.site-footer{background:var(--ink);color:rgba(255,255,255,.8);padding:64px 0 32px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:40px;margin-bottom:40px}
@media (min-width:768px){.footer-grid{grid-template-columns:repeat(3,1fr)}}
.footer-firma{color:#fff;font-weight:700;font-size:1.1rem;margin-bottom:12px}
.footer-text{font-size:14px;line-height:1.65;color:rgba(255,255,255,.6)}
.footer-label{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:14px}
.footer-list{list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14px}
.footer-list a:hover{color:#fff}
.footer-bar{border-top:1px solid rgba(255,255,255,.1);padding-top:24px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:space-between;font-size:14px;color:rgba(255,255,255,.6)}
@media (min-width:768px){.footer-bar{flex-direction:row}}
.footer-bar a{color:#fff;text-decoration:underline}
.footer-bar a:hover{color:var(--accent)}

/* ──────────────────────────────────────────────────────
   HERO · Variante "split" — Bild rechts, Text+CTA links
   ────────────────────────────────────────────────────── */
section.hero-split{position:relative;min-height:100vh;display:flex;align-items:center;color:var(--ink);overflow:hidden;background:#fff}
.hero-split-inner{display:grid;grid-template-columns:1fr;gap:0;width:100%;max-width:1400px;margin:0 auto}
@media (min-width:900px){.hero-split-inner{grid-template-columns:1fr 1fr;min-height:100vh}}
.hero-split-text{padding:120px 24px 60px;display:flex;flex-direction:column;justify-content:center}
@media (min-width:900px){.hero-split-text{padding:60px 60px 60px 80px}}
.hero-split-img{background-size:cover;background-position:center;aspect-ratio:4/3;min-height:280px}
@media (min-width:900px){.hero-split-img{aspect-ratio:auto;min-height:100vh}}
.hero-split-text .hero-pill{background:rgba(0,0,0,.06);border-color:rgba(0,0,0,.1);color:var(--ink);backdrop-filter:none}
.hero-split-text h1{color:var(--ink);font-size:clamp(2rem,4.2vw,3.4rem)}
.hero-split-text .hero-sub{color:var(--muted)}
.hero-split-text .btn-ghost{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.12);color:var(--ink)}
.hero-split-text .btn-ghost:hover{background:rgba(0,0,0,.08)}
.hero-split-text .hero-badges{color:var(--muted)}
.hero-split-text .hero-badges-item svg{color:var(--brand)}

/* HERO · Variante "minimal-centered" */
section.hero-minimal{position:relative;min-height:90vh;display:flex;align-items:center;color:var(--ink);overflow:hidden;background:linear-gradient(135deg,#fafafa 0%,#f0f4f8 100%);text-align:center}
section.hero-minimal::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 20% 30%,var(--brand-light) 0%,transparent 30%),radial-gradient(circle at 80% 70%,var(--brand) 0%,transparent 30%);opacity:.08}
.hero-minimal-inner{position:relative;z-index:1;max-width:920px;margin:0 auto;padding:140px 20px 80px}
.hero-minimal h1{color:var(--ink);font-size:clamp(2.4rem,5vw,4.2rem);margin-bottom:24px}
.hero-minimal .hero-sub{color:var(--muted);max-width:680px;margin:0 auto 36px}
.hero-minimal .hero-cta-row{justify-content:center}
.hero-minimal .hero-pill{background:#fff;border-color:rgba(0,0,0,.08);color:var(--ink);margin:0 auto 24px}
.hero-minimal-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:880px;margin:48px auto 0;padding-top:36px;border-top:1px solid rgba(0,0,0,.08)}
@media (min-width:768px){.hero-minimal-stats{grid-template-columns:repeat(4,1fr)}}
.hero-minimal-stat-v{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--brand);letter-spacing:-.04em}
.hero-minimal-stat-l{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:4px}

/* ──────────────────────────────────────────────────────
   ABOUT · Variante "image-top-overlap"
   ────────────────────────────────────────────────────── */
.about-overlap{max-width:1100px;margin:0 auto;position:relative}
.about-overlap-img{width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:16px;box-shadow:0 24px 48px rgba(0,0,0,.12)}
.about-overlap-card{background:#fff;border-radius:16px;box-shadow:0 24px 48px rgba(0,0,0,.1);padding:36px 32px;max-width:880px;margin:-80px auto 0;position:relative;z-index:1}
.about-overlap-card h2{margin-bottom:18px}
.about-overlap-card p{font-size:1.06rem;color:var(--muted);line-height:1.7;margin-bottom:16px}
.about-overlap-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}
@media (min-width:520px){.about-overlap-stats{grid-template-columns:repeat(3,1fr)}}

/* ABOUT · Variante "quote-side" — Bild + großes Zitat seitlich */
.about-quote{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
@media (min-width:768px){.about-quote{grid-template-columns:1fr 1fr;gap:64px}}
.about-quote-img-wrap{position:relative}
.about-quote-img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.12)}
.about-quote-overlay{position:absolute;bottom:24px;left:-24px;right:24px;background:var(--brand);color:#fff;padding:24px 28px;border-radius:14px;box-shadow:0 12px 36px rgba(0,0,0,.18);font-size:1.1rem;line-height:1.5;font-weight:500}
.about-quote-overlay::before{content:"";display:block;font-size:2.4rem;line-height:1;color:rgba(255,255,255,.4);margin-bottom:4px}
.about-quote-overlay::before{content:"\201C"}

/* ──────────────────────────────────────────────────────
   VARIANTEN (alte Klassen)
   ────────────────────────────────────────────────────── */

/* ABOUT · Variante "centered" */
.about-centered{max-width:880px;margin:0 auto;text-align:center}
.about-centered .about-image{aspect-ratio:21/9;margin-bottom:32px;border-radius:16px;object-fit:cover}
.about-centered h2{margin-bottom:18px}
.about-centered .section-kicker{display:block;margin-bottom:14px}

/* LEISTUNGEN · Variante "zigzag" — abwechselnd Bild links/rechts */
.leist-zigzag{display:flex;flex-direction:column;gap:64px}
.leist-row{display:grid;grid-template-columns:1fr;gap:32px;align-items:center}
@media (min-width:768px){.leist-row{grid-template-columns:1fr 1fr;gap:64px}.leist-row.reverse .leist-row-img{order:2}}
.leist-row-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.1)}
.leist-row-content h3{font-size:1.8rem;margin-bottom:14px}
.leist-row-content .section-kicker{display:block;margin-bottom:10px}
.leist-row-content p{font-size:1.05rem;color:var(--muted);line-height:1.7;margin-bottom:16px}
.leist-row-content .leist-card-preis{font-size:14px;margin-bottom:18px}

/* LEISTUNGEN · Variante "feature-list" — Liste mit großen Icons links */
.leist-feature{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.leist-feature{grid-template-columns:1fr 1fr}}
.leist-feature-item{display:flex;gap:20px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;transition:transform .25s,box-shadow .25s}
.leist-feature-item:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,0,0,.08)}
.leist-feature-icon{flex-shrink:0;width:60px;height:60px;border-radius:14px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:700}
.leist-feature-body h3{font-size:1.15rem;margin-bottom:8px}
.leist-feature-body p{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:10px}
.leist-feature-body .leist-card-preis{font-size:12px;margin-bottom:0}

/* PROCESS · Variante "vertical" — Timeline */
.process-vertical{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:0;position:relative}
.process-vertical::before{content:"";position:absolute;left:32px;top:30px;bottom:30px;width:2px;background:rgba(255,255,255,.15)}
.process-v-step{display:flex;gap:24px;padding:24px 0;position:relative}
.process-v-num{flex-shrink:0;width:64px;height:64px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:1.25rem;font-weight:800;position:relative;z-index:1;border:4px solid var(--ink)}
.process-v-step.last .process-v-num{background:var(--accent)}
.process-v-body{flex:1;padding-top:6px}
.process-v-body h3{font-size:1.2rem;margin-bottom:6px}
.process-v-body p{color:rgba(255,255,255,.7);line-height:1.6}

/* STATS · Variante "cards" — mit Hintergrund-Karten */
.stats-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media (min-width:768px){.stats-cards{grid-template-columns:repeat(4,1fr)}}
.stats-card{background:#fff;border-radius:14px;padding:28px 20px;text-align:center;box-shadow:0 6px 24px rgba(0,0,0,.06);border-top:3px solid var(--brand)}
.stats-card:nth-child(2n){border-top-color:var(--accent)}

/* CTA · Variante "split" — Bild + Text Splitscreen */
.cta-split{position:relative;padding:0;overflow:hidden}
.cta-split-grid{display:grid;grid-template-columns:1fr;gap:0}
@media (min-width:768px){.cta-split-grid{grid-template-columns:1fr 1fr}}
.cta-split-img{aspect-ratio:4/3;background:var(--brand);position:relative;min-height:420px}
@media (min-width:768px){.cta-split-img{aspect-ratio:auto;min-height:540px}}
.cta-split-img img{width:100%;height:100%;object-fit:cover}
.cta-split-img::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(35,62,132,.7),rgba(245,61,61,.4))}
.cta-split-content{padding:64px 32px;background:var(--brand);color:#fff;display:flex;flex-direction:column;justify-content:center}
@media (min-width:768px){.cta-split-content{padding:80px 64px}}
.cta-split-content .section-kicker{color:rgba(255,255,255,.7);display:block;margin-bottom:14px}
.cta-split-content h2{font-size:clamp(1.8rem,3.5vw,2.6rem);margin-bottom:18px}
.cta-split-content p{font-size:1.05rem;color:rgba(255,255,255,.85);margin-bottom:32px;line-height:1.65}

/* TESTIMONIALS · Variante "featured" — 1 großes + 2 kleine */
.testimonials-featured{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:768px){.testimonials-featured{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;height:520px}.testimonials-featured .testimonial:first-child{grid-row:span 2}}
.testimonials-featured .testimonial:first-child{display:flex;flex-direction:column;justify-content:center;padding:48px}
.testimonials-featured .testimonial:first-child .testimonial-text{font-size:1.4rem;line-height:1.5;color:var(--ink)}
.testimonials-featured .testimonial:first-child .testimonial-stars{font-size:24px}

/* KONTAKTFORMULAR */
.contact-form{display:flex;flex-direction:column;gap:18px;max-width:640px}
.contact-form .form-row{display:flex;flex-direction:column;gap:6px}
.contact-form .form-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:520px){.contact-form .form-grid{grid-template-columns:1fr 1fr}}
.contact-form label{font-size:.88rem;font-weight:600;color:var(--ink)}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea{width:100%;padding:12px 16px;border:1px solid var(--border);border-radius:10px;font:inherit;color:var(--ink);background:#fff;transition:border-color .2s,box-shadow .2s}
.contact-form input:focus,
.contact-form textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(35,62,132,.12)}
.contact-form textarea{resize:vertical;min-height:120px}
.contact-form input[type="checkbox"]{width:auto;cursor:pointer}

/* KONTAKT SEITE */
@media (min-width:900px){
  .kontakt-grid{grid-template-columns:1.4fr 1fr !important}
}
.kontakt-side{display:flex;flex-direction:column;gap:14px}
.kontakt-card{background:var(--soft);border:1px solid var(--border);border-radius:14px;padding:20px 22px}
.kontakt-card-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.kontakt-card-value{font-size:1.05rem;font-weight:600;color:var(--ink);line-height:1.4;display:block}
a.kontakt-card-value{color:var(--brand)}
a.kontakt-card-value:hover{color:var(--accent)}

/* SUB-PAGES */
.page-main{padding:140px 0 80px;min-height:60vh}
.page-main h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:32px}
.page-main p,.page-main ul,.page-main ol{font-size:1rem;color:#334155;line-height:1.75;margin-bottom:16px}
.page-main h2{font-size:1.5rem;margin:32px 0 14px}
.page-main h3{font-size:1.2rem;margin:24px 0 10px}
.page-main a{color:var(--brand);text-decoration:underline}



}

/* ─── Slot kd1: Logo-Crop fokussiert auf Wappen+Text ─── */
.site-header-inner{padding-top:6px;padding-bottom:6px}
.brand-logo{
  display:block;
  height:90px;
  width:150px;
  object-fit:cover;
  object-position:center 48%;
}
@media (max-width:768px){
  .brand-logo{height:60px;width:100px}
}

/* ─── kd1: Leistungs-Karten gleich hoch + 4er-Grid sauber ─── */
.leist-grid.cols-4{align-items:stretch}
.leist-card{display:flex;flex-direction:column;height:100%}
.leist-card-body{display:flex;flex-direction:column;flex:1}
.leist-card-desc{flex:1;min-height:3.5em}
.leist-card-link{margin-top:auto}

/* ─── Leistungs-Detail-Seite ─── */
.leist-page-hero{padding:140px 20px 60px;text-align:center;background:linear-gradient(135deg,#fafafa 0%,#f0f4f8 100%)}
.leist-page-hero .sec-num{color:var(--muted);display:inline-block}
.leist-page-hero h1{font-size:clamp(2.4rem,5vw,4rem);margin:14px 0 14px;color:var(--ink)}
.leist-page-hero .sub{color:var(--muted);font-size:1rem;max-width:42rem;margin:0 auto}
.leist-page-body{padding:80px 24px}
.leist-page-split{display:grid;grid-template-columns:1fr;gap:48px;align-items:center;max-width:var(--container);margin:0 auto}
@media (min-width:768px){.leist-page-split{grid-template-columns:1fr 1fr;gap:64px}}
.leist-page-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.12);display:block}
.leist-page-text .section-kicker{margin-bottom:14px}
.leist-page-text h2{font-size:clamp(1.5rem,3vw,2.2rem);margin-bottom:18px;line-height:1.2;color:var(--ink)}
.leist-page-text p{font-size:1.02rem;color:var(--ink);line-height:1.7;margin-bottom:16px}
.leist-page-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0;padding:24px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.leist-page-point-title{font-weight:700;font-size:.95rem;color:var(--brand)}
.leist-page-point-desc{font-size:.82rem;color:var(--muted);margin-top:3px;line-height:1.4}
.leist-page-cta{display:inline-flex;align-items:center;gap:8px;background:var(--brand);color:#fff;padding:14px 26px;border-radius:12px;font-weight:600;font-size:14px;text-decoration:none;transition:transform .25s,box-shadow .25s;margin-top:8px}
.leist-page-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.15)}

/* ─── Hero-Video-Variante: Video-Background + Light-Text + Header invert ─── */
.hero-minimal-video{background:#0F0E0C !important;color:#fff;position:relative;overflow:hidden}
.hero-minimal-video::before{display:none !important}
.hero-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,14,12,.55) 0%,rgba(15,14,12,.6) 50%,rgba(15,14,12,.78) 100%);z-index:1;pointer-events:none}
.hero-minimal-video .hero-minimal-inner{position:relative;z-index:2}
.hero-minimal-video h1{color:#fff !important;text-shadow:0 2px 24px rgba(0,0,0,.4)}
.hero-minimal-video .hero-sub{color:rgba(255,255,255,.92) !important;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.hero-minimal-video .hero-pill{background:rgba(255,255,255,.12) !important;border:1px solid rgba(255,255,255,.30) !important;color:#fff !important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hero-minimal-video .hero-pill-dot{background:#4ade80 !important}
.hero-minimal-video .hero-minimal-stats{border-top-color:rgba(255,255,255,.18) !important}
.hero-minimal-video .hero-minimal-stat-v{color:#fff !important}
.hero-minimal-video .hero-minimal-stat-l{color:rgba(255,255,255,.72) !important}
.btn-ghost-on-video{background:rgba(255,255,255,.12) !important;border:1px solid rgba(255,255,255,.28) !important;color:#fff !important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.btn-ghost-on-video:hover{background:rgba(255,255,255,.20) !important}

/* Header invert auf Video-Hero (überschreibt die vorherige minimal-Light-Regel) */
body.has-hero-minimal .site-header:not(.scrolled) .nav-link{color:#fff !important}
body.has-hero-minimal .site-header:not(.scrolled) .nav-link:hover{color:#fff !important;opacity:.8}
body.has-hero-minimal .site-header:not(.scrolled) .nav-brand{color:#fff !important}
body.has-hero-minimal .site-header:not(.scrolled) .btn-phone{background:#fff !important;color:var(--brand) !important}
body.has-hero-minimal .site-header:not(.scrolled) .nav-toggle{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.28) !important;color:#fff !important}

/* ─── Hero-Video: Fix-Höhe = 100svh damit kein Scrollen nötig ─── */
section.hero-minimal.hero-minimal-video{min-height:0 !important;height:100svh;max-height:100svh;display:flex;align-items:center;justify-content:center;text-align:center}
.hero-minimal-video .hero-minimal-inner{padding:100px 20px 40px !important;max-width:920px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
.hero-minimal-video .hero-minimal-inner > * { margin:0 !important; }
.hero-minimal-video h1{font-size:clamp(1.8rem,4.2vw,3.6rem) !important;line-height:1.05;max-width:18ch;margin:6px 0 6px !important}
.hero-minimal-video .hero-sub{font-size:clamp(.95rem,1.2vw,1.05rem) !important;max-width:42rem;margin:0 0 6px !important}
.hero-minimal-video .hero-cta-row{margin:8px 0 !important}
.hero-minimal-video .hero-minimal-stats{grid-template-columns:repeat(4,1fr) !important;gap:12px !important;margin-top:20px !important;padding-top:18px !important;max-width:720px;width:100%}
.hero-minimal-video .hero-minimal-stat-v{font-size:clamp(1.2rem,2.2vw,1.6rem) !important}
.hero-minimal-video .hero-minimal-stat-l{font-size:9.5px !important;letter-spacing:.10em}
/* Stärkerer Overlay damit Text immer lesbar */
.hero-minimal-video .hero-overlay{background:linear-gradient(180deg,rgba(15,14,12,.65) 0%,rgba(15,14,12,.55) 40%,rgba(15,14,12,.72) 100%) !important}
/* Bei sehr kleinen Höhen Stats verstecken */
@media (max-height:680px){
  .hero-minimal-video .hero-minimal-stats{display:none !important}
}

/* ─── Footer-Logo (selber Portrait-Crop wie Header) ─── */
.footer-brand{display:block;margin-bottom:18px}
.footer-logo{
  display:block;
  height:100px;
  width:170px;
  object-fit:cover;
  object-position:center 48%;
  border-radius:8px;
}
@media (max-width:768px){.footer-logo{height:70px;width:120px}}

/* ─── Horizontal-Logo (überschreibt vorherigen Portrait-Crop) ─── */
.site-header-inner{padding-top:10px;padding-bottom:10px}
.brand-logo{
  height:auto !important;
  max-height:64px !important;
  width:auto !important;
  max-width:240px !important;
  object-fit:contain !important;
  object-position:left center !important;
  display:block;
}
@media (max-width:768px){.brand-logo{max-height:44px !important;max-width:170px !important}}
.footer-logo{
  height:auto !important;
  max-height:80px;
  width:auto !important;
  max-width:200px;
  object-fit:contain !important;
  object-position:left center !important;
  border-radius:0 !important;
}

/* ─── Process-Section Parallax-Background ─── */
section#process{
  position:relative;
  background-image:linear-gradient(rgba(15,18,24,.78), rgba(15,18,24,.85)), url('/wp-content/uploads/2026/05/process-parallax.jpg') !important;
  background-attachment:fixed;
  background-size:cover;
  background-position:center;
  color:#fff;
}
section#process .section-kicker{color:rgba(255,255,255,.85)}
section#process h2{color:#fff}
section#process .section-sub{color:rgba(255,255,255,.78)}
section#process .process-v-num{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;backdrop-filter:blur(6px)}
section#process .process-v-step h3{color:#fff}
section#process .process-v-step p{color:rgba(255,255,255,.85)}
/* Mobile: Parallax-fixed reagiert oft schlecht — fallback auf scroll */
@media (max-width:768px){
  section#process{background-attachment:scroll !important}
}

/* ─── CTA-Split kompakter + rechte Texte größer ─── */
.cta-split{padding:0 !important}
.cta-split-img{min-height:0 !important;aspect-ratio:16/10 !important;height:auto !important}
@media (min-width:768px){
  .cta-split-img{min-height:0 !important;aspect-ratio:4/3 !important;height:auto !important}
}
.cta-split-content{padding:48px 28px !important;justify-content:center}
@media (min-width:768px){.cta-split-content{padding:56px 48px !important}}
.cta-split-content h2{font-size:clamp(1.8rem,3vw,2.6rem) !important;line-height:1.1;margin-bottom:12px}
.cta-split-content p{font-size:clamp(1rem,1.3vw,1.15rem) !important;line-height:1.55;margin-bottom:22px;color:rgba(255,255,255,.92)}
.cta-split-content .btn-light,
.cta-split-content .btn-outline{font-size:.98rem;padding:14px 22px}
.cta-split-content > div[style*='margin-top'] {font-size:.95rem !important;line-height:1.55 !important}
/* Auf größeren Screens: Grid-Items strecken sich gleich hoch — Bild bleibt durch Aspect bei vernünftiger Größe */
@media (min-width:768px){
  .cta-split-grid{align-items:stretch}
  .cta-split-img img{height:100%;width:100%;object-fit:cover}
}

/* ─── Nav-Menü: 2px größer ─── */
.nav-link{font-size:16px !important}
.btn-phone{font-size:15px !important}

/* ─── Kontakt-Page: Hero hat dunkles Image-Background → Nav weiß ─── */
body.page-template-page-kontakt-php .site-header:not(.scrolled) .nav-link{color:#fff !important}
body.page-template-page-kontakt-php .site-header:not(.scrolled) .nav-link:hover{color:#fff !important;opacity:.85}
body.page-template-page-kontakt-php .site-header:not(.scrolled) .nav-brand{color:#fff !important}
body.page-template-page-kontakt-php .site-header:not(.scrolled) .btn-phone{background:#fff !important;color:var(--brand) !important}
body.page-template-page-kontakt-php .site-header:not(.scrolled) .nav-toggle{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.28) !important;color:#fff !important}

/* ─── Cookie-Banner: unten rechts statt mittig ─── */
#ec-cookie-banner{
  left:auto !important;
  right:20px !important;
  bottom:20px !important;
  transform:none !important;
  max-width:380px !important;
}
@media (max-width:480px){
  #ec-cookie-banner{
    left:16px !important;
    right:16px !important;
    width:auto !important;
    max-width:none !important;
  }
}

/* ─── Primary-Button: Schatten in #eaedd7 (statt rot) ─── */
.btn-primary{box-shadow:0 8px 24px rgba(234,237,215,.55) !important}
.btn-primary:hover{box-shadow:0 14px 34px rgba(234,237,215,.75) !important}

/* ─── Footer 4 Spalten (Logo · Kontakt · Leistungen · Rechtliches) ─── */
@media (min-width:768px){
  .footer-grid{grid-template-columns:1.4fr 1fr 1.1fr .9fr !important; gap:32px !important}
}
@media (min-width:1100px){
  .footer-grid{grid-template-columns:1.4fr 1fr 1.1fr .9fr !important; gap:48px !important}
}
.footer-list-compact{font-size:13px}
.footer-list-compact li a{display:inline-block;line-height:1.5}
.footer-list-compact li a:hover{color:#fff}

/* ────────────────────────────────────────────────────────────
   TESTIMONIALS · Variante "grid-cards"
   ──────────────────────────────────────────────────────────── */
.testimonials-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:32px}
@media(min-width:768px){.testimonials-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
@media(min-width:1024px){.testimonials-grid{grid-template-columns:repeat(3,1fr)}}
.testi-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px;transition:transform .25s,box-shadow .25s}
.testi-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px -16px rgba(15,18,24,.18)}
.testi-card-top{display:flex;align-items:center;gap:14px}
.testi-avatar{width:48px;height:48px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;letter-spacing:.04em;flex:0 0 48px}
.testi-card-name{font-weight:700;color:var(--ink);font-size:15px;line-height:1.3}
.testi-card-role{font-size:12.5px;color:var(--muted);margin-top:2px}
.testi-card-stars{color:#f59e0b;font-size:13px;margin-top:4px;letter-spacing:1px}
.testi-card-text{font-size:14.5px;color:var(--ink);line-height:1.55;margin:0}

/* TESTIMONIALS · Variante "quote-feature" */
.testi-feature{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);color:#fff;border-radius:24px;padding:48px 40px;position:relative;overflow:hidden;margin-top:32px}
.testi-feature-mark{position:absolute;top:-30px;right:24px;font-size:240px;line-height:1;font-family:Georgia,serif;color:rgba(255,255,255,.08);font-weight:700;pointer-events:none}
.testi-feature-text{font-size:22px;line-height:1.5;font-weight:500;margin:0 0 28px;position:relative;z-index:1}
@media(min-width:768px){.testi-feature{padding:64px 56px}.testi-feature-text{font-size:26px}}
.testi-feature-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;position:relative;z-index:1}
.testi-feature-name{font-weight:700;font-size:16px}
.testi-feature-role{font-size:13px;opacity:.85;margin-top:2px}
.testi-feature-stars{color:#fbbf24;font-size:18px;letter-spacing:2px}
.testi-feature-rest{display:grid;grid-template-columns:1fr;gap:18px;margin-top:24px}
@media(min-width:768px){.testi-feature-rest{grid-template-columns:repeat(2,1fr);gap:22px;margin-top:28px}}
@media(min-width:1024px){.testi-feature-rest{grid-template-columns:repeat(3,1fr)}}
.testi-mini{background:#fff;border:1px solid var(--border);border-radius:14px;padding:20px;margin:0}
.testi-mini-stars{color:#f59e0b;font-size:13px;letter-spacing:1px;margin-bottom:8px}
.testi-mini blockquote{font-size:14px;color:var(--ink);line-height:1.5;margin:0 0 12px}
.testi-mini figcaption{font-size:12.5px;color:var(--muted)}

/* ────────────────────────────────────────────────────────────
   FAQ · Variante "two-column"
   ──────────────────────────────────────────────────────────── */
.faq-2col{display:grid;grid-template-columns:1fr;gap:24px;margin-top:32px}
@media(min-width:768px){.faq-2col{grid-template-columns:repeat(2,1fr);gap:32px 40px}}
.faq-2col-item{padding-bottom:4px}
.faq-2col-q{font-weight:700;font-size:16px;color:var(--ink);margin-bottom:10px;line-height:1.4;display:flex;gap:10px}
.faq-2col-q::before{content:"";flex:0 0 4px;width:4px;background:var(--brand);border-radius:2px;margin-top:6px;align-self:stretch}
.faq-2col-a{font-size:14.5px;color:var(--muted);line-height:1.6;padding-left:14px}

/* kd4: Logo weiß im transparenten Header-Zustand, original beim Scrollen */
.site-header .brand-logo{transition:filter .3s ease}
.site-header:not(.scrolled) .brand-logo{filter:brightness(0) invert(1)}
.site-header.scrolled .brand-logo{filter:none}



/* ── Flip-Karten (Leistungs-Variante "flip") ─ Bild-Front + Bild-Back, 4:5 portrait ── */
.leist-flip-grid{display:grid;gap:22px;grid-template-columns:repeat(3,220px);justify-content:center;max-width:100%;margin:0 auto}
.leist-flip-grid.cols-4{grid-template-columns:repeat(3,220px)}
@media (max-width:760px){.leist-flip-grid,.leist-flip-grid.cols-4{grid-template-columns:repeat(2,220px)}}
@media (max-width:520px){.leist-flip-grid,.leist-flip-grid.cols-4{grid-template-columns:220px}}
@media (max-width:260px){.leist-flip-grid,.leist-flip-grid.cols-4{grid-template-columns:1fr}}
.leist-flip-card{perspective:1200px;outline:none;border-radius:18px;width:220px;max-width:100%;margin:0 auto;cursor:pointer}
.leist-flip-card:focus-visible{box-shadow:0 0 0 3px rgba(124,186,37,.5)}
.leist-flip-inner{position:relative;width:100%;aspect-ratio:4/5;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.8,.2,1);border-radius:18px;will-change:transform}
.leist-flip-front,.leist-flip-back{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:18px;overflow:hidden;display:block;background:#fff;box-shadow:0 8px 22px -8px rgba(15,23,42,.18),0 2px 6px -2px rgba(15,23,42,.07)}
.leist-flip-front img,.leist-flip-back img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.leist-flip-back{transform:rotateY(180deg)}
@media (hover: hover) and (pointer: fine){
  .leist-flip-card:hover .leist-flip-inner,
  .leist-flip-card:focus-visible .leist-flip-inner{transform:rotateY(180deg)}
}
.leist-flip-card.is-flipped .leist-flip-inner{transform:rotateY(180deg)}
@media (prefers-reduced-motion: reduce){
  .leist-flip-inner{transition:none}
}



/* ── Prozess: horizontale Linie mit Scroll-Progress-Fill ──────────────── */
@media (min-width:768px){
  .process-grid{position:relative}
  .process-line{display:block;position:absolute;top:46px;left:10%;right:10%;height:4px;background:rgba(255,255,255,.14);border-radius:2px;overflow:hidden;z-index:0}
  .process-line-fill{position:absolute;inset:0;background:linear-gradient(90deg,#7cba25,#a4dc4d);transform-origin:left center;transform:scaleX(0);transition:transform .12s linear;box-shadow:0 0 14px rgba(124,186,37,.55)}
}
@media (max-width:767px){
  .process-line{display:none}
}
@media (prefers-reduced-motion: reduce){
  .process-line-fill{transition:none}
}


/* ── Floating-Animation auf Prozess-Nummern ────────────────────────────── */
.process-num{animation:float 4s ease-in-out infinite}
.process-step:nth-child(odd) .process-num{animation-delay:-1.3s}
.process-step:nth-child(3n) .process-num{animation-delay:-2.6s}
@keyframes float{
  0%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
  100%{transform:translateY(0)}
}
@media (prefers-reduced-motion: reduce){
  .process-num{animation:none}
}

/* Letzte Prozess-Nummer: grün statt rot */
.process-step.last .process-num{border-color:rgba(124,186,37,.4) !important;background:rgba(124,186,37,.25) !important}

/* Schweben auf Flip-Karten (gestaffelt, damit nicht synchron) — Flip-Rotation bleibt am .leist-flip-inner unberührt */
.leist-flip-card{animation:float 4s ease-in-out infinite}
.leist-flip-card:nth-child(3n+2){animation-delay:-1.3s}
.leist-flip-card:nth-child(3n+3){animation-delay:-2.6s}
@media (prefers-reduced-motion: reduce){
  .leist-flip-card{animation:none}
}


/* ── Karten größer (max 1140px Grid) + sanfteres Schweben ─────────────── */
.leist-flip-grid,
.leist-flip-grid.cols-4{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  max-width:1140px;
  margin:0 auto;
}
.leist-flip-card{width:100%;max-width:none}
@media (max-width:900px){
  .leist-flip-grid,
  .leist-flip-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}
}
@media (max-width:560px){
  .leist-flip-grid,
  .leist-flip-grid.cols-4{grid-template-columns:minmax(0,380px);max-width:380px;justify-content:center}
}

/* Sanfteres Schweben: kleinere Amplitude (7px statt 10px) + längere Periode (6s statt 4s) */
@keyframes float-soft{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}
.process-num{animation:float-soft 6s ease-in-out 0s infinite}
.process-step:nth-child(odd) .process-num{animation:float-soft 6s ease-in-out -2s infinite}
.process-step:nth-child(3n) .process-num{animation:float-soft 6s ease-in-out -4s infinite}
.leist-flip-card{animation:float-soft 6s ease-in-out 0s infinite}
.leist-flip-card:nth-child(3n+2){animation:float-soft 6s ease-in-out -2s infinite}
.leist-flip-card:nth-child(3n+3){animation:float-soft 6s ease-in-out -4s infinite}
@media (prefers-reduced-motion: reduce){
  .process-num,
  .leist-flip-card,
  .leist-flip-card:nth-child(3n+2),
  .leist-flip-card:nth-child(3n+3){animation:none}
}


/* ── Schweben komplett aus (override aller vorigen Float-Rules) ─────── */
.process-num,
.leist-flip-card,
.leist-flip-card:nth-child(3n+2),
.leist-flip-card:nth-child(3n+3),
.process-step:nth-child(odd) .process-num,
.process-step:nth-child(3n) .process-num{animation:none !important}

/* ── Flip-Item-Wrapper (Karte + CTA-Button untereinander) ───────────── */
.leist-flip-item{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.leist-flip-item .leist-flip-card{width:100%;max-width:none;margin:0}
.leist-flip-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 18px;
  background:var(--ink,#091e30);color:#fff;
  font-weight:600;font-size:.95rem;text-decoration:none;
  border-radius:10px;
  transition:background .2s ease,transform .2s ease;
  align-self:center;
  min-width:60%;
}
.leist-flip-cta:hover,.leist-flip-cta:focus-visible{
  background:var(--accent,#7cba25);color:#fff;text-decoration:none;
  transform:translateY(-1px)
}
.leist-flip-cta svg{width:16px;height:16px}

/* ── Lightbox (Desktop/Tablet ≥768px: vergrößerte Rückseite) ───────── */
.leist-lightbox{
  position:fixed;inset:0;z-index:9999;
  display:flex;align-items:center;justify-content:center;
  background:rgba(8,18,32,.86);backdrop-filter:blur(8px);
  padding:48px 24px;
  opacity:0;transition:opacity .22s ease;
}
.leist-lightbox.is-open{opacity:1}
.leist-lightbox-img{
  display:block;
  max-width:min(90vw, 900px);
  max-height:90vh;
  width:auto;height:auto;
  border-radius:18px;
  box-shadow:0 24px 60px -12px rgba(0,0,0,.45);
  transform:scale(.96);transition:transform .25s cubic-bezier(.2,.8,.2,1);
}
.leist-lightbox.is-open .leist-lightbox-img{transform:scale(1)}
.leist-lightbox-close{
  position:absolute;top:18px;right:18px;
  width:44px;height:44px;border-radius:50%;
  border:none;cursor:pointer;
  background:rgba(255,255,255,.14);color:#fff;
  font-size:28px;line-height:1;font-weight:400;
  display:grid;place-items:center;
  transition:background .15s ease;
}
.leist-lightbox-close:hover,.leist-lightbox-close:focus-visible{
  background:rgba(255,255,255,.26);outline:none
}
@media (max-width:767px){
  .leist-lightbox{display:none !important}
}


/* ── Lightbox-Fix: standardmäßig unsichtbar UND nicht klickbar (kein Overlay-Block) */
.leist-lightbox{
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  transition:opacity .22s ease, visibility .22s ease !important;
}
.leist-lightbox.is-open{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

/* ── Leistungs-Titel über jeder Karte ─────────────────────────────────── */
.leist-flip-title{
  font-size:1.1rem;font-weight:700;color:var(--ink,#091e30);
  text-align:center;margin:0 0 4px;line-height:1.2;letter-spacing:-.01em
}
section.section-dark .leist-flip-title{color:#fff}

/* ── Prozess-Linie: dicker + längere Spannweite ───────────────────────── */
@media (min-width:768px){
  .process-line{top:42px;left:3%;right:3%;height:6px !important;background:rgba(255,255,255,.15) !important}
  .process-line-fill{background:linear-gradient(90deg,#7cba25 0%,#a4dc4d 100%) !important;box-shadow:0 0 18px rgba(124,186,37,.6)}
}

/* ── Prozess-Nummern: linearer Links→Rechts-Fill via --fill (0..1) ─────── */
.process-num{
  --fill:0;
  background:linear-gradient(
    to right,
    rgba(124,186,37,.95) calc(var(--fill) * 100%),
    rgba(35,62,132,.2) calc(var(--fill) * 100%)
  ) !important;
  border-color:rgba(124,186,37,.4) !important;
  transition:border-color .25s ease;
}
.process-step.last .process-num{
  background:linear-gradient(
    to right,
    rgba(124,186,37,.95) calc(var(--fill) * 100%),
    rgba(35,62,132,.2) calc(var(--fill) * 100%)
  ) !important;
  border-color:rgba(124,186,37,.4) !important;
}


/* ── Flip-Karten: Desktop-Cursor + Plus-Badge (Vergrößern-Hint) ────────── */
@media (hover: hover) and (pointer: fine){
  .leist-flip-card{cursor:zoom-in;position:relative}
  .leist-flip-card::after{
    content:"+";
    position:absolute;top:10px;right:10px;
    width:34px;height:34px;border-radius:50%;
    background:rgba(124,186,37,.95);color:#fff;
    font-size:22px;line-height:34px;text-align:center;
    font-weight:300;
    box-shadow:0 4px 12px rgba(0,0,0,.18);
    opacity:0;transform:scale(.7);
    transition:opacity .2s ease, transform .2s ease;
    pointer-events:none;z-index:5;
  }
  .leist-flip-card:hover::after,
  .leist-flip-card.is-flipped::after{opacity:1;transform:scale(1)}
}

/* ── Referenzen: Upload-Section ─────────────────────────────────────────── */
.ref-upload-section{background:#f6f8fb}
.ref-upload-flash{padding:14px 18px;border-radius:10px;margin:0 0 20px;font-size:.95rem}
.ref-upload-ok{background:rgba(124,186,37,.14);color:#3f7212;border:1px solid rgba(124,186,37,.4)}
.ref-upload-fail{background:rgba(245,61,61,.10);color:#a32020;border:1px solid rgba(245,61,61,.3)}
.ref-upload-form{background:#fff;padding:28px;border-radius:14px;box-shadow:0 6px 18px -8px rgba(15,23,42,.12);border:1px solid rgba(15,23,42,.06)}
.ref-upload-form .form-row{margin-bottom:18px}
.ref-upload-form label{display:block;font-size:.88rem;font-weight:600;margin-bottom:6px;color:var(--ink,#091e30)}
.ref-upload-form input[type=text],
.ref-upload-form input[type=file]{width:100%;padding:10px 12px;border:1px solid rgba(15,23,42,.18);border-radius:8px;font-size:.95rem;background:#fff}
.ref-upload-form input[type=file]{padding:8px}
.ref-upload-consent{display:flex !important;align-items:center;gap:10px;margin-bottom:18px}
.ref-upload-consent input[type=checkbox]{width:auto !important;margin:0;flex-shrink:0}
.ref-upload-consent label{margin:0 !important;font-size:.92rem !important;color:var(--muted) !important;font-weight:400 !important}
.ref-upload-form .btn{margin-top:6px}


/* ── Hero-Slideshow (Crossfade) + kompakteres Hero-Layout ──────────── */
.hero{position:relative;overflow:hidden}
.hero-slideshow{position:absolute;inset:0;z-index:0}
.hero-slideshow .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease-in-out}
.hero-slideshow .slide.is-active{opacity:1}
.hero-bg::after{z-index:1} /* Gradient-Overlay über Slides */
.hero-inner{position:relative;z-index:2}

/* Hero-Text kleiner + kompakter — alle Inhalte (Buttons + 3 Häkchen) sichtbar */
.hero h1{font-size:clamp(1.6rem,3.6vw,2.7rem) !important;line-height:1.18;margin-bottom:14px}
.hero-sub{font-size:clamp(.95rem,1.2vw,1.08rem) !important;margin-bottom:24px;max-width:580px}
.hero-cta-row{margin-bottom:22px}
.hero-pill{font-size:10px;padding:5px 12px;margin-bottom:18px}
.hero-inner{padding:100px 20px 70px}
.hero-badges{margin-top:6px;font-size:13.5px;color:rgba(255,255,255,.88)}
.hero-badges-item{gap:7px}
.hero-badges-item svg{width:15px;height:15px;color:#a4dc4d}

/* Hero-Overlay etwas dunkler für bessere Lesbarkeit */
.hero-bg::after{background:linear-gradient(135deg,rgba(9,18,30,.92) 0%,rgba(9,18,30,.82) 50%,rgba(9,18,30,.65) 100%) !important}

/* About-Badges: keine Boxen mehr — Checkmark-Liste mit Titel + dünner Beschreibung */
.about-badges{display:grid;grid-template-columns:1fr;gap:18px !important;margin-top:24px;margin-bottom:24px}
@media (min-width:680px){.about-badges{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px !important}}
.about-badge{
  background:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 0 0 34px !important;
  position:relative;
  text-align:left;
}
.about-badge::before{
  content:"";
  position:absolute;left:0;top:3px;
  width:22px;height:22px;border-radius:50%;
  background:rgba(124,186,37,.18);
}
.about-badge::after{
  content:"";
  position:absolute;left:7px;top:10px;
  width:8px;height:4px;
  border-left:2px solid #3f7212;
  border-bottom:2px solid #3f7212;
  transform:rotate(-45deg);
}
.about-badge-title{
  font-size:1rem !important;
  color:var(--ink,#091e30) !important;
  font-weight:700 !important;
  margin-bottom:4px;
  letter-spacing:-.005em !important;
}
.about-badge-desc{
  font-size:.86rem !important;
  color:var(--muted) !important;
  line-height:1.5 !important;
}


/* About-Bild kleiner — max 340px, zentriert in der Spalte, quadratisch */
.about-image{max-width:340px !important;width:100% !important;aspect-ratio:1/1 !important;margin:0 auto !important;display:block}
.about-image-wrap{display:flex;justify-content:center;align-items:flex-start}


/* ── Nav-Submenu (Dropdown unter "Leistungen") ───────────────────────── */
.nav-desktop .has-submenu{position:relative}
.nav-desktop .has-submenu > .nav-link::after{content:" \25BE";font-size:.7em;opacity:.7;margin-left:4px}
.nav-desktop .submenu{
  position:absolute;top:100%;left:0;
  background:#fff;border-radius:12px;
  box-shadow:0 18px 44px rgba(0,0,0,.14);
  padding:10px 0;min-width:240px;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .18s,transform .18s,visibility 0s .18s;
  list-style:none;margin:0;z-index:50;
  border:1px solid rgba(0,0,0,.05);
}
.nav-desktop .has-submenu:hover .submenu,
.nav-desktop .has-submenu:focus-within .submenu{
  opacity:1;visibility:visible;transform:translateY(0);
  transition:opacity .18s,transform .18s,visibility 0s 0s
}
.nav-desktop .submenu a{
  display:block;padding:10px 18px;
  color:var(--ink,#091e30);font-size:.92rem;
  text-decoration:none;white-space:nowrap;font-weight:500;
  transition:background .15s,color .15s
}
.nav-desktop .submenu a:hover{
  background:rgba(124,186,37,.10);color:var(--brand,#091e30)
}
.site-header:not(.scrolled) .nav-desktop .has-submenu > .nav-link::after{color:#fff}

/* Mobile-Submenu: eingerückt unter dem Parent */
.nav-mobile a.nav-mobile-sub{
  font-size:.92rem;
  padding-left:32px !important;
  opacity:.78;
  font-weight:500 !important;
}

/* About-Handshake-Bild: sanftes Schweben */
.about-image{animation:float-soft 6s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){.about-image{animation:none}}

/* Leistungs-Detail-Page: Bild schwebt */
.leist-detail-img{animation:float-soft 6s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){.leist-detail-img{animation:none}}

/* CTA full-bg: Parallax (background-attachment: fixed) — auf Touch-Geräten deaktiviert */
.cta-fullbg{background-attachment:fixed !important}
@media (max-width:767px),(hover:none){.cta-fullbg{background-attachment:scroll !important}}
