/**
 * Familienkompass - Main Stylesheet
 * "Naturpark" aesthetic — warm, organic, rooted
 * A family guide that feels like home in Landkreis Birkenfeld
 *
 * Typography: DM Sans (headings) + system sans (body)
 * Colors: Forest Green, Warm Orange, Sky Blue, Emergency Red
 */

/* ========================================
   Google Font Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400;1,9..40,500&display=swap');

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --fk-primary: #2E7D32;
  --fk-primary-dark: #1B5E20;
  --fk-primary-light: #E8F5E9;
  --fk-primary-glow: rgba(46, 125, 50, 0.15);
  --fk-secondary: #FB923C;
  --fk-secondary-dark: #EA580C;
  --fk-secondary-light: #FFF3E0;
  --fk-accent: #3B82F6;
  --fk-accent-dark: #1D4ED8;
  --fk-accent-light: #E3F2FD;
  --fk-emergency: #D32F2F;
  --fk-emergency-dark: #B71C1C;
  --fk-emergency-light: #FFEBEE;
  --fk-purple: #7C3AED;
  --fk-teal: #0891B2;
  --fk-bg: #F6F5F0;
  --fk-bg-warm: #FAF9F5;
  --fk-white: #FFFFFF;
  --fk-dark: #1C2118;
  --fk-gray-100: #F7F7F4;
  --fk-gray-200: #E8E7E2;
  --fk-gray-300: #D1D0CB;
  --fk-gray-500: #6B6B63;
  --fk-gray-700: #3D3D37;
  --fk-radius: 14px;
  --fk-radius-sm: 10px;
  --fk-radius-lg: 20px;
  --fk-radius-xl: 28px;
  --fk-shadow-xs: 0 1px 2px rgba(28, 33, 24, 0.04);
  --fk-shadow: 0 1px 3px rgba(28, 33, 24, 0.06), 0 6px 16px rgba(28, 33, 24, 0.04);
  --fk-shadow-hover: 0 4px 12px rgba(28, 33, 24, 0.08), 0 12px 32px rgba(28, 33, 24, 0.06);
  --fk-shadow-lg: 0 8px 30px rgba(28, 33, 24, 0.1), 0 2px 8px rgba(28, 33, 24, 0.04);
  --fk-shadow-xl: 0 16px 48px rgba(28, 33, 24, 0.12), 0 4px 12px rgba(28, 33, 24, 0.06);
  --fk-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --fk-transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --fk-font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fk-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --fk-container: 1200px;
}

/* ========================================
   Scroll-based reveal animations
   ======================================== */
@keyframes fk-revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fk-revealScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fk-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes fk-pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

@keyframes fk-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

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

@keyframes fk-fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fk-slideUp {
  from { transform: translateY(30px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fk-slideUpStagger {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fk-countUp {
  from { opacity: 0; transform: translateY(12px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================
   Base / Reset
   ======================================== */
.familienkompass {
  font-family: var(--fk-font);
  background-color: var(--fk-bg);
  color: var(--fk-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fk-container {
  max-width: var(--fk-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Subtle noise texture via pseudo-element on sections that need it */
.fk-hero::before,
.fk-home-emergency::before,
.fk-site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 1;
}

.fk-hero,
.fk-home-emergency,
.fk-site-footer {
  position: relative;
}

.fk-hero > *,
.fk-home-emergency > *,
.fk-site-footer > * {
  position: relative;
  z-index: 2;
}

/* ========================================
   Utility Bar (Header)
   ======================================== */
.fk-utility-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid rgba(232, 231, 226, 0.7);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 900;
}

.fk-utility-bar__inner {
  max-width: var(--fk-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fk-target-toggle {
  display: flex;
  background: var(--fk-gray-100);
  border-radius: 24px;
  padding: 3px;
  border: 1px solid var(--fk-gray-200);
}

.fk-target-btn {
  border: none;
  background: transparent;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fk-transition);
  color: var(--fk-gray-500);
  font-family: var(--fk-font);
}

.fk-target-btn.active {
  background: var(--fk-primary);
  color: var(--fk-white);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.fk-target-clear {
  border: none;
  background: transparent;
  color: var(--fk-gray-500);
  font-size: 1rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 18px;
  transition: var(--fk-transition);
}

.fk-target-clear:hover {
  color: var(--fk-gray-700);
  background: var(--fk-gray-200);
}

.fk-utility-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fk-search-toggle,
.fk-favorites-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--fk-gray-200);
  background: var(--fk-white);
  color: var(--fk-gray-700);
  cursor: pointer;
  transition: all var(--fk-transition);
  text-decoration: none;
  position: relative;
}

.fk-search-toggle:hover,
.fk-favorites-link:hover {
  background: var(--fk-primary-light);
  border-color: var(--fk-primary);
  color: var(--fk-primary);
  transform: scale(1.05);
}

.fk-favorites-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--fk-emergency);
  color: var(--fk-white);
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--fk-white);
  animation: fk-revealScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   Buttons
   ======================================== */
.fk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--fk-radius-sm);
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fk-transition);
  text-decoration: none;
  line-height: 1.4;
  font-family: var(--fk-font);
  position: relative;
  overflow: hidden;
}

.fk-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  pointer-events: none;
}

.fk-btn--primary {
  background: var(--fk-primary);
  color: var(--fk-white);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

.fk-btn--primary:hover {
  background: var(--fk-primary-dark);
  color: var(--fk-white);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.35);
  transform: translateY(-1px);
}

.fk-btn--secondary {
  background: var(--fk-secondary);
  color: var(--fk-white);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.25);
}

.fk-btn--secondary:hover {
  background: var(--fk-secondary-dark);
  color: var(--fk-white);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.35);
  transform: translateY(-1px);
}

.fk-btn--small {
  padding: 7px 16px;
  font-size: 0.8125rem;
}

/* ========================================
   Badge
   ======================================== */
.fk-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 24px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--fk-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fk-quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.fk-quick-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--fk-gray-100);
  color: var(--fk-gray-700);
  border: 1px solid var(--fk-gray-200);
}

