/* ═══════════════════════════════════════════════════════════════════════════════
   ROTER KAUL PREMIUM THEME v1.2.0 – Production CSS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══ RESET & FOUNDATION ═══════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ═══ COLOR SYSTEM & CSS VARIABLES ═════════════════════════════════════════════ */
:root {
  /* Primary Reds */
  --red: #c0272d;
  --red-dark: #8b0000;
  --red-light: #e0353b;
  --red-glow: rgba(192, 39, 45, 0.18);
  --red-soft: rgba(192, 39, 45, 0.07);

  /* Gold Accents */
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-soft: rgba(201, 168, 76, 0.12);

  /* Silver / Neutral */
  --silver: #b8bfc7;
  --silver-light: #d5dae0;

  /* Dark Tones */
  --dark: #1a1a1a;
  --dark-alt: #222;

  /* Light Backgrounds */
  --bg: #ffffff;
  --bg-warm: #fdfcfa;
  --bg-section: #f7f6f4;
  --bg-cream: #faf8f5;

  /* Text Colors */
  --text: #2b2b2b;
  --text-light: #555;
  --text-muted: #888;
  --border: #e8e5e0;

  /* Generic Theme Color */
  --theme-primary: var(--red);
}

/* ═══ TYPOGRAPHY ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-size: 2.125rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1rem;
}

/* ═══ LAYOUT ═══════════════════════════════════════════════════════════════════ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══ ACCESSIBILITY ════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 999;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

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

/* ═══════════════════════════════════════════════════════════════════════════════
   TOPBAR – Dark Red Gradient with Gold Accent
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-topbar {
  background: linear-gradient(90deg, #2a1215 0%, var(--red-dark) 50%, #2a1215 100%);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  flex: 1;
}

.topbar-email {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.15s ease;
}

.topbar-email:hover {
  color: var(--gold-light);
}

.topbar-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  transition: all 0.15s ease;
}

.topbar-social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-soft);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER – White Background with Red Border
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-header {
  background: #fff;
  padding: 0.5rem 0;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: top 0.2s ease;
}

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

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 72px;
  width: auto;
}

/* Logo Mode Filters */
.logo-mode-filtered {
  filter: brightness(0) invert(1);
}

.logo-mode-original {
  filter: none;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  display: none;
}

.logo-text span {
  font-size: 0.7em;
  font-weight: 400;
}

/* Navigation Toggle (Mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem 0.625rem;
  transition: color 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  line-height: 1;
}

.nav-toggle:hover {
  color: var(--red);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--red);
}

/* Main Navigation */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-block;
  padding: 0.45rem 1rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.nav-list a:hover {
  color: var(--red);
  background: var(--red-soft);
}

.nav-list a.active {
  color: #fff;
  background: var(--red);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════════════════ */
.breadcrumbs {
  background: var(--bg-section);
  padding: 0.875rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--text-light);
  transition: color 0.15s ease;
}

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

.breadcrumb-item::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-item:last-child::after {
  display: none;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-main {
  min-height: calc(100vh - 500px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION – Rich Red Gradient
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 120% 80% at 10% 90%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 100% at 95% 10%, rgba(139, 0, 0, 0.4) 0%, transparent 50%),
    linear-gradient(140deg, #1a0808 0%, #3d0c0c 20%, var(--red-dark) 45%, var(--red) 70%, #d04545 90%, #e06060 100%);
  overflow: hidden;
}

/* Gold Shimmer Line on top */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent 100%);
  z-index: 5;
}

/* Diagonal white clip-path at bottom */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

/* Hero Split Layout */
.hero-split-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Portrait */
.hero-portrait-wrap {
  flex: 0 0 auto;
  position: relative;
}

.hero-portrait {
  width: clamp(240px, 22vw, 320px);
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.hero-portrait:hover {
  transform: scale(1.03) rotate(-1deg);
}

.hero-portrait-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  border: 2px solid rgba(201, 168, 76, 0.25);
  pointer-events: none;
}

.hero-portrait-inline {
  order: -1;
  margin-bottom: 1.5rem;
}

