/* ==========================================================================
   REIFENSERVICE KUHN – Premium Theme CSS
   ITSWEBER CMS Theme Stylesheet
   Generated: 2026-03-20
   Version: 2.0.0

   Production-ready CSS for the ReifenService Kuhn Premium theme.
   Covers all sections: topbar, header, hero, features, sections, footer, mobile.
   ========================================================================== */

/* ==========================================================================
   0. LOCAL FONTS – Inter (DSGVO-konform, kein Google CDN)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-v18-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-v18-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter/inter-v18-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter/inter-v18-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter/inter-v18-latin-800.woff2') format('woff2');
}

/* ==========================================================================
   1. CSS VARIABLES – Theme Foundation
   ========================================================================== */

:root {
  /* Primary Color Palette (Logo-Rot) */
  --theme-primary: #C62828;
  --primary-light: #EF5350;
  --primary-dark: #8E0000;
  --primary-alpha-10: rgba(198, 40, 40, 0.10);
  --primary-alpha-20: rgba(198, 40, 40, 0.20);

  /* Neutral Colors */
  --heading: #1A1A2E;
  --text: #374151;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;

  /* Surface Colors */
  --bg: #FFFFFF;
  --bg-warm: #FAF9F7;
  --bg-cool: #F0F4F8;
  --bg-dark: #1A1A2E;
  --bg-dark-mid: #232340;

  /* Border Colors */
  --border: #E5E7EB;
  --border-light: #F3F4F6;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-base: 0.2s;
  --duration-slow: 0.3s;

  /* Plugin Hooks */
  --plugin-hero-overlay: rgba(0,0,0,0.4);
  --plugin-card-radius: var(--radius-md);
  --plugin-card-shadow-hover: var(--shadow-lg);
  --plugin-section-spacing: 5rem;
  --plugin-accent-color: var(--theme-primary);
  --plugin-accent-gradient: linear-gradient(135deg, var(--theme-primary), var(--primary-dark));

  /* Consent Banner Variables */
  --consent-bg: #1A1A2E;
  --consent-text: rgba(255, 255, 255, 0.8);
  --consent-border: rgba(255, 255, 255, 0.08);
  --consent-button-bg: #C62828;
  --consent-button-hover: #8E0000;
  --consent-button-text: #FFFFFF;
  --consent-dismiss-bg: rgba(255, 255, 255, 0.08);
  --consent-dismiss-hover: rgba(255, 255, 255, 0.15);
  --consent-dismiss-text: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--theme-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  margin: 0;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. CONTAINER & LAYOUT
   ========================================================================== */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 960px;
}

.container-xs {
  max-width: 720px;
}

/* ==========================================================================
   4. BUTTON STYLES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary);
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.35);
  transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--theme-primary);
  border-color: var(--theme-primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--theme-primary);
  color: #fff;
}

/* White Button */
.btn-white {
  background: #fff;
  color: var(--theme-primary);
  border-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-white:hover:not(:disabled) {
  background: var(--bg-warm);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Button Sizes */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Button Modifiers */
.btn-hero {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary);
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
  font-size: 1.05rem;
  padding: 16px 32px;
}

.btn-hero:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.35);
  transform: translateY(-1px);
}

.btn-hero svg {
  flex-shrink: 0;
}

.btn-cta {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary);
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.25);
  font-size: 1rem;
  padding: 14px 28px;
}

.btn-cta:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.35);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   5. TOPBAR
   ========================================================================== */

.topbar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s var(--ease);
}

.topbar a:hover {
  color: #fff;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .topbar-right {
    display: none;
  }
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background: var(--bg-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

/* Logo */
.site-logo img,
.header-logo img {
  height: 48px;
  width: auto;
}

.header-logo {
  display: flex;
  align-items: center;
}

/* Main Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav,
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.header-nav a,
.nav-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}

.header-nav a:hover,
.nav-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Dropdown Navigation (v3.3.0) ───────────────────────────────── */

/* Top-level item */
.nav-list > .nav-item {
    position: relative;
}
.nav-list > .nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    min-height: 44px;
    line-height: 28px;
    border-radius: var(--radius-sm, 4px);
    transition: color 0.15s var(--ease, ease),
                background 0.15s var(--ease, ease);
    white-space: nowrap;
}
.nav-list > .nav-item > a:hover,
.nav-list > .nav-item.is-open > a {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Active state – bottom accent bar */
.nav-list > .nav-item > a.active {
    position: relative;
    color: #fff;
    font-weight: 600;
}
.nav-list > .nav-item > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--theme-primary);
    border-radius: 1px;
}

/* Chevron (inside <a>, points down) */
.nav-chevron {
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4.5px solid currentColor;
    opacity: 0.7;
    transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1);
    margin-top: 1px;
}
.nav-item.is-open > a .nav-chevron {
    transform: rotate(180deg);
}

/* Flyout chevron (inside <a>, points right) */
.nav-flyout-chevron {
    display: inline-block;
    width: 0; height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4.5px solid currentColor;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}
.nav-item--sub:hover > a .nav-flyout-chevron {
    opacity: 1;
    transform: translateX(2px);
}

/* ── Dropdown Panel (Level 2) ────────────────────────────────────── */
.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--bg, #fff);
    border-radius: var(--radius-md, 12px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    padding: 8px 0;
    list-style: none;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms cubic-bezier(0.0,0,0.2,1),
                transform 200ms cubic-bezier(0.0,0,0.2,1),
                visibility 0s linear 200ms;
    overflow: hidden;
}

/* Top accent line */
.sub-menu::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary), var(--primary-light, var(--theme-primary)));
    border-radius: var(--radius-md, 12px) var(--radius-md, 12px) 0 0;
}

/* Invisible bridge to prevent hover gap close */
.nav-item.has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: 12px;
}