.fk-quick-badge--green {
  background: var(--fk-primary-light);
  color: var(--fk-primary-dark);
  border-color: rgba(46, 125, 50, 0.15);
}

/* ========================================
   Cards (Einrichtung)
   ======================================== */
.fk-einrichtung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.fk-card {
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow);
  overflow: hidden;
  transition: all var(--fk-transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(232, 231, 226, 0.5);
}

.fk-card:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.fk-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.fk-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--fk-gray-100);
}

.fk-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(28, 33, 24, 0.06), transparent);
  pointer-events: none;
}

.fk-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fk-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fk-gray-300);
}

.fk-card__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.fk-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--fk-primary);
  color: var(--fk-white);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
  z-index: 2;
}

.fk-card__body {
  padding: 18px 20px;
  flex: 1;
}

.fk-card__category {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-family: var(--fk-font-heading);
}

.fk-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--fk-dark);
}

.fk-card__excerpt {
  font-size: 0.875rem;
  color: var(--fk-gray-500);
  margin: 0 0 10px;
  line-height: 1.55;
}

.fk-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
}

.fk-card__address {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fk-card__address svg {
  flex-shrink: 0;
  color: var(--fk-primary);
  opacity: 0.7;
}

.fk-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 20px;
  border-top: 1px solid var(--fk-gray-200);
  background: var(--fk-gray-100);
}

.fk-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--fk-white);
  color: var(--fk-gray-700);
  cursor: pointer;
  transition: all var(--fk-transition);
  text-decoration: none;
  box-shadow: var(--fk-shadow-xs);
}

.fk-card__action:hover {
  background: var(--fk-primary-light);
  color: var(--fk-primary);
  transform: scale(1.1);
}

.fk-favorite-toggle.is-favorite {
  color: var(--fk-emergency);
  background: var(--fk-emergency-light);
}

.fk-heart-icon {
  font-size: 1.2em;
  line-height: 1;
}

/* ========================================
   Archive Pages
   ======================================== */
.fk-archive-header {
  background: var(--fk-white);
  padding: 40px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--fk-gray-200);
}

.fk-archive-title {
  font-size: 1.875rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.fk-archive-description {
  color: var(--fk-gray-500);
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.fk-results-info {
  padding: 16px 0 0;
}

.fk-results-count {
  font-size: 0.875rem;
  color: var(--fk-gray-500);
  font-weight: 500;
}

.fk-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--fk-gray-500);
}

.fk-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* Pagination */
.fk-pagination {
  padding: 40px 0;
  text-align: center;
}

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

.fk-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--fk-radius-sm);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fk-gray-700);
  transition: all var(--fk-transition);
  border: 1px solid transparent;
}

.fk-pagination .page-numbers:hover {
  background: var(--fk-primary-light);
  border-color: var(--fk-primary);
  color: var(--fk-primary);
}

.fk-pagination .page-numbers.current {
  background: var(--fk-primary);
  color: var(--fk-white);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

/* ========================================
   Filter Bar
   ======================================== */
.fk-filter-bar {
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--fk-shadow);
  border: 1px solid var(--fk-gray-200);
}

.fk-filter-bar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fk-filter-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.fk-filter-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--fk-gray-200);
  border-radius: var(--fk-radius-sm);
  font-size: 0.875rem;
  font-family: var(--fk-font);
  background: var(--fk-bg-warm);
  transition: all var(--fk-transition);
}

.fk-filter-input:focus {
  outline: none;
  border-color: var(--fk-primary);
  background: var(--fk-white);
  box-shadow: 0 0 0 4px var(--fk-primary-glow);
}

.fk-filter-select {
  padding: 12px 16px;
  border: 2px solid var(--fk-gray-200);
  border-radius: var(--fk-radius-sm);
  font-size: 0.875rem;
  font-family: var(--fk-font);
  background: var(--fk-bg-warm);
  cursor: pointer;
  min-width: 160px;
  transition: all var(--fk-transition);
}

.fk-filter-select:focus {
  outline: none;
  border-color: var(--fk-primary);
  box-shadow: 0 0 0 4px var(--fk-primary-glow);
}

.fk-filter-reset {
  background: var(--fk-gray-100);
  color: var(--fk-gray-700);
  border: 2px solid var(--fk-gray-200);
}

.fk-filter-reset:hover {
  background: var(--fk-gray-200);
  border-color: var(--fk-gray-300);
}

.fk-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--fk-gray-200);
}

.fk-filter-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.fk-filter-chip input {
  display: none;
}

.fk-filter-chip span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--fk-bg-warm);
  color: var(--fk-gray-700);
  transition: all var(--fk-transition);
  border: 1px solid var(--fk-gray-200);
}

.fk-filter-chip:hover span {
  border-color: var(--fk-primary);
  color: var(--fk-primary);
  background: var(--fk-primary-light);
}

.fk-filter-chip input:checked + span {
  background: var(--fk-primary);
  color: var(--fk-white);
  border-color: var(--fk-primary);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

/* Autocomplete */
.fk-autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--fk-white);
  border: 1px solid var(--fk-gray-200);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow-xl);
  z-index: 100;
  margin-top: 6px;
  overflow: hidden;
  animation: fk-slideUpStagger 0.2s ease;
}

.fk-autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--fk-dark);
  transition: all var(--fk-transition);
  border-bottom: 1px solid var(--fk-gray-100);
}

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

.fk-autocomplete-item:hover {
  background: var(--fk-primary-light);
}

.fk-ac-title {
  font-weight: 600;
}

.fk-ac-cat {
  font-size: 0.75rem;
  color: var(--fk-gray-500);
}

/* ========================================
   Single Einrichtung
   ======================================== */
