/*
Theme Name: wsgTheme
Theme URI: https://skit.sascha-kohler.at/
Author: skit.sascha-kohler.at
Author URI: https://skit.sascha-kohler.at/
Description: Modernes, modulares WordPress-Theme für wsg. Fonts: Poppins (Headlines), Lato (Fließtext).
Version: 1.3.4.2.25.09.01-headless-landing-contrast
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wsgtheme
Tags: gesund, challenge, modern, responsive
*/

/**
 * CSS Variables
 *
 * Contains all CSS custom properties (variables) for the theme
 */

:root {
  /* Primary Colors */
  --wsg-primary: #667eea; /* main blue */
  --wsg-secondary: #a45ed4; /* deep purple */
  --wsg-secondary-light: #b97ee5; /* lighter purple for gradients */
  --wsg-accent: #ffb6e6; /* light pink */
  
  /* Backgrounds */
  --wsg-bg: #3a2574; /* dark purple background */
  --wsg-bg-gradient: linear-gradient(135deg, #3a2574 0%, #a45ed4 100%);
  --wsg-body-bg: #f7f8fa; /* light background */
  
  /* Text colors */
  --wsg-text: #2d2357; /* main text color */
  --wsg-text-light: #fff; /* light text color */
  --wsg-text-alt: #392b5c; /* alternate text color */
  
  /* Accent colors */
  --wsg-highlight: #ffe6fa; /* soft highlight pink */
  --wsg-green: #60c13e; /* green apple accent */
  --wsg-red: #ff4d7e; /* heart accent */
  
  /* Cards and UI */
  --wsg-card-radius: 16px;
  --wsg-btn-radius: 24px;
  --wsg-badge-radius: 8px;
  
  /* Shadows */
  --wsg-shadow-sm: 0 2px 8px rgba(161,94,212,0.06);
  --wsg-shadow-md: 0 4px 16px rgba(102,126,234,0.10);
  --wsg-shadow-lg: 0 8px 32px rgba(102,126,234,0.13);
  
  /* Fonts – modernisiert */
  --wsg-font-primary: 'Lato', Arial, sans-serif; /* Fließtext: Lato */
  --wsg-font-headline: 'Poppins', Arial, sans-serif; /* Headlines: Poppins */
  --wsg-font-alt: 'Lato', Arial, sans-serif; /* Alt: Lato */
  
  /* Spacing */
  --wsg-spacing-xs: 0.5rem;
  --wsg-spacing-sm: 1rem;
  --wsg-spacing-md: 1.5rem;
  --wsg-spacing-lg: 2rem;
  --wsg-spacing-xl: 3rem;
  
  /* Transitions */
  --wsg-transition-fast: 0.18s;
  --wsg-transition-normal: 0.25s;
  --wsg-transition-slow: 0.35s;
}

/* Headless landing layout & high-contrast look */
.headless-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1117; /* console-like dark */
  color: #e5e7eb;
}
.headless-landing .hero {
  width: 100%;
  padding: 0; /* remove extra padding so true fullscreen center */
  background: transparent;
}
.headless-landing .hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.headless-landing h1 {
  color: #ffffff;
  text-shadow: none; /* stronger crisp */
  letter-spacing: 0.4px;
}
.headless-landing .hero-mantra {
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.25rem;
}
.headless-landing a { color: #7dd3fc; }
.headless-landing a:hover { color: #38bdf8; text-decoration: underline; }
.headless-landing .mindblow-cta-btn {
  background: linear-gradient(90deg, #22c55e 0%, #3b82f6 100%);
  border: 2px solid #0ea5e9;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(14,165,233,0.15), 0 10px 24px rgba(0,0,0,0.35);
}
.headless-landing .mindblow-cta-btn:hover { filter: saturate(1.2) brightness(1.05); }
.headless-landing .tech-note { margin-top: 1.5rem; color: #e5e7eb; }
.headless-landing .credit { margin-top: 1rem; opacity: 0.95; }

/**
 * CSS Reset
 *
 * Basic reset and foundational styles
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--wsg-body-bg);
  color: var(--wsg-text);
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
}


h1, h2, h3, h4, h5, h6 {
  color: var(--wsg-text);
  font-family: var(--wsg-font-headline); /* Modernisiert: Headlines = Poppins */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--wsg-spacing-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.3rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--wsg-spacing-md);
}

a {
  color: var(--wsg-primary);
  text-decoration: none;
  transition: color var(--wsg-transition-fast);
}

a:hover,
a:active,
a:focus {
  color: var(--wsg-secondary);
  text-decoration: none;
}

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

ul, ol {
  margin-left: var(--wsg-spacing-lg);
  margin-bottom: var(--wsg-spacing-md);
}

li {
  margin-bottom: var(--wsg-spacing-xs);
}

/* Screen reader text - WordPress accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/**
 * Layout Styles
 *
 * Contains grid system, containers, and general layout structures
 */

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--wsg-spacing-md);
  padding-right: var(--wsg-spacing-md);
}

/* Page layout */
.page-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--wsg-spacing-lg) var(--wsg-spacing-md);
}

/* Blog grid layout */
.blog-container {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* About page layout */
.about-page-wrapper {
  min-height: 100vh;
}

@media (min-width: 992px) {
  .about-page-wrapper .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .about-content.col-lg-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .about-sidebar.col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    margin-left: auto;
    margin-bottom: var(--wsg-spacing-lg);
  }
}

/* Single post layout */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.single-post-main {
  padding-top: var(--wsg-spacing-xl);
  padding-bottom: var(--wsg-spacing-xl);
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--wsg-spacing-lg);
  width: 100%;
  margin: 0 auto var(--wsg-spacing-lg) auto;
  padding: 0;
  background: none;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive layout adjustments */
