/*
 Theme Name:   LOKAGO Child Theme
 Theme URI:    https://lokago.de
 Description:  GeneratePress Child Theme für LOKAGO — "Substance over Show" Design System
 Author:       LOKAGO
 Author URI:   https://lokago.de
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  lokago
*/


/* ========================================
   LOKAGO Design System v1.0
   "Substance over Show" — Clean Tech meets Organic
   ======================================== */


/* ----------------------------------------
   1. DESIGN TOKENS (CSS Custom Properties)
   ---------------------------------------- */

:root {
  /* CI Farben — aus Color_Palette.txt */
  --clr-text-main: #022a3a;       /* Primary Dark — ersetzt Schwarz */
  --clr-brand-primary: #94c11f;   /* Brand Green — Identität */
  --clr-accent-hot: #E65536;      /* Accent Coral — Conversion CTAs */
  --clr-accent-deep: #183066;     /* Secondary Navy — Footer, sekundär */
  --clr-bg-surface: #F2F9E8;      /* Surface Mint — Hintergründe */
  --clr-status-success: #009931;  /* Success Green — Bestätigungen */

  /* Neutrale Farben */
  --clr-bg-white: #FAFAF9;        /* Warmes Off-White */
  --clr-border: rgba(2, 42, 58, 0.08);
  --clr-text-muted: rgba(2, 42, 58, 0.6);
  --clr-text-light: rgba(2, 42, 58, 0.7);

  /* Typografie */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Abstände */
  --section-padding: clamp(64px, 8vw, 128px);
  --section-padding-sm: clamp(40px, 5vw, 64px);
  --container-max: 1120px;
  --container-narrow: 720px;
  --gap-lg: 48px;
  --gap-md: 32px;
  --gap-sm: 24px;
  --gap-xs: 16px;

  /* Radien */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 999px;

  /* Schatten */
  --shadow-soft: 0 20px 40px -10px rgba(2, 42, 58, 0.08);
  --shadow-card: 0 4px 24px rgba(2, 42, 58, 0.06);
  --shadow-btn: 0 8px 24px rgba(2, 42, 58, 0.2);
  --shadow-btn-hover: 0 12px 32px rgba(2, 42, 58, 0.25);

  /* Übergänge */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}


/* ----------------------------------------
   2. GLOBALE BASIS-STYLES
   ---------------------------------------- */

body {
  font-family: var(--font-body);
  color: var(--clr-text-main);
  background: var(--clr-bg-white);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv01";
  overflow-x: hidden;
}

/* Nie reines Schwarz verwenden */
* {
  border-color: var(--clr-border);
}

/* Selection — Brand Green */
::selection {
  background-color: var(--clr-brand-primary);
  color: var(--clr-text-main);
}

/* Sanftes Scrollen */
html {
  scroll-behavior: smooth;
}

/* Bilder */
img {
  max-width: 100%;
  height: auto;
}


/* ----------------------------------------
   3. TYPOGRAFIE
   ---------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  color: var(--clr-text-light);
  max-width: 65ch; /* Optimale Lesezeilenbreite */
}

/* Lead-Text (große Absätze) */
.lok-lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--clr-text-light);
}

/* Overline / Kategorie-Label */
.lok-overline {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
}