.fk-breadcrumb {
  background: var(--fk-white);
  padding: 14px 0;
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
  border-bottom: 1px solid var(--fk-gray-200);
}

.fk-breadcrumb a {
  color: var(--fk-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--fk-transition);
}

.fk-breadcrumb a:hover {
  color: var(--fk-primary-dark);
  text-decoration: underline;
}

.fk-breadcrumb-sep {
  margin: 0 10px;
  color: var(--fk-gray-300);
}

.fk-single-hero {
  background: var(--fk-white);
  padding: 40px 0;
  margin-bottom: 32px;
  border-top-width: 5px !important;
  border-top-style: solid !important;
}

.fk-single-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.fk-single-title {
  font-size: 2.125rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 10px 0 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fk-single-excerpt {
  color: var(--fk-gray-500);
  font-size: 1.0625rem;
  margin-top: 14px;
  line-height: 1.65;
}

.fk-single-hero__image {
  border-radius: var(--fk-radius);
  overflow: hidden;
  box-shadow: var(--fk-shadow);
}

.fk-single-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.fk-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--fk-gray-100);
}

.fk-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--fk-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--fk-gray-200);
  background: var(--fk-white);
  color: var(--fk-dark);
  cursor: pointer;
  transition: all var(--fk-transition);
  font-family: var(--fk-font);
}

.fk-action-btn:hover {
  background: var(--fk-gray-100);
  border-color: var(--fk-gray-300);
  transform: translateY(-1px);
}

.fk-action-btn--primary {
  background: var(--fk-primary);
  color: var(--fk-white);
  border-color: var(--fk-primary);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

.fk-action-btn--primary:hover {
  background: var(--fk-primary-dark);
  color: var(--fk-white);
  border-color: var(--fk-primary-dark);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.35);
}

/* Single content layout */
.fk-single-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding-bottom: 56px;
}

.fk-content-block {
  line-height: 1.75;
  font-size: 1.0625rem;
}

.fk-content-block h2,
.fk-content-block h3 {
  margin-top: 36px;
  font-family: var(--fk-font-heading);
  letter-spacing: -0.01em;
}

/* Info cards (sidebar) */
.fk-info-card {
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  padding: 22px;
  box-shadow: var(--fk-shadow);
  margin-bottom: 20px;
  border: 1px solid rgba(232, 231, 226, 0.6);
}

.fk-info-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fk-primary-light);
  color: var(--fk-dark);
}

.fk-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--fk-gray-700);
  border-bottom: 1px solid var(--fk-gray-100);
}

.fk-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fk-info-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--fk-primary);
  opacity: 0.7;
}

.fk-info-row a {
  color: var(--fk-primary);
  text-decoration: none;
  word-break: break-word;
  font-weight: 500;
}

.fk-info-row a:hover {
  text-decoration: underline;
  color: var(--fk-primary-dark);
}

/* Opening hours */
.fk-opening-hours {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.fk-opening-hours td {
  padding: 6px 0;
  border-bottom: 1px solid var(--fk-gray-100);
}

.fk-opening-hours tr:last-child td {
  border-bottom: none;
}

.fk-opening-hours td:first-child {
  font-weight: 600;
  padding-right: 16px;
  color: var(--fk-dark);
}

.fk-hours-note {
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
  font-style: italic;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--fk-gray-100);
}

/* Tags */
.fk-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fk-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--fk-gray-100);
  color: var(--fk-gray-700);
  border: 1px solid var(--fk-gray-200);
  transition: all var(--fk-transition);
}

/* Gallery */
.fk-gallery {
  margin-top: 40px;
}

.fk-gallery h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-family: var(--fk-font-heading);
}

.fk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.fk-gallery-item {
  border-radius: var(--fk-radius-sm);
  overflow: hidden;
  display: block;
  aspect-ratio: 4/3;
  box-shadow: var(--fk-shadow-xs);
  transition: all var(--fk-transition);
}

.fk-gallery-item:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-2px);
}

.fk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fk-gallery-item:hover img {
  transform: scale(1.08);
}

/* ========================================
   Notfälle Page
   ======================================== */
.fk-notfaelle-header {
  background: linear-gradient(135deg, var(--fk-emergency) 0%, var(--fk-emergency-dark) 100%);
  color: var(--fk-white);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fk-notfaelle-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  pointer-events: none;
}

.fk-notfaelle-title {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  margin: 0;
  letter-spacing: -0.01em;
  position: relative;
}

.fk-notfaelle-subtitle {
  opacity: 0.9;
  margin-top: 8px;
  font-size: 1.0625rem;
  position: relative;
}

.fk-emergency-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.fk-emergency-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  border-radius: var(--fk-radius-lg);
  text-decoration: none;
  color: var(--fk-white);
  transition: all var(--fk-transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fk-emergency-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.fk-emergency-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  color: var(--fk-white);
}

.fk-emergency-btn--fire {
  background: linear-gradient(135deg, #E53935, #B71C1C);
}

.fk-emergency-btn--police {
  background: linear-gradient(135deg, #1E88E5, #0D47A1);
}

.fk-emergency-number {
  font-size: 3.25rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  line-height: 1;
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.fk-emergency-label {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0.9;
  position: relative;
}

.fk-notfaelle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-bottom: 56px;
}

.fk-notfall-card {
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow);
  padding: 22px;
  border-left: 5px solid var(--fk-gray-300);
  transition: all var(--fk-transition);
}

.fk-notfall-card:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-2px);
}

.fk-notfall-card--notruf {
  border-left-color: var(--fk-emergency);
}

.fk-notfall-card--bereitschaft {
  border-left-color: var(--fk-secondary);
}

.fk-notfall-card--beratung {
  border-left-color: var(--fk-accent);
}

.fk-notfall-card--gift {
  border-left-color: #7B1FA2;
}

.fk-notfall-card--seelsorge {
  border-left-color: var(--fk-primary);
}