/* Open state */
.nav-item.has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 200ms cubic-bezier(0.0,0,0.2,1),
                transform 200ms cubic-bezier(0.0,0,0.2,1),
                visibility 0s linear 0s;
}

/* Dropdown items */
.sub-menu .nav-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text, #374151);
    white-space: nowrap;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sub-menu .nav-item > a:hover {
    background: var(--primary-alpha-10, rgba(198,40,40,0.10));
    color: var(--theme-primary);
    font-weight: 500;
    border-left-color: var(--theme-primary);
}
.sub-menu .nav-item > a.active {
    color: var(--theme-primary);
    font-weight: 500;
    border-left-color: var(--theme-primary);
}

/* ── Flyout Panel (Level 3) ──────────────────────────────────────── */
.sub-menu--flyout {
    top: -8px;
    left: calc(100% + 4px);
    transform: translateX(-8px);
}
.sub-menu--flyout::before {
    background: linear-gradient(90deg, var(--primary-light, var(--theme-primary)), var(--theme-primary));
}
.nav-item.has-children.is-open > .sub-menu--flyout {
    transform: translateX(0);
}

/* Flyout connecting arrow */
.sub-menu--flyout::after {
    content: '';
    position: absolute;
    top: 16px;
    left: -6px;
    width: 12px; height: 12px;
    background: var(--bg, #fff);
    transform: rotate(45deg);
    box-shadow: -2px 2px 4px rgba(0,0,0,0.04);
    z-index: -1;
}

/* Focus visible (keyboard only) */
.nav-list a:focus-visible {
    outline: 2px solid var(--primary-light, var(--theme-primary));
    outline-offset: 2px;
    border-radius: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sub-menu, .nav-chevron, .nav-flyout-chevron { transition: none !important; }
}

/* Header CTA Button */
.header-cta {
  margin-left: 8px;
}

/* Mobile Menu Toggle */
.nav-toggle,
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
  line-height: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s var(--ease, ease), opacity 0.3s var(--ease, ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle svg,
.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99;
}

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

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .nav-toggle,
  .mobile-menu-toggle {
    display: flex;
  }

  .header-logo img,
  .site-logo img {
    height: 38px;
  }

  /* Mobile menu: full-width dropdown below header */
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-bg, #1a1a2e);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 14px 24px;
    font-size: 1.0625rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-list a:hover,
  .nav-list a.active {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Mobile dropdown overrides */
  .nav-list > .nav-item { display: block; }
  .nav-list > .nav-item > a {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 24px; min-height: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      border-radius: 0; background: none;
  }
  .nav-list > .nav-item > a:hover { background: rgba(255,255,255,0.08); }
  .nav-list > .nav-item > a.active {
      border-left: 3px solid var(--theme-primary);
      padding-left: 21px;
      color: #fff; font-weight: 600;
  }
  .nav-list > .nav-item > a.active::after { display: none; }

  .nav-chevron {
      padding: 8px;
      margin-left: auto;
  }

  .sub-menu {
      position: static !important;
      opacity: 1; visibility: visible;
      transform: none !important;
      box-shadow: none;
      background: rgba(255,255,255,0.05);
      border-radius: 0;
      margin: 0; padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
  }
  .sub-menu::before, .sub-menu::after { display: none; }
  .nav-item.has-children.is-open > .sub-menu {
      max-height: 500px;
  }
  .sub-menu .nav-item > a {
      padding: 10px 20px 10px 3rem;
      border-left: none;
      border-bottom: 1px solid rgba(255,255,255,0.04);
      color: rgba(255,255,255,0.7);
  }
  .sub-menu .nav-item > a:hover {
      background: rgba(255,255,255,0.08);
      color: #fff;
      border-left: none;
  }

  .sub-menu--flyout {
      position: static !important;
      margin-left: 0;
      background: rgba(255,255,255,0.03);
  }
  .sub-menu--flyout::after { display: none; }
  .sub-menu--flyout .nav-item > a {
      padding-left: 4rem;
      font-size: 13px;
  }

  .nav-flyout-chevron {
      border-left-width: 0;
      border-top: 4.5px solid currentColor;
      border-bottom: 4px solid transparent;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
  }

  .nav-item.has-children::after { display: none; }
}

/* ==========================================================================
   7. SKIP LINK
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--theme-primary);
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

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

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */

.hero,
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
}

/* CMS sets background-image via inline style on .hero-section */
.hero-section[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.8) 100%);
  z-index: 1;
}

.hero--has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.8) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(26, 26, 46, 0.75) 50%,
    rgba(198, 40, 40, 0.3) 100%
  );
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.2) 0%,
    rgba(26, 26, 46, 0.5) 100%
  );
}

/* Hero Overlay Variants */
.hero--overlay-light .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.1) 0%,
    rgba(26, 26, 46, 0.3) 100%
  );
}

.hero--overlay-medium .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.3) 0%,
    rgba(26, 26, 46, 0.6) 100%
  );
}

.hero--overlay-heavy .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.5) 0%,
    rgba(26, 26, 46, 0.8) 100%
  );
}

.hero .container,
.hero-section .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 640px;
}

/* Hero Eyebrow Label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
}

/* Hero Heading */
.hero h1,
.hero-section h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .text-accent,
.hero-section h1 .text-accent {
  color: var(--primary-light);
}

/* Hero Subtitle */
.hero-subtitle,
.hero-section .hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

/* Hero Actions */
.hero-actions,
.hero-ctas,
.hero-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero Layout Variants */
.hero--layout-boxed .hero-content {
  max-width: 100%;
}

.hero--layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero--layout-split .hero-bg {
  grid-column: 2;
  grid-row: 1;
}

.hero--layout-split .hero .container {
  grid-column: 1;
  grid-row: 1;
}

/* Hero Size Variants */
.hero--size-small {
  min-height: 400px;
}

.hero--size-large {
  min-height: 680px;
}