@media (max-width: 991px) {
  .about-page-wrapper .row {
    flex-direction: column;
  }

  .about-content,
  .about-sidebar {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 900px), (max-width: 1100px) {
  .blog-container,
  .single-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .main-content {
    margin-left: auto;
    margin-right: auto;
  }

  .sidebar,
  .sidebar-single {
    margin: var(--wsg-spacing-lg) auto 0 auto;
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/**
 * Header & Navigation Styles
 *
 * Contains all styles for site header, main navigation, and mobile menu
 */

/* Main Header */
header {
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: var(--wsg-spacing-sm) 0;
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: font-size 0.3s ease;
}

/* Responsive logo */
@media (max-width: 768px) {
  .logo {
    font-size: 1.4rem;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1rem;
    max-width: 65%;
  }
}

/* Main Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  margin-left: var(--wsg-spacing-lg);
  margin-bottom: 0;
}

.nav-links li {
  margin-bottom: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  color: var(--wsg-text);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: color var(--wsg-transition-fast);
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  color: var(--wsg-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wsg-primary), var(--wsg-secondary));
  transition:
    width var(--wsg-transition-normal),
    left var(--wsg-transition-normal);
}

.nav-links a:hover::after,
.nav-links .current-menu-item a::after {
  width: 100%;
  left: 0;
}

/* Navigation Actions (right side) */
.nav-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 1.5rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 33, 77, 0.44);
    z-index: 1004;
  }

  .nav-overlay.open {
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 1.5rem 0.8rem;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.15rem;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: var(--wsg-primary);
    color: var(--wsg-text-light);
  }

  /* Mobile nav toggle button */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1003;
    margin-left: 1rem;
    position: relative;
    outline: none;
  }

  .hamburger {
    position: relative;
    width: 30px;
    height: 30px;
  }

  .bar {
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(
      90deg,
      var(--wsg-primary),
      var(--wsg-secondary)
    );
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition:
      transform 0.3s ease-in-out,
      opacity 0.2s ease-in-out,
      top 0.3s ease-in-out;
  }

  .bar:nth-child(1) {
    top: 6px;
  }

  .bar:nth-child(2) {
    top: 15px;
    width: 24px;
    right: 0;
    left: auto;
  }

  .bar:nth-child(3) {
    top: 24px;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
    width: 30px;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
    width: 30px;
  }

  /* Hamburger hover effect */
  .nav-toggle:hover .bar:nth-child(2) {
    width: 30px;
    transform: translateX(0);
  }

  .nav-toggle:hover .bar {
    background: linear-gradient(
      90deg,
      var(--wsg-secondary),
      var(--wsg-primary)
    );
  }

  /* Mobile nav wrapper */
  .nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
    z-index: 1001;
    border-radius: 0 0 18px 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
  }

  .nav-wrapper.open {
    max-height: 600px;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop Menu Controls */
@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-wrapper {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-height: none !important;
    padding: 0 !important;
  }
}

/**
 * Hero Section Styles
 *
 * Contains styles for the hero section, intro cards, and CTAs
 */

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--wsg-primary) 0%,
    var(--wsg-secondary) 100%
  );
  color: var(--wsg-text-light);
  padding: var(--wsg-spacing-xl) 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 340px;
  padding: 2.2rem 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 60% 40%,
      rgba(252, 92, 125, 0.18) 0%,
      transparent 60%
    ),
    linear-gradient(120deg, rgba(102, 126, 234, 0.72), rgba(118, 75, 162, 0.82));
  z-index: 1;
  pointer-events: none;
  animation: heroBgMove 18s ease-in-out infinite alternate;
}
@keyframes heroBgMove {
  0% {
    background-position:
      60% 40%,
      0% 0%;
  }
  100% {
    background-position:
      40% 60%,
      100% 100%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Flex Layout */
.hero-flex {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}

/* Hero Avatar */
.hero-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 32px rgba(102, 126, 234, 0.15);
  border: 4px solid #fff;
  background: #f6f7fc;
}

/* Hero Text Block */
.hero-textblock {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

/* Hero Heading with Glow Effect */
.hero h1 {
  font-size: 3.5rem;
  font-family: var(--wsg-font-headline);
  margin-bottom: 1.2rem;
}

.mindblow-glow {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--wsg-text-light);
  font-family: var(--wsg-font-headline);
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 0 4px #fc5c7d33,
    0 0 4px #6a82fb33;
  margin-bottom: 1.4rem;
  animation: none;
}

.mindblow-glow::before {
  display: none !important;
}

/* Removed mindblowGlow animation for subtle appearance */

/* Hero Mantra */
.hero-mantra {
  font-size: 1.7rem;
  color: var(--wsg-text-light);
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  margin: 1.2rem auto 1.7rem auto;
  max-width: 600px;
  line-height: 1.7;
}

/* Hero CTA Button */
.hero-cta {
  display: inline-block;
  margin-top: var(--wsg-spacing-lg);
  padding: 0.9rem 2rem;
  background: var(--wsg-text-light);
  color: var(--wsg-text);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50px;
  box-shadow: 0 5px 18px rgba(118, 75, 162, 0.15);
  transition:
    transform var(--wsg-transition-fast),
    box-shadow var(--wsg-transition-fast),
    background var(--wsg-transition-fast),
    color var(--wsg-transition-fast);
  border: none;
  outline: none;
}

.hero-cta:hover,
.hero-cta:focus {
  background: linear-gradient(
    90deg,
    var(--wsg-primary) 0%,
    var(--wsg-secondary) 100%
  );
  color: var(--wsg-text-light);
  box-shadow: 0 10px 32px rgba(118, 75, 162, 0.17);
  transform: translateY(-2px) scale(1.04);
}

/* Mind Blow CTA Button */
.mindblow-cta-btn {
  display: inline-block;
  margin: 2.3rem auto 1rem auto;
  padding: 1.1em 2.8em 1.1em 2.4em;
  background: linear-gradient(90deg, #fc5c7d, #6a82fb);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 50px;
  position: relative;
  box-shadow: 0 10px 25px rgba(252, 92, 125, 0.25);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: none;
  max-width: 600px;
  outline: none;
}

.mindblow-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(252, 92, 125, 0.32);
}

/* Hero Intro Cards */
.hero-intros {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.intro-card {
  background: var(--wsg-text-light);
  border-radius: var(--wsg-card-radius);
  padding: var(--wsg-spacing-md);
  box-shadow: var(--wsg-shadow-md);
  flex: 1 1 320px;
  transition:
    transform var(--wsg-transition-normal),
    box-shadow var(--wsg-transition-normal);
  overflow: hidden;
}

.intro-card.glassmorphism-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-card.glassmorphism-card,
.intro-card.glassmorphism-card * {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  color: var(--wsg-text) !important;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.12);
}

.intro-card.glassmorphism-card .intro-link {
  color: var(--wsg-secondary) !important;
}

.intro-card.glassmorphism-card:hover {
  transform: scale(1.045) translateY(-4px);
  box-shadow: 0 16px 48px rgba(252, 92, 125, 0.16);
}

.intro-link {
  display: inline-block;
  margin-top: var(--wsg-spacing-md);
  font-weight: 700;
  color: var(--wsg-secondary);
  font-size: 1.01rem;
  text-decoration: underline;
  transition: color var(--wsg-transition-fast);
}

.intro-link:hover {
  color: var(--wsg-primary);
}

/* Hero Highlight Box */
.hero-highlight {
  background: var(--wsg-text-light);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.13);
  padding: 1.2rem;
  color: var(--wsg-text);
  max-width: 320px;
  margin: 1.2rem auto 0.7rem auto;
  font-size: 1.01rem;
}

