/*
 * serve-u.de Design System
 * Helles, freundliches Corporate-Design mit Markenfarbe #000066
 * 100% DSGVO-konform: Reine System-Fonts, 0 externe Assets, 0 Tracking
 */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-tint: #eef2f8;
  --bg-tint-strong: #e3e9f4;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #475569;
  --text-dim: #64748b;
  --brand-primary: #000066;
  --brand-primary-hover: #0a0a8f;
  --brand-primary-soft: rgba(0, 0, 102, 0.08);
  --brand-primary-border: rgba(0, 0, 102, 0.22);
  --brand-accent: #e04833;
  --brand-accent-hover: #c53a27;
  --border-color: #e2e8f0;
  --border-color-strong: #cbd5e1;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 28px rgba(0, 0, 102, 0.09);
  --shadow-lg: 0 20px 44px rgba(0, 0, 102, 0.14);
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

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

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-pad {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-light {
  background: #ffffff;
  color: #0f172a;
}

.section-tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-dark {
  background: #000066;
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff !important;
}

.section-dark p {
  color: #cbd5e1 !important;
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.section-dark .card h3 {
  color: #ffffff !important;
}

.section-dark .card p, .section-dark .card li {
  color: #e2e8f0 !important;
}

.hero-section .badge-primary,
.page-banner .badge-primary,
.section-dark .badge-primary,
.section-bg-image .badge-primary {
  background: #ffffff !important;
  color: #000066 !important;
  border-color: #ffffff !important;
}

.section-bg-image {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.section-bg-image h2, .section-bg-image h3 {
  color: #ffffff !important;
}

.section-bg-image p {
  color: #cbd5e1 !important;
}

.section-bg-image .card {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.section-bg-image .card h3 {
  color: #ffffff !important;
}

.section-bg-image .card p, .section-bg-image .card li {
  color: #e2e8f0 !important;
}

/* Typography & Colors */
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.font-semibold { font-weight: 600; }
.text-brand { color: var(--brand-primary); }
.text-brand-accent { color: var(--brand-accent); }
.text-white { color: #ffffff; }
.text-slate-900 { color: #0f172a; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #64748b; }
.text-slate-300 { color: #475569; }
.text-sky-400 { color: var(--brand-primary); }
.hover\:text-brand:hover { color: var(--brand-primary); }
.hover\:text-white:hover { color: var(--brand-primary); }
.text-xs { font-size: 0.78rem; }
.text-sm { font-size: 0.9rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.06em; }
.leading-tight { line-height: 1.15; }

/* Grid & Flexbox Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-12 { grid-column: span 12 / span 12; }

/* Spacing */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.pb-4 { padding-bottom: 16px; }
.pt-3 { padding-top: 12px; }
.pt-6 { padding-top: 24px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 102, 0.22);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 102, 0.30);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--brand-primary);
  border-color: var(--brand-primary-border);
}

.btn-secondary:hover {
  background-color: var(--bg-tint);
  border-color: var(--brand-primary);
}

.btn-hero-light {
  background-color: #ffffff;
  color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-hero-light:hover {
  background-color: var(--bg-tint);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

.btn-hero-ghost {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.btn-hero-ghost:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary-border);
}

.btn-outline:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--brand-primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--bg-tint);
  color: var(--brand-primary);
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--brand-primary);
  border-color: #ffffff;
}

.btn-ghost-light {
  background-color: transparent;
  color: #ffffff;
  border-color: transparent;
}

.btn-ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.btn-light-bordered {
  background-color: #ffffff;
  color: var(--brand-primary);
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 102, 0.08);
}

.btn-light-bordered:hover {
  background-color: var(--bg-tint);
  border-color: var(--brand-primary-border);
  color: var(--brand-primary);
}

.btn-glass-dark {
  background-color: rgba(0, 0, 102, 0.06);
  color: var(--brand-primary);
  border-color: rgba(0, 0, 102, 0.25);
  backdrop-filter: blur(4px);
}

.btn-glass-dark:hover {
  background-color: rgba(0, 0, 102, 0.12);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Kontextuelle Kontrast-Sicherung für Buttons auf dunklen Abschnitten */
.hero-section .btn-primary,
.section-dark .btn-primary,
.section-bg-image .btn-primary {
  background-color: #ffffff;
  color: var(--brand-primary);
  border-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.hero-section .btn-primary:hover,
.section-dark .btn-primary:hover,
.section-bg-image .btn-primary:hover {
  background-color: var(--bg-tint);
  color: var(--brand-primary);
}

.hero-section .btn-outline,
.section-dark .btn-outline,
.section-bg-image .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background-color: transparent;
}
.hero-section .btn-outline:hover,
.section-dark .btn-outline:hover,
.section-bg-image .btn-outline:hover {
  background-color: #ffffff;
  color: var(--brand-primary);
  border-color: #ffffff;
}

.hero-section .btn-secondary,
.section-dark .btn-secondary,
.section-bg-image .btn-secondary {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-section .btn-secondary:hover,
.section-dark .btn-secondary:hover,
.section-bg-image .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-section .btn-ghost,
.section-dark .btn-ghost,
.section-bg-image .btn-ghost {
  color: #ffffff;
}

/* Kontextuelle Kontrast-Sicherung für Buttons auf hellen Abschnitten */
.section-surface .btn-hero-ghost,
.section-tint .btn-hero-ghost {
  background-color: rgba(0, 0, 102, 0.06);
  color: var(--brand-primary);
  border-color: rgba(0, 0, 102, 0.25);
}
.section-surface .btn-hero-ghost:hover,
.section-tint .btn-hero-ghost:hover {
  background-color: rgba(0, 0, 102, 0.12);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.section-surface .btn-hero-light,
.section-tint .btn-hero-light {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 102, 0.08);
}

/* Block Formatierungs-Klassen */
.block-title-boxed {
  display: inline-block;
  padding: 4px 18px;
  border: 1px solid rgba(0, 0, 102, 0.28);
  border-radius: 10px;
  background: rgba(0, 0, 102, 0.02);
}
.hero-section .block-title-boxed,
.section-dark .block-title-boxed,
.section-bg-image .block-title-boxed {
  border-color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.08);
}

.block-subtitle-boxed {
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 102, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 102, 0.02);
}
.hero-section .block-subtitle-boxed,
.section-dark .block-subtitle-boxed,
.section-bg-image .block-subtitle-boxed {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.block-content-boxed {
  padding: 18px 22px;
  border: 1px solid rgba(0, 0, 102, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 102, 0.02);
}
.hero-section .block-content-boxed,
.section-dark .block-content-boxed,
.section-bg-image .block-content-boxed {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.block-text-2cols {
  column-count: 2;
  column-gap: 32px;
}
@media (max-width: 768px) {
  .block-text-2cols {
    column-count: 1;
  }
}

/* Header & Topbar */
.top-ticker {
  background: var(--brand-primary);
  color: #e2e8f0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 0;
}

.top-ticker-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  white-space: nowrap;
  overflow: hidden;
}

.top-ticker-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.top-ticker-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.top-ticker-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.top-ticker-hours {
  font-size: 0.68rem;
  color: #cbd5e1;
}

.top-ticker-mail {
  font-weight: 600;
}

.top-ticker strong,
.top-ticker a {
  color: #ffffff;
}

.top-ticker a:hover {
  text-decoration: underline;
}

.ticker-wisp {
  white-space: nowrap;
}

.alex-full {
  display: inline;
}

.alex-short {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.header-inner {
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.brand-lockup:hover .brand-logo-img {
  opacity: 0.85;
}

.brand-mark {
  color: var(--brand-primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.1;
}

.brand-sub {
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
  background-color: var(--brand-primary-soft);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-tint);
  border: 1px solid var(--border-color-strong);
  color: var(--brand-primary);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-wisp {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-nav-wisp strong {
  color: var(--brand-primary);
}

/* Hero & Event Photo Banners */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background-color: var(--brand-primary);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 72, 0.92) 0%, rgba(0, 0, 102, 0.78) 55%, rgba(0, 16, 110, 0.62) 100%);
  opacity: var(--hero-overlay-opacity, 0.85);
  z-index: 1;
  transition: opacity 0.25s ease;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 40, 0.35);
  text-wrap: balance;
  max-width: 860px;
}

.hero-title span {
  color: #c7d2fe;
}

.hero-sub {
  font-size: 1.125rem;
  color: #e2e8f0;
  max-width: 740px;
  margin-bottom: 28px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-prose {
  font-size: 1.05rem;
  color: #f1f5f9;
  max-width: 820px;
  margin-top: -12px;
  margin-bottom: 28px;
  line-height: 1.7;
  text-wrap: pretty;
}
.hero-prose p {
  color: #f1f5f9;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.hero-prose p:last-child {
  margin-bottom: 0;
}
.hero-prose strong,
.hero-prose b {
  color: #ffffff;
  font-weight: 700;
}
.hero-prose a {
  color: #93c5fd;
  text-decoration: underline;
}
.hero-prose a:hover {
  color: #ffffff;
}
.hero-prose ul,
.hero-prose ol {
  color: #f1f5f9;
  text-align: left;
  display: inline-block;
  margin: 0 auto 16px;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.max-w-2xl {
  max-width: 42rem !important;
}

.page-banner {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background-color: var(--brand-primary);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 0, 68, 0.92) 0%, rgba(0, 0, 102, 0.76) 60%, rgba(0, 0, 102, 0.56) 100%);
  opacity: var(--hero-overlay-opacity, 0.80);
  z-index: 1;
  transition: opacity 0.25s ease;
}

/* Event Teaser Rich-Formatting (Newsfeed & Detailseiten) */
.event-teaser p {
  margin-bottom: 8px;
}
.event-teaser p:last-child {
  margin-bottom: 0;
}
.event-teaser ul,
.event-teaser ol {
  margin: 6px 0 8px 18px;
}
.event-teaser li {
  margin-bottom: 3px;
}

.detail-teaser p {
  margin-bottom: 12px;
}
.detail-teaser p:last-child {
  margin-bottom: 0;
}
.detail-teaser ul,
.detail-teaser ol {
  margin: 8px 0 12px 20px;
}
.detail-teaser li {
  margin-bottom: 4px;
}

.page-banner > .container {
  position: relative;
  z-index: 2;
}

.page-banner-sub {
  color: #e2e8f0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Metrics Row */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.metrics-grid.cols-1 {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.metrics-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.metrics-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .metrics-grid.cols-4,
  .metrics-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .metrics-grid,
  .metrics-grid.cols-1,
  .metrics-grid.cols-2,
  .metrics-grid.cols-3,
  .metrics-grid.cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.metric-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--brand-primary);
  font-family: var(--font-mono);
  line-height: 1.15;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 700;
}

/* Impressionen / Banner Gallery Strip */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.banner-grid-1 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.banner-grid-1.banner-grid-center > .banner-photo-card {
  max-width: 860px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.banner-grid-1.banner-grid-full > .banner-photo-card {
  width: 100%;
}

.banner-grid-1.banner-grid-edge {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.banner-grid-1.banner-grid-edge > .banner-photo-card {
  width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.banner-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.banner-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.banner-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.banner-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}

.banner-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.banner-photo-card:hover img {
  transform: scale(1.04);
}

.banner-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 40, 0) 0%, rgba(0, 0, 72, 0.88) 100%);
  color: #ffffff;
}