@media (max-width: 768px) {
  .hero,
  .hero-section {
    min-height: 440px;
  }

  .hero .container,
  .hero-section .container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-subtitle,
  .hero-section .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero--layout-split {
    grid-template-columns: 1fr;
  }

  .hero--layout-split .hero-bg {
    grid-column: 1;
  }
}

/* hero_surface – Gradient atmosphere variants */
.hero--surface-workshop {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1215 35%, #8E0000 75%, #C62828 100%);
}
.hero--surface-midnight {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 40%, #232340 80%, #2e2e50 100%);
}
.hero--surface-warm {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 40%, #e8ddd0 80%, #c49a6c 100%);
}
.hero--surface-minimal {
    background: linear-gradient(135deg, rgba(26,26,26,0.5) 0%, rgba(60,20,20,0.3) 100%);
}

/* ==========================================================================
   9. USP BAR (Trust Elements)
   ========================================================================== */

.usp-bar {
  background: var(--bg);
  padding: 0;
  position: relative;
  z-index: 3;
  margin-top: -40px;
}

.usp-bar .container {
  padding: 0;
}

.usp-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--border-light);
}

.usp-item:last-child {
  border-right: none;
}

.usp-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-alpha-10);
  border-radius: var(--radius-sm);
  color: var(--theme-primary);
}

.usp-icon svg {
  width: 22px;
  height: 22px;
}

.usp-text h3 {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  margin: 0;
}

.usp-text p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 960px) {
  .usp-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 560px) {
  .usp-bar {
    margin-top: -24px;
  }

  .usp-items {
    grid-template-columns: 1fr;
  }

  .usp-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .usp-item:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   10. SECTION BASE STYLES
   ========================================================================== */

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--theme-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--theme-primary);
  border-radius: 1px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.section-header h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 16px;
}

.section-header p,
.section-subtitle {
  color: var(--text-light);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ==========================================================================
   11. INTRO SECTION
   ========================================================================== */

.intro-section,
.section-intro {
  background: var(--bg);
  padding-top: 120px;
  padding-bottom: 60px;
}

.intro-text {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

/* ==========================================================================
   12. FEATURES / LEISTUNGEN SECTION
   ========================================================================== */

.features-section,
.section-features {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-alpha-20);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-alpha-10);
  border-radius: var(--radius-md);
  color: var(--theme-primary);
  font-size: 1.5rem;
  transition: all 0.3s var(--ease);
  /* Force monochrome rendering for emoji icons */
  -webkit-text-stroke: 0;
  filter: grayscale(1) brightness(0.6);
}

.feature-card:hover .feature-card-icon {
  background: var(--theme-primary);
  color: #fff;
}

.feature-card-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}

.feature-card-link:hover {
  gap: 8px;
}

/* Features Grid Variants */
.features-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.features-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* Section Column Variants (CMS Presentation Tokens) */
.section--cols-2 .features-grid,
.section--cols-2 .topic-cards-grid,
.section--cols-2 .highlight-grid {
  grid-template-columns: repeat(2, 1fr);
}

.section--cols-3 .features-grid,
.section--cols-3 .topic-cards-grid,
.section--cols-3 .highlight-grid {
  grid-template-columns: repeat(3, 1fr);
}

.section--cols-4 .features-grid,
.section--cols-4 .topic-cards-grid,
.section--cols-4 .highlight-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Card Style Variants (CMS Presentation Tokens) */
.section--card-bordered .feature-card,
.section--card-bordered .topic-card,
.section--card-bordered .highlight-card {
  border: 1px solid var(--border);
}

.section--card-flat .feature-card,
.section--card-flat .topic-card,
.section--card-flat .highlight-card {
  border: none;
  box-shadow: none;
}

.section--card-flat .feature-card:hover,
.section--card-flat .topic-card:hover,
.section--card-flat .highlight-card:hover {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features-grid,
  .features-grid--2col,
  .features-grid--4col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. SECTION SCHEME VARIANTS
   ========================================================================== */

/* Warm/Alt Background Scheme */
.section--scheme-alt,
.section-alt {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

/* Primary Color Scheme */
.section--scheme-primary,
.section-primary {
  background: var(--theme-primary);
}

.section--scheme-primary .section-label,
.section-primary .section-label {
  color: var(--primary-light);
}

.section--scheme-primary .section-label::before,
.section--scheme-primary .section-label::after,
.section-primary .section-label::before,
.section-primary .section-label::after {
  background: var(--primary-light);
}

.section--scheme-primary h2,
.section--scheme-primary h3,
.section-primary h2,
.section-primary h3 {
  color: #fff;
}

.section--scheme-primary .section-header p,
.section-primary .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* Dark Scheme */
.section--scheme-dark,
.section-dark {
  background: var(--bg-dark);
}

.section--scheme-dark h2,
.section--scheme-dark h3,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section--scheme-dark .section-header p,
.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.section--scheme-dark .section-label,
.section-dark .section-label {
  color: var(--primary-light);
}

/* Cool Background Scheme */
.section--scheme-cool,
.section-cool {
  background: linear-gradient(180deg, var(--bg-cool) 0%, var(--bg) 100%);
}

/* ==========================================================================
   14. HIGHLIGHT GRID SECTION
   ========================================================================== */

.highlight-grid-section,
.section-trust {
  background: linear-gradient(180deg, var(--bg-cool) 0%, var(--bg) 100%);
}

.highlight-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card,
.trust-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.highlight-card:hover,
.trust-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.highlight-card-icon,
.trust-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-alpha-10);
  color: var(--theme-primary);
  font-size: 1.35rem;
  filter: grayscale(1) brightness(0.6);
}

.highlight-card-icon svg,
.trust-card-icon svg {
  width: 24px;
  height: 24px;
}

.highlight-card h3,
.trust-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading);
}

.highlight-card p,
.trust-card p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

.highlight-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading);
}

