/*
Theme Name:   gklickt — Kadence Child
Theme URI:    https://gklickt.de
Description:  Custom Child Theme für gklickt.de — Liquid Glass · Helle Bildbühne · Linsen-Fokus-Pull. Bindet sich ans Marstaller-Universum durch gemeinsame Designtokens (EB Garamond, Jost, Gold-Akzent #C9A84C).
Author:       Gregor Marstaller
Author URI:   https://gklickt.de
Template:     kadence
Version:      0.4.1
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  gklickt
Update URI:   gklickt.de
*/

/* ════════════════════════════════════════════════════════════════
   1. Design-Tokens
   ════════════════════════════════════════════════════════════════ */
:root {
  --gk-cream:        #F8F2E6;
  --gk-cream-light:  #FAF6EC;
  --gk-cream-deep:   #EDE5D2;
  --gk-ink:          #1F1A12;
  --gk-ink-soft:     #4A4234;
  --gk-ink-mute:     #8B7E68;
  --gk-gold:         #C9A84C;
  --gk-gold-deep:    #AD8740;
  --gk-gold-soft:    rgba(201, 168, 76, 0.15);
  --gk-clay:         #C25B41;
  --gk-clay-soft:    rgba(194, 91, 65, 0.08);
  --gk-glass-bg:     rgba(255, 255, 255, 0.62);
  --gk-glass-bg-2:   rgba(255, 255, 255, 0.78);
  --gk-glass-bord:   rgba(255, 255, 255, 0.65);
  --gk-glass-shadow: 0 30px 80px -30px rgba(31, 26, 18, 0.32);
}

/* ════════════════════════════════════════════════════════════════
   2. Body & Typografie
   ════════════════════════════════════════════════════════════════ */
body {
  background: var(--gk-cream);
  color: var(--gk-ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
  font-family: 'EB Garamond', serif !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}
h1, h2, .gk-italic { font-style: italic !important; }

img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.gk-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gk-gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   3. Header transparent über Hero
   ════════════════════════════════════════════════════════════════ */
.site-header.transparent-header {
  background: transparent !important;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.transparent-header.site-header-scrolled {
  background: rgba(248, 242, 230, 0.78) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(31, 26, 18, 0.06);
}
.site-header.transparent-header .site-title a { color: var(--gk-cream) !important; }
.site-header.transparent-header.site-header-scrolled .site-title a { color: var(--gk-ink) !important; }
.site-title a {
  font-family: 'EB Garamond', serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-size: 1.85rem !important;
}
.header-navigation .menu-item > a {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.74rem !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  transition: color 0.3s, border-color 0.3s !important;
}
.site-header.transparent-header .header-navigation .menu-item > a { color: var(--gk-cream) !important; }
.site-header.transparent-header.site-header-scrolled .header-navigation .menu-item > a { color: var(--gk-ink) !important; }
.header-navigation .menu-item.current-menu-item > a,
.header-navigation .menu-item > a:hover {
  color: var(--gk-gold) !important;
  border-bottom: 1px solid var(--gk-gold);
  padding-bottom: 4px;
}

/* ════════════════════════════════════════════════════════════════
   4. Hero · Crossfade mit Linsen-Fokus-Pull
   ════════════════════════════════════════════════════════════════ */
.gk-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.gk-hero__images { position: absolute; inset: 0; }
.gk-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, filter, transform;
  transition: opacity 1.5s ease-in-out;
}
.gk-hero__img.is-active {
  opacity: 1;
  animation: gk-focus-pull 7s ease-out forwards;
}
@keyframes gk-focus-pull {
  0%   { filter: blur(22px) brightness(1.12) saturate(0.85); transform: scale(1.10); }
  35%  { filter: blur(0) brightness(1) saturate(1);            transform: scale(1.02); }
  100% { filter: blur(0) brightness(1) saturate(1);            transform: scale(1.06); }
}
.gk-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.32) 100%);
  pointer-events: none;
}
/* ─── Cover-Bild bekommt Linsen-Fokus-Pull beim Laden ─── */
.gk-hero .wp-block-cover__image-background,
.wp-block-cover.gk-hero img.wp-block-cover__image-background {
  animation: gk-focus-pull-once 3s ease-out forwards;
  will-change: filter, transform;
}
@keyframes gk-focus-pull-once {
  0%   { filter: blur(20px) brightness(1.15) saturate(0.85); transform: scale(1.10); }
  60%  { filter: blur(0) brightness(1) saturate(1);            transform: scale(1.04); }
  100% { filter: blur(0) brightness(1) saturate(1);            transform: scale(1.02); }
}

