/* ---------- Eigene Blöcke ---------- */
.lab-marquee { overflow: hidden; padding-block: 1.1rem; background: var(--lime); color: var(--ink); position: relative; z-index: 2; }
.lab-marquee.is-tilted { rotate: -2deg; margin-inline: -2rem; }
.lab-marquee__track { display: flex; gap: 2rem; width: max-content; animation: marquee var(--speed, 28s) linear infinite; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.lab-marquee.is-reverse .lab-marquee__track { animation-direction: reverse; }
.lab-marquee:hover .lab-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.lab-reading-time { font-family: var(--wp--preset--font-family--mono); font-size: .8rem; }
.lab-reading-time::before { content: "◷ "; }

/* ---------- Block-Stile ---------- */
/* Cover: Aurora */
.wp-block-cover.is-style-aurora { overflow: hidden; isolation: isolate; }
.wp-block-cover.is-style-aurora::before, .wp-block-cover.is-style-aurora::after {
  content: ""; position: absolute; z-index: 0; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .6; pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.wp-block-cover.is-style-aurora::before { background: var(--violet); left: -15vmax; top: -25vmax; }
.wp-block-cover.is-style-aurora::after { background: var(--pink); right: -20vmax; bottom: -30vmax; animation-duration: 23s; animation-delay: -7s; }
.wp-block-cover.is-style-aurora .wp-block-cover__inner-container { z-index: 2; }
.wp-block-cover.is-style-aurora .wp-block-cover__background { z-index: 1; background-image: radial-gradient(circle at 70% 40%, color-mix(in srgb, var(--cyan) 35%, transparent), transparent 45%), linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; }
@keyframes drift { 50% { transform: translate(10vw, -6vh) scale(1.15); } 100% { transform: translate(-8vw, 8vh) scale(.9); } }

/* Überschriften */
.is-style-kinetic { letter-spacing: -.055em; line-height: .88; font-weight: 800; }
.is-style-kinetic .k-word { display: inline-block; white-space: nowrap; }
.is-style-kinetic .k-char { display: inline-block; opacity: 0; translate: 0 .5em; rotate: 8deg; font-variation-settings: "wght" 200; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), rotate .9s var(--ease-out), font-variation-settings .9s var(--ease-out), color .3s; transition-delay: calc(var(--i) * 35ms); }
.is-style-kinetic.is-in .k-char { opacity: 1; translate: 0 0; rotate: 0deg; font-variation-settings: "wght" 800; }
.is-style-kinetic.is-in .k-char:hover { font-variation-settings: "wght" 200; color: var(--lime); transition-delay: 0s; transition-duration: .25s; }
.is-style-outline { color: transparent !important; -webkit-text-stroke: 1.5px currentColor; -webkit-text-stroke-color: var(--paper); transition: color .5s; }
.is-style-outline:hover { color: var(--lime) !important; -webkit-text-stroke-color: var(--lime); }

/* Absätze */
.is-style-eyebrow { font-family: var(--wp--preset--font-family--mono); font-size: .78rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.is-style-scrollfill { font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.is-style-scrollfill .w { opacity: .12; transition: opacity .2s; }
@supports (animation-timeline: view()) {
  .is-style-scrollfill .w { animation: wfill linear both; animation-timeline: view(); animation-range: entry 90% cover 40%; transition: none; }
}
@keyframes wfill { to { opacity: 1; } }

/* Gruppen: Bento-Raster und Kacheln (nutzen das native Grid-Layout) */
.is-style-bento { gap: 14px !important; }
.is-style-tile { position: relative; overflow: hidden; border-radius: 28px; padding: 1.8rem; background: #15151d; border: 1px solid rgb(255 255 255 / .08); display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; transition: transform .5s var(--ease-out); }
.is-style-tile > * { position: relative; z-index: 1; margin-block: 0 .4rem; }
.is-style-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--px, 50%) var(--py, 50%), rgb(255 255 255 / .12), transparent 50%); }
.is-style-tile:hover::after { opacity: 1; }
.is-style-glass { background: linear-gradient(135deg, rgb(255 255 255 / .14), rgb(255 255 255 / .04)); border: 1px solid rgb(255 255 255 / .22); border-top-color: rgb(255 255 255 / .45); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); border-radius: 28px; }