.highlight-card-text {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.highlight-card-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.highlight-card-link {
  color: var(--theme-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 12px;
  display: inline-block;
}

@media (max-width: 768px) {
  .highlight-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .highlight-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   15. TOPIC CARDS SECTION
   ========================================================================== */

.topic-cards-section {
  background: var(--bg);
}

.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.topic-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-alpha-20);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-alpha-10);
  border-radius: var(--radius-md);
  color: var(--theme-primary);
  transition: all 0.3s var(--ease);
}

.topic-card:hover .topic-card-icon {
  background: var(--theme-primary);
  color: #fff;
}

.topic-card-icon svg {
  width: 28px;
  height: 28px;
}

.topic-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading);
}

.topic-card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.topic-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}

.topic-card-link:hover {
  gap: 8px;
}

@media (max-width: 768px) {
  .topic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .topic-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   16. CTA SECTION
   ========================================================================== */

.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 50%,
    rgba(198, 40, 40, 0.15) 0%,
    transparent 60%
  );
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-container-with-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-section h2,
.cta-content h2,
.cta-text h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.cta-content .cta-text,
.cta-text p,
.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-eyebrow {
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.cta-eyebrow {
  font-size: 0.875rem;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.cta-actions,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
}

.cta-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-primary);
  border-radius: var(--radius-sm);
  color: #fff;
}

.cta-info-icon svg {
  width: 20px;
  height: 20px;
}

.cta-info-item strong {
  display: block;
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.cta-info-item span,
.cta-info-item a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: color 0.2s var(--ease);
}

.cta-info-item a:hover {
  color: #fff;
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .cta-inner,
  .cta-container-with-contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-actions,
  .cta-buttons {
    flex-direction: column;
  }

  .cta-actions .btn,
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   17. BLOG PREVIEW SECTION
   ========================================================================== */

.blog-preview-section {
  background: var(--bg);
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card-category,
.blog-category {
  display: inline-block;
  background: var(--primary-alpha-10);
  color: var(--theme-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-date,
.blog-read-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card-title {
  margin-bottom: 12px;
}

.blog-card-title a {
  color: var(--heading);
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 0.2s var(--ease);
}

.blog-card-title a:hover {
  color: var(--theme-primary);
}

.blog-card-excerpt,
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-card-readmore {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}

.blog-card-readmore:hover {
  gap: 8px;
}

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

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

/* ==========================================================================
   18. EVENTS PREVIEW SECTION
   ========================================================================== */

.events-preview-section {
  background: var(--bg);
  padding: 80px 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.event-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.event-card h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.event-card h3 a {
  color: var(--heading);
  transition: color 0.2s var(--ease);
}

.event-card h3 a:hover {
  color: var(--theme-primary);
}

.event-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.event-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   19. GALLERY PREVIEW SECTION
   ========================================================================== */

.gallery-preview-section {
  background: var(--bg);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-rows: 200px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s var(--ease);
}

.gallery-card:hover::after {
  background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   20. FOOTER
   ========================================================================== */

.site-footer {
  background: #111127;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand img,
.footer-logo-img {
  height: 40px;
  max-height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-logo-img.logo-mode-filtered {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-logo-img.logo-mode-original {
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col li {
  list-style: none;
}

.footer-address {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
}

.footer-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
  margin-bottom: 12px;
}

.footer-logo-text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s var(--ease);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-powered {
  text-align: center;
  padding: 16px 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-powered a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s var(--ease);
}

.footer-powered a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   21. PAYMENT BADGES
   ========================================================================== */

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   22. MOBILE CTA BAR (Sticky Bottom)
   ========================================================================== */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
}

.mobile-cta-bar .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    gap: 8px;
  }

  body {
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   23. SECTION TEXT COLOR OVERRIDES
   ========================================================================== */

/* Black Text Variant */
.section--text-black h2,
.section--text-black h3,
.section--text-black h4 {
  color: var(--heading) !important;
}

.section--text-black p,
.section--text-black li,
.section--text-black span,
.section--text-black a,
.section--text-black .section-subtitle,
.section--text-black .intro-text {
  color: var(--text) !important;
}

.section--text-black .feature-card h3,
.section--text-black .feature-card p,
.section--text-black .feature-card-link {
  color: inherit !important;
}

.section--text-black .topic-card-title,
.section--text-black .topic-card-text,
.section--text-black .topic-card-link {
  color: inherit !important;
}

.section--text-black .highlight-card-title,
.section--text-black .highlight-card-text,
.section--text-black .highlight-card-source,
.section--text-black .highlight-card-link {
  color: inherit !important;
}

.section--text-black .blog-card-body p,
.section--text-black .blog-card-body h2 a,
.section--text-black .blog-card-title a,
.section--text-black .blog-card-category,
.section--text-black .blog-card-excerpt,
.section--text-black .blog-card-readmore,
.section--text-black .blog-card-date,
.section--text-black .blog-category,
.section--text-black .blog-meta,
.section--text-black .blog-read-time {
  color: inherit !important;
}

.section--text-black .event-card-body p,
.section--text-black .event-card-body h3 a,
.section--text-black .event-card-meta,
.section--text-black .event-card-link {
  color: inherit !important;
}

.section--text-black .cta-text,
.section--text-black .cta-eyebrow {
  color: inherit !important;
}

/* White Text Variant */
.section--text-white h2,
.section--text-white h3,
.section--text-white h4 {
  color: #fff !important;
}

.section--text-white p,
.section--text-white li,
.section--text-white span,
.section--text-white a,
.section--text-white .section-subtitle,
.section--text-white .intro-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

.section--text-white .feature-card h3,
.section--text-white .feature-card p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section--text-white .topic-card-title,
.section--text-white .topic-card-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section--text-white .highlight-card-title,
.section--text-white .highlight-card-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section--text-white .blog-card-body p,
.section--text-white .blog-card-excerpt {
  color: rgba(255, 255, 255, 0.75) !important;
}

.section--text-white .event-card-body p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.section--text-white .cta-text {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Theme Primary Text Variant */
.section--text-theme h2,
.section--text-theme h3,
.section--text-theme h4 {
  color: var(--theme-primary) !important;
}

.section--text-theme p,
.section--text-theme li,
.section--text-theme span,
.section--text-theme .section-subtitle,
.section--text-theme .intro-text {
  color: var(--text) !important;
}

.section--text-theme a {
  color: var(--theme-primary) !important;
}

/* ==========================================================================
   24. HTML SECTION PLUGIN STYLES
   ========================================================================== */

.html-section {
  padding: 80px 0;
  background: var(--bg);
}

.html-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 20px;
}

.html-section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.html-section-content {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}

.html-section-content h1,
.html-section-content h2,
.html-section-content h3,
.html-section-content h4 {
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--heading);
}

.html-section-content p {
  margin-bottom: 16px;
}

.html-section-content ul,
.html-section-content ol {
  margin: 16px 0 16px 20px;
  list-style: revert;
}

.html-section-content li {
  margin-bottom: 8px;
  color: var(--text);
}

/* ==========================================================================
   25. PROCESS STEPS PLUGIN STYLES
   ========================================================================== */

.process-steps-section {
  background: var(--bg-warm);
  padding: 80px 0;
}

.process-steps-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.process-steps-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.process-steps-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
}

.process-steps,
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before,
.process-steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--theme-primary);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--theme-primary);
}

.process-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading);
}

.process-step-text {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process-steps,
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before,
  .process-steps-grid::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .process-steps,
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   26. RATING HIGHLIGHT PLUGIN STYLES
   ========================================================================== */

.rating-highlight-section {
  background: var(--bg);
  padding: 80px 0;
}

.rating-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.rating-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.rating-section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
}

.rating-card,
.review-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rating-score-side,
.review-score {
  text-align: center;
  flex-shrink: 0;
}

.rating-score-number,
.review-score-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 8px;
}