/* Hero Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero */
@media (max-width: 900px) {
  .hero-slogan {
    font-size: 2.1rem;
  }

  .hero-flex {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .hero-textblock {
    text-align: center;
  }
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-avatar {
    margin-right: 0;
    margin-bottom: 1.2rem;
  }

  .hero-mantra {
    font-size: 1.07rem;
  }

  .mindblow-glow {
    font-size: 2.1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 1.3rem 0 1rem 0;
    min-height: 220px;
  }

  .hero-content {
    padding: 0 0.3rem;
  }

  .hero-flex {
    gap: 0.7rem;
  }

  .intro-card.glassmorphism-card {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

/**
 * Components
 *
 * Reusable UI components like cards, buttons, badges
 */

/* WSG Newsletter/Anmeldeformular */
.sib_signup_form {
  border-radius: 18px;
  box-shadow: 0 4px 32px #3a257420;
  max-width: 100%;
  margin: 32px auto;
  padding: 36px 28px 28px 28px;
}

.sib_signup_form p {
  margin-bottom: 18px;
  color: var(--wsg-text, #2d2357);
  font-size: 1.07em;
}

.sib_signup_form label,
.sib_signup_form p {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sib_signup_form input[type="email"],
.sib_signup_form input[type="text"] {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1.5px solid var(--wsg-secondary, #a45ed4);
  background: #fff;
  color: var(--wsg-text, #2d2357);
  font-size: 1em;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.sib_signup_form input[type="email"]:focus,
.sib_signup_form input[type="text"]:focus {
  border-color: var(--wsg-primary, #667eea);
  box-shadow: 0 0 0 2px #a45ed420;
  outline: none;
}

.sib-default-btn {
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--wsg-primary, #667eea) 0%,
    var(--wsg-secondary, #a45ed4) 100%
  );
  color: var(--wsg-text-light, #fff);
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.08em;
  font-weight: bold;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 12px #a45ed440;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}

.sib-default-btn:hover,
.sib-default-btn:focus {
  background: linear-gradient(
    90deg,
    var(--wsg-secondary, #a45ed4) 0%,
    var(--wsg-primary, #667eea) 100%
  );
  box-shadow: 0 4px 18px #a45ed440;
}

.sib_signup_form input:required {
  border-left: 4px solid var(--wsg-highlight, #ffe6fa);
}

/* Optional: kleine Animation für Fehlermeldungen */
.sib_signup_form .sib-form-message-error {
  color: var(--wsg-red, #ff4d7e);
  background: #fff0f4;
  border-left: 4px solid var(--wsg-red, #ff4d7e);
  border-radius: 7px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.98em;
}

/* WSG Newsletter/Anmeldeformular */

/* Cards */
.wsg-card {
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  padding: var(--wsg-spacing-md);
  margin-bottom: var(--wsg-spacing-lg);
  color: var(--wsg-text);
}

.featured-post {
  background: var(--wsg-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(161, 94, 212, 0.1);
}

/* Card Accent (Colored Left Border) */
.card-accent {
  border-left: 6px solid transparent;
}

.category-post {
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    box-shadow var(--wsg-transition-fast),
    transform var(--wsg-transition-fast),
    background var(--wsg-transition-fast);
  border-left: 6px solid transparent;
  color: var(--wsg-text);
}

.category-post:hover {
  box-shadow: var(--wsg-shadow-lg);
  transform: translateY(-6px) scale(1.02);
  background: #f8fafc;
}

.category-post.accent-1 {
  border-left-color: var(--wsg-primary);
}
.category-post.accent-2 {
  border-left-color: var(--wsg-secondary);
}
.category-post.accent-3 {
  border-left-color: var(--wsg-green);
}
.category-post.accent-4 {
  border-left-color: var(--wsg-red);
}
.category-post.accent-5 {
  border-left-color: var(--wsg-accent);
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.blog-category {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition:
    color var(--wsg-transition-fast),
    transform var(--wsg-transition-fast);
}

.blog-category a {
  color: white;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.blog-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"20\" cy=\"20\" r=\"2\" fill=\"rgba(255,255,255,0.3)\"/><circle cx=\"80\" cy=\"80\" r=\"3\" fill=\"rgba(255,255,255,0.2)\"/><circle cx=\"60\" cy=\"30\" r=\"1.5\" fill=\"rgba(255,255,255,0.4)\"/></svg>');
  animation: sparkle 3s ease-in-out infinite;
}

.blog-content {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  background: none;
  color: var(--wsg-text);
  opacity: 1 !important;
  visibility: visible !important;
}

.blog-meta {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--wsg-text);
  opacity: 0.8;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--wsg-text);
}

.blog-excerpt {
  color: var(--wsg-text);
  margin-bottom: 1.5rem;
}

.blog-link {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--wsg-primary);
  gap: 0.3em;
  margin-top: auto;
  transition:
    color var(--wsg-transition-fast),
    transform var(--wsg-transition-fast);
  opacity: 1 !important;
  visibility: visible !important;
}

.blog-category:hover {
  background: linear-gradient(45deg, var(--wsg-secondary), var(--wsg-primary));
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 5px 18px rgba(102, 126, 234, 0.18);
}

.blog-link:hover {
  color: var(--wsg-secondary);
  transform: translateX(5px);
}

/* Quick Tips */
.quick-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-tip-item {
  padding: 10px 15px;
  margin-bottom: 8px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.08),
    rgba(118, 75, 162, 0.05)
  );
  border-radius: 12px;
  position: relative;
  padding-left: 35px;
  transition: all 0.2s ease;
  border-left: 3px solid var(--wsg-secondary-light);
}

.quick-tip-item:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.12),
    rgba(118, 75, 162, 0.08)
  );
  transform: translateX(3px);
}

.quick-tip-item:before {
  content: "💡";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.9;
}

/* Buttons */
.wsg-btn,
.btn {
  background: var(--wsg-primary);
  color: #fff;
  border-radius: var(--wsg-btn-radius);
  padding: 8px 24px;
  border: none;
  font-weight: 600;
  transition: background var(--wsg-transition-fast);
  cursor: pointer;
}

.wsg-btn:hover,
.btn:hover {
  background: var(--wsg-secondary);
  color: #fff;
}

/* Badge */
.wsg-badges-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.wsg-badges-earned-list {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 8px;
  margin-bottom: 16px;
}

.wsg-badge,
.badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--wsg-secondary-light),
    var(--wsg-secondary)
  );
  color: white;
  border-radius: var(--wsg-badge-radius);
  padding: 4px 12px;
  font-size: 0.9em;
  margin-right: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(118, 75, 162, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.wsg-badge:hover,
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(118, 75, 162, 0.25);
}

/* Challenge Badge */
.challenge-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out;
}

/* Popular Posts */
.popular-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.popular-post:hover {
  background: rgba(102, 126, 234, 0.05);
  transform: translateX(5px);
}

.popular-post-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.popular-post-content {
  flex: 1;
}

.popular-post-title {
  font-weight: 600;
  color: var(--wsg-text);
  margin-bottom: 0.25rem;
}

.popular-post-meta {
  color: var(--wsg-text);
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Challenge Progress */
.challenge-progress {
  background: linear-gradient(135deg, var(--wsg-primary), var(--wsg-secondary));
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.challenge-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 255, 255, 0.2),
      transparent 40%
    );
}

.challenge-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.challenge-bar {
  height: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
  position: relative;
}

.challenge-progress-bar {
  height: 100%;
  background: #fff;
  border-radius: 0.5rem;
  width: 65%;
}

.challenge-stats {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
}

/* Tag Cloud */
.tag-cloud-link,
.category-tag,
.single-post-meta a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(102, 126, 234, 0.08);
  color: var(--wsg-text);
  border-radius: 50px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem !important;
  transition: all 0.2s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.tag-cloud-link:hover,
.category-tag:hover,
.single-post-meta a:hover {
  background: linear-gradient(45deg, var(--wsg-secondary), var(--wsg-primary));
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 5px 18px rgba(102, 126, 234, 0.18);
}

/* Categories List */
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-item {
  margin: 0;
  padding: 0;
}

.category-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--wsg-primary), var(--wsg-secondary));
  color: white;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.category-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-link:hover {
  background: linear-gradient(135deg, var(--wsg-secondary), var(--wsg-primary));
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(102, 126, 234, 0.3);
}

.category-link:hover::before {
  opacity: 1;
}

.category-link .count {
  margin-left: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Quick Tips --- */
.quick-tip {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #667eea;
}
.quick-tip-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}
.quick-tip-content {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.5;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.25rem;
  border-radius: 50%;
  background: white;
  color: var(--wsg-text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.pagination .next,
.pagination .prev {
  width: auto;
  padding: 0 1rem;
  border-radius: 1.25rem;
}

/* Responsive */
@media (max-width: 900px) {
  .wsg-card,
  .sidebar-box,
  .featured-post {
    padding: 16px;
  }

  .blog-title {
    font-size: 1.25rem;
  }
  .wsg-badges-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-bottom: 16px;
  }
  .wsg-badges-earned-list {
    display: grid;
    grid-template-columns: 2fr;
    gap: 8px;
    margin-bottom: 16px;
  }
}

/**
 * Sidebar Styles
 *
 * Styles for all sidebar elements and widgets
 */

/* Main Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  color: var(--wsg-text);
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-md);
  padding: 2.5rem 1rem;
  margin-bottom: var(--wsg-spacing-md);
  z-index: 2;
  border: 1px solid #ececf2;
}

/* Sidebar Box */
.sidebar-box {
  background: var(--wsg-bg-gradient);
  color: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  padding: var(--wsg-spacing-md);
  margin-bottom: var(--wsg-spacing-md);
}
/* Sidebar Widget */
.sidebar-widget {
  margin-bottom: var(--wsg-spacing-md);
  padding: var(--wsg-spacing-sm);
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  transition: box-shadow var(--wsg-transition-fast);
}

/* Widget Titles */
.widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--wsg-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.widget-title i {
  color: var(--wsg-primary);
  font-size: 1.2rem;
}

/* About Sidebar */
.about-sidebar {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .about-sidebar {
    position: sticky;
    top: 2.5rem;
    align-self: flex-start;
    height: fit-content;
    margin-top: 100px;
  }
}

.about-sidebar-section {
  background: #fff;
  border-radius: var(--wsg-card-radius);
  padding: var(--wsg-spacing-sm);
  margin-bottom: 2.2rem;
  transition: box-shadow var(--wsg-transition-fast);
}

.about-sidebar-section:last-child {
  margin-bottom: 0;
}

/* About Sidebar Widget Titles and Icons */
.about-sidebar-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2d2357;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.about-sidebar-title i {
  color: var(--wsg-secondary);
  font-size: 1.18em;
  min-width: 1.5em;
  text-shadow: 0 2px 8px #f3eaff;
}

/* About Sidebar Widget Spacing */
.about-contact-widget,
.about-appointment-widget,
.about-expectation-widget {
  margin-bottom: 0.5rem;
}

/* About Sidebar Contact Person */
.about-contact-person {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(118, 75, 162, 0.09);
  padding: 1.3rem 1.1rem 1.1rem 1.1rem;
  margin-bottom: 1.4rem;
  color: var(--wsg-text);
  font-size: 1.07rem;
  display: block;
}

.about-contact-name {
  color: var(--wsg-secondary);
  font-size: 1.17rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  margin-top: 0;
  letter-spacing: -0.5px;
}

.about-contact-list {
  list-style: none;
  margin: 0 0 0.6rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.04rem;
  color: var(--wsg-text);
  padding: 0.2rem 0;
}

.about-contact-list .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  font-size: 1.22em;
  margin-right: 0.3em;
  color: var(--wsg-primary);
  background: none;
}

.about-contact-list svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
}

.about-contact-list a {
  color: var(--wsg-secondary);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--wsg-transition-fast);
  word-break: break-all;
}

.about-contact-list a:hover {
  color: #39105b;
  text-decoration: underline;
}

.about-contact-info {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 0.8rem 0 0.5rem 0;
  color: var(--wsg-text);
  font-size: 1.04rem;
  line-height: 1.7;
  box-shadow: 0 1px 4px rgba(161, 94, 212, 0.07);
}

/* Impressum Sidebar Styles */
.impressum-sidebar-box {
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: 0 2px 12px rgba(80, 40, 160, 0.07);
  padding: 1.5rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  overflow: hidden;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wsg-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.sidebar-title-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--wsg-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  margin-right: 0.7rem;
}

.impressum-sidebar-box ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--wsg-text);
  font-size: 0.95rem;
}

