/* -----------------------------------------------------------------------------
   Blackout — globales Stylesheet
   1:1 übernommen aus dem bisherigen Blade-Layout, plus ein paar Ergänzungen
   für Blockeditor-Inhalte und die WordPress-eigenen Ausgaben.
   -------------------------------------------------------------------------- */

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#070707;font-family:'Poppins',system-ui,sans-serif;-webkit-font-smoothing:antialiased;color:#fff;overflow-x:hidden}
a{color:inherit}
::selection{background:#fff;color:#0a0a0a}
img{max-width:100%}

@keyframes bo-spin{to{transform:rotate(360deg)}}
@keyframes bo-pulse{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes bo-flicker{0%,100%{opacity:.9}45%{opacity:.78}50%{opacity:.97}55%{opacity:.82}}
@keyframes bo-marquee{to{transform:translateX(-50%)}}
@keyframes bo-kenburns{0%{transform:scale(1.02) translate(0,0)}100%{transform:scale(1.1) translate(-1.5%,-2%)}}

.bo-ar{display:inline-flex;transition:transform .35s cubic-bezier(.22,1,.36,1)}
a:hover .bo-ar,button:hover .bo-ar{transform:rotate(45deg)}

/* Reveal on scroll */
.bo-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
.bo-reveal.bo-in{opacity:1;transform:none}

/* Header */
.bo-nav-link{color:#f0f0f0;font-size:15px;font-weight:400;text-decoration:none;position:relative}
.bo-nav-link:hover{color:#fff}
.bo-mega{transition:background .2s ease}
.bo-mega:hover{background:rgba(255,255,255,0.05)}
.bo-mega:hover .bo-mar{opacity:1;transform:translateX(0)}
.bo-soc{width:38px;height:38px;display:flex;align-items:center;justify-content:center;
    color:rgba(255,255,255,0.45);text-decoration:none;
    transition:color .25s ease,transform .25s ease}
.bo-soc:hover,.bo-soc:focus-visible{color:#fff;transform:translateY(-2px)}
.bo-soc svg{display:block}
.bo-foot a{transition:color .25s ease}
.bo-foot a:hover{color:#fff}
.bo-team{transition:transform .45s cubic-bezier(.22,1,.36,1)}
.bo-team:hover{transform:translateY(-7px)}
.bo-team:hover .bo-tn{color:#fff}
.bo-featcard{transition:transform .5s cubic-bezier(.22,1,.36,1)}
.bo-featcard:hover{transform:translateY(-6px)}
.bo-featcard:hover .bo-featim{transform:scale(1.06);filter:brightness(1.12)}
.bo-featim{transition:transform .8s cubic-bezier(.22,1,.36,1),filter .5s ease}

.bo-btn{display:inline-flex;align-items:center;gap:9px;padding:13px 22px;border-radius:999px;background:#f4f4f4;color:#0a0a0a;font-size:14px;font-weight:500;text-decoration:none;border:none;cursor:pointer;font-family:inherit;transition:transform .3s ease,background .3s ease}
.bo-btn:hover{transform:translateY(-2px);background:#fff}
.bo-btn-ghost{background:transparent;color:#f0f0f0;border:1px solid rgba(255,255,255,0.18)}
.bo-btn-ghost:hover{background:rgba(255,255,255,0.06);color:#fff}

.bo-burger{display:none}
#bo-mobile{position:fixed;inset:0;z-index:200;background:rgba(7,7,7,0.98);backdrop-filter:blur(10px);flex-direction:column;padding:90px 32px 40px;gap:6px;display:none}
#bo-mobile.bo-open{display:flex}
#bo-mobile a{color:#f0f0f0;font-size:26px;font-weight:500;text-decoration:none;padding:12px 0;border-bottom:1px solid rgba(255,255,255,0.07)}

@media(max-width:900px){ .bo-fgrid{grid-template-columns:1fr 1fr !important;gap:40px 32px !important} }
@media(max-width:860px){
    nav .bo-navcenter{display:none !important}
    .bo-burger{display:flex !important}
    .bo-deskcta{display:none !important}
    .bo-featgrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:640px){ .bo-featgrid{grid-template-columns:1fr !important} }
@media(max-width:540px){
    section,nav,footer{padding-left:20px !important;padding-right:20px !important}
    .bo-fgrid{grid-template-columns:1fr !important}
    .bo-fbar{flex-direction:column;align-items:flex-start !important;gap:16px !important}
}

/* -----------------------------------------------------------------------------
   Ergänzungen für WordPress
   -------------------------------------------------------------------------- */

/* Admin-Bar nicht über den fixierten Header legen */
body.admin-bar #bo-nav{top:32px}
@media screen and (max-width:782px){ body.admin-bar #bo-nav{top:46px} }

/* Fließtext aus dem Blockeditor (Projekt-/Leistungstexte, Rechtsseiten) */
.bo-prose{font-size:16.5px;line-height:1.85;color:rgba(255,255,255,0.72);font-weight:300}
.bo-prose > * + *{margin-top:1.15em}
.bo-prose h2{font-size:clamp(24px,2.4vw,32px);font-weight:500;color:#fff;letter-spacing:-0.6px;line-height:1.2;margin-top:1.9em}
.bo-prose h3{font-size:clamp(19px,1.7vw,23px);font-weight:500;color:#fff;letter-spacing:-0.3px;margin-top:1.7em}
.bo-prose h4{font-size:17px;font-weight:500;color:#fff;margin-top:1.5em}
.bo-prose a{color:#fff;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,0.35)}
.bo-prose a:hover{text-decoration-color:#fff}
.bo-prose strong{color:#fff;font-weight:500}
.bo-prose ul,.bo-prose ol{padding-left:1.3em}
.bo-prose li + li{margin-top:.5em}
.bo-prose li::marker{color:rgba(255,255,255,0.35)}
.bo-prose blockquote{border-left:2px solid rgba(255,255,255,0.2);padding-left:22px;font-style:normal;color:rgba(255,255,255,0.85)}
.bo-prose img,.bo-prose figure img{border-radius:14px;display:block}
.bo-prose figcaption{font-size:13px;color:rgba(255,255,255,0.42);margin-top:10px}
.bo-prose hr{border:none;border-top:1px solid rgba(255,255,255,0.1);margin:2.4em 0}
.bo-prose code{font-family:ui-monospace,Menlo,monospace;font-size:.9em;background:rgba(255,255,255,0.07);padding:2px 6px;border-radius:5px}
.bo-prose table{width:100%;border-collapse:collapse;font-size:15px}
.bo-prose th,.bo-prose td{text-align:left;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,0.09)}
.bo-prose th{color:#fff;font-weight:500}

/* Ausrichtungen des Blockeditors */
.bo-prose .alignleft{float:left;margin:0 1.6em 1.2em 0}
.bo-prose .alignright{float:right;margin:0 0 1.2em 1.6em}
.bo-prose .aligncenter{margin-left:auto;margin-right:auto}
.bo-prose .alignwide{width:min(1180px,100%)}
.bo-prose .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}

/* Sprungziel für Screenreader */
.bo-skip{position:absolute;left:-9999px;top:0;z-index:300;background:#fff;color:#0a0a0a;padding:12px 20px;border-radius:0 0 10px 0;font-size:14px}
.bo-skip:focus{left:0}

/* Sichtbarer Fokus — im Original fehlte er komplett */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:4px}

/* Formularfelder (Kontakt) */
.bo-input{width:100%;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:13px 15px;color:#fff;font-family:inherit;font-size:15px;font-weight:300;transition:border-color .25s ease,background .25s ease}
.bo-input::placeholder{color:rgba(255,255,255,0.3)}
.bo-input:focus{outline:none;border-color:rgba(255,255,255,0.4);background:rgba(255,255,255,0.06)}
.bo-input:focus-visible{outline:none}
textarea.bo-input{resize:vertical;min-height:150px;line-height:1.6}
.bo-label{display:block;font-family:ui-monospace,Menlo,monospace;font-size:11px;letter-spacing:2px;color:rgba(255,255,255,0.4);margin-bottom:9px}
.bo-err{color:#ff8080;font-size:13px;margin-top:7px;font-weight:300}

/* Blätterung (Archive) */
.bo-pager{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;padding:50px 0 10px}
.bo-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 13px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);color:rgba(255,255,255,0.62);font-size:14px;text-decoration:none;transition:background .25s ease,color .25s ease,border-color .25s ease}
.bo-pager .page-numbers:hover{background:rgba(255,255,255,0.07);color:#fff}
.bo-pager .page-numbers.current{background:#f4f4f4;color:#0a0a0a;border-color:#f4f4f4}
.bo-pager .page-numbers.dots{border-color:transparent}

/* Animationen abschalten, wenn das System es verlangt */
@media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
    .bo-reveal{opacity:1;transform:none}
}