.rating-stars,
.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 8px 0;
  color: #F59E0B;
}

.rating-star {
  font-size: 1.25rem;
}

.rating-stars svg,
.review-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.rating-count,
.review-count {
  font-size: 0.875rem;
  color: var(--text-light);
}

.rating-source {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.rating-body-side,
.review-quotes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-summary,
.review-quote {
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
  border-left: 3px solid var(--theme-primary);
}

.rating-summary-source,
.review-quote-source {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.rating-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rating-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-primary);
}

@media (max-width: 768px) {
  .rating-card,
  .review-highlight {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }
}

/* ==========================================================================
   27. BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 16px 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--theme-primary);
  transition: color 0.2s var(--ease);
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
}

.breadcrumb-separator {
  color: var(--border);
}

.breadcrumb-current {
  color: var(--text-muted);
}

/* ==========================================================================
   28. PAGE & CONTENT STYLES
   ========================================================================== */

.page-header {
  padding: 48px 0;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--heading);
}

.page-description {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 600px;
}

.page-content {
  padding: 80px 0;
}

.page-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-content h3 {
  margin-top: 24px;
  margin-bottom: 16px;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.page-content ul,
.page-content ol {
  margin: 16px 0 16px 24px;
  list-style: revert;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-content blockquote {
  padding: 16px 20px;
  margin: 24px 0;
  border-left: 4px solid var(--theme-primary);
  background: var(--bg-warm);
  color: var(--text-light);
  font-style: italic;
}

.page-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
}

.page-content.module-intro {
  padding: 0;
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.page-content.module-intro p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   29. CONTACT PAGE
   ========================================================================== */

.contact-page {
  padding: 60px 0 80px;
}

.contact-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

.contact-intro p {
  margin-bottom: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 8px;
}

.contact-section-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0 0 28px;
}

/* Contact Alert */
.contact-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

/* Contact Info Sidebar */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s var(--ease);
}

a.contact-info-card:hover {
  border-color: var(--primary-alpha-20);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.contact-info-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-alpha-10);
  border-radius: var(--radius-sm);
  color: var(--theme-primary);
}

.contact-info-card-icon svg {
  stroke: var(--theme-primary);
}

.contact-info-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-info-card span {
  font-size: 0.9375rem;
  color: var(--text);
}

a.contact-info-card span {
  color: var(--theme-primary);
}

.is-error {
  border-color: #dc2626 !important;
}

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

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding: 40px 0 60px;
  }
}

/* Form Base */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading);
  font-size: 0.9375rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form textarea,