/* Text Gradient (für Hero-Headlines) */
.lok-text-gradient {
  background: linear-gradient(135deg, var(--clr-text-main), var(--clr-accent-deep), var(--clr-brand-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Links */
a {
  color: var(--clr-accent-deep);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--clr-text-main);
}


/* ----------------------------------------
   4. SECTION SYSTEM
   ---------------------------------------- */

.lok-section {
  padding: var(--section-padding) 0;
}

.lok-section--sm {
  padding: var(--section-padding-sm) 0;
}

/* Hintergrund-Varianten */
.lok-section--surface {
  background: var(--clr-bg-surface);
}

.lok-section--dark {
  background: var(--clr-text-main);
  color: #fff;
}
.lok-section--dark h2,
.lok-section--dark h3,
.lok-section--dark h4 {
  color: #fff;
}
.lok-section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.lok-section--navy {
  background: var(--clr-accent-deep);
  color: #fff;
}
.lok-section--navy h2,
.lok-section--navy h3 {
  color: #fff;
}
.lok-section--navy p {
  color: rgba(255, 255, 255, 0.8);
}

/* Slanted Background (clip-path) */
.lok-section--slant {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: calc(var(--section-padding) + 4rem);
}

/* Gradient Mesh Background (Hero) */
.lok-mesh-bg {
  background:
    radial-gradient(at 0% 0%, rgba(148, 193, 31, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(242, 249, 232, 0.6) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(229, 231, 235, 0.3) 0px, transparent 50%);
}


/* ----------------------------------------
   5. CONTAINER
   ---------------------------------------- */

.lok-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gap-sm);
  padding-right: var(--gap-sm);
}

.lok-container--narrow {
  max-width: var(--container-narrow);
}


/* ----------------------------------------
   6. BUTTONS
   ---------------------------------------- */

.lok-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
  white-space: nowrap;
}
.lok-btn:active {
  transform: scale(0.96);
}

/* Primary — Dunkler Hintergrund, weiß
   Hauptbutton, 1-2x pro Viewport */
.lok-btn--primary {
  background: var(--clr-text-main);
  color: #fff;
  padding: 16px 32px;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
}
.lok-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

/* Secondary — Weiß mit Border */
.lok-btn--secondary {
  background: #fff;
  color: var(--clr-text-main);
  padding: 14px 28px;
  border: 1px solid var(--clr-border);
}
.lok-btn--secondary:hover {
  background: #f5f5f4;
  color: var(--clr-text-main);
}

/* Coral — Conversion CTA, sparsam! Max 1x pro View */
.lok-btn--coral {
  background: var(--clr-accent-hot);
  color: #fff;
  padding: 16px 32px;
  font-size: 1rem;
}
.lok-btn--coral:hover {
  color: #fff;
  opacity: 0.9;
}

/* Green — Navigation ("Mehr erfahren") */
.lok-btn--green {
  background: var(--clr-brand-primary);
  color: var(--clr-text-main); /* NIEMALS weiß auf Brand Green! */
  padding: 12px 28px;
}
.lok-btn--green:hover {
  color: var(--clr-text-main);
  opacity: 0.9;
}

/* Ghost — Transparent mit Border */
.lok-btn--ghost {
  background: transparent;
  color: var(--clr-accent-deep);
  padding: 12px 28px;
  border: 2px solid var(--clr-accent-deep);
}
.lok-btn--ghost:hover {
  background: var(--clr-accent-deep);
  color: #fff;
}

/* Link-Style Button */
.lok-btn--link {
  background: none;
  color: var(--clr-text-main);
  padding: 0;
  font-weight: 600;
  border-bottom: 2px solid var(--clr-text-main);
  border-radius: 0;
  padding-bottom: 2px;
}
.lok-btn--link:hover {
  opacity: 0.7;
}

/* Button-Größen */
.lok-btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}
.lok-btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}


/* ----------------------------------------
   7. CARDS
   ---------------------------------------- */

.lok-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-med);
}
.lok-card:hover {
  box-shadow: var(--shadow-card);
}

/* Dunkle Card (Feature Highlight) */
.lok-card--dark {
  background: var(--clr-text-main);
  color: #fff;
  border: none;
}
.lok-card--dark h3,
.lok-card--dark h4 {
  color: #fff;
}
.lok-card--dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* Muted Card (grauer Hintergrund) */
.lok-card--muted {
  background: #F3F4F6;
  border: none;
}

/* Card mit kleinem Radius (für Blog-Karten etc.) */
.lok-card--sm {
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
}