.fk-notfall-card--gewalt {
  border-left-color: #E91E63;
}

.fk-notfall-type {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--fk-gray-500);
}

.fk-notfall-name {
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 6px 0 8px;
}

.fk-notfall-desc {
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
  margin: 0 0 14px;
  line-height: 1.55;
}

.fk-notfall-call {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--fk-primary);
  color: var(--fk-white);
  border-radius: var(--fk-radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--fk-transition);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

.fk-notfall-call:hover {
  background: var(--fk-primary-dark);
  color: var(--fk-white);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.35);
  transform: translateY(-1px);
}

.fk-notfall-tel {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
}

.fk-notfall-cta {
  margin-left: auto;
  font-size: 0.8125rem;
  opacity: 0.9;
}

.fk-notfall-number {
  padding: 8px 0;
}

/* ========================================
   Favoriten Page
   ======================================== */
.fk-favoriten-page {
  padding: 40px 0 56px;
}

.fk-page-title {
  font-size: 1.875rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.fk-page-intro {
  color: var(--fk-gray-500);
  margin: 0 0 28px;
  line-height: 1.6;
}

.fk-empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--fk-white);
  border-radius: var(--fk-radius-lg);
  box-shadow: var(--fk-shadow);
  border: 2px dashed var(--fk-gray-200);
}

.fk-empty-state h2 {
  margin: 16px 0 8px;
  font-weight: 700;
  font-family: var(--fk-font-heading);
}

.fk-empty-state p {
  color: var(--fk-gray-500);
  margin-bottom: 24px;
}

.fk-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--fk-gray-200);
  border-top-color: var(--fk-primary);
  border-radius: 50%;
  animation: fk-spin 0.8s linear infinite;
  margin: 0 auto;
}

.fk-favoriten-loading {
  text-align: center;
  padding: 40px;
  color: var(--fk-gray-500);
}

/* ========================================
   Onboarding Modal
   ======================================== */
.fk-onboarding-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 33, 24, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fk-fadeIn 0.4s ease;
}

.fk-onboarding-closing {
  animation: fk-fadeOut 0.3s ease forwards;
}

.fk-onboarding-modal {
  background: var(--fk-white);
  border-radius: var(--fk-radius-xl);
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);
  animation: fk-slideUp 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fk-onboarding-header {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 50%, #145218 100%);
  color: var(--fk-white);
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fk-onboarding-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(251, 146, 60, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.fk-onboarding-header h2 {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  position: relative;
}

.fk-onboarding-header p {
  margin: 8px 0 0;
  opacity: 0.88;
  font-size: 0.9375rem;
  position: relative;
}

.fk-onboarding-body {
  padding: 28px 28px 20px;
}

.fk-onboarding-body > p {
  text-align: center;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--fk-gray-700);
}

.fk-onboarding-choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fk-onboarding-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  border: 2px solid var(--fk-gray-200);
  border-radius: var(--fk-radius);
  background: var(--fk-white);
  cursor: pointer;
  transition: all var(--fk-transition);
  text-align: center;
  font-family: var(--fk-font);
}

.fk-onboarding-choice:hover {
  border-color: var(--fk-primary);
  background: var(--fk-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--fk-shadow);
}

.fk-onboarding-icon {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.fk-onboarding-choice strong {
  font-size: 1.0625rem;
  font-family: var(--fk-font-heading);
  display: block;
  margin-bottom: 4px;
}

.fk-onboarding-choice span:last-child {
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
}

.fk-onboarding-footer {
  padding: 0 28px 24px;
  text-align: center;
}

.fk-onboarding-skip {
  border: none;
  background: none;
  color: var(--fk-gray-500);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 8px 16px;
  font-family: var(--fk-font);
  border-radius: var(--fk-radius-sm);
  transition: all var(--fk-transition);
}

.fk-onboarding-skip:hover {
  color: var(--fk-dark);
  background: var(--fk-gray-100);
}

/* ========================================
   Footer (old widget selectors)
   ======================================== */
.fk-footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin-bottom: 12px;
}

.fk-footer-widget {
  margin-bottom: 20px;
}

.fk-footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fk-footer-widget li {
  margin-bottom: 6px;
}

.fk-footer-widget a {
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.fk-footer-widget a:hover {
  opacity: 1;
}

/* ========================================
   Hub Pages (Category landing pages)
   ======================================== */
.fk-hub-page {
  padding-bottom: 56px;
}

.fk-hub-hero {
  background: var(--fk-white);
  padding: 56px 0 36px;
  text-align: center;
}

.fk-hub-hero__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--fk-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.fk-hub-hero__icon svg {
  width: 34px;
  height: 34px;
}

.fk-hub-hero h1 {
  font-size: 2.125rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.fk-hub-hero p {
  color: #ffffff;
  font-size: 1.0625rem;
  margin: 12px auto 0;
  max-width: 600px;
  line-height: 1.6;
}

.fk-hub-hero__count {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 16px;
  background: var(--fk-gray-100);
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fk-gray-500);
  border: 1px solid var(--fk-gray-200);
}

/* Hub sections */
.fk-hub-section {
  padding-top: 36px;
}

.fk-hub-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.fk-hub-section__title {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.fk-hub-section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fk-accent);
  text-decoration: none;
  margin-bottom: 20px;
  transition: all var(--fk-transition);
}

.fk-hub-section__link:hover {
  color: var(--fk-accent-dark);
  gap: 10px;
}

.fk-hub-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 32px 0;
}

.fk-hub-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow);
  text-decoration: none;
  color: var(--fk-dark);
  transition: all var(--fk-transition);
  border: 1px solid var(--fk-gray-200);
}

.fk-hub-cat-card:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-4px);
  color: var(--fk-dark);
  border-color: transparent;
}

.fk-hub-cat-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--fk-radius);
  margin-bottom: 14px;
}

