/* JaLuBa Studio – Seitenrahmen (nur Frontend): Grund, Partikel-Layer, Header, Footer, Textseiten, Blog. */

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body.jl { margin: 0; background: #000; color: #f4f4fa; font-family: var(--jl-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.jl *, body.jl *::before, body.jl *::after { box-sizing: border-box; }
body.jl img, body.jl svg, body.jl canvas, body.jl video { max-width: 100%; }
a { color: inherit; }
.jl-footer li { font-size: 15px; color: #a9acc2; }
body.jl ::selection { background: #c58bff; color: #0a0a16; }
body.jl :focus-visible { outline: 2px solid #8aa4ff; outline-offset: 3px; }
.jl-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; }
.jl-skip:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- Partikel-Band (Canvas wird per Skript eingefuegt) ---------- */
.jl-bg { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }
.jl-bg canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: .95; }
.jl-bg__fb { position: absolute; left: 62%; top: -10%; width: 18vw; height: 120%; border-radius: 50%; opacity: .55; background: linear-gradient(90deg, rgba(90, 120, 255, .55), rgba(190, 120, 255, .45) 55%, rgba(255, 110, 150, .6)); -webkit-filter: blur(46px); filter: blur(46px); }
.jl-gl .jl-bg__fb { display: none; }
@media (max-width: 899px) { .jl-bg canvas { opacity: .55; } .jl-bg__fb { left: 50%; width: 40vw; opacity: .35; } }

.jl-main { position: relative; z-index: 1; display: block; }

/* ---------- Header ---------- */
.jl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; padding: 14px var(--jl-gut); pointer-events: none; }
body.admin-bar .jl-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .jl-header { top: 46px; } }
.jl-header__bar { position: relative; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 8px 10px 8px 22px; pointer-events: auto; border: 1px solid var(--jl-line); border-radius: 999px; background: rgba(14, 14, 24, .78); transition: background .3s, box-shadow .3s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.jl-header__bar { background: rgba(14, 14, 24, .5); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
}
.jl-header.is-scrolled .jl-header__bar { background: rgba(8, 8, 16, .88); box-shadow: 0 18px 50px -16px rgba(0, 0, 0, .9); }
.jl-brand { font: 700 21px/1 var(--jl-disp); letter-spacing: -.02em; text-decoration: none; color: #f4f4fa; }
.jl-brand span { color: #c58bff; }
.jl-brand img { display: block; max-height: 34px; width: auto; }
.jl-nav-check { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.jl-burger { display: none; width: 44px; height: 44px; margin-left: auto; margin-right: 8px; border-radius: 50%; cursor: pointer; position: relative; }
.jl-burger::before, .jl-burger::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #f4f4fa; transition: transform .25s, top .25s; }
.jl-burger::before { top: 17px; }
.jl-burger::after { top: 25px; }
.jl-nav-check:focus-visible + .jl-burger { outline: 2px solid #8aa4ff; }
.jl-nav-check:checked + .jl-burger::before { top: 21px; transform: rotate(45deg); }
.jl-nav-check:checked + .jl-burger::after { top: 21px; transform: rotate(-45deg); }
.jl-nav { display: flex; align-items: center; margin-left: auto; }
.jl-menu { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.jl-menu li { margin: 0; position: relative; }
.jl-menu a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #b9bcd2; transition: color .2s, background .2s; }
.jl-menu .current-menu-item > a, .jl-menu .current_page_item > a { color: #fff; }
.jl-menu .sub-menu { display: none; }
.jl-header__cta { margin-left: 8px; padding: 10px 20px; border-radius: 999px; font: 600 12px/1.2 var(--jl-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #0a0a16 !important; background: #c58bff; background-image: var(--jl-grad); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .jl-menu a:hover { color: #fff; background: rgba(255, 255, 255, .07); } .jl-header__cta:hover { filter: brightness(1.08); } }
@media (max-width: 899px) {
	.jl-burger { display: block; }
	.jl-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); margin: 0; padding: 14px; flex-direction: column; align-items: stretch; border: 1px solid var(--jl-line); border-radius: 22px; background: rgba(8, 8, 16, .96); }
	.jl-nav-check:checked ~ .jl-nav { display: flex; }
	.jl-menu { flex-direction: column; align-items: stretch; }
	.jl-menu a { padding: 14px 16px; font-size: 14px; }
	.jl-header__cta { margin: 8px 0 0; text-align: center; padding: 14px 20px; }
}

/* ---------- Footer ---------- */
.jl-footer { position: relative; z-index: 1; margin-top: 40px; border-top: 1px solid var(--jl-line); background: rgba(0, 0, 0, .72); }
.jl-footer__grid { display: grid; grid-template-columns: 1fr; grid-gap: 32px; gap: 32px; max-width: 1180px; margin: 0 auto; padding: 56px var(--jl-gut) 32px; }
@media (min-width: 700px) { .jl-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.jl-footer h2 { margin: 0 0 14px; font: 500 12px/1.4 var(--jl-body); letter-spacing: .18em; text-transform: uppercase; color: #cfd3ee; }
.jl-footer ul { margin: 0; padding: 0; list-style: none; }
.jl-footer li { margin: 0 0 8px; }
.jl-footer p { margin: 0 0 8px; font-size: 15px; color: #a9acc2; }
.jl-footer a { text-decoration: none; color: #a9acc2; transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .jl-footer a:hover { color: #fff; } }
.jl-footer .jl-brand { display: inline-block; margin-bottom: 14px; color: #f4f4fa; }
.jl-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 18px var(--jl-gut) 28px; border-top: 1px solid var(--jl-line); font-size: 13px; color: #8d90a8; }
.jl-footer__bar span { margin-right: 16px; }

/* ---------- Textseiten (Impressum, Datenschutz, eigene Seiten) ---------- */
.jl-text { max-width: 820px; margin: 0 auto; padding: 150px var(--jl-gut) 80px; }
.jl-text__title { margin: 0 0 32px; font: 600 40px/1.1 var(--jl-disp); letter-spacing: -.03em; color: #f4f4fa; }
.jl-text__body { color: #c9cbdd; font-size: 17px; line-height: 1.75; }
.jl-text__body h1, .jl-text__body h2, .jl-text__body h3, .jl-text__body h4 { margin: 1.8em 0 .6em; font-family: var(--jl-disp); font-weight: 500; line-height: 1.2; color: #f4f4fa; }
.jl-text__body p, .jl-text__body ul, .jl-text__body ol { margin: 0 0 1.1em; }
.jl-text__body a { color: #c9b6ff; }
.jl-text__body img { height: auto; border-radius: 12px; }
.jl-text__body .wp-block-citadela-blocks, .jl-text__body [class*="citadela-block"] { display: block; width: auto; max-width: none; margin-left: 0; margin-right: 0; padding: 0; background: none; border: 0; }
.jl-text__body table { width: 100%; border-collapse: collapse; }
.jl-text__body td, .jl-text__body th { padding: 8px; border: 1px solid var(--jl-line); }
.jl-text__body input, .jl-text__body textarea, .jl-text__body select { max-width: 100%; padding: 10px 12px; border: 1px solid var(--jl-line); border-radius: 8px; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.jl-text__body button, .jl-text__body input[type="submit"] { padding: 10px 20px; border: 0; border-radius: 999px; background: #c58bff; color: #0a0a16; font: 600 14px var(--jl-body); cursor: pointer; }

/* ---------- Blog-Raster ---------- */
.jl-posts { padding-top: 8px; }
.jl-posts__grid { display: grid; grid-template-columns: 1fr; grid-gap: 18px; gap: 18px; }
@media (min-width: 700px) { .jl-posts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .jl-posts__grid { grid-template-columns: repeat(3, 1fr); } }
.jl-post { display: flex; flex-direction: column; }
.jl-post__img { display: block; margin: -4px -4px 16px; overflow: hidden; border-radius: 12px; }
.jl-post__img img { display: block; width: 100%; height: auto; }
.jl-post__meta { margin: 0 0 8px !important; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: #cfd3ee !important; }
.jl-post h2 { margin: 0 0 10px; font: 600 21px/1.25 var(--jl-disp); }
.jl-post h2 a { text-decoration: none; color: #f4f4fa; }
.jl-post__more a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #f4f4fa; }
.jl-pagination { margin-top: 40px; text-align: center; }
.jl-pagination .page-numbers { display: inline-block; margin: 0 4px 8px; padding: 8px 16px; border: 1px solid var(--jl-line); border-radius: 999px; font-size: 13px; text-decoration: none; color: #f4f4fa; }
.jl-pagination .current { background: #c58bff; color: #0a0a16; border-color: transparent; }

/* ---------- Einzelbeitrag ---------- */
.jl-article__img { margin: 0 0 32px; }
.jl-article__img img { display: block; width: 100%; height: auto; border-radius: 16px; }
.jl-article__meta { margin: -16px 0 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #a9acc2; }

/* ---------- 404 ---------- */
.jl-404 { padding: 170px 0 100px; }

@media (max-width: 699px) { .jl-text { padding-top: 120px; } .jl-text__title { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