/* Hero Modifier Classes */
.hero--text-light { color: rgba(255, 255, 255, 0.85) !important; }
.hero--text-dark { color: var(--text) !important; }
.hero--text-white { color: #fff !important; }
.hero--text-black { color: #000 !important; }
.hero--text-red { color: var(--red) !important; }

.hero--hsize-sm .hero-title { font-size: clamp(1.75rem, 3vw, 2rem); }
.hero--hsize-md .hero-title { font-size: clamp(2rem, 4vw, 2.5rem); }
.hero--hsize-lg .hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.hero--hsize-xl .hero-title { font-size: clamp(3rem, 6vw, 4rem); }

.hero--hweight-normal .hero-title { font-weight: 400; }
.hero--hweight-medium .hero-title { font-weight: 500; }
.hero--hweight-bold .hero-title { font-weight: 700; }
.hero--hweight-black .hero-title { font-weight: 900; }

.hero--body-sm .hero-subtitle { font-size: 0.95rem; }
.hero--body-md .hero-subtitle { font-size: 1.125rem; }
.hero--body-lg .hero-subtitle { font-size: 1.25rem; }

.hero--layout-full { width: 100%; }
.hero--layout-boxed { max-width: 980px; margin: 0 auto; }
.hero--layout-split .hero-split-inner { flex-direction: row; }

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

.hero--overlay-light::after { opacity: 0.5; }
.hero--overlay-medium::after { opacity: 1; }
.hero--overlay-heavy::after { opacity: 1.5; }

.hero--tall { padding: 7rem 0 5rem; }

.hero--portrait-circle .hero-portrait { border-radius: 50%; }
.hero--portrait-rounded .hero-portrait { border-radius: 24px; }
.hero--portrait-square .hero-portrait { border-radius: 0; }

.hero--portrait-elevated .hero-portrait-wrap { transform: translateY(-2rem); }
.hero--portrait-flat { transform: none; }

.hero--cta-stacked .hero-ctas { flex-direction: column; width: 100%; }
.hero--cta-stacked .btn { width: 100%; justify-content: center; }

.hero--has-portrait { display: block; }
.hero--has-bg { background-size: cover; background-position: center; }

/* Premium Tokens */
.hero--surface-festive {
  background: linear-gradient(140deg, #1a0808 0%, #3d0c0c 20%, var(--red-dark) 45%, var(--red) 70%, #d04545 90%, #e06060 100%);
}

.hero--surface-midnight {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.hero--surface-warm {
  background: linear-gradient(135deg, #fdfcfa 0%, #f7f6f4 100%);
}

.hero--surface-minimal { background: #fff; }

.hero--glow-strong { box-shadow: inset 0 0 60px rgba(201, 168, 76, 0.2); }
.hero--glow-subtle { box-shadow: inset 0 0 30px rgba(201, 168, 76, 0.1); }
.hero--glow-none { box-shadow: none; }

.hero--cta-pill .btn { border-radius: 999px; padding: 0.9rem 2.25rem; }
.hero--cta-outline .btn { border: 2px solid currentColor; background: transparent; }
.hero--cta-glow .btn { box-shadow: 0 0 20px rgba(201, 168, 76, 0.3); }

.hero--pborder-accent .hero-portrait-wrap::before { border-color: var(--red); }
.hero--pborder-light .hero-portrait-wrap::before { border-color: rgba(255, 255, 255, 0.25); }
.hero--pborder-glow .hero-portrait-wrap::before { border-color: var(--gold); box-shadow: 0 0 20px rgba(201, 168, 76, 0.3); }

/* ═══════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

/* Primary Button */
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 6px 20px rgba(192, 39, 45, 0.25);
}

/* Hero Button – White pill with red text */
.btn-hero {
  background: #fff;
  color: var(--red-dark);
  border-color: #fff;
  border-radius: 999px;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-hero:hover {
  background: var(--gold-light);
  color: var(--dark);
  border-color: var(--gold-light);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.3);
}

/* Secondary Button – Transparent with border */
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  border-radius: 8px;
}

.btn-secondary:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}

.hero-section .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

.hero-section .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* CTA Button */
.btn-cta {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  border-radius: 999px;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(192, 39, 45, 0.2);
}

.btn-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 6px 24px rgba(192, 39, 45, 0.3);
}

/* Back Button */
.btn-back {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  padding: 0.5rem 0;
  transition: color 0.15s ease;
}

.btn-back:hover {
  color: var(--red-dark);
}

/* Download Button */
.btn-download-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-download-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(192, 39, 45, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTION BASICS
   ═══════════════════════════════════════════════════════════════════════════════ */
.section-title {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-pad {
  padding: 4rem 0;
}

/* Section Header with Red Accent Line */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-header .section-subtitle {
  margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.intro-section {
  padding: 5rem 0 4.5rem;
  text-align: center;
  background: var(--bg);
}

.intro-header {
  margin-bottom: 2.5rem;
}

.intro-header h2 {
  margin-bottom: 0.5rem;
}

.intro-text {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.intro-cta {
  margin-top: 2.5rem;
}

.intro--surface-warm { background: var(--bg-warm); }
.intro--surface-cool { background: var(--bg-section); }
.intro--surface-accent { background: var(--red-soft); }

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.features-section {
  padding: 5rem 0;
  background: var(--bg-section);
}

.features-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.features-section h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.features-section .section-subtitle {
  margin-top: 2.5rem;
  text-align: center;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

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

.feature-card {
  padding: 2.25rem 2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(192, 39, 45, 0.2);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.feature-card-link {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: color 0.15s ease;
}

.feature-card-link:hover {
  color: var(--red-dark);
}

.section--card-bordered .feature-card { border: 2px solid var(--border); }
.section--card-flat .feature-card { box-shadow: none; border: 1px solid var(--border); }

.features--hover-lift .feature-card:hover { transform: translateY(-8px); }
.features--hover-glow .feature-card:hover { box-shadow: 0 20px 50px rgba(192, 39, 45, 0.15); }
.features--hover-accent .feature-card:hover { border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════════════════════════
   TOPIC CARDS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.topic-cards-section {
  padding: 5rem 0;
  background: var(--bg);
}

.topic-cards-grid {
  display: grid;
  gap: 2rem;
}

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

.topic-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(192, 39, 45, 0.2);
}

.topic-card:hover::before { opacity: 1; }

.topic-card--plain { cursor: default; }

.topic-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.topic-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.topic-card-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.topic-card-link {
  color: var(--red);
  font-weight: 600;
  transition: color 0.15s ease;
}

.topic-card:hover .topic-card-link {
  color: var(--red-dark);
}

.tc--hover-lift .topic-card:hover { transform: translateY(-8px); }
.tc--hover-glow .topic-card:hover { box-shadow: 0 20px 50px rgba(192, 39, 45, 0.15); }
.tc--hover-accent .topic-card:hover { border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════════════════════════
   HIGHLIGHT GRID SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.highlight-grid-section {
  padding: 5rem 0;
  background: var(--bg-section);
}

.highlight-grid {
  display: grid;
  gap: 2rem;
}

.section--cols-2 .highlight-grid { grid-template-columns: repeat(2, 1fr); }
.section--cols-3 .highlight-grid { grid-template-columns: repeat(3, 1fr); }
.section--cols-4 .highlight-grid { grid-template-columns: repeat(4, 1fr); }

.highlight-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(192, 39, 45, 0.2);
}

.highlight-card:hover::before { opacity: 1; }

.highlight-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.highlight-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.highlight-card-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.highlight-card-source {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.highlight-card-link {
  color: var(--red);
  font-weight: 600;
  transition: color 0.15s ease;
}

.highlight-card:hover .highlight-card-link {
  color: var(--red-dark);
}

.hg--hover-lift .highlight-card:hover { transform: translateY(-8px); }
.hg--hover-glow .highlight-card:hover { box-shadow: 0 20px 50px rgba(192, 39, 45, 0.15); }
.hg--hover-accent .highlight-card:hover { border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG PREVIEW SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.blog-preview-section {
  padding: 5rem 0;
  background: var(--bg);
}

.blog-preview-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.blog-preview-section h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.blog-preview-section .section-subtitle {
  margin-top: 2.5rem;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.blog-card--featured { grid-column: span 1; }

/* Hotfix 1.2.1: Link als Block, damit der Bildcontainer korrekt die volle Breite belegt */
.blog-card-image-link {
  display: block;
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
  overflow: hidden;
}

/* Hotfix 1.2.1: picture-Element als voller Block im Bildcontainer */
.blog-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card-image img,
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
}

.blog-card-placeholder svg {
  width: 3rem;
  height: 3rem;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-card h3 a {
  color: inherit;
  transition: color 0.15s ease;
}

.blog-card:hover h3 a {
  color: var(--red);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.blog-read-time { display: block; }

.blog-preview-cta {
  text-align: center;
  margin-top: 1rem;
}

.blog--layout-featured .blog-card--featured { grid-column: span 1; }
.blog--hover-lift .blog-card:hover { transform: translateY(-8px); }
.blog--hover-glow .blog-card:hover { box-shadow: 0 20px 50px rgba(192, 39, 45, 0.15); }

/* ═══════════════════════════════════════════════════════════════════════════════
   GALLERY PREVIEW SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.gallery-preview-section {
  padding: 5rem 0;
  background: var(--bg-section);
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-preview-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

.gallery-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.gallery-preview-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
}

.gallery-preview-placeholder svg {
  width: 3rem;
  height: 3rem;
}

.gallery-preview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-preview-card > span {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.gallery-preview-card > span small {
  color: var(--text-muted);
  font-weight: 400;
}

.gallery-preview-desc {
  padding: 0 1.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.gallery-preview-cta {
  text-align: center;
  margin-top: 1rem;
}

.gallery--hover-lift .gallery-preview-card:hover { transform: translateY(-8px); }
.gallery--hover-glow .gallery-preview-card:hover { box-shadow: 0 20px 50px rgba(192, 39, 45, 0.15); }

/* ═══════════════════════════════════════════════════════════════════════════════
   EVENTS PREVIEW SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.events-preview-section {
  padding: 5rem 0;
  background: var(--bg);
}

.events-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.event-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.event-card--featured { grid-column: span 1; }

.event-card--postponed,
.event-card--cancelled {
  opacity: 0.75;
}

.event-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Hotfix 1.2.1: picture-Element als voller Block im Event-Bildcontainer */
.event-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.event-card-image img,
.event-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.event-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
}

.event-card-placeholder svg {
  width: 3rem;
  height: 3rem;
}

.event-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-countdown-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.event-status-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  align-self: flex-start;
  text-transform: uppercase;
}

.event-status-badge--postponed {
  background: rgba(255, 152, 0, 0.12);
  color: #ff9800;
}

.event-status-badge--cancelled {
  background: rgba(244, 67, 54, 0.12);
  color: #f44336;
}

.event-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.event-card h3 a {
  color: inherit;
  transition: color 0.15s ease;
}

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

.event-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.event-date {
  color: var(--red);
  font-weight: 600;
}

.event-time { display: block; }
.event-location { display: block; }

.event-card-link {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  margin-top: auto;
  transition: color 0.15s ease;
}

.event-card:hover .event-card-link {
  color: var(--red-dark);
}

.events-preview-cta {
  text-align: center;
  margin-top: 1rem;
}

.events--hover-lift .event-card:hover { transform: translateY(-8px); }
.events--hover-glow .event-card:hover { box-shadow: 0 20px 50px rgba(192, 39, 45, 0.15); }

/* ═══════════════════════════════════════════════════════════════════════════════
   CTA SECTION – Dark with Gold Shimmer
   ═══════════════════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 30% 80%, rgba(201, 168, 76, 0.1) 0%, transparent 55%),
    linear-gradient(135deg, #1a0a0a 0%, var(--red-dark) 40%, var(--red) 80%, #c04040 100%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  display: block;
}

.cta-section h2 {
  font-size: 2.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta--overlay-light { opacity: 0.8; }
.cta--overlay-medium { opacity: 1; }
.cta--overlay-heavy { opacity: 1.1; }

.cta--has-bg {
  background-size: cover;
  background-position: center;
}

.cta--surface-festive {
  background: linear-gradient(135deg, #1a0a0a 0%, var(--red-dark) 40%, var(--red) 80%, #c04040 100%);
}

.cta--surface-midnight {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.cta--surface-warm {
  background: linear-gradient(135deg, #fdfcfa 0%, #f7f6f4 100%);
}

.cta--btn-pill .btn { border-radius: 999px; padding: 0.9rem 2.25rem; }
.cta--btn-outline .btn { border: 2px solid currentColor; background: transparent; }
.cta--btn-glow .btn { box-shadow: 0 0 20px rgba(201, 168, 76, 0.3); }

/* ── Roterkaul: Generic Color Scheme Overrides ─────────────────────────────── */
.section--scheme-primary {
  background: var(--red) !important;
  color: #fff;
}
.section--scheme-primary h2,
.section--scheme-primary h3,
.section--scheme-primary p,
.section--scheme-primary .section-subtitle { color: #fff; }
.section--scheme-primary .feature-card,
.section--scheme-primary .topic-card,
.section--scheme-primary .highlight-card,
.section--scheme-primary .blog-card,
.section--scheme-primary .gallery-preview-card,
.section--scheme-primary .event-card,
.section--scheme-primary .team-card,
.section--scheme-primary .video-embed,
.section--scheme-primary .html-section-content {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM SECTION SURFACE VARIANTS (Features, Topic Cards, Highlight Grid, Blog, Gallery, Events)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Festive – warme Rot-Töne */
.section--surface-festive {
  background: linear-gradient(140deg, #1a0808 0%, #3d0c0c 20%, var(--red-dark) 45%, var(--red) 70%, #d04545 90%) !important;
  color: #fff;
}
.section--surface-festive h2,
.section--surface-festive h3,
.section--surface-festive .section-subtitle,
.section--surface-festive p,
.section--surface-festive .topic-card-text,
.section--surface-festive .feature-card p,
.section--surface-festive .highlight-card p {
  color: #fff;
}

.section--surface-festive .feature-card,
.section--surface-festive .topic-card,
.section--surface-festive .highlight-card,
.section--surface-festive .blog-card,
.section--surface-festive .gallery-preview-card,
.section--surface-festive .event-card,
.section--surface-festive .team-card,
.section--surface-festive .video-embed,
.section--surface-festive .html-section-content {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.section--surface-festive .feature-card p,
.section--surface-festive .topic-card-text,
.section--surface-festive .highlight-card p {
  color: rgba(255, 255, 255, 0.9);
}

.section--surface-festive .team-card-name,
.section--surface-festive .team-card-role,
.section--surface-festive .team-card-bio,
.section--surface-festive .team-card-social a { color: #fff; }

/* Midnight – dunkles Granat */
.section--surface-midnight {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%) !important;
  color: #f0f0f0;
}
.section--surface-midnight h2,
.section--surface-midnight h3,
.section--surface-midnight .section-subtitle,
.section--surface-midnight p,
.section--surface-midnight .topic-card-text,
.section--surface-midnight .feature-card p,
.section--surface-midnight .highlight-card p {
  color: #f0f0f0;
}

.section--surface-midnight .feature-card,
.section--surface-midnight .topic-card,
.section--surface-midnight .highlight-card,
.section--surface-midnight .blog-card,
.section--surface-midnight .gallery-preview-card,
.section--surface-midnight .event-card,
.section--surface-midnight .team-card,
.section--surface-midnight .video-embed,
.section--surface-midnight .html-section-content {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f0f0f0 !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.section--surface-midnight .feature-card p,
.section--surface-midnight .topic-card-text,
.section--surface-midnight .highlight-card p {
  color: rgba(240, 240, 240, 0.85);
}

.section--surface-midnight .team-card-name,
.section--surface-midnight .team-card-role,
.section--surface-midnight .team-card-bio,
.section--surface-midnight .team-card-social a { color: #f0f0f0; }

/* Warm – Gold-Akzent */
.section--surface-warm {
  background: linear-gradient(135deg, #fdfcfa 0%, #f7f6f4 100%) !important;
  border-top: 3px solid var(--gold, #c9a84c) !important;
}
.section--surface-warm h2,
.section--surface-warm h3,
.section--surface-warm .section-subtitle,
.section--surface-warm p {
  color: var(--dark);
}

.section--surface-warm .feature-card,
.section--surface-warm .topic-card,
.section--surface-warm .highlight-card,
.section--surface-warm .blog-card,
.section--surface-warm .gallery-preview-card,
.section--surface-warm .event-card,
.section--surface-warm .team-card,
.section--surface-warm .video-embed,
.section--surface-warm .html-section-content {
  background: rgba(201, 168, 76, 0.06) !important;
}

/* Minimal – dezent transparent */
.section--surface-minimal {
  background: #fff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.section--surface-minimal h2,
.section--surface-minimal h3,
.section--surface-minimal .section-subtitle,
.section--surface-minimal p {
  color: var(--text);
}

.section--surface-minimal .feature-card,
.section--surface-minimal .topic-card,
.section--surface-minimal .highlight-card,
.section--surface-minimal .blog-card,
.section--surface-minimal .gallery-preview-card,
.section--surface-minimal .event-card,
.section--surface-minimal .team-card,
.section--surface-minimal .video-embed,
.section--surface-minimal .html-section-content {
  background: rgba(0, 0, 0, 0.02) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--red);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

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

.footer-brand-logo {
  margin-bottom: 1rem;
}

.footer-brand-logo img {
  height: 52px;
  width: auto;
}

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

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 0.75rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

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

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

/* Hotfix 1.2.1: Social-Links als vertikale Textliste wie footer-nav – kein Overlap */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.4;
  white-space: nowrap;
}

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

/* Cookie-Einstellungs-Button innerhalb footer-col sauber einbetten */
.footer-col .iw-consent-reopen {
  display: block;
  margin-top: 1rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}

.footer-bottom-text {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG LIST PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.blog-section {
  padding: 3rem 0 5rem;
}

.page-intro {
  margin-bottom: 3rem;
  text-align: center;
}

.page-intro-lead {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-chip.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.filter-chip-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.filter-chip.active .filter-chip-count {
  color: rgba(255, 255, 255, 0.7);
}

.text-muted {
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 0;
}

.paging {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.paging-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.paging-link:hover {
  color: var(--red-dark);
}

.paging-link.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.paging-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.paging-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.paging-num:hover {
  border-color: var(--red);
  color: var(--red);
}

.paging-num.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG SINGLE / ARTICLE PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.blog-article {
  padding: 3rem 0 5rem;
}

.article-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.article-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 3rem;
}

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.article-content blockquote {
  border-left: 4px solid var(--red);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
}

.article-tags {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background: var(--bg-section);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.article-tag:hover {
  background: var(--red);
  color: #fff;
}

.article-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.contact-section {
  padding: 3rem 0 5rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-content {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.alert-success {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.alert-error {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info-col h2,
.contact-form-col h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-text {
  flex: 1;
}

.contact-info-text strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.contact-info-text a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-info-text a:hover {
  color: var(--red-dark);
}

.contact-form-card {
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.field-website {
  display: none;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.required {
  color: var(--red);
}

.form-field input,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #f44336;
  background: rgba(244, 67, 54, 0.05);
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-error {
  font-size: 0.85rem;
  color: #f44336;
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.gallery-section {
  padding: 3rem 0 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.gallery-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
  overflow: hidden;
}

/* Hotfix 1.2.1: picture-Element als voller Block im Galerie-Bildcontainer */
.gallery-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
}

.gallery-card-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.gallery-card-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.gallery-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-image-item {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.gallery-image-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.gallery-image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-image-item figcaption {
  padding: 1rem;
  background: #fff;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.section-back {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EVENTS PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.events-section {
  padding: 3rem 0 5rem;
}

.events-featured {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--border);
}

.events-featured-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

.events-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.event-card--featured {
  grid-column: span 1;
}

.events-all-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.event-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.event-category a {
  color: inherit;
}

.event-category a:hover {
  color: var(--red-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EVENT SINGLE / DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.event-detail {
  padding: 3rem 0 5rem;
}

.event-status-notice {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-weight: 500;
}

.event-status-notice--cancelled {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.event-status-notice--postponed {
  background: rgba(255, 152, 0, 0.1);
  color: #e65100;
  border: 1px solid rgba(255, 152, 0, 0.2);
}

.event-detail-header {
  margin-bottom: 2.5rem;
}

.event-detail-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0 1.5rem;
}

.event-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.event-meta-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.event-detail-image {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.event-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.event-detail-excerpt {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.event-detail-content {
  margin-bottom: 3rem;
}

.event-detail-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DOWNLOADS PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.downloads-section {
  padding: 3rem 0 5rem;
}

.downloads-search-form {
  margin-bottom: 2.5rem;
}

.search-wrap {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.15s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.search-btn {
  padding: 0.75rem 1.5rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-btn:hover {
  background: var(--red-dark);
}

.search-clear {
  position: absolute;
  right: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.15s ease;
}

.search-clear:hover {
  color: var(--text);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.download-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: row;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.download-card-image {
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 2.5rem;
  overflow: hidden;
}

.download-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-card-placeholder {
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
}

.download-placeholder-ext {
  display: block;
  font-weight: 700;
  font-size: 1.5rem;
}

.download-card-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.download-category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.download-category a {
  color: inherit;
}

.download-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.download-card h3 a {
  color: inherit;
  transition: color 0.15s ease;
}

.download-card:hover h3 a {
  color: var(--red);
}

.download-version {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 0.8rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.download-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex: 1;
}

.download-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.download-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.download-ext-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.download-size {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.download-card-link {
  color: var(--red);
  font-weight: 600;
  transition: color 0.15s ease;
}

.download-card:hover .download-card-link {
  color: var(--red-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DOWNLOAD DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.download-detail {
  padding: 3rem 0 5rem;
}

.download-detail-header {
  margin-bottom: 2rem;
}

.download-detail-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0;
}

.download-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-bottom: 3rem;
}

.download-detail-main {
  min-width: 0;
}

.download-detail-image {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.download-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.download-detail-excerpt {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.download-detail-content {
  margin-bottom: 3rem;
}

.download-detail-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.download-detail-sidebar {
  position: sticky;
  top: 100px;
}

.download-sidebar-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.download-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.download-sidebar-file {
  padding: 1rem;
  background: var(--bg-section);
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.download-sidebar-ext {
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.download-sidebar-filename {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  word-break: break-word;
}

.download-sidebar-filesize {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.download-meta-list li:last-child {
  border-bottom: none;
}

.dl-meta-label {
  font-weight: 600;
  color: var(--text);
}

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

.dl-meta-value a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.15s ease;
}

.dl-meta-value a:hover {
  color: var(--red-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE (Generic)
   ═══════════════════════════════════════════════════════════════════════════════ */
.page-section {
  padding: 3rem 0 5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   404 ERROR PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.error-section {
  padding: 8rem 0;
  text-align: center;
}

.error-code {
  display: block;
  font-size: 6rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE – TABLET (900px)
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding: 0 1.25rem; }
  .container-narrow { padding: 0 1.25rem; }

  /* ── Nav: Burger einblenden, Liste als Dropdown ── */
  .nav-toggle { display: flex; }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 99;
    border-top: 2px solid var(--red);
  }

  .nav-list.open { max-height: 600px; }

  .nav-list a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
    font-size: 1rem;
  }

  .nav-list a.active {
    color: var(--red);
    background: var(--red-soft);
  }

  /* ── Header: sticky beibehalten (kein position:relative Override) ── */
  .site-logo img { height: 60px; }

  /* ── Hero ── */
  .hero-split-inner { flex-direction: column; gap: 2rem; text-align: center; }
  .hero-text { text-align: center; }
  .hero-title { font-size: clamp(1.875rem, 4vw, 2.75rem); }
  .hero-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-portrait { width: clamp(200px, 40vw, 280px); }

  /* ── Grids ── */
  .features-grid,
  .topic-cards-grid,
  .highlight-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .events-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .events-featured-grid { grid-template-columns: 1fr; }
  .event-card--featured { grid-column: span 1 !important; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-images-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: 1fr; }

  .download-card { flex-direction: column; }
  .download-card-image,
  .download-card-placeholder { width: 100%; height: 200px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* ── Kontakt ── */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* ── Downloads ── */
  .download-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .download-detail-sidebar { position: static; }

  /* ── Section Spacings ── */
  .hero-section { padding: 4rem 0 3rem; }
  .intro-section { padding: 4rem 0 3.5rem; }
  .features-section,
  .topic-cards-section,
  .highlight-grid-section,
  .blog-preview-section,
  .gallery-preview-section,
  .events-preview-section { padding: 4rem 0; }
  .cta-section { padding: 4rem 0; }

  /* ── Typografie ── */
  h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
  h2,
  .section-title { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (640px) – Hotfix v1.2.2
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .container,
  .container-narrow { padding: 0 1rem; }

  /* ── Topbar: auf Mobile ausblenden – Social-Links sind im Footer ── */
  .site-topbar { display: none; }

  /* ── Header: stärker sichtbares Branding durch größeres Logo ── */
  .site-header { padding: 0.625rem 0; }
  .site-logo img { height: 56px; }

  /* ── Burger: vollwertiger Tap-Target ── */
  .nav-toggle {
    font-size: 1.375rem;
    padding: 0.5rem 0.625rem;
    min-width: 44px;
    min-height: 44px;
    background: var(--bg-section);
    border-radius: 6px;
  }

  .nav-toggle:hover,
  .nav-toggle[aria-expanded="true"] {
    background: var(--red-soft);
    color: var(--red);
  }

  /* Nav-List auf Mobile: etwas kompakter */
  .nav-list a {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  /* ── Hero: Mobile-First Layout ── */
  .hero-section { padding: 2.75rem 0 2.25rem; }
  .hero-split-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }
  .hero-text { text-align: center; }

  /* Hero Title: deutlich größer als alter clamp-Wert (war 24px auf 375px) */
  .hero-title {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  /* Hero Eyebrow: mobile-optimiert */
  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 0.25rem 0.875rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  /* Hero CTAs: gestapelt, volle Breite */
  .hero-ctas {
    gap: 0.75rem;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-section .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero Portrait: mobil sauber proportioniert */
  .hero-portrait {
    width: min(200px, 60vw);
  }

  /* Hero Portrait Border: kleineres Inset auf Mobile */
  .hero-portrait-wrap::before {
    inset: -8px;
    border-radius: 20px;
  }

  /* ── Grids: Single Column auf Mobile ── */
  .features-grid,
  .topic-cards-grid,
  .highlight-grid,
  .blog-grid,
  .gallery-preview-grid,
  .events-preview-grid,
  .events-grid,
  .gallery-grid,
  .gallery-images-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }

  .events-featured-grid { grid-template-columns: 1fr; }

  /* ── Section Spacings: besser proportioniert auf kleinen Viewports ── */
  .intro-section { padding: 2.75rem 0 2.5rem; }
  .features-section,
  .topic-cards-section,
  .highlight-grid-section,
  .blog-preview-section,
  .gallery-preview-section,
  .events-preview-section { padding: 2.75rem 0; }
  .cta-section { padding: 2.75rem 0; }

  .blog-section,
  .gallery-section,
  .events-section,
  .downloads-section,
  .contact-section,
  .blog-article,
  .page-section,
  .event-detail,
  .download-detail { padding: 2rem 0 2.75rem; }

  /* ── Section Headers ── */
  .section-header { margin-bottom: 2rem; }

  /* ── Typografie ── */
  h1 { font-size: 2rem; }
  h2,
  .section-title,
  .section-header h2 { font-size: 1.625rem; }
  h3 { font-size: 1.2rem; }
  .article-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.975rem; max-width: 100%; }
  .page-title { font-size: 1.875rem; }

  /* ── Cards: sauber auf Mobile ── */
  .feature-card,
  .topic-card,
  .highlight-card { padding: 1.5rem; }

  .blog-card-body { padding: 1.25rem; }
  .event-card-body { padding: 1rem 1.125rem; }

  /* ── Downloads ── */
  .download-card-image,
  .download-card-placeholder { width: 100%; height: 160px; }
  .download-detail-sidebar { position: static; }

  /* ── CTA Section ── */
  .cta-section h2 { font-size: 1.625rem; }
  .cta-buttons { flex-direction: column; gap: 0.75rem; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* ── Kontakt ── */
  .contact-layout { gap: 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* ── Filter / Paging / Suche ── */
  .paging { gap: 1rem; flex-wrap: wrap; }
  .filter-chips { gap: 0.5rem; }
  .filter-chip { padding: 0.4rem 0.75rem; font-size: 0.85rem; }
  .search-wrap { flex-direction: column; }
  .search-input,
  .search-btn { width: 100%; }
  .search-clear { right: 0.5rem; }

  /* ── Tabellen ── */
  table { width: 100%; font-size: 0.85rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-brand-logo img { height: 48px; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* ── Hero Diagonal-Clip am Bottom verkleinern ── */
  .hero-section::after { height: 50px; }

  /* ── Portrait: kein Elevated-Offset auf Mobile (verhindert Text-Überlappung) ── */
  .hero--portrait-elevated .hero-portrait-wrap { transform: none; }

  /* ── Article-Meta: wrappen auf Mobile ── */
  .article-meta { flex-wrap: wrap; gap: 0.75rem 1rem; }

  /* ── Breadcrumbs kompakter ── */
  .breadcrumbs { padding: 0.625rem 0; font-size: 0.8125rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE – SMALL MOBILE (480px) – Hotfix v1.2.2
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container,
  .container-narrow { padding: 0 0.875rem; }

  /* ── Header ── */
  .site-header { padding: 0.5rem 0; }
  .site-logo img { height: 52px; }

  /* ── Hero ── */
  .hero-section { padding: 2.5rem 0 2rem; }
  .hero-title { font-size: 1.875rem; }
  .hero-eyebrow { font-size: 0.65rem; }

  /* ── Section H2 ── */
  h2,
  .section-title,
  .section-header h2,
  .cta-section h2 { font-size: 1.5rem; }

  /* ── Section Spacings etwas enger ── */
  .features-section,
  .topic-cards-section,
  .highlight-grid-section,
  .blog-preview-section,
  .gallery-preview-section,
  .events-preview-section,
  .intro-section,
  .cta-section { padding: 2.5rem 0; }

  /* ── Cards kompakter ── */
  .feature-card,
  .topic-card,
  .highlight-card { padding: 1.25rem; }

  .feature-card-icon,
  .topic-card-icon,
  .highlight-card-icon {
    font-size: 2rem;
    min-height: 48px;
  }

  /* ── Blog card image etwas kleiner ── */
  .blog-card-image { height: 170px; }

  /* ── Events ── */
  .event-card-image { height: 150px; }

  /* ── Footer Logo ── */
  .footer-brand-logo img { height: 44px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE – XS MOBILE (375px) – Hotfix v1.2.2
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .container,
  .container-narrow { padding: 0 0.75rem; }

  /* ── Header ── */
  .site-logo img { height: 48px; }

  /* ── Hero: kleinstes Viewport ── */
  .hero-title {
    font-size: 1.75rem;
    letter-spacing: -0.015em;
  }

  .hero-section { padding: 2.25rem 0 1.75rem; }

  .hero-portrait {
    width: min(180px, 56vw);
  }

  /* ── Typografie ── */
  h2,
  .section-title,
  .section-header h2 { font-size: 1.375rem; }

  .section-subtitle { font-size: 0.9375rem; }

  /* ── Buttons nicht gequetscht ── */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  /* ── Navigation ── */
  .nav-list a {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════════ */
.prose {
  font-size: 1.0625rem;
  line-height: 1.85;
}

.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-3 { padding: 1.5rem 0; }
.py-4 { padding: 2rem 0; }
.py-5 { padding: 3rem 0; }

/* ═══════════════════════════════════════════════════════════════════════════════ */

/* ============================================================================
   GALLERY LIGHTBOX
   ============================================================================ */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  padding: 2rem;
}
.gallery-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.15s;
}
.gallery-lightbox-close:hover { color: var(--gold-light, #dfc06a); }
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover { background: rgba(255, 255, 255, 0.22); }
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }
.gallery-lightbox-prev:disabled,
.gallery-lightbox-next:disabled { opacity: 0.3; cursor: default; }
.gallery-lightbox-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.gallery-lightbox-caption { font-size: 1rem; margin-bottom: 0.5rem; }
.gallery-lightbox-counter { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

/* ============================================================================
   CONSENT BANNER (DSGVO)
   ============================================================================ */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark, #1a1a1a);
  color: #fff;
  padding: 1.5rem;
  z-index: 300;
  border-top: 2px solid var(--red, #c0272d);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.consent-banner-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.consent-banner-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.consent-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.consent-banner-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s;
}
.consent-banner-accept {
  background: var(--red, #c0272d);
  color: #fff;
}
.consent-banner-accept:hover {
  background: var(--red-dark, #8b0000);
}
.consent-banner-reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.consent-banner-reject:hover { border-color: #fff; }

@media (max-width: 900px) {
  .consent-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .consent-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  .consent-banner-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================================
   MISSING PREMIUM LAYOUT TOKENS
   ============================================================================ */
/* Gallery masonry layout */
.gallery--layout-masonry .gallery-preview-grid {
  display: block;
  column-count: 3;
  column-gap: 2rem;
}
.gallery--layout-masonry .gallery-preview-card {
  break-inside: avoid;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .gallery--layout-masonry .gallery-preview-grid { column-count: 2; }
}
@media (max-width: 600px) {
  .gallery--layout-masonry .gallery-preview-grid { column-count: 1; }
}

/* Events timeline layout */
.events--layout-timeline .events-preview-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.events--layout-timeline .event-card {
  display: flex;
  flex-direction: row;
}
.events--layout-timeline .event-card-image,
.events--layout-timeline .event-card-placeholder {
  width: 200px;
  min-height: 100%;
  flex-shrink: 0;
}
/* ── Cookie Consent Theme Overrides (CMS 2.4.x) ─────────────────────── */
:root {
    --iw-consent-bg: #ffffff;
    --iw-consent-text: #2d3748;
    --iw-consent-primary: #c0272d;
    --iw-consent-primary-hover: #a01f24;
    --iw-consent-border: #d1d5db;
    --iw-consent-radius: 10px;
}

@media (max-width: 600px) {
  .events--layout-timeline .event-card {
    flex-direction: column;
  }
  .events--layout-timeline .event-card-image,
  .events--layout-timeline .event-card-placeholder {
    width: 100%;
    height: 160px;
  }
}