.fk-hub-cat-card__name {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
}

.fk-hub-cat-card__count {
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
  margin-top: 4px;
}

/* ========================================
   Infoartikel Archive
   ======================================== */
.fk-infoartikel-archive .fk-archive-header {
  background: linear-gradient(135deg, var(--fk-accent) 0%, var(--fk-accent-dark) 100%);
  color: var(--fk-white);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fk-infoartikel-archive .fk-archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.fk-archive-header__icon {
  margin-bottom: 12px;
  opacity: 0.9;
}

.fk-archive-subtitle {
  opacity: 0.9;
  margin-top: 8px;
  font-size: 1.0625rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.fk-infoartikel-archive .fk-archive-title {
  color: var(--fk-white);
}

/* Info filter buttons */
.fk-info-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 18px;
}

.fk-info-filter-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fk-gray-700);
  background: var(--fk-white);
  border: 2px solid var(--fk-gray-200);
  transition: all var(--fk-transition);
}

.fk-info-filter-btn:hover {
  border-color: var(--fk-accent);
  color: var(--fk-accent);
  background: var(--fk-accent-light);
  transform: translateY(-1px);
}

.fk-info-filter-btn.active {
  background: var(--fk-accent);
  color: var(--fk-white);
  border-color: var(--fk-accent);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Infoartikel card grid */
.fk-infoartikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  padding-bottom: 32px;
}

/* Infoartikel card */
.fk-info-card-item {
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow);
  overflow: hidden;
  transition: all var(--fk-transition);
  border: 1px solid rgba(232, 231, 226, 0.5);
}

.fk-info-card-item:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.fk-info-card-item__link {
  display: flex;
  text-decoration: none;
  color: var(--fk-dark);
  height: 100%;
}

.fk-info-card-item__accent {
  width: 6px;
  flex-shrink: 0;
  border-radius: 0 0 0 var(--fk-radius);
}

.fk-info-card-item__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fk-info-card-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.fk-info-card-item__category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--fk-font-heading);
}

.fk-info-card-item__readtime {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--fk-gray-500);
}

.fk-info-card-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0 0 8px;
  line-height: 1.35;
}

.fk-info-card-item__excerpt {
  font-size: 0.875rem;
  color: var(--fk-gray-500);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.fk-info-card-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fk-accent);
  margin-top: 14px;
  transition: all var(--fk-transition);
}

.fk-info-card-item:hover .fk-info-card-item__cta {
  gap: 10px;
  color: var(--fk-accent-dark);
}

/* ========================================
   Infoartikel Single
   ======================================== */
.fk-info-hero {
  background: var(--fk-white);
  padding: 36px 0;
}

.fk-info-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.fk-info-hero__readtime {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--fk-gray-500);
}

.fk-info-hero__excerpt {
  font-size: 1.125rem;
  color: var(--fk-gray-500);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 720px;
}

/* Info layout (content + sidebar) */
.fk-info-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 36px 0 56px;
}

.fk-info-main {
  min-width: 0;
}

/* Table of contents */
.fk-info-toc {
  background: var(--fk-accent-light);
  border-radius: var(--fk-radius);
  padding: 22px 24px;
  margin-bottom: 32px;
  border-left: 4px solid var(--fk-accent);
}

.fk-info-toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  color: var(--fk-accent-dark);
}

.fk-info-toc__list {
  margin: 0;
  padding-left: 20px;
}

.fk-info-toc__list li {
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.fk-info-toc__list a {
  color: var(--fk-accent-dark);
  text-decoration: none;
  transition: color var(--fk-transition);
}

.fk-info-toc__list a:hover {
  color: var(--fk-accent);
  text-decoration: underline;
}

/* Info content styling */
.fk-info-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--fk-gray-200);
}

.fk-info-content h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.fk-info-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9375rem;
}

.fk-info-content table td,
.fk-info-content table th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fk-gray-200);
  text-align: left;
}

.fk-info-content table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.fk-info-content ul,
.fk-info-content ol {
  padding-left: 20px;
}

.fk-info-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.fk-info-content a {
  color: var(--fk-accent);
  font-weight: 500;
}

.fk-info-content a:hover {
  text-decoration: underline;
}

/* Category tags below content */
.fk-info-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 2px solid var(--fk-gray-200);
}

.fk-info-categories__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fk-gray-500);
}

.fk-info-categories .fk-tag {
  text-decoration: none;
  transition: all var(--fk-transition);
}

.fk-info-categories .fk-tag:hover {
  background: var(--fk-accent-light);
  color: var(--fk-accent-dark);
  border-color: var(--fk-accent);
}

/* Sidebar for info articles */
.fk-info-sidebar .fk-info-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fk-info-sidebar .fk-info-card h3 svg {
  flex-shrink: 0;
  color: var(--fk-accent);
}

.fk-info-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fk-info-related-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--fk-gray-100);
}

.fk-info-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fk-info-related-item__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fk-dark);
  text-decoration: none;
  line-height: 1.35;
  transition: color var(--fk-transition);
}

.fk-info-related-item__title:hover {
  color: var(--fk-accent);
}

.fk-info-related-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--fk-gray-500);
}

.fk-info-related-item__phone {
  color: var(--fk-primary);
  text-decoration: none;
  font-weight: 500;
}

.fk-info-related-item__phone:hover {
  text-decoration: underline;
}

.fk-info-sidebar-text {
  font-size: 0.875rem;
  color: var(--fk-gray-500);
  margin: 0 0 14px;
  line-height: 1.55;
}