.impressum-sidebar-box li {
  margin-bottom: 0.35rem;
}

.impressum-sidebar-box p {
  line-height: 1.7;
  margin-bottom: 0.5em;
}

.sidebar-title i {
  font-size: 1.25em;
  color: #5b2fa6;
  margin-right: 0.5em;
}

.impressum-sidebar-box a:hover {
  color: var(--wsg-secondary);
  text-decoration: underline wavy;
}

/* Responsive Sidebar */
@media (max-width: 991px) {
  .about-sidebar-section {
    padding: 1.2rem 1rem 1rem 1rem;
    margin-bottom: 1.4rem;
  }

  .about-sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 900px) {
  .sidebar {
    padding: 1.2rem 0.5rem;
  }
}

@media (max-width: 700px) {
  .about-contact-person {
    padding: 1rem 0.5rem 0.8rem 0.5rem;
    font-size: 0.98rem;
  }

  .about-contact-name {
    font-size: 1.02rem;
  }

  .about-contact-info {
    padding: 0.7rem 0.6rem;
    font-size: 0.98rem;
  }
}

/**
 * Content Styles
 *
 * Styles for blog posts, pages, and other content areas
 */

/* Single Post */
.single-post-title {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.single-post-meta {
  color: var(--wsg-secondary);
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.single-post-content {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--wsg-text-alt);
  margin-bottom: 3rem;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content a {
  color: var(--wsg-primary);
  text-decoration: underline;
  transition: color var(--wsg-transition-fast);
}

.single-post-content a:hover {
  color: var(--wsg-secondary);
}

.single-post-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2.5rem;
  color: var(--wsg-secondary);
}

.single-post-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  color: var(--wsg-primary);
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.single-post-content blockquote {
  border-left: 4px solid var(--wsg-primary);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: #f8fafc;
  color: var(--wsg-text);
  font-style: italic;
}

.single-post-content ul,
.single-post-content ol {
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
}

/* Tags */
.single-post-tags {
  margin-bottom: 2.5rem;
}

.single-post-tags .tag-link {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: #f0f0f5;
  color: var(--wsg-secondary);
  border-radius: 50px;
  font-size: 0.95rem;
  transition:
    background var(--wsg-transition-fast),
    color var(--wsg-transition-fast);
}

.single-post-tags .tag-link:hover {
  background: var(--wsg-secondary);
  color: #fff;
}
.single-post-tags .badge a {
  color: var(--wsg-text-light);
  text-decoration: none;
}
.single-post-tags .badge {
  display: inline-block;
  background: var(--wsg-secondary-light);
  color: white;
  border-radius: var(--wsg-badge-radius);
  padding: 4px 12px;
  font-size: 0.9em;
  margin-right: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(118, 75, 162, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.single-post-tags .badge:focus,
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(118, 75, 162, 0.25);
}
/* Author Box */
.author-box {
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  padding: 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wsg-secondary);
  margin-bottom: 0.5rem;
}

.author-bio {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  color: var(--wsg-text);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.author-links {
  display: flex;
  gap: 0.7rem;
}

.author-link {
  color: var(--wsg-primary);
  transition: color var(--wsg-transition-fast);
}

.author-link:hover {
  color: var(--wsg-secondary);
}

/* Comments */
.single-post-comments {
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  padding: 2.5rem 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #ececf2;
}

.single-post-comments h2,
.single-post-comments h3 {
  color: var(--wsg-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f0f0f5;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.comment-list .comment:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comment-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.comment-content {
  flex: 1;
}

.comment-author-name {
  font-weight: 700;
  color: var(--wsg-secondary);
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.comment-date {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.comment-text {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  color: var(--wsg-text);
  line-height: 1.7;
}

.comment-reply {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--wsg-primary);
  font-weight: 600;
}

.comment-reply:hover {
  color: var(--wsg-secondary);
}

.comment-children {
  margin-left: 2rem;
  margin-top: 1.5rem;
  border-left: 2px solid var(--wsg-secondary);
  padding-left: 1.5rem;
}

/* Comment Form */
.comment-respond {
  margin-top: 2.5rem;
}

.comment-respond label {
  font-weight: 600;
  color: var(--wsg-text);
  display: block;
  margin-bottom: 0.3rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="url"],
.comment-respond input[type="email"],
.comment-respond textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ececf2;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  font-size: 1rem;
  background: #f7f8fa;
  color: var(--wsg-text);
  transition: border var(--wsg-transition-fast);
}

.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus,
.comment-respond textarea:focus {
  border-color: var(--wsg-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.comment-respond input[type="submit"] {
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--wsg-transition-fast),
    box-shadow var(--wsg-transition-fast);
}

.comment-respond input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.25);
}

/* Page Title */
.page-title {
  font-family: var(--wsg-font-headline); /* Modernisiert: Headlines = Poppins */
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.page-content {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  font-size: 1.13rem;
  line-height: 1.8;
  color: var(--wsg-text-alt);
  margin-bottom: 2rem;
}

.page-comments {
  margin-top: 3rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
}

/* Archive/Category Title */
.archive-title,
.category-title {
  font-family: var(--wsg-font-headline); /* Modernisiert: Headlines = Poppins */
  font-size: 2.2rem;
  text-align: center;
  font-weight: 800;
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.archive-quiz-title {
  color: white;
}

.archive-quiz-description {
  color: white;
}
.archive-description,
.category-description {
  color: var(--wsg-secondary);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Archive/Category Post */
.archive-post,
.category-post {
  position: relative;
  background: #fff;
  border-radius: var(--wsg-card-radius);
  box-shadow: var(--wsg-shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--wsg-transition-fast);
}

.archive-post:hover,
.category-post:hover {
  box-shadow: var(--wsg-shadow-md);
}

.archive-post-title,
.category-post-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.archive-post-meta,
.category-post-meta {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.archive-post-excerpt,
.category-post-excerpt {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  color: var(--wsg-text);
  margin-bottom: 1.2rem;
}

/* WSG Challenge Tasks */
.wsg-challenge-tasks-inner {
  color: var(--wsg-text);
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  margin-top: 0.5rem;
  line-height: 1.7;
}

.wsg-challenge-tasks-inner h2 {
  color: var(--wsg-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.wsg-challenge-tasks-inner h3 {
  color: var(--wsg-primary);
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.wsg-challenge-tasks-inner ul {
  margin: 0.5rem 0 0 1.2rem;
  padding-left: 1.2rem;
}

.wsg-challenge-tasks-inner li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
  font-size: 1.08rem;
}

.wsg-challenge-tasks-inner p {
  margin-bottom: 0.7rem;
}

.wsg-challenge-tasks-inner a {
  color: var(--wsg-primary);
  text-decoration: underline;
  transition: color var(--wsg-transition-fast);
}

.wsg-challenge-tasks-inner a:hover {
  color: var(--wsg-secondary);
}

.wsg-challenge-tasks-inner em {
  color: var(--wsg-secondary);
  font-style: italic;
}

/* About Page Content */
.about-section {
  padding: 2rem 0;
  font-size: 1.13rem;
  line-height: 1.8;
  color: var(--wsg-text);
}

.about-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wsg-secondary);
  margin-bottom: 1.3rem;
  margin-top: 2rem;
}

.about-section h3 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
}

.about-intro {
  font-size: 1.18rem;
  color: var(--wsg-text-alt);
  margin-bottom: 1.6rem;
  line-height: 1.7;
}

.about-team {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.about-person {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(161, 94, 212, 0.07);
  padding: 1.4rem 1.3rem 1.1rem 1.3rem;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 380px;
  color: var(--wsg-text);
  font-size: 1.06rem;
}

.about-person-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--wsg-secondary);
  margin-bottom: 0.7rem;
}

.about-person-role {
  color: var(--wsg-primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.about-person-bio {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  line-height: 1.7;
}

.about-cta {
  text-align: center;
  margin: 3rem 0 1.5rem 0;
}

.about-link {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(90deg, var(--wsg-primary), var(--wsg-secondary));
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.09);
  text-decoration: none;
  transition:
    background var(--wsg-transition-fast),
    color var(--wsg-transition-fast),
    transform 0.18s;
}

.about-link:hover {
  background: var(--wsg-highlight);
  color: var(--wsg-text-alt);
  transform: scale(1.045) translateY(-2px);
}

/* Responsive Content */
@media (max-width: 900px) {
  .about-section {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    font-size: 1rem;
  }

  .about-team {
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 700px) {
  .wsg-comment {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }

  .wsg-comment-children {
    margin-left: 1rem;
    padding-left: 0.6rem;
  }

  .single-post-title {
    font-size: 2rem;
  }

  .author-box {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
  }
}

/**
 * Footer Styles
 *
 * Contains all styles for the site footer and bottom sections
 */

/* Footer */
footer {
  width: 100vw;
  margin: 0 auto;
  background: #23233b;
  color: #fff;
  padding: 0;
}

footer > .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Footer Content */
footer .footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2.5rem;
  padding: 2.5rem 0 1.2rem 0;
  justify-content: space-between;
  align-items: flex-start;
}

@media (max-width: 900px) {
  footer .footer-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0 1rem 0;
  }
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(236, 236, 242, 0.1);
  color: #888;
  font-size: 0.9rem;
  background: none;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Footer Section Titles */
footer .footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  position: relative;
}

footer .footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--wsg-primary), var(--wsg-secondary));
  border-radius: 3px;
}

/* Footer Section Styles */
footer .footer-section {
  flex: 1 1 250px;
}

/* Footer About Section */
.footer-about {
  flex: 2 1 350px;
}

.footer-logo {
  font-family: var(--wsg-font-headline); /* Modernisiert: Headlines = Poppins */
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}

.footer-about p {
  font-family: var(--wsg-font-primary); /* Modernisiert: Fließtext = Lato */
  color: #ececf2;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #ececf2;
  transition: color var(--wsg-transition-normal) ease;
}

.footer-links a:hover {
  color: var(--wsg-primary);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(236, 236, 242, 0.1);
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #ececf2;
  transition: color var(--wsg-transition-fast);
}

.footer-bottom a:hover {
  color: var(--wsg-primary);
  text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--wsg-primary), var(--wsg-secondary));
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 255, 255, 0.2),
      transparent 40%
    );
  z-index: 1;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wsg-text);
  outline: none;
}