.banner-photo-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.banner-photo-meta {
  font-size: 0.75rem;
  color: #dbeafe;
  margin-top: 2px;
}

/* Cards */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary-border);
  box-shadow: var(--shadow-md);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-tint);
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-body {
  padding: 22px;
  flex: 1;
}

.card-footer {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border-color);
  background: #fafbfd;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-tint);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
}

.badge-primary {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.badge-overlay {
  background: rgba(0, 0, 102, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.badge-detail {
  background: #ffffff;
  color: var(--brand-primary);
  border: 1px solid rgba(0, 0, 102, 0.2);
}

.badge-gdpr {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Facts Matrix & Chips */
.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-tint);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.74rem;
}

.fact-matrix-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-primary);
  border-right: 4px solid var(--brand-primary);
  border-radius: 14px;
  padding: 20px;
  box-shadow: -6px 0 16px -4px rgba(0, 0, 102, 0.12), 6px 0 16px -4px rgba(0, 0, 102, 0.12);
}

/* Prose (Detailseiten & CMS Fließtext-Inhalt) */
.prose-content {
  color: var(--text-body);
}

.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin: 28px 0 12px;
}

.prose-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 22px 0 10px;
}

.prose-content p {
  margin-bottom: 16px;
  color: inherit;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose-content ul, .prose-content ol {
  margin: 0 0 16px 24px;
  color: inherit;
}

.prose-content li {
  margin-bottom: 6px;
  color: inherit;
}

.prose-content a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.prose-content img {
  border-radius: 12px;
  margin: 20px 0;
  border: 1px solid var(--border-color);
}

.prose-content blockquote {
  border-left: 4px solid var(--brand-primary);
  background: var(--bg-tint);
  padding: 14px 20px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: inherit;
  margin: 20px 0;
}

/* =====================================================================
   Kontextuelle Kontrast-Sicherung für Fließtext / Inhalts-HTML
   ===================================================================== */
.prose-dark,
.hero-section .prose-content,
.hero-section .prose-content p,
.hero-section .prose-content ul,
.hero-section .prose-content ol,
.hero-section .prose-content li,
.hero-section .hero-prose,
.hero-section .hero-prose p,
.page-banner .prose-content,
.page-banner .prose-content p,
.page-banner .prose-content ul,
.page-banner .prose-content ol,
.page-banner .prose-content li,
.section-dark .prose-content,
.section-dark .prose-content p,
.section-dark .prose-content ul,
.section-dark .prose-content ol,
.section-dark .prose-content li,
.section-bg-image .prose-content,
.section-bg-image .prose-content p,
.section-bg-image .prose-content ul,
.section-bg-image .prose-content ol,
.section-bg-image .prose-content li {
  color: #f1f5f9 !important;
}

.prose-dark h2,
.prose-dark h3,
.prose-dark h4,
.hero-section .prose-content h2,
.hero-section .prose-content h3,
.hero-section .prose-content h4,
.page-banner .prose-content h2,
.page-banner .prose-content h3,
.page-banner .prose-content h4,
.section-dark .prose-content h2,
.section-dark .prose-content h3,
.section-dark .prose-content h4,
.section-bg-image .prose-content h2,
.section-bg-image .prose-content h3,
.section-bg-image .prose-content h4 {
  color: #ffffff !important;
}

.prose-dark strong,
.prose-dark b,
.hero-section .prose-content strong,
.hero-section .prose-content b,
.page-banner .prose-content strong,
.page-banner .prose-content b,
.section-dark .prose-content strong,
.section-dark .prose-content b,
.section-bg-image .prose-content strong,
.section-bg-image .prose-content b {
  color: #ffffff !important;
}

.prose-dark a,
.hero-section .prose-content a,
.page-banner .prose-content a,
.section-dark .prose-content a,
.section-bg-image .prose-content a {
  color: #93c5fd !important;
  text-decoration: underline;
}

.prose-dark blockquote,
.hero-section .prose-content blockquote,
.page-banner .prose-content blockquote,
.section-dark .prose-content blockquote,
.section-bg-image .prose-content blockquote {
  background: rgba(255, 255, 255, 0.08) !important;
  border-left-color: #93c5fd !important;
  color: #e2e8f0 !important;
}

.prose-dark.block-content-boxed,
.prose-dark .block-content-boxed,
.hero-section .block-content-boxed,
.page-banner .block-content-boxed,
.section-dark .block-content-boxed,
.section-bg-image .block-content-boxed {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #f1f5f9 !important;
}

/* =====================================================================
   Highlight-Berichte / Event-Artikel Layout-Blöcke (.art-block)
   ===================================================================== */
.art-block {
  margin-bottom: 40px;
  clear: both;
}
.art-block:last-child {
  margin-bottom: 0;
}
.prose-content .art-block img {
  margin: 0;
  display: block;
}
.prose-content .art-block figure {
  margin: 0;
}

.art-figure {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.art-caption {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}
.art-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin: 0 0 14px 0;
  line-height: 1.3;
}
.art-body {
  color: var(--text-body);
  line-height: 1.75;
}
.art-body p {
  margin-bottom: 14px;
}
.art-body p:last-child {
  margin-bottom: 0;
}

/* 1. Foto hochkant (Portrait) + Text daneben */
.art-portrait-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}
.art-portrait-right {
  grid-template-columns: 1fr 320px;
}
.art-img-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 102, 0.08);
}