.fk-info-sidebar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  background: var(--fk-accent);
  color: var(--fk-white);
  border-radius: var(--fk-radius-sm);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--fk-transition);
  width: 100%;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.fk-info-sidebar-btn:hover {
  background: var(--fk-accent-dark);
  color: var(--fk-white);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

/* More articles section */
.fk-info-more {
  padding: 36px 0 56px;
  border-top: 2px solid var(--fk-gray-200);
}

.fk-info-more__title {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0 0 24px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
  .fk-single-hero__content {
    grid-template-columns: 1fr;
  }

  .fk-single-content {
    grid-template-columns: 1fr;
  }

  .fk-single-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .fk-info-layout {
    grid-template-columns: 1fr;
  }

  .fk-info-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .fk-archive-title,
  .fk-notfaelle-title,
  .fk-page-title {
    font-size: 1.5rem;
  }

  .fk-single-title {
    font-size: 1.5rem;
  }

  .fk-einrichtung-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fk-emergency-highlight {
    grid-template-columns: 1fr;
  }

  .fk-notfaelle-grid {
    grid-template-columns: 1fr;
  }

  .fk-filter-bar__row {
    flex-direction: column;
  }

  .fk-filter-search {
    width: 100%;
  }

  .fk-filter-group {
    width: 100%;
  }

  .fk-filter-select {
    width: 100%;
  }

  .fk-single-sidebar {
    grid-template-columns: 1fr;
  }

  .fk-info-sidebar {
    grid-template-columns: 1fr;
  }

  .fk-infoartikel-grid {
    grid-template-columns: 1fr;
  }

  .fk-info-filters {
    gap: 6px;
  }

  .fk-info-filter-btn {
    padding: 7px 14px;
    font-size: 0.8125rem;
  }

  .fk-utility-bar__inner {
    padding: 0 12px;
  }

  .fk-target-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .fk-target-clear {
    padding: 4px 6px;
    font-size: 0.875rem;
  }

  .fk-quick-actions {
    flex-direction: column;
  }

  .fk-action-btn {
    width: 100%;
    justify-content: center;
  }

  .fk-hub-categories {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fk-hub-cat-card {
    padding: 16px 12px;
  }

  .fk-onboarding-modal {
    max-width: 100%;
    border-radius: var(--fk-radius-lg);
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .fk-hub-categories {
    grid-template-columns: 1fr;
  }

  .fk-emergency-number {
    font-size: 2.5rem;
  }
}

/* ========================================
   Homepage – Hero
   ======================================== */
.fk-homepage {
  overflow: hidden;
}

.fk-hero {
  background: linear-gradient(160deg, #347a36 0%, #2E7D32 25%, #1B5E20 60%, #145218 100%);
  color: var(--fk-white);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Organic wave shape at bottom of hero */
.fk-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--fk-white);
  z-index: 3;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Radial glow accents */
.fk-hero .fk-hero__inner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fk-hero .fk-hero__inner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.fk-hero .fk-hero__inner {
  position: relative;
}

.fk-hero__title {
  font-size: 2.75rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fk-hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.88;
  margin: 12px 0 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Hero search */
.fk-hero__search {
  margin: 36px auto 0;
  max-width: 580px;
  position: relative;
  z-index: 4;
}

.fk-hero__search-wrap {
  display: flex;
  align-items: center;
  background: var(--fk-white);
  border-radius: 60px;
  padding: 7px 7px 7px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.1);
  transition: box-shadow var(--fk-transition);
}

.fk-hero__search-wrap:focus-within {
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 0 0 3px rgba(46, 125, 50, 0.3);
}

.fk-hero__search-icon {
  flex-shrink: 0;
  color: var(--fk-gray-300);
}

.fk-hero__search-input {
  flex: 1;
  border: none;
  font-size: 1rem;
  font-family: var(--fk-font);
  padding: 12px 14px;
  background: transparent;
  color: var(--fk-dark);
  min-width: 0;
}

.fk-hero__search-input:focus {
  outline: 2px solid var(--fk-primary);
  outline-offset: -2px;
}

.fk-hero__search-input::placeholder {
  color: var(--fk-gray-300);
}

.fk-hero__search-btn {
  flex-shrink: 0;
  padding: 12px 28px;
  border: none;
  border-radius: 60px;
  background: var(--fk-primary);
  color: var(--fk-white);
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  cursor: pointer;
  transition: all var(--fk-transition);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
  letter-spacing: 0.01em;
}

.fk-hero__search-btn:hover {
  background: var(--fk-primary-dark);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
  transform: translateY(-1px);
}

/* Hero quick links */
.fk-hero__quicklinks {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

.fk-hero__quicklink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  color: var(--fk-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--fk-transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.fk-hero__quicklink:hover {
  background: rgba(255,255,255,0.22);
  color: var(--fk-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fk-hero__quicklink--emergency {
  background: rgba(211,47,47,0.55);
  border-color: rgba(211,47,47,0.3);
}

.fk-hero__quicklink--emergency:hover {
  background: rgba(211,47,47,0.75);
}

/* ========================================
   Homepage – Sections common
   ======================================== */
.fk-home-section {
  padding: 56px 0;
}

.fk-home-section__title {
  font-size: 1.625rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* ========================================
   Homepage – Category Grid
   ======================================== */
.fk-home-categories {
  background: var(--fk-white);
  position: relative;
}

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

.fk-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 18px 26px;
  background: var(--fk-bg-warm);
  border-radius: var(--fk-radius);
  text-decoration: none;
  color: var(--fk-dark);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.fk-cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--cat-color) 6%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fk-cat-tile:hover::before {
  opacity: 1;
}

.fk-cat-tile:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-5px);
  border-color: var(--cat-color);
  color: var(--fk-dark);
}

.fk-cat-tile__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--cat-color) 12%, transparent);
  color: var(--cat-color);
  transition: all var(--fk-transition);
  position: relative;
  z-index: 1;
}

.fk-cat-tile:hover .fk-cat-tile__icon {
  background: color-mix(in srgb, var(--cat-color) 18%, transparent);
  transform: scale(1.08);
}

.fk-cat-tile__icon svg {
  width: 28px;
  height: 28px;
}

.fk-cat-tile__name {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0;
  position: relative;
  z-index: 1;
}

.fk-cat-tile__count {
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
  margin-top: 6px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ========================================
   Homepage – Aktuelles
   ======================================== */
.fk-home-aktuelles {
  background: var(--fk-bg);
}

.fk-home-aktuelles__block {
  margin-bottom: 44px;
}

.fk-home-aktuelles__block:last-child {
  margin-bottom: 0;
}

/* Event cards */
.fk-event-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fk-event-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow);
  text-decoration: none;
  color: var(--fk-dark);
  transition: all var(--fk-transition);
  border: 1px solid rgba(232, 231, 226, 0.5);
}

.fk-event-card:hover {
  box-shadow: var(--fk-shadow-hover);
  transform: translateY(-3px);
  color: var(--fk-dark);
  border-color: transparent;
}

.fk-event-card__date {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--fk-teal), #0e7490);
  color: var(--fk-white);
  border-radius: var(--fk-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}

.fk-event-card__day {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
}

.fk-event-card__month {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

.fk-event-card__body {
  flex: 1;
  min-width: 0;
}

.fk-event-card__title {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fk-event-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--fk-gray-500);
}

.fk-event-card__time,
.fk-event-card__venue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fk-event-card__arrow {
  flex-shrink: 0;
  color: var(--fk-gray-300);
  transition: all var(--fk-transition);
}

.fk-event-card:hover .fk-event-card__arrow {
  color: var(--fk-primary);
  transform: translateX(4px);
}

/* ========================================
   Homepage – Emergency Quick Access
   ======================================== */
.fk-home-emergency {
  background: linear-gradient(135deg, #D32F2F 0%, #C62828 40%, #B71C1C 100%);
  color: var(--fk-white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.fk-home-emergency__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.fk-home-emergency__title {
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.fk-home-emergency__subtitle {
  opacity: 0.9;
  margin: 10px 0 0;
  font-size: 1.0625rem;
}

.fk-home-emergency__buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.fk-home-emergency__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  padding: 28px 20px;
  border-radius: var(--fk-radius-lg);
  text-decoration: none;
  color: var(--fk-white);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.fk-home-emergency__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.fk-home-emergency__btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  color: var(--fk-white);
}

.fk-home-emergency__btn--fire {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.1);
}

.fk-home-emergency__btn--police {
  background: rgba(21, 101, 192, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.fk-home-emergency__number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  position: relative;
  animation: fk-pulse-ring 3s ease-in-out infinite;
}

.fk-home-emergency__label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.9;
  position: relative;
}

.fk-home-emergency__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--fk-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.88;
  transition: all var(--fk-transition);
  padding: 8px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.fk-home-emergency__all:hover {
  opacity: 1;
  color: var(--fk-white);
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* ========================================
   Homepage – Map Preview
   ======================================== */
.fk-home-map {
  background: var(--fk-white);
}

.fk-home-map__wrap {
  border-radius: var(--fk-radius-lg);
  overflow: hidden;
  box-shadow: var(--fk-shadow-lg);
  border: 1px solid var(--fk-gray-200);
}

/* ========================================
   Homepage – Statistics
   ======================================== */
.fk-home-stats {
  background: var(--fk-bg);
  padding: 56px 0;
  text-align: center;
  position: relative;
}

.fk-home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.fk-home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  background: var(--fk-white);
  border-radius: var(--fk-radius);
  box-shadow: var(--fk-shadow);
  border: 1px solid rgba(232, 231, 226, 0.5);
  transition: all var(--fk-transition);
}

.fk-home-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--fk-shadow-hover);
}

.fk-home-stat__number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  color: var(--fk-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.fk-home-stat__label {
  font-size: 0.875rem;
  color: var(--fk-gray-500);
  margin-top: 8px;
  font-weight: 600;
}

.fk-home-stats__tagline {
  color: var(--fk-gray-500);
  font-size: 0.9375rem;
  margin: 0;
  font-style: italic;
}

/* ========================================
   Custom Footer
   ======================================== */
.fk-site-footer {
  background: linear-gradient(180deg, #1C2118 0%, #161a13 100%);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}

.fk-footer-main {
  padding: 56px 0 44px;
}

.fk-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.fk-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fk-white);
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin-bottom: 14px;
}

.fk-footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.65;
  margin: 0 0 16px;
}

.fk-footer-heading {
  color: var(--fk-white);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--fk-font-heading);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 10px;
}

.fk-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--fk-primary);
  border-radius: 1px;
}

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