/* Icon-Container in Cards */
.lok-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--gap-sm);
  font-size: 1.25rem;
  transition: transform var(--transition-slow);
}
.lok-card:hover .lok-card-icon {
  transform: rotate(12deg);
}
.lok-card-icon--green {
  background: rgba(148, 193, 31, 0.15);
  color: var(--clr-text-main);
}
.lok-card-icon--white {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}


/* ----------------------------------------
   8. TRUST BAR (Scrolling Partner-Logos)
   ---------------------------------------- */

.lok-trust-bar {
  overflow: hidden;
  padding: var(--gap-sm) 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: #fff;
}

.lok-trust-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  white-space: nowrap;
  animation: lok-scroll 30s linear infinite;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all var(--transition-slow);
}
.lok-trust-track:hover {
  opacity: 1;
  filter: grayscale(0);
}

.lok-trust-track span,
.lok-trust-track img {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lok-trust-track img {
  height: 40px;
  width: auto;
}

@keyframes lok-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ----------------------------------------
   9. STATS / KENNZAHLEN
   ---------------------------------------- */

.lok-stat {
  text-align: center;
  padding: 0 var(--gap-sm);
}

.lok-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-brand-primary);
  line-height: 1;
}

.lok-stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Stats mit Divider */
.lok-stats-divider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-lg);
}
.lok-stats-divider > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .lok-stats-divider {
    grid-template-columns: repeat(2, 1fr);
  }
  .lok-stats-divider > *:nth-child(3) {
    border-left: none;
  }
}


/* ----------------------------------------
   10. FAQ ACCORDION
   ---------------------------------------- */

.lok-faq details {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(2, 42, 58, 0.06);
  padding: var(--gap-sm);
  margin-bottom: 1rem;
  transition: box-shadow var(--transition-med);
  cursor: pointer;
}
.lok-faq details[open] {
  box-shadow: var(--shadow-card);
}

.lok-faq summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-text-main);
}
.lok-faq summary::-webkit-details-marker {
  display: none;
}

/* Chevron-Icon rotiert beim Öffnen */
.lok-faq summary .lok-faq-chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.lok-faq details[open] summary .lok-faq-chevron {
  transform: rotate(180deg);
}

.lok-faq details p {
  color: var(--clr-text-light);
  margin-top: var(--gap-xs);
  line-height: 1.7;
}


/* ----------------------------------------
   11. ANNOUNCEMENT BADGE
   ---------------------------------------- */

.lok-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color var(--transition-fast);
}
.lok-badge:hover {
  border-color: rgba(2, 42, 58, 0.2);
  color: var(--clr-text-main);
}

.lok-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-brand-primary);
  flex-shrink: 0;
}


/* ----------------------------------------
   12. DASHBOARD MOCKUP (Hero-Bild)
   ---------------------------------------- */

.lok-dashboard-frame {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(2, 42, 58, 0.15);
  border: 1px solid var(--clr-border);
  padding: 8px;
}

.lok-dashboard-inner {
  background: var(--clr-bg-white);
  border-radius: 1.5rem;
  border: 1px solid var(--clr-border);
  overflow: hidden;
}

/* Browser-Dots */
.lok-browser-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.lok-browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.lok-browser-dots span:nth-child(1) { background: rgba(239, 68, 68, 0.8); }
.lok-browser-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.8); }
.lok-browser-dots span:nth-child(3) { background: rgba(74, 222, 128, 0.8); }

/* Stat-Karten im Dashboard */
.lok-dash-stat {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  padding: var(--gap-xs);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.lok-dash-stat--highlight {
  background: var(--clr-brand-primary);
  border-color: rgba(148, 193, 31, 0.5);
}


/* ----------------------------------------
   13. GRAINY TEXTURE OVERLAY
   ---------------------------------------- */

.lok-grain {
  position: relative;
}
.lok-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}
.lok-grain > * {
  position: relative;
  z-index: 2;
}