/* 2. Foto Landscape (Querformat) und Text darunter / darüber */
.art-landscape-stacked .art-img-landscape {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px rgba(0, 0, 102, 0.08);
}
.art-landscape-above .art-text-block {
  margin-top: 20px;
}
.art-landscape-below .art-text-block {
  margin-bottom: 20px;
}

/* 3. Text umfließt Foto (Float-Layouts) */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.art-float-block img {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 102, 0.07);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.art-float-tl {
  float: left;
  width: 320px;
  max-width: 44%;
  margin: 4px 26px 18px 0;
}
.art-float-tr {
  float: right;
  width: 320px;
  max-width: 44%;
  margin: 4px 0 18px 26px;
}
.art-float-bl {
  float: left;
  width: 320px;
  max-width: 44%;
  margin: 16px 26px 12px 0;
}
.art-float-br {
  float: right;
  width: 320px;
  max-width: 44%;
  margin: 16px 0 12px 26px;
}

/* 4. Fotogalerien mit freier Anzahl an Spalten und Zeilen */
.art-gallery-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}
.art-gallery-grid.art-cols-1 { grid-template-columns: 1fr; }
.art-gallery-grid.art-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-gallery-grid.art-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-gallery-grid.art-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-gallery-grid.art-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.art-gallery-grid.art-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.art-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #ffffff;
}
.art-gallery-item img {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.art-gallery-item:hover img {
  transform: scale(1.025);
}

/* 5. Zitat / Highlight-Callout */
.art-quote-block {
  background: var(--bg-tint);
  border-left: 5px solid var(--brand-primary);
  padding: 26px 30px;
  border-radius: 0 14px 14px 0;
  margin: 28px 0;
}
.art-quote-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.55;
  margin-bottom: 14px !important;
  font-style: italic;
}
.art-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.art-quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 6. 2-Spalten Duo-Vergleich */
.art-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 26px 0;
}
.art-col-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 102, 0.04);
}
.art-col-card img {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px !important;
}