/* ─── Hero-Card als Liquid-Glass (DEUTLICH sichtbar) ─── */
.gk-hero__card,
.wp-block-group.gk-hero__card {
  width: min(620px, calc(100% - 3rem)) !important;
  margin: 0 auto !important;
  padding: 2.75rem 3rem !important;
  background: rgba(248, 242, 230, 0.78) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 14px !important;
  box-shadow:
    0 40px 100px -30px rgba(31, 26, 18, 0.55),
    0 0 0 1px rgba(201, 168, 76, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.9) !important;
  text-align: center;
  animation: gk-card-enter 1.2s 0.6s ease-out backwards;
}
.gk-hero__card .gk-hero__title,
.gk-hero__card h1 {
  color: var(--gk-ink) !important;
  text-shadow: none;
}
.gk-hero__card .gk-hero__tagline,
.gk-hero__card p {
  color: var(--gk-ink-soft) !important;
}
@keyframes gk-card-enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Liquid-Glass-Helper, einsetzbar auf jedem wp-block-group via className "gk-glass" */
.gk-glass,
.wp-block-group.gk-glass {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 2rem 2.5rem !important;
  box-shadow: 0 20px 50px -20px rgba(31, 26, 18, 0.3), inset 0 1px 0 rgba(255,255,255,0.8);
}
.gk-hero__title {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.5px;
  color: var(--gk-ink);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.gk-hero__tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--gk-ink-soft);
  max-width: 480px;
  margin: 0 auto;
}
.gk-hero__credit {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: opacity 0.6s;
}

/* ════════════════════════════════════════════════════════════════
   4b. Brand-Mark — Logo-Stil für Hero und Pattern-Vorschau
   ════════════════════════════════════════════════════════════════ */
.gk-brand-mark {
  text-align: center;
  margin-bottom: 1.5rem;
  display: block;
}
.gk-brand-name {
  display: inline-block;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--gk-ink);
  line-height: 1;
  letter-spacing: -0.5px;
}
.gk-brand-dot {
  color: var(--gk-gold);
}
.gk-brand-sub {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gk-gold-deep);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ════════════════════════════════════════════════════════════════
   5. Glass-Helper
   ════════════════════════════════════════════════════════════════ */
.gk-glass {
  background: var(--gk-glass-bg-2);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--gk-glass-bord);
  border-radius: 8px;
  box-shadow: var(--gk-glass-shadow), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* ════════════════════════════════════════════════════════════════
   6. Intro · Glass-Karte überlappt Bild
   ════════════════════════════════════════════════════════════════ */
.gk-intro {
  padding: 8rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.gk-intro::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  top: 4rem; left: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gk-gold-soft), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.gk-intro__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 580px;
}
.gk-intro__image {
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(31, 26, 18, 0.35);
}
.gk-intro__card {
  position: relative;
  margin-left: -100px;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 3.5rem;
  background: var(--gk-glass-bg-2);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--gk-glass-bord);
  border-radius: 8px;
  box-shadow: var(--gk-glass-shadow), inset 0 1px 0 rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gk-intro__card h2 {
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 1.5rem;
  color: var(--gk-ink);
}
.gk-intro__card p {
  font-size: 1rem;
  color: var(--gk-ink-soft);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}
.gk-intro__card p em {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gk-clay);
  font-weight: 500;
}
.gk-signature {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gk-ink);
  margin-top: 1.5rem;
}

/* ════════════════════════════════════════════════════════════════
   7. Bokeh-Akzent-Helper
   ════════════════════════════════════════════════════════════════ */
.gk-bokeh-section {
  position: relative;
  overflow: hidden;
}
.gk-bokeh-section::before,
.gk-bokeh-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.gk-bokeh-section::before {
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, var(--gk-gold-soft), transparent 65%);
}
.gk-bokeh-section::after {
  width: 300px; height: 300px;
  bottom: 60px; left: -80px;
  background: radial-gradient(circle, var(--gk-clay-soft), transparent 70%);
}
.gk-bokeh-section > * { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════════
   8. Galerie · Selektive Tiefenschärfe
   ════════════════════════════════════════════════════════════════ */
.gk-gallery-wrap {
  padding: 7rem 2.5rem;
  background: var(--gk-cream-deep);
  position: relative;
  overflow: hidden;
}
.gk-gallery-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
  text-align: center;
  position: relative;
}
.gk-gallery-header h2 {
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
}
.gk-gallery {
  max-width: 1500px;
  margin: 0 auto;
  column-count: 4;
  column-gap: 1rem;
  position: relative;
}
.gk-gallery figure {
  break-inside: avoid;
  margin: 0 0 1rem 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 16px -4px rgba(31, 26, 18, 0.14);
}
.gk-gallery figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gk-gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.5rem 1.2rem;
  color: var(--gk-cream);
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.gk-gallery:hover figure img {
  filter: blur(2.5px) brightness(0.92);
  transform: scale(0.985);
}
.gk-gallery figure:hover img {
  filter: none;
  transform: scale(1.02);
}
.gk-gallery figure:hover figcaption { opacity: 1; }
.gk-gallery figure:hover {
  box-shadow: 0 20px 50px -10px rgba(31, 26, 18, 0.35);
}
.gk-gallery-cta {
  text-align: center;
  margin-top: 3.5rem;
}
@media (max-width: 1100px) { .gk-gallery { column-count: 3; } }
@media (max-width: 800px)  { .gk-gallery { column-count: 2; } .gk-intro__grid { grid-template-columns: 1fr; gap: 1.5rem; } .gk-intro__card { margin: 0; padding: 2.5rem; } }
@media (max-width: 500px)  { .gk-gallery { column-count: 1; } }