/* ----------------------------------------
   14. NAVIGATION (GeneratePress + Glassmorphe)

   Tatsächliche GP-Struktur (aus dem Frontend):
   header.site-header
     .inside-header.grid-container
       .site-branding-container
         .site-logo (Bild)
         .site-branding > h1.main-title (Text)
       nav#mobile-menu-control-wrapper (Mobile Toggle)
       nav#site-navigation.main-navigation
         .inside-navigation.grid-container
           button.menu-toggle
           #primary-menu .main-nav > ul
   ---------------------------------------- */

/* ---- Header fixieren + Glassmorphe ---- */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.75) !important;
  border-bottom: 1px solid rgba(2, 42, 58, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.lok-scrolled {
  box-shadow: 0 1px 8px rgba(2, 42, 58, 0.06);
  background: rgba(255, 255, 255, 0.95) !important;
}

/* Body-Padding für fixierten Header */
body {
  padding-top: 80px;
}

/* ---- .inside-header: Logo links, Nav rechts ---- */
.inside-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gap-sm);
  min-height: 80px;
  flex-wrap: nowrap;
}

/* Logo-Container: nicht wachsen, nicht schrumpfen */
.site-branding-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

/* ---- Logo ---- */
.site-header .site-logo {
  flex-shrink: 0;
  line-height: 0;
}

.site-header .site-logo img,
.site-header .header-image {
  max-height: 40px;
  width: auto;
}

/*
 * Seitentitel wird im Customizer deaktiviert
 * (Website-Identität → "Seitentitel anzeigen" deaktivieren).
 * Fallback — nur aktivieren falls Customizer nicht greift:
 * .site-branding-container .site-branding { display: none !important; }
 */

/* ---- Navigation: ans rechte Ende ---- */
#site-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  position: static !important;
  background: transparent !important;
  border: none;
}

.inside-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  width: auto;
}

/* ---- Menü-Links ---- */
.main-navigation .main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .main-nav ul li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(2, 42, 58, 0.65);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--clr-text-main);
  background: rgba(2, 42, 58, 0.04);
}

/* ---- CTA Button im Menü ---- */
.main-navigation .main-nav ul li.lok-menu-cta > a {
  background: var(--clr-text-main) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-left: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.main-navigation .main-nav ul li.lok-menu-cta > a:hover {
  background: #0a3f54 !important;
  transform: translateY(-1px);
}

/* ---- Mobile Toggle: auf Desktop verstecken ---- */
#mobile-menu-control-wrapper {
  display: none;
}

/* Desktop: Menü-Toggle in #site-navigation verstecken */
#site-navigation > .inside-navigation > .menu-toggle {
  display: none;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .inside-header {
    min-height: 60px;
    flex-wrap: wrap;
  }

  /* Mobile: Logo + Burger nebeneinander */
  .site-branding-container {
    flex: 1;
  }

  /* Mobile Toggle sichtbar machen */
  #mobile-menu-control-wrapper {
    display: flex;
    align-items: center;
  }

  /* Desktop-Nav verstecken (GP handhabt Mobile-Toggle) */
  #site-navigation {
    width: 100%;
    flex-basis: 100%;
  }

  /* Mobile Menü: volle Breite */
  .main-navigation .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    align-items: stretch;
  }

  .main-navigation .main-nav ul li a {
    font-size: 1rem;
    padding: 12px var(--gap-sm);
    display: block;
    border-radius: 0;
  }

  .main-navigation .main-nav ul li.lok-menu-cta {
    padding: 8px var(--gap-sm) 16px;
  }

  .main-navigation .main-nav ul li.lok-menu-cta a {
    display: block;
    text-align: center;
    margin-left: 0;
    border-radius: 999px;
  }
}

/* ---- Burger Button Styling ---- */
.menu-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 8px;
  color: var(--clr-text-main);
}

.menu-toggle .gp-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--clr-text-main);
}