/* 7. Callout-Banner */
.art-callout-banner {
  background: linear-gradient(135deg, #000066 0%, #001a80 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  margin: 28px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 102, 0.16);
}
.art-callout-inner h3 {
  color: #ffffff !important;
  font-weight: 900;
  font-size: 1.35rem;
  margin: 6px 0 10px !important;
}
.art-callout-inner div {
  color: #e2e8f0;
  line-height: 1.7;
}

/* =====================================================================
   Highlight Detailseiten Kontrast & Farbschemata (Light & Dark Mode)
   ===================================================================== */

/* 1. Light Theme – Hoher Kontrast, gestochen scharf */
.art-theme-light {
  color: #0f172a;
}
.art-theme-light .detail-h1 {
  color: #0f172a !important;
}
.art-theme-light .detail-teaser {
  color: #1e293b !important;
  font-weight: 500;
}
.art-theme-light .detail-meta {
  color: #334155 !important;
  font-weight: 600;
}
.art-theme-light .card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.art-theme-light .prose-content {
  color: #0f172a;
}
.art-theme-light .prose-content p,
.art-theme-light .prose-content li,
.art-theme-light .prose-content .art-body,
.art-theme-light .elementor-image-box-description {
  color: #0f172a !important;
  font-size: 1.05rem;
  line-height: 1.8;
}
.art-theme-light .prose-content h2,
.art-theme-light .art-heading {
  color: #000066 !important;
  font-weight: 900;
}
.art-theme-light .prose-content h3 {
  color: #0f172a !important;
  font-weight: 800;
}
.art-theme-light .prose-content strong,
.art-theme-light .prose-content b {
  color: #000066;
  font-weight: 700;
}
.art-theme-light .fact-card,
.zdf-bracket-card {
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
  border-left: 4px solid #000066 !important;
  border-right: 4px solid #000066 !important;
  box-shadow: -8px 0 20px -6px rgba(0, 0, 102, 0.14), 8px 0 20px -6px rgba(0, 0, 102, 0.14) !important;
  border-radius: 14px;
}
.art-theme-light .fact-card h2 {
  color: #000066 !important;
}
.art-theme-light .fact-item {
  background: #eef2f8 !important;
  border: 1px solid #cbd5e1 !important;
}
.art-theme-light .fact-key {
  color: #334155 !important;
  font-weight: 600;
}
.art-theme-light .fact-val {
  color: #000066 !important;
  font-weight: 800;
}
.art-theme-light .cta-card {
  background: #eef2f8 !important;
  border: 1px solid rgba(0, 0, 102, 0.18) !important;
}
.art-theme-light .cta-card h3 {
  color: #000066 !important;
}
.art-theme-light .cta-card p {
  color: #334155 !important;
}

/* 2. Dark Theme – Dunkler Hintergrund mit strahlend heller Schrift */
.art-theme-dark {
  background: #060b19 !important;
  color: #f8fafc !important;
  min-height: 100vh;
}
.art-theme-dark .container {
  color: #f8fafc;
}
.art-theme-dark .detail-h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.art-theme-dark .detail-teaser {
  color: #e2e8f0 !important;
  font-weight: 400;
  font-size: 1.15rem;
}
.art-theme-dark .detail-meta {
  color: #94a3b8 !important;
}
.art-theme-dark .badge-primary {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
.art-theme-dark .card {
  background: #0b1329 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
}
.art-theme-dark .prose-content {
  color: #f8fafc !important;
}
.art-theme-dark .prose-content p,
.art-theme-dark .prose-content li,
.art-theme-dark .prose-content .art-body,
.art-theme-dark .elementor-image-box-description {
  color: #e2e8f0 !important;
  font-size: 1.05rem;
  line-height: 1.8;
}
.art-theme-dark .prose-content h2,
.art-theme-dark .art-heading,
.art-theme-dark h2 {
  color: #ffffff !important;
  font-weight: 900;
}
.art-theme-dark .prose-content h3,
.art-theme-dark h3 {
  color: #38bdf8 !important;
  font-weight: 800;
}
.art-theme-dark .prose-content strong,
.art-theme-dark .prose-content b {
  color: #ffffff !important;
  font-weight: 700;
}
.art-theme-dark .prose-content a {
  color: #38bdf8 !important;
  text-decoration-color: rgba(56, 189, 248, 0.5);
}
.art-theme-dark .prose-content a:hover {
  color: #7dd3fc !important;
}
.art-theme-dark .prose-content blockquote,
.art-theme-dark .art-quote-block {
  background: #131e3a !important;
  border-left: 5px solid #38bdf8 !important;
  color: #f8fafc !important;
}
.art-theme-dark .art-quote-text {
  color: #ffffff !important;
}
.art-theme-dark .art-quote-author {
  color: #94a3b8 !important;
}
.art-theme-dark .art-col-card {
  background: #131e3a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
}
.art-theme-dark .art-col-card h3 {
  color: #ffffff !important;
}
.art-theme-dark .art-callout-banner {
  background: linear-gradient(135deg, #000066 0%, #1e1b4b 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}
.art-theme-dark .art-caption {
  color: #94a3b8 !important;
}
.art-theme-dark .fact-card {
  background: #0b1329 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid #38bdf8 !important;
  border-right: 4px solid #38bdf8 !important;
  box-shadow: -8px 0 22px -6px rgba(56, 189, 248, 0.28), 8px 0 22px -6px rgba(56, 189, 248, 0.28) !important;
}
.art-theme-dark .fact-card h2 {
  color: #38bdf8 !important;
}
.art-theme-dark .fact-item {
  background: #131e3a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.art-theme-dark .fact-key {
  color: #94a3b8 !important;
}
.art-theme-dark .fact-val {
  color: #38bdf8 !important;
}
.art-theme-dark .gallery-card-item {
  background: #0b1329 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.art-theme-dark .cta-card {
  background: linear-gradient(135deg, #0b1329 0%, #131e3a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.art-theme-dark .cta-card h3 {
  color: #ffffff !important;
}
.art-theme-dark .cta-card p {
  color: #cbd5e1 !important;
}

/* Technical Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 13px 10px;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 36%;
}

.specs-table td:last-child {
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Forms & Admin Shared Styles */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color-strong);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-soft);
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-body {
  background: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
}

.admin-body .container {
  max-width: 1520px;
  width: 100%;
}

.admin-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

/* Footer */
.site-footer {
  background: var(--bg-tint);
  border-top: 3px solid var(--brand-primary);
  padding: 42px 0 32px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-top-row {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1.05fr 0.82fr;
  gap: 24px;
  align-items: start;
}

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

.footer-lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-lines li {
  height: 22px;
  line-height: 22px;
  font-size: 0.8125rem;
  white-space: nowrap;
  font-family: inherit;
}

/* Spalte 1: Dunkelgrau (#475569), dezent heller als die anderen 3 Spalten */
.footer-lines-desc li {
  color: #475569;
  font-weight: 400;
}

/* Spalten 2, 3, 4: Dunkel / Fast Schwarz (#0f172a) */
.footer-lines-links li {
  color: #0f172a;
  font-weight: 500;
}

.footer-lines-links a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-lines-links a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-contact-link {
  color: #0f172a;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-compliance-row {
  margin-top: 24px;
  margin-bottom: 20px;
}

.footer-compliance-row .text-xs {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

/* Footer Desktop vs. Mobile View Split (Vorschlag 1: Business-Kompakt) */
.footer-desktop-view {
  display: block;
}
.footer-mobile-view {
  display: none;
}

@media (max-width: 768px) {
  .footer-desktop-view {
    display: none !important;
  }
  .footer-mobile-view {
    display: block !important;
  }

  .site-footer {
    padding: 32px 0 24px;
  }

  /* Mobile Top Row: Logo + WISP Badge */
  .footer-mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .footer-mobile-top .brand-logo-img {
    height: 36px;
    width: auto;
    max-width: 165px;
  }
  .footer-mobile-wisp-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: rgba(0, 0, 102, 0.06);
    border: 1px solid rgba(0, 0, 102, 0.16);
    padding: 3px 10px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Kompakter Claim */
  .footer-mobile-claim {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 18px 0;
  }

  /* 2-Spalten Navigation Grid */
  .footer-mobile-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 102, 0.1);
  }
  .footer-mobile-heading {
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid rgba(0, 0, 102, 0.14);
  }
  .footer-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .footer-mobile-links li a {
    display: block;
    padding: 6px 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
  }
  .footer-mobile-links li a:active,
  .footer-mobile-links li a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
  }

  /* Büro & Direktkontakt Karte */
  .footer-mobile-contact-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    margin: 0 0 18px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 102, 0.04);
  }
  .footer-mobile-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
  }
  .footer-mobile-contact-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-primary);
  }
  .footer-mobile-contact-hours {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
  }
  .footer-mobile-contact-address {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* Touch-Aktions-Buttons (WCAG 44px min-height) */
  .footer-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .footer-btn-call,
  .footer-btn-mail {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    padding: 0 8px;
    white-space: nowrap;
    transition: transform 0.1s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-btn-call {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 102, 0.22);
  }
  .footer-btn-call:active {
    transform: scale(0.98);
    filter: brightness(1.15);
  }
  .footer-btn-mail {
    background: #f8fafc;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
  }
  .footer-btn-mail:active {
    transform: scale(0.98);
    background: rgba(0, 0, 102, 0.08);
  }
  .footer-mobile-actions .btn-icon {
    font-size: 0.95rem;
    line-height: 1;
  }

  @media (max-width: 350px) {
    .footer-mobile-actions {
      grid-template-columns: 1fr;
    }
  }

  /* Compliance & Meta */
  .footer-mobile-compliance {
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    padding: 8px 12px;
    background: rgba(0, 0, 102, 0.03);
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .footer-mobile-bottom {
    border-top: 1px solid #cbd5e1;
    padding-top: 16px;
    text-align: center;
    font-size: 0.74rem;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .footer-mobile-meta {
    font-size: 0.7rem;
    color: #64748b;
  }
  .footer-mobile-ver-row {
    margin-top: 4px;
  }
}

/* Responsive Breakpoints (PC, Mac, Tablet, Smartphone) */
@media (max-width: 1200px) {
  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .brand-sub {
    font-size: 0.68rem;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1200px) {
  .alex-full { display: none; }
  .alex-short { display: inline; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .btn-cta-desktop { display: none; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-grid,
  .banner-grid-3,
  .banner-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-lines li { height: auto; line-height: 1.5; white-space: normal; }
}

@media (max-width: 860px) {
  .ticker-since { display: none; }
}

@media (max-width: 600px) {
  .top-ticker-left { display: none; }
  .top-ticker-right { width: 100%; justify-content: space-between; gap: 10px; }
}

@media (max-width: 900px) {
  .grid-cols-12 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-12 > * {
    grid-column: span 1 / span 1 !important;
  }
}

@media (max-width: 640px) {
  .brand-logo-img { height: 34px; max-width: 160px; }
  .top-ticker { font-size: 0.72rem; padding: 7px 0; }
  .metrics-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-3,
  .grid-cols-2,
  .grid-cols-4,
  .banner-grid,
  .banner-grid-2,
  .banner-grid-3,
  .banner-grid-4,
  .footer-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 20px; }
  .hero-section { padding: 44px 0 40px; }
  .page-banner { padding: 40px 0; }
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .section-pad { padding-top: 44px; padding-bottom: 44px; }
  .art-portrait-split {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .art-float-tl, .art-float-tr, .art-float-bl, .art-float-br {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
  }
  .art-gallery-grid.art-cols-3,
  .art-gallery-grid.art-cols-4,
  .art-gallery-grid.art-cols-5,
  .art-gallery-grid.art-cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .art-two-col-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 400px) {
  .top-ticker-right { gap: 8px; }
  .art-gallery-grid.art-cols-2,
  .art-gallery-grid.art-cols-3,
  .art-gallery-grid.art-cols-4,
  .art-gallery-grid.art-cols-5,
  .art-gallery-grid.art-cols-6 {
    grid-template-columns: 1fr;
  }
}

/* Custom Blocks CMS */
.custom-block-section {
  border-top: 1px solid var(--border-color);
}
.custom-block-banner {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.custom-block-section img {
  max-width: 100%;
  height: auto;
}

/* Floating Save Bar (Admin) */
.floating-save-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px) scale(0.96);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-save-bar.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.floating-save-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 12px 8px 20px;
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(0, 0, 102, 0.4), 0 4px 14px rgba(15, 23, 42, 0.3), 0 0 0 1.5px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}
.floating-save-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}
.save-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
  animation: pulseSaveDot 1.8s infinite;
}
@keyframes pulseSaveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}
.floating-save-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-discard-floating {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-discard-floating:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fecaca;
  transform: translateY(-1px);
}
.btn-save-floating {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 20px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-save-floating:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.65);
}
.save-kbd {
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #e2e8f0;
}
@media (max-width: 640px) {
  .floating-save-bar {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
  .floating-save-inner {
    width: 100%;
    justify-content: space-between;
  }
  .save-status-text {
    font-size: 0.75rem;
  }
  .save-kbd {
    display: none;
  }
}

/* Media Library Picker Modal (Universal) */
.media-picker-grid {
  padding: 20px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
}
.media-picker-thumb {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
}
.media-picker-thumb:hover {
  border-color: #000066;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,102,0.15);
}
.media-picker-thumb-img {
  position: relative;
  width: 100%;
  height: 95px;
  min-height: 95px;
  background: #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
}
.media-picker-thumb-img img,
.media-picker-thumb img {
  width: 100% !important;
  height: 95px !important;
  min-height: 95px !important;
  object-fit: cover !important;
  display: block !important;
  background: #e2e8f0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.media-picker-thumb:hover .media-picker-thumb-img img,
.media-picker-thumb:hover img {
  transform: scale(1.05);
}

/* =====================================================================
   CMS Custom Block Layouts & Rich Typography (v1.13.0)
   ===================================================================== */
.custom-block-heading {
  border-top: 1px solid var(--border-color);
}
.custom-block-heading.no-border {
  border-top: none;
}
.custom-block-heading h1,
.custom-block-heading h2,
.custom-block-heading h3,
.custom-block-heading h4 {
  text-wrap: balance;
}

.custom-block-spacer {
  display: block;
  width: 100%;
}

.custom-divider-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.custom-divider-brand-mark {
  font-weight: 900;
  color: var(--brand-primary);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 102, 0.05);
}

.custom-block-heading-image.layout-top img,
.custom-block-heading-image.layout-bottom img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.custom-gallery-grid {
  display: grid;
  gap: 20px;
}
.custom-gallery-grid.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.custom-gallery-grid.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.custom-gallery-grid.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .custom-gallery-grid.grid-cols-3,
  .custom-gallery-grid.grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .custom-gallery-grid.grid-cols-2,
  .custom-gallery-grid.grid-cols-3,
  .custom-gallery-grid.grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 102, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 102, 0.09);
  border-color: var(--brand-primary);
}
.gallery-card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.04);
}
.gallery-card-caption {
  padding: 12px 14px;
  background: #ffffff;
}