form select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: all 0.2s var(--ease);
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="date"]:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px var(--primary-alpha-10);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form input[type="checkbox"],
form input[type="radio"] {
  margin-right: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-error {
  color: #DC2626;
  font-size: 0.875rem;
  margin-top: 4px;
}

.form-success {
  color: #059669;
  font-size: 0.875rem;
  margin-top: 4px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   30. COOKIE CONSENT THEMING
   ========================================================================== */

.cookie-consent,
.cookie-banner {
  background: var(--consent-bg) !important;
  color: var(--consent-text) !important;
  border: 1px solid var(--consent-border) !important;
}

.cookie-consent h2,
.cookie-consent h3,
.cookie-banner h2,
.cookie-banner h3 {
  color: #fff !important;
}

.cookie-consent p,
.cookie-banner p {
  color: var(--consent-text) !important;
}

.cookie-consent a,
.cookie-banner a {
  color: var(--primary-light) !important;
}

.cookie-consent .btn-accept,
.cookie-banner .btn-accept {
  background: var(--consent-button-bg) !important;
  color: var(--consent-button-text) !important;
  border-color: var(--consent-button-bg) !important;
}

.cookie-consent .btn-accept:hover,
.cookie-banner .btn-accept:hover {
  background: var(--consent-button-hover) !important;
  border-color: var(--consent-button-hover) !important;
}

.cookie-consent .btn-dismiss,
.cookie-banner .btn-dismiss {
  background: var(--consent-dismiss-bg) !important;
  color: var(--consent-dismiss-text) !important;
  border-color: var(--consent-dismiss-bg) !important;
}

.cookie-consent .btn-dismiss:hover,
.cookie-banner .btn-dismiss:hover {
  background: var(--consent-dismiss-hover) !important;
}

/* ==========================================================================
   31. RESPONSIVE DESIGN
   ========================================================================== */

/* Large Screens (1200px+) – no special styling needed */

/* Desktop (960px+) */
@media (max-width: 1140px) {
  .container {
    padding: 0 32px;
  }

  .cta-inner {
    gap: 48px;
  }
}

/* Tablet (768px+) */
@media (max-width: 960px) {
  .container {
    padding: 0 28px;
  }

  .usp-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 60px 0;
  }
}

/* Mobile Landscape (768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .topbar-right {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero,
  .hero-section {
    min-height: 440px;
  }

  .hero .container,
  .hero-section .container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 72px;
  }

  .mobile-cta-bar {
    display: flex;
  }
}

/* Tablet Portrait (560px – 768px) */
@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .usp-bar {
    margin-top: -24px;
  }

  .usp-items {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .topic-cards-grid,
  .blog-grid,
  .events-grid,
  .gallery-grid,
  .highlight-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
  }

  h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .hero h1,
  .hero-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
  }

  .cta-text h2 {
    font-size: 1.5rem;
  }

  .review-highlight {
    padding: 24px;
    gap: 24px;
  }

  .review-score-number {
    font-size: 2.5rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .topbar {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .topbar-left,
  .topbar-right {
    gap: 12px;
  }

  .topbar-item {
    gap: 4px;
  }

  .site-logo img,
  .header-logo img {
    height: 36px;
  }

  .hero,
  .hero-section {
    min-height: 380px;
  }

  .hero .container,
  .hero-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero h1,
  .hero-section h1 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 16px;
  }

  .hero-subtitle,
  .hero-section .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .usp-bar .container {
    border-radius: var(--radius-md);
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-header h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
  }

  .feature-card,
  .topic-card,
  .highlight-card,
  .trust-card {
    padding: 24px 20px;
  }

  .feature-card-icon,
  .topic-card-icon {
    width: 48px;
    height: 48px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step-number {
    width: 56px;
    height: 56px;
  }

  .cta-text h2 {
    font-size: 1.25rem;
  }

  .cta-text p {
    font-size: 1rem;
  }

  .cta-info {
    gap: 16px;
  }

  .footer-inner {
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-col a {
    padding: 2px 0;
    font-size: 0.8125rem;
  }

  .footer-bottom {
    padding: 16px 0;
    font-size: 0.75rem;
  }

  .mobile-cta-bar {
    padding: 8px 12px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   32. UTILITY CLASSES
   ========================================================================== */

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

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
}

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

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

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

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

.text-dark {
  color: var(--heading);
}

.text-light {
  color: var(--text-light);
}

.text-muted {
  color: var(--text-muted);
}

.bg-primary {
  background: var(--theme-primary);
}

.bg-dark {
  background: var(--bg-dark);
}

.bg-warm {
  background: var(--bg-warm);
}

.bg-cool {
  background: var(--bg-cool);
}

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

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

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

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }

.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ==========================================================================
   33. SERVICE CARDS PLUGIN – PREMIUM THEME OVERRIDES
   ========================================================================== */

/* Premium card styling with theme variables */
.service-cards-section .scs-card {
  border-color: var(--border);
  border-radius: var(--radius-md);
}

.service-cards-section .scs-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-alpha-20);
}

.service-cards-section .scs-card-visual {
  background: var(--bg-warm);
}

.service-cards-section .scs-card:hover .scs-card-visual {
  background: var(--primary-alpha-10);
}

.service-cards-section .scs-card-title {
  color: var(--heading);
}

.service-cards-section .scs-card-text {
  color: var(--text-light);
}

.service-cards-section .scs-card-price {
  color: var(--theme-primary);
}

/* Section text color overrides for service cards */
.section--text-black .scs-card-title {
  color: var(--heading) !important;
}

.section--text-white .scs-card-title {
  color: #fff !important;
}

.section--text-white .scs-card-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

.section--text-theme .scs-card-title {
  color: var(--theme-primary) !important;
}

/* ==========================================================================
   KUHN PREMIUM – Section Surface Variants
   ========================================================================== */

