/* =====================================================================
   Design „Modern“ – überschreibt die Basis (site.css).
   Prinzip: viel Weißraum, große Typografie, weiche Farbverläufe in den
   Logofarben (Rot/Blau/Grün) statt harter Balken, runde Flächen.
   ===================================================================== */
body.theme-modern{
  --ink:#0b1020;--text:#3b4357;--muted:#6b7386;--tint:#f5f6fa;--line:#e9ebf2;
  --r:24px;--r-sm:16px;
  --shadow:0 1px 2px rgba(11,16,32,.04),0 18px 50px -12px rgba(11,16,32,.14);
  --mesh:radial-gradient(40% 55% at 88% 8%,rgba(212,42,30,.16),transparent 70%),
         radial-gradient(45% 60% at 8% 92%,rgba(29,125,53,.16),transparent 70%),
         radial-gradient(50% 55% at 55% 40%,rgba(40,60,150,.10),transparent 70%);
  background:#fff;font-size:1.0625rem;
}
.theme-modern h1,.theme-modern h2,.theme-modern h3{letter-spacing:-.035em}
.theme-modern h1{font-weight:800;line-height:1.04}
.theme-modern h2{font-weight:800;font-size:clamp(1.7rem,3.6vw,2.7rem);line-height:1.1}

/* Kopfzeile & Navigation: schlank, Glas-Effekt, keine Farbbalken */
.theme-modern .topbar{background:var(--ink);color:#aeb6c8}
.theme-modern .header{background:rgba(255,255,255,.72);backdrop-filter:saturate(1.6) blur(16px);-webkit-backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid rgba(11,16,32,.06)}
.theme-modern .header::after{display:none}
@media (min-width:1000px){
  .theme-modern .nav>ul{gap:.3rem}
  .theme-modern .nav>ul>li>a{padding:.55rem 1rem;margin:1rem 0;border-radius:999px;color:var(--text);transition:background .15s,color .15s}
  .theme-modern .nav>ul>li>a:hover{background:var(--tint);color:var(--ink)}
  .theme-modern .nav>ul>li>a[aria-current]{background:var(--ink);color:#fff}
  .theme-modern .nav>ul>li>a[aria-current]::after{display:none}
  .theme-modern .nav .sub{top:calc(100% - .6rem);border-radius:18px;border-color:var(--line);padding:.6rem}
}

/* Buttons */
.theme-modern .btn{border-radius:14px;padding:.85em 1.4em;font-weight:700;letter-spacing:-.01em}
.theme-modern .btn--lg{padding:1.05em 1.7em}
.theme-modern .btn--accent{background:linear-gradient(135deg,#239a43,#1d7d35);box-shadow:0 10px 24px -8px rgba(29,125,53,.55)}
.theme-modern .btn--accent:hover{background:linear-gradient(135deg,#1f8a3c,#156029)}
.theme-modern .btn--primary{background:var(--ink);color:#fff}
.theme-modern .btn--primary:hover{background:#222a40;color:#fff}
.theme-modern .btn--light{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 1px 2px rgba(11,16,32,.05)}
.theme-modern .btn--light:hover{border-color:#cfd3df;color:var(--ink)}

/* „Eyebrow“ als Pille mit Logo-Farbpunkten */
.theme-modern .eyebrow{display:inline-flex;align-items:center;gap:.55rem;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem .4rem .7rem;letter-spacing:.06em;font-size:.74rem;box-shadow:0 1px 2px rgba(11,16,32,.04)}
.theme-modern .eyebrow::before{content:"";width:34px;height:8px;border-radius:8px;background:linear-gradient(90deg,var(--red) 0 33%,var(--blue) 33% 66%,var(--green) 66%)}

/* Hero: großer Titel, weicher Farbnebel in Logofarben */
.theme-modern .hero{background:#fff}
.theme-modern .hero::before{inset:0;width:auto;height:auto;border-radius:0;right:0;top:0;background:var(--mesh)}
.theme-modern .hero::after{display:none}
.theme-modern .hero__grid{padding:clamp(3rem,9vw,7rem) 0 clamp(3rem,7vw,5.5rem)}
.theme-modern .hero h1{font-size:clamp(2.5rem,6.4vw,4.9rem);margin:.9rem 0 1.2rem}
.theme-modern .hero__lead{font-size:clamp(1.1rem,1.8vw,1.3rem);color:var(--muted)}
.theme-modern .hero__trust{gap:.6rem}
.theme-modern .hero__trust li{background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:999px;padding:.4rem .85rem .4rem .7rem;font-size:.9rem;backdrop-filter:blur(6px)}
@media (min-width:1000px){
  .theme-modern .hero__badge{border:1px solid rgba(255,255,255,.8);border-image:none;border-radius:28px;background:rgba(255,255,255,.7);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 30px 80px -20px rgba(40,60,150,.35);padding:2.6rem 2.4rem 2.2rem;transform:rotate(-1.5deg)}
}
.theme-modern .hero__since{border-top:1px dashed var(--line)}
.theme-modern .hero__since span{background:linear-gradient(135deg,var(--blue),#18245e);border-radius:14px}
.theme-modern .hero--img h1,.theme-modern .hero--img .hero__trust li{color:#fff}
.theme-modern .hero--img .hero__trust li{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}

/* Abschnitte: linksbündige Köpfe, keine Farbstriche */
.theme-modern .section{padding:clamp(4rem,9vw,7.5rem) 0}
.theme-modern .section--tint{background:var(--tint)}
.theme-modern .section__head{text-align:left;margin:0 0 3rem;max-width:760px}
.theme-modern .section__head h2::after,.theme-modern .split .prose>h2:first-child::after,.theme-modern #area-h::after{display:none}
.theme-modern .center{text-align:left}

/* Leistungen als „Bento“-Raster */
.theme-modern .cards{gap:1rem}
@media (min-width:1000px){
  .theme-modern .cards{grid-template-columns:repeat(3,1fr)}
  .theme-modern .cards>.card:first-child{grid-column:span 2}
  .theme-modern .cards>.card:nth-child(6):last-child{grid-column:span 3}
  .theme-modern .cards>.card:first-child h3{font-size:1.6rem}
}
.theme-modern .card{border:1px solid var(--line);border-top:1px solid var(--line);border-radius:var(--r);padding:2rem;background:#fff;position:relative;overflow:hidden}
.theme-modern .card::before{content:"";position:absolute;right:-60px;top:-60px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(40,60,150,.12),transparent 70%);transition:transform .3s}
.theme-modern .card--red::before{background:radial-gradient(circle,rgba(212,42,30,.14),transparent 70%)}
.theme-modern .card--green::before{background:radial-gradient(circle,rgba(29,125,53,.14),transparent 70%)}
.theme-modern .card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#dfe2ec}
.theme-modern .card:hover::before{transform:scale(1.4)}
.theme-modern .card__icon{width:52px;height:52px;border-radius:16px}
.theme-modern .card h3{font-size:1.25rem}

/* Vorteile: dunkle Fläche mit leuchtenden Logofarben */
.theme-modern section[aria-labelledby="why-h"]{background:var(--ink);color:#c4cadb;position:relative;overflow:hidden}
.theme-modern section[aria-labelledby="why-h"]::before{content:"";position:absolute;inset:0;background:radial-gradient(35% 60% at 10% 0%,rgba(212,42,30,.35),transparent 70%),radial-gradient(35% 60% at 90% 100%,rgba(29,125,53,.35),transparent 70%),radial-gradient(30% 50% at 55% 50%,rgba(40,60,150,.35),transparent 70%);pointer-events:none}
.theme-modern section[aria-labelledby="why-h"] .wrap{position:relative}
.theme-modern section[aria-labelledby="why-h"] h2,.theme-modern section[aria-labelledby="why-h"] h3{color:#fff}
.theme-modern .features{gap:1rem}
.theme-modern .feature{text-align:left;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--r);padding:2rem;backdrop-filter:blur(8px)}
.theme-modern .feature p{color:#aeb6c8}
.theme-modern .feature__icon,.theme-modern .feature:nth-child(n) .feature__icon{width:56px;height:56px;border-radius:16px;background:rgba(255,255,255,.08)}
.theme-modern .feature:nth-child(1) .feature__icon{color:#ff7468}.theme-modern .feature:nth-child(2) .feature__icon{color:#a9c0ff}.theme-modern .feature:nth-child(3) .feature__icon{color:#5fdc84}
.theme-modern .feature__icon .ico{width:28px;height:28px}

/* Ablauf: große Ziffern mit Farbverlauf */
.theme-modern .steps{gap:1rem}
.theme-modern .steps li,.theme-modern .steps li:nth-child(n){border:1px solid var(--line);border-radius:var(--r);padding:4.6rem 1.6rem 1.6rem;background:#fff}
.theme-modern .steps li::before,.theme-modern .steps li:nth-child(n)::before{content:"0" counter(s);background:none;width:auto;height:auto;top:1.2rem;left:1.6rem;font-size:2.6rem;font-weight:800;letter-spacing:-.04em;color:transparent;-webkit-background-clip:text;background-clip:text}
.theme-modern .steps li:nth-child(4n+1)::before{background-image:linear-gradient(135deg,#ff6a5c,var(--red))}
.theme-modern .steps li:nth-child(4n+2)::before{background-image:linear-gradient(135deg,#5a72d6,var(--blue))}
.theme-modern .steps li:nth-child(4n+3)::before{background-image:linear-gradient(135deg,#3fbf68,var(--green))}
.theme-modern .steps li:nth-child(4n)::before{background-image:linear-gradient(135deg,var(--red),var(--blue) 50%,var(--green))}

/* Fakten-Kasten */
.theme-modern .factbox{background:var(--ink);border-radius:28px;position:relative;overflow:hidden}
.theme-modern .factbox::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 50% at 100% 0%,rgba(212,42,30,.45),transparent 70%),radial-gradient(60% 50% at 0% 100%,rgba(29,125,53,.4),transparent 70%);pointer-events:none}
.theme-modern .factbox>*{position:relative}
.theme-modern .factbox__num{font-size:4.2rem;letter-spacing:-.05em}
.theme-modern .factbox .btn--primary{background:#fff;color:var(--ink)}

/* Galerie, Einsatzgebiet, Kontaktkarten, FAQ */
.theme-modern .gallery a{border-radius:18px}
.theme-modern .tags li,.theme-modern .tags li:nth-child(n){border:1px solid var(--line);border-left:1px solid var(--line);background:#fff;padding:.45rem 1rem}
.theme-modern .tags li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:.5rem;vertical-align:.12em;background:var(--blue)}
.theme-modern .tags li:nth-child(3n+1)::before{background:var(--red)}.theme-modern .tags li:nth-child(3n)::before{background:var(--green)}
.theme-modern .contactcard{border-radius:var(--r);border-color:var(--line);box-shadow:var(--shadow)}
.theme-modern .contactcard--accent{background:linear-gradient(160deg,#eef1fb,#fff)}
.theme-modern .faq details,.theme-modern .faq details[open]{border:1px solid var(--line);border-left:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:.6rem;transition:box-shadow .2s}
.theme-modern .faq details[open]{box-shadow:var(--shadow)}
.theme-modern .faq summary{padding:1.3rem 3.4rem 1.3rem 1.5rem;font-size:1.05rem}
.theme-modern .faq summary::after{content:"";width:28px;height:28px;border-radius:50%;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1020' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .2s}
.theme-modern .faq details[open] summary::after{content:"";transform:translateY(-50%) rotate(45deg)}

/* Unterseiten-Kopf */
.theme-modern .pagehead{background:#fff;border-bottom:0;padding:clamp(3rem,7vw,5rem) 0 clamp(2rem,4vw,3rem);overflow:hidden}
.theme-modern .pagehead::before{content:"";position:absolute;inset:0;background:var(--mesh);pointer-events:none}
.theme-modern .pagehead .wrap{position:relative}
.theme-modern .pagehead::after,.theme-modern .pagehead--red::after,.theme-modern .pagehead--green::after,.theme-modern .pagehead--blue::after{display:none}
.theme-modern .pagehead h1{font-size:clamp(2.1rem,5vw,3.6rem);font-weight:800}
.theme-modern .crumbs a{color:var(--text)}

/* Formular */
.theme-modern .formcard{border-radius:28px;border-color:var(--line)}
.theme-modern .field input,.theme-modern .field select,.theme-modern .field textarea{border-radius:14px;border:1px solid #d8dce6;background:#fbfbfd;padding:.85rem 1rem}
.theme-modern .field input:focus,.theme-modern .field select:focus,.theme-modern .field textarea:focus{background:#fff;border-color:var(--blue);box-shadow:0 0 0 4px rgba(40,60,150,.12)}

/* Aufruf-Band als schwebende Karte */
.theme-modern .ctaband{background:#fff;padding:0 0 clamp(3rem,6vw,5rem)}
.theme-modern .ctaband__in{background:var(--ink);border-radius:32px;padding:clamp(2rem,5vw,3.5rem);position:relative;overflow:hidden;color:#c4cadb}
.theme-modern .ctaband__in::before{content:"";position:absolute;inset:0;background:radial-gradient(40% 80% at 0% 0%,rgba(212,42,30,.45),transparent 70%),radial-gradient(40% 80% at 100% 100%,rgba(29,125,53,.45),transparent 70%),radial-gradient(40% 60% at 60% 30%,rgba(40,60,150,.4),transparent 70%);pointer-events:none}
.theme-modern .ctaband__in>*{position:relative}
.theme-modern .ctaband h2{font-size:clamp(1.6rem,3.2vw,2.4rem)}
.theme-modern .ctaband .btn--accent{background:linear-gradient(135deg,#239a43,#1d7d35);color:#fff;box-shadow:0 10px 24px -8px rgba(29,125,53,.7)}
.theme-modern .ctaband .btn--ghost{border-color:rgba(255,255,255,.3)}

/* Fußzeile */
.theme-modern .footer{background:var(--ink);border-top:0;border-image:none;color:#9aa3b8}
.theme-modern .footer h2{font-size:.8rem;letter-spacing:.14em;color:#fff}
.theme-modern .footer__bottom{border-top-color:rgba(255,255,255,.08)}

/* Handy-Schnellleiste: schwebend, Glas */
@media (max-width:899px){
  .theme-modern .mobilebar{left:.6rem;right:.6rem;bottom:.6rem;border:1px solid rgba(11,16,32,.08);border-image:none;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.85);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 12px 30px rgba(11,16,32,.18);padding-bottom:0;margin-bottom:env(safe-area-inset-bottom)}
  .theme-modern{padding-bottom:92px}
}

/* Wartungsseite */
.theme-modern.mt{background:#fff}
.theme-modern.mt::before{content:"";position:fixed;inset:0;background:var(--mesh);pointer-events:none}
.theme-modern .mt__box{position:relative;border-radius:32px;border-color:var(--line);box-shadow:0 30px 80px -20px rgba(40,60,150,.3)}