.photo-stripe-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 20px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.photo-stripe-container::-webkit-scrollbar {
  height: 6px;
}
.photo-stripe-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.photo-stripe-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.photo-stripe-container::-webkit-scrollbar-thumb:hover {
  background: #000066;
}
.photo-stripe-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 102, 0.05);
  border: 1px solid var(--border-color);
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.photo-stripe-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 102, 0.1);
}

/* Text alignment & format utilities in Prose */
.prose-content .text-left { text-align: left; }
.prose-content .text-center { text-align: center; }
.prose-content .text-right { text-align: right; }
.prose-content .text-justify { text-align: justify; text-justify: inter-word; }
.prose-content p:empty,
.prose-content p:has(br:only-child) {
  min-height: 1.5em;
  margin-bottom: 16px;
}

/* Custom Block: Hervorgehobene Info-Karte (.custom-block-card) */
.custom-block-card {
  padding: 36px 32px;
  border-top: 4px solid var(--brand-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.custom-block-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.custom-block-card-media {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.custom-block-card-media img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

/* =====================================================================
   Admin CMS: Modern Rich-Text-Editor (Zero External Resources)
   ===================================================================== */
.rich-editor-wrapper {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rich-editor-wrapper:focus-within {
  border-color: #000066;
  box-shadow: 0 0 0 3px rgba(0, 0, 102, 0.1);
}
.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  user-select: none;
}
.rich-editor-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  line-height: 1;
}
.rich-editor-btn:hover {
  background: #000066;
  color: #ffffff;
  border-color: #000066;
}
.rich-editor-btn.active {
  background: #000066;
  color: #ffffff;
  border-color: #000066;
}
.rich-editor-select {
  padding: 5px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  min-height: 28px;
}
.rich-editor-select:focus {
  border-color: #000066;
}
.rich-editor-sep {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
  margin: 0 4px;
}
.rich-editor-content {
  min-height: 160px;
  max-height: 480px;
  overflow-y: auto;
  padding: 16px 18px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.7;
  outline: none;
}
.rich-editor-content[contenteditable="true"]:empty:before {
  content: attr(placeholder);
  color: #94a3b8;
  font-style: italic;
  pointer-events: none;
}
.rich-editor-content p {
  margin-bottom: 14px;
}
.rich-editor-content p:last-child {
  margin-bottom: 0;
}
.rich-editor-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #000066;
  margin: 20px 0 10px;
}
.rich-editor-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 16px 0 8px;
}
.rich-editor-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
  margin: 14px 0 6px;
}
.rich-editor-content blockquote {
  border-left: 4px solid #000066;
  background: #eef2f8;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
  font-style: italic;
}
.rich-editor-content hr {
  border: 0;
  border-top: 2px dashed #cbd5e1;
  margin: 18px 0;
}
.rich-editor-content ul,
.rich-editor-content ol {
  margin: 0 0 14px 24px;
}
.rich-editor-content li {
  margin-bottom: 4px;
}
.rich-editor-textarea {
  width: 100%;
  min-height: 160px;
  max-height: 480px;
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #0f172a;
  background: #fafbfc;
  border: none;
  outline: none;
  resize: vertical;
}