/* ----------------------------------------
   15. LEAD MAGNET BOX
   ---------------------------------------- */

.lok-lead-magnet {
  background: var(--clr-bg-surface);
  border-radius: var(--radius-xl);
  padding: var(--gap-lg);
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}

@media (max-width: 768px) {
  .lok-lead-magnet {
    flex-direction: column;
    text-align: center;
  }
}


/* ----------------------------------------
   16. BLOG-KARTEN
   ---------------------------------------- */

.lok-blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.lok-blog-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.lok-blog-card-body {
  padding: var(--gap-sm);
}

.lok-blog-tag {
  display: inline-block;
  background: rgba(148, 193, 31, 0.15);
  color: var(--clr-text-main);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}


/* ----------------------------------------
   17. TAGS / BADGES (Format-Labels)
   ---------------------------------------- */

.lok-format-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


/* ----------------------------------------
   18. ANIMATED BLOBS (Hero Hintergrund)
   ---------------------------------------- */

.lok-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(72px);
  animation: lok-blob 7s infinite;
  pointer-events: none;
}

.lok-blob--green {
  background: var(--clr-brand-primary);
  opacity: 0.2;
}

.lok-blob--purple {
  background: #c4b5fd;
  opacity: 0.15;
}

@keyframes lok-blob {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(30px, -50px) scale(1.1); }
  66%  { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}


/* ----------------------------------------
   19. PULSE DOT (Status-Indikator)
   ---------------------------------------- */

.lok-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-status-success);
  animation: lok-pulse 2s infinite;
}

@keyframes lok-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 153, 49, 0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 153, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 153, 49, 0); }
}


/* ----------------------------------------
   20. UTILITY CLASSES
   ---------------------------------------- */

/* Text-Zentrierung */
.lok-text-center { text-align: center; }

/* Maximale Breite für Text */
.lok-max-prose { max-width: 65ch; }
.lok-max-narrow { max-width: var(--container-narrow); }
.lok-mx-auto { margin-left: auto; margin-right: auto; }

/* Abstände */
.lok-mb-sm { margin-bottom: var(--gap-sm); }
.lok-mb-md { margin-bottom: var(--gap-md); }
.lok-mb-lg { margin-bottom: var(--gap-lg); }

/* Flex */
.lok-flex { display: flex; }
.lok-flex-center { display: flex; align-items: center; justify-content: center; }
.lok-flex-wrap { flex-wrap: wrap; }
.lok-gap-sm { gap: var(--gap-sm); }
.lok-gap-md { gap: var(--gap-md); }

/* Verstecken auf Mobile */
@media (max-width: 768px) {
  .lok-hide-mobile { display: none !important; }
}

/* Verstecken auf Desktop */
@media (min-width: 769px) {
  .lok-hide-desktop { display: none !important; }
}


/* ----------------------------------------
   21. WORDPRESS BLOCK OVERRIDES
   ---------------------------------------- */

/* GenerateBlocks Container-Reset */
.gb-container {
  box-sizing: border-box;
}

/* WordPress Core Buttons an unser System anpassen */
.wp-block-button__link {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Gutenberg Columns Spacing */
.wp-block-columns {
  gap: var(--gap-md) !important;
}

/* Standard-Absatz max-width im Editor */
.entry-content > p {
  max-width: 65ch;
}


/* ----------------------------------------
   22. HIDE SCROLLBAR (für Trust-Ticker)
   ---------------------------------------- */

.lok-no-scrollbar::-webkit-scrollbar {
  display: none;
}
.lok-no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* ----------------------------------------
   23. RESPONSIVE ANPASSUNGEN
   ---------------------------------------- */

@media (max-width: 1024px) {
  :root {
    --section-padding: clamp(48px, 6vw, 80px);
    --gap-lg: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
    --gap-lg: 24px;
    --gap-md: 20px;
  }

  h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .lok-card {
    padding: var(--gap-md);
    border-radius: var(--radius-lg);
  }
}