/* ════════════════════════════════════════════════════════════════
   9. Format-Prosa
   ════════════════════════════════════════════════════════════════ */
.gk-format {
  padding: 8rem 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.gk-format-header {
  text-align: center;
  margin-bottom: 4rem;
}
.gk-format-header h2 {
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
}
.gk-format-prose p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--gk-ink-soft);
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2.5rem;
}
.gk-format-prose .gk-step-num {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gk-gold);
  line-height: 1;
  position: absolute;
  left: 0;
  top: -0.15rem;
}
.gk-format-prose strong {
  color: var(--gk-ink);
  font-weight: 500;
}
.gk-format-table {
  margin-top: 3rem;
  background: var(--gk-glass-bg-2);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--gk-glass-bord);
  border-radius: 8px;
  box-shadow: 0 20px 50px -20px rgba(31, 26, 18, 0.18), inset 0 1px 0 rgba(255,255,255,0.7);
  overflow: hidden;
}
.gk-format-table dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  font-size: 0.95rem;
}
.gk-format-table dt {
  padding: 1rem 1.5rem;
  color: var(--gk-ink);
  font-weight: 500;
  border-bottom: 1px solid rgba(31, 26, 18, 0.07);
  background: rgba(248, 242, 230, 0.4);
}
.gk-format-table dd {
  padding: 1rem 1.5rem;
  color: var(--gk-ink-soft);
  border-bottom: 1px solid rgba(31, 26, 18, 0.07);
}
.gk-format-table dt:last-of-type, .gk-format-table dd:last-of-type {
  border-bottom: none;
}
.gk-format-table .gk-row-price dt,
.gk-format-table .gk-row-price dd {
  background: rgba(201, 168, 76, 0.08);
  font-size: 1.1rem;
}
.gk-format-table .gk-row-price dd {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--gk-gold-deep);
  font-weight: 500;
}
@media (max-width: 800px) {
  .gk-format-table dl { grid-template-columns: 1fr; }
  .gk-format-table dt { padding-bottom: 0.25rem; }
  .gk-format-table dd { padding-top: 0.25rem; padding-bottom: 1.25rem; }
}

/* ════════════════════════════════════════════════════════════════
   10. Schauspieler-Grid
   ════════════════════════════════════════════════════════════════ */
.gk-actors-wrap {
  padding: 7rem 2.5rem;
}
.gk-actors-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
  text-align: center;
}
.gk-actors-header h2 {
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
}
.gk-actors-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.gk-actor-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.gk-actor-thumb {
  aspect-ratio: 1 / 1.2;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 4px 12px -2px rgba(31, 26, 18, 0.16);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
}
.gk-actor-card:hover .gk-actor-thumb {
  transform: scale(1.03);
  box-shadow: 0 16px 40px -8px rgba(31, 26, 18, 0.32);
}
.gk-actor-card h4 {
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 1100px) { .gk-actors-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .gk-actors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px)  { .gk-actors-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════════════════════════════
   11. CTA · Photo-Background mit Glass-Card
   ════════════════════════════════════════════════════════════════ */
.gk-cta {
  position: relative;
  padding: 9rem 2.5rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.gk-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 26, 18, 0.45), rgba(31, 26, 18, 0.65));
}
.gk-cta__card {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  background: var(--gk-glass-bg);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--gk-glass-bord);
  border-radius: 8px;
  box-shadow: var(--gk-glass-shadow), inset 0 1px 0 rgba(255,255,255,0.7);
  text-align: center;
}
.gk-cta__card h2 {
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--gk-ink);
  margin-bottom: 1rem;
}
.gk-cta__card p {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--gk-ink-soft);
  margin-bottom: 2.25rem;
}

/* ════════════════════════════════════════════════════════════════
   12. Buttons
   ════════════════════════════════════════════════════════════════ */
.wp-block-button.is-style-gk-pill .wp-block-button__link,
.gk-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gk-gold);
  color: var(--gk-ink);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 60px;
  border: none;
  transition: all 0.4s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 8px 20px -8px rgba(201, 168, 76, 0.5);
}
.wp-block-button.is-style-gk-pill .wp-block-button__link:hover,
.gk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(201, 168, 76, 0.55);
}
.gk-btn--glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gk-ink);
  border: 1px solid var(--gk-gold);
  box-shadow: none;
}
.gk-btn--glass:hover { background: var(--gk-gold); }