/* =====================================================================
   Admin CMS: Layout-Katalog Modal & Kacheln
   ===================================================================== */
.block-catalog-modal {
  max-width: 980px !important;
  width: 95% !important;
  padding: 28px !important;
}
.block-catalog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}
.block-catalog-tab-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.block-catalog-tab-btn:hover {
  background: #eef2f8;
  color: #000066;
  border-color: #000066;
}
.block-catalog-tab-btn.active {
  background: #000066;
  color: #ffffff;
  border-color: #000066;
}

.block-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}
.block-catalog-tile {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}
.block-catalog-tile:hover {
  border-color: #000066;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 102, 0.1);
}
.block-catalog-tile-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.block-catalog-tile-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f8;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}
.block-catalog-tile-wireframe {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

/* ==========================================================================
   CMS Layout Showcase & Diagnostics (/demo)
   ========================================================================== */
.demo-diagnostic-header {
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  padding: 32px 0 24px;
}
.demo-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.demo-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.15s ease;
}
.demo-jump-pill:hover {
  background: #000066;
  border-color: #000066;
  color: #ffffff;
  transform: translateY(-1px);
}
.demo-jump-num {
  background: #000066;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
}
.demo-jump-pill:hover .demo-jump-num {
  background: #ffffff;
  color: #000066;
}
.demo-block-marker {
  background: #eef2f8;
  border-top: 2px dashed #94a3b8;
  border-bottom: 1px solid #cbd5e1;
  padding: 10px 0;
  font-size: 0.8125rem;
  scroll-margin-top: 80px;
}
.demo-block-marker-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.demo-block-marker code {
  background: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #000066;
}