/* Tabelle: Brutal */
.wp-block-table.is-style-brutal table { border-collapse: collapse; width: 100%; background: var(--paper); color: #000; border: 3px solid #000; box-shadow: 10px 10px 0 var(--lime); font-family: var(--wp--preset--font-family--mono); font-size: .95rem; }
.wp-block-table.is-style-brutal th, .wp-block-table.is-style-brutal td { border: 2px dashed #000; padding: .8rem 1rem; text-align: left; }
.wp-block-table.is-style-brutal thead { background: #000; color: var(--paper); border: 0; }
.wp-block-table.is-style-brutal thead th { border-color: #000; }
.wp-block-table.is-style-brutal tbody tr:hover { background: var(--lime); }
.wp-block-table.is-style-brutal figcaption { color: inherit; opacity: .6; }

/* Galerie und Bild: Kippen */
.is-style-tilt .wp-block-image, .wp-block-image.is-style-tilt { transition: transform .5s var(--ease-out); }
.is-style-tilt .wp-block-image img, .wp-block-image.is-style-tilt img { border-radius: 20px; }
.wp-block-gallery.is-style-tilt { perspective: 1000px; }

/* Details: Akkordeon */
.wp-block-details.is-style-accordion { border-top: 1px solid rgb(255 255 255 / .14); padding: 1.3rem 0; }
.wp-block-details.is-style-accordion:last-of-type { border-bottom: 1px solid rgb(255 255 255 / .14); }
.wp-block-details.is-style-accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; }
.wp-block-details.is-style-accordion summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-accordion summary::after { content: "+"; font-weight: 300; font-size: 1.6em; line-height: .8; transition: rotate .4s var(--ease-out); color: var(--lime); }
.wp-block-details.is-style-accordion[open] summary::after { rotate: 45deg; }
.wp-block-details.is-style-accordion > :not(summary) { opacity: .75; max-width: 46rem; }

/* Query: Bento */
.wp-block-post-template.is-style-bento { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; list-style: none; padding: 0; }
.wp-block-post-template.is-style-bento > li { position: relative; border-radius: 28px; overflow: hidden; background: #15151d; margin: 0; }
.wp-block-post-template.is-style-bento > li:first-child { grid-column: span 2; grid-row: span 2; }
.wp-block-post-template.is-style-bento > li:nth-child(4) { grid-column: span 2; }
.wp-block-post-template.is-style-bento .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; height: 100% !important; }
.wp-block-post-template.is-style-bento .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s var(--ease-out); }
.wp-block-post-template.is-style-bento > li:hover .wp-block-post-featured-image img { transform: scale(1.06); }
.wp-block-post-template.is-style-bento > li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(0 0 0 / .85)); pointer-events: none; }
.wp-block-post-template.is-style-bento .wp-block-post-title, .wp-block-post-template.is-style-bento .wp-block-post-terms, .wp-block-post-template.is-style-bento .wp-block-post-date { position: absolute; z-index: 2; left: 1.4rem; right: 1.4rem; margin: 0; }
.wp-block-post-template.is-style-bento .wp-block-post-title { bottom: 2.6rem; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; }
.wp-block-post-template.is-style-bento > li:first-child .wp-block-post-title { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.wp-block-post-template.is-style-bento .wp-block-post-title a { text-decoration: none; color: #fff; }
.wp-block-post-template.is-style-bento .wp-block-post-title a::before { content: ""; position: absolute; inset: -100vh -100vw; } /* ganze Kachel klickbar */
.wp-block-post-template.is-style-bento .wp-block-post-terms { top: 1.2rem; }
.wp-block-post-template.is-style-bento .wp-block-post-terms a { font-family: var(--wp--preset--font-family--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; background: var(--lime); color: var(--ink); padding: .3rem .6rem; border-radius: 999px; position: relative; z-index: 3; }
.wp-block-post-template.is-style-bento .wp-block-post-date { bottom: 1.2rem; font-size: .8rem; opacity: .7; color: #fff; }
@media (max-width: 900px) { .wp-block-post-template.is-style-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wp-block-post-template.is-style-bento { grid-template-columns: 1fr; } .wp-block-post-template.is-style-bento > li { grid-column: auto !important; grid-row: auto !important; } }

/* Zitat: groß */
.wp-block-quote.is-style-pull { border: 0; padding: 0; text-align: center; }
.wp-block-quote.is-style-pull p { font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.02em; }
.wp-block-quote.is-style-pull cite { font-family: var(--wp--preset--font-family--mono); font-style: normal; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; opacity: .6; }
/* Beitrag ohne Beitragsbild: Verlauf statt leerer Kachel */
.wp-block-post-template.is-style-bento > li:not(:has(.wp-block-post-featured-image img)) { background: radial-gradient(circle at 20% 20%, var(--violet), transparent 55%), radial-gradient(circle at 85% 80%, var(--pink), transparent 50%), #15151d; }
.bl-grid > li:not(:has(.wp-block-post-featured-image img))::before { content: ""; display: block; aspect-ratio: 16/10; border-radius: 22px; margin-bottom: 1.2rem; background: radial-gradient(circle at 20% 20%, var(--violet), transparent 55%), radial-gradient(circle at 85% 80%, var(--pink), transparent 50%), #15151d; }