.newsletter-btn {
  padding: 0.8rem 2rem;
  background: #fff;
  color: var(--wsg-secondary);
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition:
    background var(--wsg-transition-normal),
    color var(--wsg-transition-normal);
}

.newsletter-btn:hover {
  background: var(--wsg-secondary);
  color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0 1rem 0;
  }

  footer .footer-section {
    flex-basis: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-title {
    font-size: 1.7rem;
  }

  .newsletter-description {
    font-size: 1rem;
  }
}

/**
 * Animations
 *
 * Contains all animation keyframes and animation-related classes
 */

/* Animation Keyframes */

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slide In Up */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In Left */
@keyframes slideInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-60px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
  }
}

/* Slide In Right */
@keyframes slideInRight {
  from { 
    opacity: 0; 
    transform: translateX(60px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
  }
}

/* Hero Background Movement */
@keyframes heroBgMove {
  0% { background-position: 60% 40%, 0% 0%; }
  100% { background-position: 40% 60%, 100% 100%; }
}

/* Mind Blow Glow Effect */
@keyframes mindblowGlow {
  0% { text-shadow: 0 0 10px #fff, 0 0 32px #6a82fb; }
  100% { text-shadow: 0 0 32px #fff, 0 0 64px #fc5c7d; }
}

/* Sparkle Animation */
@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 1 !important;
  visibility: visible !important;
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.slide-up {
  animation: slideInUp 1s ease-out forwards;
}

.slide-left {
  animation: slideInLeft 1s ease-out forwards;
}

.slide-right {
  animation: slideInRight 1s ease-out forwards;
}

/* Animation Delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-1000 {
  animation-delay: 1s;
}

/* Animation Durations */
.duration-500 {
  animation-duration: 0.5s;
}

.duration-800 {
  animation-duration: 0.8s;
}

.duration-1200 {
  animation-duration: 1.2s;
}

.duration-1500 {
  animation-duration: 1.5s;
}

/* Loading Animations */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--wsg-primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/**
 * Utility Classes
 *
 * Helper classes for margins, padding, colors, display, and other common utilities
 */

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--wsg-primary);
}

.text-secondary {
  color: var(--wsg-secondary);
}

.text-muted {
  color: #888;
}

.text-bold {
  font-weight: 700;
}

.text-italic {
  font-style: italic;
}

/* Display Utilities */
.d-none {
  display: none !important;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.d-inline-block {
  display: inline-block;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-grow {
  flex-grow: 1;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

/* Spacing Utilities */
.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.ml-1 {
  margin-left: 0.5rem;
}

.ml-2 {
  margin-left: 1rem;
}

.ml-3 {
  margin-left: 1.5rem;
}

.mr-1 {
  margin-right: 0.5rem;
}

.mr-2 {
  margin-right: 1rem;
}

.mr-3 {
  margin-right: 1.5rem;
}

.p-0 {
  padding: 0;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.p-5 {
  padding: 3rem;
}

/* Positioning */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

/* Border and Shadow Utilities */
.border {
  border: 1px solid #ececf2;
}

.border-top {
  border-top: 1px solid #ececf2;
}

.border-bottom {
  border-bottom: 1px solid #ececf2;
}

.rounded {
  border-radius: var(--wsg-card-radius);
}

.rounded-pill {
  border-radius: 50px;
}

.rounded-circle {
  border-radius: 50%;
}

.shadow-sm {
  box-shadow: var(--wsg-shadow-sm);
}

.shadow-md {
  box-shadow: var(--wsg-shadow-md);
}

.shadow-lg {
  box-shadow: var(--wsg-shadow-lg);
}

/* Background Utilities */
.bg-white {
  background-color: #fff;
}

.bg-light {
  background-color: #f8fafc;
}

.bg-primary {
  background-color: var(--wsg-primary);
  color: white;
}

.bg-secondary {
  background-color: var(--wsg-secondary);
  color: white;
}

.bg-gradient {
  background: linear-gradient(45deg, var(--wsg-primary), var(--wsg-secondary));
  color: white;
}

/* Width and Height Utilities */
.w-100 {
  width: 100%;
}

.w-75 {
  width: 75%;
}

.w-50 {
  width: 50%;
}

.w-25 {
  width: 25%;
}

.h-100 {
  height: 100%;
}

.h-auto {
  height: auto;
}

/* Visibility Utilities */
.invisible {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

/* Text Truncation */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Overlay Utilities */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/**
 * Media Queries
 *
 * Global responsive adjustments that override module-specific media queries
 * This file should be imported last to ensure it takes precedence
 */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Large screen specific adjustments */
  .hero-heading {
    font-size: 3.5rem;
  }
  
  .hero-subheading {
    font-size: 1.5rem;
  }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  /* Medium desktop adjustments */
  .hero-heading {
    font-size: 3rem;
  }
  
  .hero-subheading {
    font-size: 1.3rem;
  }
  
  /* Layout adjustments */
  .about-grid {
    grid-template-columns: 1fr 300px;
  }
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  /* Tablet specific adjustments */
  .hero-heading {
    font-size: 2.5rem;
  }
  
  .hero-subheading {
    font-size: 1.2rem;
  }
  
  /* Navigation adjustments */
  .main-nav-list {
    gap: 0.5rem;
  }
  
  /* Layout adjustments */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .single-layout {
    grid-template-columns: 1fr;
  }
  
  /* Content adjustments */
  .single-post-title {
    font-size: 2.2rem;
  }
  
  /* Hero adjustments */
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 2rem;
  }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  /* Mobile landscape adjustments */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .single-layout {
    grid-template-columns: 1fr;
  }
  
  /* Content adjustments */
  .single-post-title {
    font-size: 1.8rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  /* Hero adjustments */
  .hero-heading {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subheading {
    font-size: 1.1rem;
  }
  
  .hero-content {
    flex-direction: column;
    padding: 3rem 1rem;
  }
  
  .hero-text {
    order: 1;
    text-align: center;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* Footer adjustments */
  footer .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-about {
    flex-basis: 100%;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Mobile portrait adjustments */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .about-grid,
  .single-layout {
    grid-template-columns: 1fr;
  }
  
  /* Content adjustments */
  .single-post-title {
    font-size: 1.6rem;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  /* Component adjustments */
  .card {
    padding: 1rem;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
  
  /* Hero adjustments */
  .hero-heading {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-subheading {
    font-size: 1rem;
  }
  
  .hero-content {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  
  .hero-text {
    order: 1;
    text-align: center;
    padding: 0;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    transform: scale(0.8);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-btn {
    width: 100%;
    text-align: center;
  }
  
  /* Footer adjustments */
  footer .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .footer-section {
    flex-basis: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .newsletter-title {
  font-family: var(--wsg-font-headline); /* Modernisiert: Headlines = Poppins */
    font-size: 1.5rem;
  }
  
  /* Comment form adjustments */
  .comment-respond input[type="text"],
  .comment-respond input[type="email"],
  .comment-respond textarea {
    padding: 0.7rem;
  }
}

/* Quiz Module CSS */

.quiz-progress {
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}
.quiz-progress-label {
  font-size: 1.08rem;
  font-weight: 500;
  color: #2e3a59;
  margin-bottom: 0.3rem;
  display: block;
}
.quiz-progress-bar-bg {
  width: 100%;
  height: 12px;
  background: #e6eaf7;
  border-radius: 8px;
  overflow: hidden;
  margin: 0.3rem auto 0 auto;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4d90fe 0%, #23c483 100%);
  border-radius: 8px;
  width: 0;
  transition: width 0.35s cubic-bezier(0.4, 1.4, 0.6, 1);
}
.quiz-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #28a745;
  color: #fff;
  padding: 4px 12px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 0.7rem;
  z-index: 10;
}
.quiz-absolviert {
  opacity: 0.85;
}
.disabled-link {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.quiz-nav .btn {
  min-width: 120px;
  font-size: 1.06rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.55em 1.5em;
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.15s;
}
.quiz-nav .btn-primary {
  background: linear-gradient(90deg, #4d90fe 0%, #23c483 100%);
  color: #fff;
  border: none;
}
.quiz-nav .btn-primary:hover {
  background: linear-gradient(90deg, #23c483 0%, #4d90fe 100%);
  color: #fff;
}
.quiz-nav .btn-outline-secondary {
  background: #fff;
  color: #4d90fe;
  border: 1.5px solid #4d90fe;
}
.quiz-nav .btn-outline-secondary:hover {
  background: #e6f4ff;
  color: #2e3a59;
  border-color: #23c483;
}
@media (max-width: 600px) {
  .quiz-progress-label {
    font-size: 0.98rem;
  }
  .quiz-nav .btn {
    min-width: 90px;
    font-size: 0.96rem;
    padding: 0.42em 1em;
  }
  .quiz-progress-bar-bg {
    height: 9px;
  }
}

.quiz-main {
  max-width: 700px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(60, 60, 90, 0.1);
  padding: 2.5rem 2rem 2rem 2rem;
  font-family: "Inter", Arial, sans-serif;
}
.quiz-question-block {
  background: #f7faff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(77, 144, 254, 0.07);
  padding: 1.4rem 1.2rem;
  margin-bottom: 2.2rem;
  border: 1.5px solid #e6eaf7;
  transition:
    box-shadow 0.2s,
    border 0.2s;
}
.quiz-question-block:focus-within,
.quiz-question-block:hover {
  box-shadow: 0 0 0 3px #c7e2ff;
  border-color: #4d90fe;
}
.quiz-question-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2e3a59;
}
.quiz-answer-label {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  padding: 0.5rem 0.8rem;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background 0.18s,
    box-shadow 0.18s;
  background: #fdfdff;
  border: 1.5px solid #e6eaf7;
  margin-bottom: 0.5rem;
}
.quiz-answer-label.selected {
  background: #e6f4ff;
  border-color: #4d90fe;
  box-shadow: 0 2px 10px rgba(77, 144, 254, 0.07);
}
.quiz-answer-label.correct {
  background: #d0f7e8;
  border-color: #23c483;
}
.quiz-answer-label.incorrect {
  background: #ffe4e1;
  border-color: #ff6a6a;
}
.quiz-radio {
  accent-color: #4d90fe;
  margin-right: 0.8rem;
  width: 1.2em;
  height: 1.2em;
}
.quiz-explanation {
  background: #fffbe8;
  border-left: 4px solid #ffd700;
  padding: 0.7em 1em;
  border-radius: 7px;
  font-size: 1em;
  color: #8a7800;
  margin-top: 0.8em;
  display: none;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.quiz-submit-btn {
  margin: 2.5rem auto 1rem auto;
  background: linear-gradient(90deg, #4d90fe 0%, #23c483 100%);
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 0.9rem 2.1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(77, 144, 254, 0.07);
  transition:
    background 0.2s,
    transform 0.1s;
}
.quiz-submit-btn:active {
  transform: scale(0.97);
  background: linear-gradient(90deg, #23c483 0%, #4d90fe 100%);
}
.quiz-feedback-global {
  text-align: center;
  font-size: 1.1em;
  margin: 1.5em 0 0.5em 0;
  font-weight: 600;
  color: #4d90fe;
}
@media (max-width: 600px) {
  .quiz-main {
    padding: 1.2rem 0.3rem 1.2rem 0.3rem;
  }
  .quiz-question-title {
    font-size: 1rem;
  }
}

.challenge-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.2rem;
  color: #2e3a59;
}
.challenge-intro {
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #4d5a7b;
}
.challenge-quiz-form {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.challenge-question-block {
  border: 2px solid #e0e6f7;
  border-radius: 12px;
  padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  background: #f7faff;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s;
}
.challenge-question-block:focus-within {
  box-shadow: 0 0 0 3px #c7e2ff;
}
.challenge-question-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2e3a59;
}
.challenge-answers {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.challenge-answer-label {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  padding: 0.5rem 0.8rem;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background 0.18s,
    box-shadow 0.18s;
  background: #fdfdff;
  border: 1.5px solid #e6eaf7;
}
.challenge-answer-checkbox {
  accent-color: #4d90fe;
  margin-right: 0.8rem;
  width: 1.2em;
  height: 1.2em;
}
.challenge-answer-label.selected {
  background: #e6f4ff;
  border-color: #4d90fe;
  box-shadow: 0 2px 10px rgba(77, 144, 254, 0.07);
}
.challenge-answer-label.correct {
  background: #d0f7e8;
  border-color: #23c483;
}
.challenge-answer-label.incorrect {
  background: #ffe4e1;
  border-color: #ff6a6a;
}
.challenge-feedback {
  min-height: 1.3em;
  font-size: 1em;
  margin-top: 0.7em;
  font-weight: 500;
  color: #23c483;
}
.challenge-submit-btn {
  margin: 2.5rem auto 1rem auto;
  background: linear-gradient(90deg, #4d90fe 0%, #23c483 100%);
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 0.9rem 2.1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(77, 144, 254, 0.07);
  transition:
    background 0.2s,
    transform 0.1s;
}
.challenge-submit-btn:active {
  transform: scale(0.97);
  background: linear-gradient(90deg, #23c483 0%, #4d90fe 100%);
}
@media (max-width: 600px) {
  .challenge-wrapper {
    padding: 1.2rem 0.3rem 1.2rem 0.3rem;
  }
  .challenge-title {
    font-size: 1.3rem;
  }
  .challenge-question-title {
    font-size: 1rem;
  }
}