/* ==========================================================================
   Express-Hotline (Top-Ticker Button, Kontakt-Banner & Overlay Modal)
   ========================================================================== */
.hotline-express-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.42);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.hotline-express-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.55);
}

.hotline-express-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.hotline-btn-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.8);
  flex-shrink: 0;
  animation: hotlinePulse 2s infinite;
}

@keyframes hotlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.75); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hotline-btn-desktop { display: inline; }
.hotline-btn-mobile { display: none; }

@media (max-width: 1024px) {
  .hotline-btn-desktop { display: none; }
  .hotline-btn-mobile { display: inline; }
  .hotline-express-btn { padding: 3px 9px; font-size: 0.69rem; }
}

/* iPhone & Smartphone Optimierung: Telefon + "Express-Hotline" + E-Mail stets einzeilig */
@media (max-width: 600px) {
  .top-ticker .container { padding-left: 10px; padding-right: 10px; }
  .top-ticker-right { gap: 6px; font-size: 0.67rem; }
  .hotline-express-btn { padding: 2px 8px; font-size: 0.65rem; gap: 4px; letter-spacing: 0; }
  .hotline-btn-pulse { width: 6px; height: 6px; }
}

@media (max-width: 410px) {
  .top-ticker .container { padding-left: 8px; padding-right: 8px; }
  .top-ticker-right { gap: 4px; font-size: 0.625rem; }
  .hotline-express-btn { padding: 2px 6px; font-size: 0.61rem; gap: 4px; }
  .hotline-btn-pulse { width: 5px; height: 5px; }
}