.fk-footer-links li {
  margin-bottom: 10px;
}

.fk-footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--fk-transition);
  display: inline-block;
}

.fk-footer-links a:hover {
  color: var(--fk-white);
  transform: translateX(3px);
}

/* Footer bottom bar */
.fk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}

.fk-footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  opacity: 0.5;
}

/* ========================================
   Homepage + Footer – Responsive
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
  .fk-hero__title {
    font-size: 2.125rem;
  }

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

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

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

/* Mobile */
@media (max-width: 768px) {
  .fk-hero {
    padding: 48px 0 64px;
  }

  .fk-hero::after {
    height: 40px;
  }

  .fk-hero__title {
    font-size: 1.75rem;
  }

  .fk-hero__subtitle {
    font-size: 1rem;
  }

  .fk-hero__search-wrap {
    flex-wrap: wrap;
    border-radius: var(--fk-radius);
    padding: 10px;
  }

  .fk-hero__search-icon {
    display: none;
  }

  .fk-hero__search-input {
    width: 100%;
    padding: 10px;
  }

  .fk-hero__search-btn {
    width: 100%;
    border-radius: var(--fk-radius-sm);
  }

  .fk-hero__quicklinks {
    gap: 8px;
  }

  .fk-hero__quicklink {
    font-size: 0.8125rem;
    padding: 7px 14px;
  }

  .fk-home-section {
    padding: 36px 0;
  }

  .fk-home-section__title {
    font-size: 1.3125rem;
  }

  .fk-category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fk-cat-tile {
    padding: 22px 12px 18px;
  }

  .fk-cat-tile__icon {
    width: 48px;
    height: 48px;
  }

  .fk-cat-tile__icon svg {
    width: 22px;
    height: 22px;
  }

  .fk-cat-tile__name {
    font-size: 0.875rem;
  }

  .fk-home-emergency {
    padding: 36px 0;
  }

  .fk-home-emergency__title {
    font-size: 1.375rem;
  }

  .fk-home-emergency__buttons {
    gap: 14px;
  }

  .fk-home-emergency__btn {
    width: 140px;
    padding: 22px 14px;
  }

  .fk-home-emergency__number {
    font-size: 2.5rem;
  }

  .fk-home-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .fk-home-stat {
    padding: 20px 16px;
  }

  .fk-home-stat__number {
    font-size: 1.875rem;
  }

  .fk-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fk-footer-main {
    padding: 36px 0;
  }

  .fk-footer-bottom__inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .fk-event-card__title {
    white-space: normal;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .fk-hero__title {
    font-size: 1.5rem;
  }

  .fk-category-grid {
    grid-template-columns: 1fr;
  }

  .fk-home-emergency__buttons {
    flex-direction: column;
    align-items: center;
  }

  .fk-home-emergency__btn {
    width: 100%;
    max-width: 200px;
  }

  .fk-home-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

:focus-visible {
  outline: 3px solid var(--fk-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

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

  .fk-hero::after {
    display: none;
  }

  .fk-home-emergency__number {
    animation: none;
  }
}

/* ========================================
   404 Page
   ======================================== */
.fk-404-page {
  padding-bottom: 56px;
}

.fk-404-hero {
  background: linear-gradient(160deg, #347a36 0%, #2E7D32 25%, #1B5E20 60%, #145218 100%);
  color: var(--fk-white);
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fk-404-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--fk-bg);
  z-index: 3;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.fk-404-number {
  display: block;
  font-size: 7rem;
  font-weight: 900;
  font-family: var(--fk-font-heading);
  line-height: 1;
  opacity: 0.2;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.fk-404-title {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0;
}

.fk-404-text {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin: 12px auto 0;
  max-width: 500px;
}

.fk-404-search {
  margin-top: 32px;
}

.fk-404-categories {
  padding-top: 44px;
}

.fk-404-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0 0 20px;
  text-align: center;
}

.fk-404-quicklinks {
  padding-top: 32px;
  padding-bottom: 16px;
}

.fk-404-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================================
   Search Page
   ======================================== */
.fk-search-page {
  padding-bottom: 56px;
}

.fk-search-header {
  background: var(--fk-white);
  padding: 36px 0;
  border-bottom: 1px solid var(--fk-gray-200);
}

.fk-search-title {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0;
}

.fk-search-count {
  color: var(--fk-primary);
  font-weight: 700;
}

.fk-search-again {
  margin-top: 20px;
}

.fk-search-group {
  padding-top: 36px;
}

.fk-search-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.fk-search-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--fk-font-heading);
  margin: 0;
}

.fk-search-group__count {
  font-weight: 400;
  color: var(--fk-gray-500);
  font-size: 1rem;
}

.fk-search-empty {
  padding-top: 32px;
}

.fk-search-categories {
  padding-top: 40px;
}

/* ========================================
   Share Bar
   ======================================== */
.fk-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--fk-gray-200);
}