/* ════════════════════════════════════════════════════════════════
   13. Footer · Universum-Hinweis (vereinfacht)
   ════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--gk-cream) !important; color: var(--gk-ink-soft) !important; }

.gk-universum-link {
  text-align: center;
  padding: 1.5rem 0;
  margin: 0;
}
.gk-universum-link a {
  font-family: 'EB Garamond', serif !important;
  font-style: italic;
  font-size: 1rem;
  color: var(--gk-ink-mute) !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  transition: color 0.4s, opacity 0.4s;
  opacity: 0.75;
}
.gk-universum-link a:hover {
  color: var(--gk-gold-deep) !important;
  opacity: 1;
}
.gk-universum-link a::before {
  content: '↗ ';
  font-style: normal;
  opacity: 0.6;
  margin-right: 0.25rem;
}

/* ════════════════════════════════════════════════════════════════
   14. Responsive Polish
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 800px) {
  .gk-hero__card { bottom: 3rem; padding: 2rem 1.5rem; }
  .gk-gallery-wrap, .gk-actors-wrap, .gk-cta { padding: 5rem 1.5rem; }
  .gk-intro { padding: 5rem 1.5rem; }
  .gk-format { padding: 5rem 1.5rem; }
  .gk-intro__image { aspect-ratio: 4/5; }
}


/* ════════════════════════════════════════════════════════════════
   SPIELEREI-HELPER — universell auf jeden Block anwendbar
   Im Editor: Block wählen → Sidebar → Erweitert → "Zusätzliche CSS-Klasse"
   Verfügbare Klassen:
   · spielerei-sparkle      — Diamantpainting-Schimmer (Theme-Farben)
   · spielerei-focus        — Linsen-Fokus-Pull beim Laden (Bilder)
   · spielerei-shimmer      — Glanz-Streifen wandert einmalig durch
   · spielerei-glow         — sanftes pulsierendes Aura
   · spielerei-fade-up      — Fade-In von unten beim Scrollen
   ════════════════════════════════════════════════════════════════ */

.spielerei-sparkle {
  position: relative;
  overflow: hidden;
}
.spielerei-sparkle::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 4px at 8% 12%, rgba(201, 168, 76, 0.55), transparent 70%),
    radial-gradient(circle 3px at 82% 18%, rgba(194, 91, 65, 0.7), transparent 70%),
    radial-gradient(circle 5px at 28% 72%, rgba(201, 168, 76, 0.5), transparent 70%),
    radial-gradient(circle 3px at 92% 82%, rgba(194, 91, 65, 0.6), transparent 70%),
    radial-gradient(circle 4px at 48% 32%, rgba(201, 168, 76, 0.4), transparent 70%),
    radial-gradient(circle 4px at 65% 60%, rgba(194, 91, 65, 0.5), transparent 70%);
  background-size: 320px 320px;
  animation: spielerei-shimmer-drift 14s linear infinite;
  z-index: 1;
}
@keyframes spielerei-shimmer-drift {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 320px 320px, -320px 320px, 320px -320px, -320px -320px, 160px 160px, -160px 160px; }
}

.spielerei-focus img,
.spielerei-focus .wp-block-cover__image-background {
  animation: spielerei-focus-pull 2.5s ease-out forwards;
  will-change: filter, transform;
}
@keyframes spielerei-focus-pull {
  0%   { filter: blur(20px) brightness(1.15) saturate(0.85); transform: scale(1.08); }
  100% { filter: blur(0) brightness(1) saturate(1); transform: scale(1.0); }
}

.spielerei-shimmer {
  position: relative;
  overflow: hidden;
}
.spielerei-shimmer::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  animation: spielerei-shimmer-sweep 3s ease-out 0.8s forwards;
  pointer-events: none;
}
@keyframes spielerei-shimmer-sweep {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.spielerei-glow {
  animation: spielerei-pulse 4s ease-in-out infinite;
}
@keyframes spielerei-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.0); }
  50%      { box-shadow: 0 0 40px 5px rgba(201, 168, 76, 0.35); }
}

.spielerei-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: spielerei-fade-up 1.2s ease-out 0.2s forwards;
}
@keyframes spielerei-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Reduzierte Bewegung: Animationen pausieren wenn der Nutzer reduce-motion will */
@media (prefers-reduced-motion: reduce) {
  .spielerei-sparkle::after,
  .spielerei-focus img,
  .spielerei-focus .wp-block-cover__image-background,
  .spielerei-shimmer::before,
  .spielerei-glow,
  .spielerei-fade-up {
    animation: none !important;
  }
  .spielerei-fade-up { opacity: 1; transform: none; }
}