@media (max-width: 360px) {
  .top-ticker-right { gap: 3px; font-size: 0.59rem; }
  .hotline-express-btn { padding: 2px 5px; font-size: 0.58rem; gap: 3px; }
}

/* Kontakt-Seite: Prominenter Notfall-Express Block */
.hotline-kontakt-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 55%, #eef2f8 100%);
  border: 1.5px solid #fecaca;
  border-left: 6px solid #dc2626;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.08);
}

.hotline-kontakt-left {
  flex: 1;
  min-width: 0;
}

.hotline-kontakt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b91c1c;
  margin-bottom: 8px;
}

.hotline-kontakt-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #000066;
  line-height: 1.25;
  margin-bottom: 6px;
}

.hotline-kontakt-sub {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
}

.hotline-kontakt-duty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #0f172a;
}

.hotline-kontakt-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
  min-width: 240px;
}

.hotline-kontakt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hotline-kontakt-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.36);
}

.hotline-kontakt-direct {
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  color: #000066;
  padding: 6px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}

.hotline-kontakt-direct:hover {
  background: #eef2f8;
  border-color: #000066;
}

@media (max-width: 820px) {
  .hotline-kontakt-block {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .hotline-kontakt-actions {
    min-width: 0;
  }
}

/* Express-Notfall Overlay Modal */
.hotline-modal {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hotline-modal.open {
  display: flex;
}

.hotline-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.hotline-modal-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 28px 64px rgba(0, 0, 102, 0.28);
  border: 1px solid #e2e8f0;
  animation: hotlineModalIn 0.2s ease-out;
}

@keyframes hotlineModalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hotline-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: #000066;
  color: #ffffff;
}

.hotline-modal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hotline-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.85);
}

.hotline-modal-close {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hotline-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hotline-modal-body {
  padding: 24px 24px 22px;
}

.hotline-modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #000066;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hotline-modal-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hotline-modal-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hotline-primary-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.hotline-duty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #0f172a;
  margin-bottom: 10px;
  background: #eef2f8;
  border: 1px solid #cbd5e1;
  padding: 4px 11px;
  border-radius: 8px;
}

.hotline-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hotline-call-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(220, 38, 38, 0.4);
  color: #ffffff;
}

.hotline-call-icon {
  font-size: 1.5rem;
}

.hotline-call-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.hotline-call-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.hotline-call-number {
  font-size: clamp(1rem, 4.6vw, 1.25rem);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .hotline-modal-body { padding: 18px 16px 16px; }
  .hotline-primary-box { padding: 12px; }
  .hotline-call-btn { padding: 11px 14px; gap: 10px; }
  .hotline-call-icon { font-size: 1.25rem; }
}

.hotline-fallback-section {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.hotline-fallback-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
}

.hotline-fallback-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #000066;
  text-decoration: underline;
}

.hotline-fallback-name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.hotline-callback-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.hotline-callback-toggle {
  width: 100%;
  background: #eef2f8;
  color: #000066;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.hotline-callback-toggle:hover {
  background: #e2e8f0;
}

.hotline-callback-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.hotline-cb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.hotline-cb-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.hotline-cb-input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #0f172a;
  background: #ffffff;
}

.hotline-cb-input:focus {
  outline: none;
  border-color: #000066;
  box-shadow: 0 0 0 3px rgba(0, 0, 102, 0.1);
}

.hotline-cb-submit {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: none;
  background: #000066;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.hotline-cb-submit:hover {
  background: #0a0a8f;
}

.hotline-cb-feedback {
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
}

.hotline-cb-feedback.success {
  padding: 9px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.hotline-cb-feedback.error {
  padding: 9px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.hotline-modal-notice {
  margin-top: 16px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

/* =========================================================================
   ADMIN ROLLEN-FARBCODIERUNG (Pastell-Zonen + Kontrast-Badges)
   ========================================================================= */
.role-zone-admin {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-left: 4px solid #dc2626 !important;
}
.role-zone-supervisor {
  background: #fefce8 !important;
  border: 1px solid #fef08a !important;
  border-left: 4px solid #eab308 !important;
}
.role-zone-webadmin {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-left: 4px solid #000066 !important;
}
.role-zone-all {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #16a34a !important;
}

.role-contrast-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.3;
}
.role-badge-admin { background: #dc2626; color: #ffffff; }
.role-badge-supervisor { background: #b45309; color: #ffffff; }
.role-badge-webadmin { background: #000066; color: #ffffff; }
.role-badge-all { background: #15803d; color: #ffffff; }

.nav-role-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  flex-shrink: 0;
}
.dot-admin { background: #dc2626; }
.dot-supervisor { background: #eab308; }
.dot-webadmin { background: #000066; }
.dot-all { background: #16a34a; }

.admin-role-legend {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 5px 0;
  font-size: 0.7rem;
  color: #475569;
}
.admin-role-legend-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.admin-role-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.admin-role-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(15, 23, 42, 0.15);
}