/* Workshop – Kuhn Markensignatur (Anthrazit → Dunkelrot → Stahl) */
.section--surface-workshop {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1215 30%, #8E0000 65%, #C62828 100%) !important;
  border-bottom: 3px solid #C62828;
  color: #fff;
}
.section--surface-workshop h2,
.section--surface-workshop h3,
.section--surface-workshop .section-subtitle,
.section--surface-workshop p { color: #fff; }
.section--surface-workshop .feature-card,
.section--surface-workshop .topic-card,
.section--surface-workshop .highlight-card,
.section--surface-workshop .blog-card,
.section--surface-workshop .event-card,
.section--surface-workshop .gallery-preview-card,
.section--surface-workshop .team-card,
.section--surface-workshop .video-embed,
.section--surface-workshop .html-section-content {
  background: rgba(198, 40, 40, 0.08) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.section--surface-workshop .feature-card p,
.section--surface-workshop .topic-card-text,
.section--surface-workshop .highlight-card p { color: rgba(255,255,255,0.9); }
.section--surface-workshop .blog-card h3 a,
.section--surface-workshop .event-card h3 a { color: #fff; }

/* Midnight – dunkles Anthrazit */
.section--surface-midnight {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #232340 100%) !important;
  color: #e8e8f0;
}
.section--surface-midnight h2,
.section--surface-midnight h3,
.section--surface-midnight p { color: #e8e8f0; }
.section--surface-midnight .feature-card,
.section--surface-midnight .topic-card,
.section--surface-midnight .highlight-card,
.section--surface-midnight .blog-card,
.section--surface-midnight .event-card,
.section--surface-midnight .gallery-preview-card,
.section--surface-midnight .team-card,
.section--surface-midnight .video-embed,
.section--surface-midnight .html-section-content {
  background: rgba(255,255,255,0.05) !important;
  color: #d0d0e0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.section--surface-midnight .blog-card h3 a,
.section--surface-midnight .event-card h3 a { color: #e8e8f0; }

/* Warm – Amber/Bronze */
.section--surface-warm {
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%) !important;
  border-top: 3px solid #b87333;
  color: #2b2b2b;
}
.section--surface-warm h2,
.section--surface-warm h3,
.section--surface-warm p { color: #2b2b2b; }
.section--surface-warm .feature-card,
.section--surface-warm .topic-card,
.section--surface-warm .highlight-card,
.section--surface-warm .blog-card,
.section--surface-warm .event-card,
.section--surface-warm .gallery-preview-card,
.section--surface-warm .team-card,
.section--surface-warm .video-embed,
.section--surface-warm .html-section-content {
  background: rgba(184,115,51,0.06) !important;
  color: #2b2b2b !important;
  box-shadow: 0 1px 8px rgba(184,115,51,0.1);
}
.section--surface-warm .blog-card h3 a,
.section--surface-warm .event-card h3 a { color: #C62828; }

/* Minimal – dezent hell */
.section--surface-minimal {
  background: #fcfcfc !important;
  border-top: 1px solid rgba(198,40,40,0.1);
  color: #2b2b2b;
}
.section--surface-minimal h2,
.section--surface-minimal h3,
.section--surface-minimal p { color: #2b2b2b; }
.section--surface-minimal .feature-card,
.section--surface-minimal .topic-card,
.section--surface-minimal .highlight-card,
.section--surface-minimal .blog-card,
.section--surface-minimal .event-card,
.section--surface-minimal .gallery-preview-card,
.section--surface-minimal .team-card,
.section--surface-minimal .video-embed,
.section--surface-minimal .html-section-content {
  background: rgba(198,40,40,0.02) !important;
  color: #2b2b2b !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.section--surface-minimal .blog-card h3 a,
.section--surface-minimal .event-card h3 a { color: #C62828; }

/* ── Kuhn Premium CTA Surface Variants ── */
.cta--surface-workshop {
  background: linear-gradient(135deg, #1a1a1a, #8E0000 50%, #C62828) !important;
  border-bottom: 3px solid #C62828;
}
.cta--surface-workshop h2, .cta--surface-workshop .cta-text, .cta--surface-workshop .cta-eyebrow { color: #fff !important; }
.cta--surface-midnight { background: linear-gradient(135deg, #0a0a0f, #1a1a2e) !important; }
.cta--surface-midnight h2, .cta--surface-midnight .cta-text, .cta--surface-midnight .cta-eyebrow { color: #e8e8f0 !important; }
.cta--surface-warm { background: linear-gradient(135deg, #5c3d1a, #b87333) !important; }
.cta--surface-warm h2, .cta--surface-warm .cta-text, .cta--surface-warm .cta-eyebrow { color: #fff !important; }

/* ── Kuhn Premium: CTA Button Styles ── */
.cta--btn-pill .btn-cta, .cta--btn-pill .btn-secondary { border-radius: 50px; }
.cta--btn-outline .btn-cta { background: transparent; border: 2px solid #fff; color: #fff; }
.cta--btn-outline .btn-cta:hover { background: rgba(255,255,255,0.15); }
.cta--btn-glow .btn-cta { box-shadow: 0 0 20px rgba(198,40,40,0.5), 0 0 40px rgba(198,40,40,0.2); }
.cta--btn-glow .btn-cta:hover { box-shadow: 0 0 30px rgba(198,40,40,0.7), 0 0 60px rgba(198,40,40,0.3); }

/* ==========================================================================
   SCROLL-REVEAL ANIMATIONS (3.2.0)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION (3.2.0)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   SCROLL-TO-TOP (v3.3.0)
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 5.5rem; /* above mobile-cta-bar */
    right: 1.5rem;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary, #e63012);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    box-shadow: 0 4px 14px rgba(230, 48, 18, 0.35);
}
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: var(--color-primary-dark, #c02800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 48, 18, 0.45);
}
.scroll-to-top:focus-visible {
    outline: 2px solid var(--color-primary, #e63012);
    outline-offset: 3px;
}
.scroll-to-top svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 640px) {
    .scroll-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: opacity 0.1s, visibility 0.1s;
        transform: none !important;
    }
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */



/* ═══════════════════════════════════════════════════════════════════════════
   Search – Header Dropdown & Results Page (v3.3.0)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Header Search – Toggle Button */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}
.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s;
}
.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
    opacity: 1;
    background: rgba(255,255,255,0.1);
}
.header-search-toggle svg {
    display: block;
    pointer-events: none;
}

/* Header Search – Dropdown */
.header-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1000;
    background: var(--bg-primary, #fff);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.5rem;
    opacity: 0;
    transform: translateY(-4px);
    animation: searchDropIn 0.15s ease forwards;
}
.header-search-dropdown[hidden] {
    display: none;
}
@keyframes searchDropIn {
    to { opacity: 1; transform: translateY(0); }
}
.header-search-dropdown form {
    display: flex;
    align-items: center;
    gap: 0;
}
.header-search-dropdown input[type="search"] {
    width: 260px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    border: 2px solid var(--border-color, #ddd);
    border-right: none;
    border-radius: var(--radius-sm, 6px) 0 0 var(--radius-sm, 6px);
    outline: none;
    background: var(--bg-primary, #fff);
    color: var(--text-primary, #1a1a1a);
    -webkit-appearance: none;
}
.header-search-dropdown input[type="search"]:focus {
    border-color: var(--color-primary, #2563eb);
}
.header-search-dropdown button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: var(--color-primary, #2563eb);
    color: #fff;
    border: 2px solid var(--color-primary, #2563eb);
    border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
    cursor: pointer;
    transition: background 0.2s;
}
.header-search-dropdown button[type="submit"]:hover {
    background: var(--color-primary-dark, #1d4ed8);
    border-color: var(--color-primary-dark, #1d4ed8);
}
.header-search-dropdown button[type="submit"] svg {
    display: block;
}

/* Search Page */
.search-section {
    padding: 3rem 0;
    min-height: 50vh;
}
.search-form {
    margin-bottom: 2rem;
}
.search-input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}
.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color, #ddd);
    border-right: none;
    border-radius: var(--radius-md, 6px) 0 0 var(--radius-md, 6px);
    outline: none;
    background: var(--bg-primary, #fff);
    color: var(--text-primary, #1a1a1a);
    -webkit-appearance: none;
}
.search-input:focus {
    border-color: var(--color-primary, #2563eb);
}
.search-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary, #2563eb);
    color: #fff;
    border: 2px solid var(--color-primary, #2563eb);
    border-radius: 0 var(--radius-md, 6px) var(--radius-md, 6px) 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}
.search-submit:hover {
    background: var(--color-primary-dark, #1d4ed8);
    border-color: var(--color-primary-dark, #1d4ed8);
}
.search-submit svg { display: block; }

/* Search Results */
.search-result-count {
    color: var(--text-muted, #666);
    margin-bottom: 1.5rem;
    text-align: center;
}
.search-error {
    text-align: center;
    color: var(--color-error, #dc2626);
    margin-bottom: 1rem;
}
.search-results {
    max-width: 800px;
    margin: 0 auto;
}
.search-result-card {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color, #eee);
}
.search-result-card:last-child {
    border-bottom: none;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
}
.search-result-type {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm, 4px);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    background: var(--bg-secondary, #f5f5f5);
    color: var(--text-muted, #666);
}
.search-result-type svg { width: 14px; height: 14px; }
.search-result-type--blog { background: #dbeafe; color: #1d4ed8; }
.search-result-type--event { background: #fef3c7; color: #92400e; }
.search-result-type--download { background: #d1fae5; color: #065f46; }
.search-result-date {
    color: var(--text-muted, #999);
    font-size: 0.8125rem;
}
.search-result-title {
    font-size: 1.125rem;
    margin: 0.25rem 0;
    line-height: 1.4;
}
.search-result-title a {
    color: var(--text-primary, #1a1a1a);
    text-decoration: none;
}
.search-result-title a:hover {
    color: var(--color-primary, #2563eb);
}
.search-result-excerpt {
    color: var(--text-secondary, #555);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0.25rem 0;
}
.search-result-excerpt mark,
.search-result-title mark {
    background: #fef08a;
    color: inherit;
    padding: 0 0.125rem;
    border-radius: 2px;
}
.search-result-link {
    color: var(--color-primary, #2563eb);
    font-size: 0.8125rem;
    text-decoration: none;
    opacity: 0.7;
}
.search-result-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 3rem 0;
}
.search-no-results svg {
    color: var(--text-muted, #ccc);
    margin-bottom: 1rem;
}
.search-no-results p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Mobile */
@media (max-width: 768px) {
    .header-search-dropdown input[type="search"] {
        width: 200px;
    }
    .search-input-group {
        flex-direction: column;
    }
    .search-input {
        border-right: 2px solid var(--border-color, #ddd);
        border-radius: var(--radius-md, 6px);
        border-bottom: none;
    }
    .search-input:focus {
        border-color: var(--color-primary, #2563eb);
    }
    .search-submit {
        border-radius: var(--radius-md, 6px);
        justify-content: center;
        margin-top: 0.5rem;
    }
}
@media (max-width: 480px) {
    .header-search-dropdown {
        position: fixed;
        top: auto;
        right: 1rem;
        left: 1rem;
    }
    .header-search-dropdown input[type="search"] {
        width: 100%;
        flex: 1;
    }
    .search-section { padding: 2rem 0; }
}

/* ── F3: Blog Enhancements ───────────────────────────────────────────────── */

.article-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-text-light, #6b7280);
}
.article-reading-time svg { flex-shrink: 0; vertical-align: middle; }

.article-toc {
    margin: 1.75rem 0 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-alt, #f9fafb);
    border: 1px solid var(--color-border, #e5e7eb);
    border-left: 4px solid var(--color-primary, #2563eb);
    border-radius: 8px;
}
.article-toc-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.75rem; }
.article-toc-title svg { flex-shrink: 0; }
.article-toc-list { margin: 0; padding-left: 1.25rem; list-style: decimal; }
.article-toc-list li { margin: 0.3rem 0; font-size: 0.9rem; }
.article-toc-list li a { color: var(--color-primary, #2563eb); text-decoration: none; }
.article-toc-list li a:hover { text-decoration: underline; }
.toc-level-3 { padding-left: 1.25rem; list-style-type: disc; }

.article-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border, #e5e7eb); }
.article-related-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 768px) { .related-posts-grid { grid-template-columns: 1fr; } }
.related-post-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 8px; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.related-post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.related-post-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.related-post-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-post-body { padding: 0.85rem 1rem; flex: 1; }
.related-post-date { display: block; font-size: 0.78rem; color: var(--color-text-light, #6b7280); margin-bottom: 0.35rem; }
.related-post-body h4 { margin: 0; font-size: 0.925rem; font-weight: 600; line-height: 1.4; }

/* ── Sticky Header (v3.3.0) ─────────────────────────────────────────── */
html[data-sticky-header] .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
html[data-sticky-header] .site-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ── Scroll Animations (v3.3.0) ──────────────────────────────────────── */
html[data-scroll-animations] .animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
html[data-scroll-animations] .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