.fk-share-bar__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fk-gray-500);
  margin-right: 4px;
}

.fk-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 24px;
  border: 1px solid var(--fk-gray-200);
  background: var(--fk-white);
  color: var(--fk-gray-700);
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--fk-font);
  cursor: pointer;
  transition: all var(--fk-transition);
}

.fk-share-btn:hover {
  background: var(--fk-gray-100);
  border-color: var(--fk-gray-300);
  transform: translateY(-1px);
}

.fk-share-btn--whatsapp:hover {
  background: #E8F5E9;
  border-color: #25D366;
  color: #128C7E;
}

.fk-share-btn--email:hover {
  background: var(--fk-accent-light);
  border-color: var(--fk-accent);
  color: var(--fk-accent-dark);
}

.fk-share-btn--copied {
  background: var(--fk-primary-light) !important;
  border-color: var(--fk-primary) !important;
  color: var(--fk-primary) !important;
}

/* Print QR area (hidden on screen) */
.fk-print-qr {
  display: none;
}

@media (max-width: 768px) {
  .fk-404-number {
    font-size: 4.5rem;
  }

  .fk-404-title {
    font-size: 1.5rem;
  }

  .fk-404-links {
    flex-direction: column;
  }

  .fk-404-links .fk-action-btn {
    width: 100%;
    justify-content: center;
  }

  .fk-search-title {
    font-size: 1.25rem;
  }

  .fk-share-bar {
    gap: 6px;
  }

  .fk-share-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* ========================================
   Standard Page Layout
   ======================================== */
.ast-container {
  max-width: var(--fk-container, 1100px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ast-container .entry-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Entry content without container */
main > article {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

main > article .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

main > article .entry-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0 20px;
}

/* ========================================
   Header Layout
   ======================================== */
.ast-hfb-header {
  width: 100%;
}

.ast-header-break-point .site-header {
  width: 100%;
  max-width: 100%;
}

.ast-header-break-point .site-header .ast-container {
  max-width: var(--fk-container, 1100px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========================================
   Toast Notification
   ======================================== */
.fk-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--fk-dark);
  color: var(--fk-white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(28, 33, 24, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  max-width: 90%;
}

.fk-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ========================================
   Favorite Toggle Animation
   ======================================== */
.fk-favorite-toggle--animate {
  animation: fk-favoriteScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fk-favorite-toggle--animate svg {
  animation: fk-favoriteRotate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fk-favoriteScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fk-favoriteRotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
