/* ==========================================================================
   STIFTUNG KINDERHEIM BRUGG - JAHRESBERICHT 2025 SWISS EDITORIAL SYSTEM
   Official Print-to-Web System with Signature Color Bubbles & Swiss Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  /* Brand Swatches (Jahresbericht 2025 Source) */
  --skb-cyan: #0093d0;        /* Dachmarke Cyan */
  --skb-cyan-hover: #007bb3;
  --skb-orange: #f79028;      /* Kinderheim Brugg Orange */
  --skb-orange-hover: #e07d18;
  --skb-coral: #db4c42;       /* Stift Olsberg Coral */
  --skb-coral-hover: #c4382f;
  --skb-emerald: #10b981;     /* Familynetwork Emerald */
  --skb-emerald-hover: #059669;

  /* Swiss Neutrals */
  --skb-black: #111418;       /* Swiss Grotesk Charcoal Headlines */
  --skb-dark: #2d3137;        /* Primary Body Text */
  --skb-grey: #636b75;        /* Captions & Subtitles */
  --skb-light-grey: #f4f5f8;  /* Soft Canvas Surface */
  --skb-paper: #ffffff;       /* Pure White Paper Cards */

  --skb-border: rgba(0, 0, 0, 0.08);
  --skb-border-subtle: rgba(0, 0, 0, 0.04);
  
  /* Typography Stack (Tangent-Black -> Outfit, Helvetica -> Inter) */
  --font-heading: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.8rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4.5rem;

  /* Radii & Elevation */
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow-floating: 0 20px 45px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--skb-light-grey);
  color: var(--skb-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--skb-black);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
}

/* ==========================================================================
   Signature Solid Vector Circle Engine (Jahresbericht Print Motif)
   ========================================================================== */
.bubble-composition {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble-shape {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.35;
  filter: blur(2px);
  will-change: transform;
}

.bubble-cyan { background-color: var(--skb-cyan); }
.bubble-orange { background-color: var(--skb-orange); }
.bubble-coral { background-color: var(--skb-coral); }
.bubble-emerald { background-color: var(--skb-emerald); }

.bubble-hero-1 {
  width: 440px;
  height: 440px;
  top: -120px;
  right: -80px;
  animation: floatSlow1 22s ease-in-out infinite alternate;
}

.bubble-hero-2 {
  width: 320px;
  height: 320px;
  top: 160px;
  right: -60px;
  animation: floatSlow2 28s ease-in-out infinite alternate;
}

.bubble-hero-3 {
  width: 300px;
  height: 300px;
  bottom: -90px;
  left: -90px;
  animation: floatSlow3 25s ease-in-out infinite alternate;
}

.bubble-hero-4 {
  width: 200px;
  height: 200px;
  top: -100px;
  left: -60px;
  opacity: 0.15;
  animation: floatSlow4 32s ease-in-out infinite alternate;
}

.bubble-hero-5 {
  width: 260px;
  height: 260px;
  bottom: 20px;
  right: 12%;
  animation: floatSlow1 26s ease-in-out infinite alternate-reverse;
}

.bubble-hero-6 {
  width: 180px;
  height: 180px;
  bottom: 60px;
  left: -40px;
  opacity: 0.15;
  animation: floatSlow2 20s ease-in-out infinite alternate-reverse;
}

.bubble-hero-7 {
  width: 160px;
  height: 160px;
  top: -80px;
  right: 48%;
  opacity: 0.15;
  animation: floatSlow3 35s ease-in-out infinite alternate;
}

/* Dynamic Slow Floating Keyframes */
@keyframes floatSlow1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-35px, 45px) scale(1.08) rotate(10deg);
  }
  100% {
    transform: translate(30px, -25px) scale(0.95) rotate(-8deg);
  }
}

@keyframes floatSlow2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(40px, -30px) scale(0.92) rotate(-12deg);
  }
  100% {
    transform: translate(-25px, 35px) scale(1.05) rotate(6deg);
  }
}

@keyframes floatSlow3 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-30px, -40px) scale(1.1) rotate(15deg);
  }
  100% {
    transform: translate(35px, 30px) scale(0.96) rotate(-10deg);
  }
}

@keyframes floatSlow4 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(30px, 35px) scale(0.94) rotate(-6deg);
  }
  100% {
    transform: translate(-40px, -20px) scale(1.07) rotate(8deg);
  }
}

/* Section Level Floating Bubbles */
.editorial-section,
.editorial-section.alt {
  position: relative;
  overflow: hidden;
}

.bubble-composition-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble-composition-section ~ .container,
.bubble-composition-section ~ div {
  position: relative;
  z-index: 1;
}

.bubble-section-1 {
  width: 340px;
  height: 340px;
  top: -80px;
  right: -60px;
  opacity: 0.16;
  animation: floatSlow1 24s ease-in-out infinite alternate;
}

.bubble-section-2 {
  width: 290px;
  height: 290px;
  bottom: -60px;
  left: -50px;
  opacity: 0.16;
  animation: floatSlow3 29s ease-in-out infinite alternate;
}

.bubble-section-3 {
  width: 220px;
  height: 220px;
  top: 35%;
  right: 5%;
  opacity: 0.14;
  animation: floatSlow2 32s ease-in-out infinite alternate-reverse;
}

/* Sub-Brand Pill Badge Motif */
.bubble-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: var(--skb-paper);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--skb-black);
  margin-bottom: 1.2rem;
  border: 1px solid var(--skb-border);
}

.bubble-badge-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--skb-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.swiss-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 139, 203, 0.08);
  color: var(--skb-cyan);
  border: 1px solid rgba(0, 139, 203, 0.22);
  box-shadow: 0 2px 8px rgba(0, 139, 203, 0.06);
  margin-bottom: 1.2rem;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Header & Sub-Brand Navigation
   ========================================================================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--skb-paper);
  border-bottom: 1px solid var(--skb-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-claim-bar {
  background: linear-gradient(90deg, #008bcb 0%, #f28e14 50%, #d94137 100%);
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.header-claim-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo-part img {
  height: 42px;
  width: auto;
  border-radius: 0 !important;
}

/* Logos: eckig ohne abgerundete Ecken */
.editorial-card-header img,
.logo-nav img,
img[src*="logo"],
img[src*="logoteil"] {
  border-radius: 0 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links > a:not(.btn),
.nav-links > .nav-item-dropdown > a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--skb-black);
  padding: 0.5rem 0;
}

.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn).active,
.nav-links > .nav-item-dropdown > a:hover,
.nav-links > .nav-item-dropdown.active > a {
  color: var(--skb-cyan);
}

/* Dropdown Menu - High End Clean Layout */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: -0.5rem;
  min-width: 270px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  padding: 0.4rem;
  z-index: 1000;
  animation: dropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block !important;
  padding: 0.6rem 0.9rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.dropdown-menu a:hover {
  background: #f1f5f9 !important;
  color: var(--skb-cyan) !important;
  padding-left: 1.1rem !important;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--skb-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-cyan {
  background: var(--skb-cyan);
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 147, 208, 0.22);
}

.btn-cyan:hover {
  background: var(--skb-cyan-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 147, 208, 0.32);
}

.btn-orange {
  background: var(--skb-orange);
  color: var(--skb-black);
  box-shadow: 0 8px 25px rgba(247, 144, 40, 0.22);
}

.btn-orange:hover {
  background: var(--skb-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(247, 144, 40, 0.32);
}

.btn-coral {
  background: var(--skb-coral);
  color: var(--skb-paper);
  box-shadow: 0 8px 25px rgba(219, 76, 66, 0.22);
}

.btn-coral:hover {
  background: var(--skb-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(219, 76, 66, 0.32);
}

.btn-emerald {
  background: var(--skb-emerald);
  color: var(--skb-paper);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.22);
}

.btn-emerald:hover {
  background: var(--skb-emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.32);
}

.btn-outline {
  background: var(--skb-paper);
  color: var(--skb-black);
  border: 1px solid var(--skb-border);
  box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
  border-color: var(--skb-black);
  transform: translateY(-2px);
}

/* ==========================================================================
   Breadcrumb Navigation (Clean, Reset Bullets)
   ========================================================================== */
.breadcrumb-wrapper {
  background: var(--skb-paper);
  border-bottom: 1px solid var(--skb-border);
  padding: 0.8rem 0;
}

.breadcrumb {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--skb-grey);
}

.breadcrumb li {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.breadcrumb a {
  color: var(--skb-black);
}

.breadcrumb a:hover {
  color: var(--skb-cyan);
}

.breadcrumb-sep {
  color: var(--skb-grey);
  opacity: 0.4;
  margin: 0 0.2rem;
}

/* ==========================================================================
   Hero & Page Headers (Fullscreen Layout)
   ========================================================================== */
.hero-editorial {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100dvh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  background: var(--skb-paper);
  border-bottom: 1px solid var(--skb-border);
  overflow: hidden;
}

.hero-editorial .container {
  width: 92%;
  max-width: 1380px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-editorial h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--skb-black);
  margin-bottom: 1.5rem;
}

.hero-editorial .lead {
  font-size: 1.2rem;
  color: var(--skb-grey);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* Hero Sub-Brand Pills (Instant Sub-Brand Nav) */
.hero-subbrand-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 2rem;
}

.hero-subbrand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid var(--skb-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  color: var(--skb-black);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subbrand-pill .subbrand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-subbrand-pill.cyan .subbrand-dot { background: #008bcb; }
.hero-subbrand-pill.cyan:hover {
  border-color: #008bcb;
  color: #008bcb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 139, 203, 0.18);
}

.hero-subbrand-pill.orange .subbrand-dot { background: #f28e14; }
.hero-subbrand-pill.orange:hover {
  border-color: #f28e14;
  color: #f28e14;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 142, 20, 0.18);
}

.hero-subbrand-pill.coral .subbrand-dot { background: #d94137; }
.hero-subbrand-pill.coral:hover {
  border-color: #d94137;
  color: #d94137;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 65, 55, 0.18);
}



/* Quote Avatar Image Frame */
.quote-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  background: #f1f5f9;
}

.quote-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

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

.hero-photo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.bubble-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
}

.bubble-image-frame img,
.bubble-image-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.editorial-quote-tag {
  background: var(--skb-paper);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--skb-black);
  border: 1px solid var(--skb-border);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.editorial-quote-tag .quote-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px dashed #008bcb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #008bcb;
  position: relative;
  transition: all 0.2s ease;
}

.editorial-quote-tag .quote-avatar-placeholder .photo-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 2px;
}

.editorial-quote-tag .quote-avatar-placeholder:hover {
  background: #e0f2fe;
  transform: scale(1.04);
}

.page-editorial-header {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-lg) 0;
  background: var(--skb-paper);
  border-bottom: 1px solid var(--skb-border);
}

.page-header-bubble-1 {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -60px;
  animation: floatSlow1 22s ease-in-out infinite alternate;
}

.page-header-bubble-2 {
  width: 220px;
  height: 220px;
  bottom: -80px;
  right: 200px;
  animation: floatSlow2 26s ease-in-out infinite alternate-reverse;
}

.page-header-bubble-3 {
  width: 180px;
  height: 180px;
  top: -60px;
  left: -40px;
  opacity: 0.2;
  animation: floatSlow3 24s ease-in-out infinite alternate;
}

.page-editorial-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
}

.page-editorial-header .lead {
  font-size: 1.15rem;
  color: var(--skb-grey);
  max-width: 800px;
}

/* ==========================================================================
   Editorial Sections & Cards
   ========================================================================== */
.editorial-section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.editorial-section.alt {
  background: var(--skb-light-grey);
}

/* Timeline Milestone Card Hover Effects */
.timeline-milestone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09) !important;
  border-color: #cbd5e1 !important;
}

/* Map Banner Background Section (Vollflächig) */
.map-banner-section {
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
  border-top: 1px solid var(--skb-border);
  border-bottom: 1px solid var(--skb-border);
}

.map-bg-watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.map-bg-watermark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-title-wrapper {
  margin-bottom: var(--spacing-lg);
}

.section-title-wrapper h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

/* Offers Grid: Fixed column width regardless of visible card count (1, 2 or 3 cards) */
#offersGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 640px) {
  #offersGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  #offersGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Google Material Icons */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* Premium Google Icon Badge */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-badge.cyan {
  background: rgba(0, 147, 208, 0.12);
  color: var(--skb-cyan);
}

.icon-badge.orange {
  background: rgba(247, 144, 40, 0.14);
  color: var(--skb-orange-hover);
}

.icon-badge.coral {
  background: rgba(219, 76, 66, 0.12);
  color: var(--skb-coral);
}

.icon-badge.emerald {
  background: rgba(16, 185, 129, 0.14);
  color: var(--skb-emerald-hover);
}

.editorial-card:hover .icon-badge {
  transform: scale(1.08);
}

/* Clean Editorial Cards (Natural Equal Height in Grid Rows) */
.editorial-card,
.offer-card {
  background: var(--skb-paper);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--skb-border);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card > div:first-child,
.offer-card > div:first-child {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.editorial-card-header {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--skb-border);
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.editorial-card-header.cyan {
  background: #008bcb !important;
  border-bottom: 1px solid #0077af !important;
}

.editorial-card-header.orange {
  background: #f28e14 !important;
  border-bottom: 1px solid #d97b0b !important;
}

.editorial-card-header.coral {
  background: #d94137 !important;
  border-bottom: 1px solid #c2332a !important;
}

.editorial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.editorial-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.editorial-card p {
  color: var(--skb-dark);
  font-size: 1rem;
  line-height: 1.6;
}

.editorial-card-meta {
  margin-top: auto; /* Aligns meta section to bottom of card content */
  padding-top: 1rem;
  border-top: 1px solid var(--skb-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--skb-grey);
}

/* Filter Chips & Tabs: Force Single Line Layout */
.editorial-tabs,
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3rem, 0.5vw, 0.7rem);
  flex-wrap: nowrap !important; /* All menu items on ONE single line */
  overflow-x: auto;
  max-width: 100%;
  padding: 0.4rem 0.2rem;
  margin-bottom: 2rem;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
}

.editorial-tabs::-webkit-scrollbar,
.filter-bar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.filter-chip {
  padding: 0.55rem clamp(0.6rem, 0.9vw, 1.2rem);
  border-radius: var(--radius-full);
  background: var(--skb-paper);
  border: 1.5px solid var(--skb-border);
  font-family: var(--font-heading);
  font-size: clamp(0.76rem, 0.82vw, 0.88rem);
  font-weight: 700;
  color: var(--skb-black);
  cursor: pointer;
  white-space: nowrap !important; /* Prevent text inside chip from wrapping */
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-chip::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.filter-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* 1. Alle 3 Institutionen (Drei-Farben-Verlauf: Cyan + Orange + Coral) */
.filter-chip[data-filter="all"]::before {
  background: linear-gradient(135deg, #008bcb, #f28e14, #d94137);
}
.filter-chip[data-filter="all"].active {
  background: linear-gradient(135deg, #008bcb 0%, #f28e14 50%, #d94137 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(0, 139, 203, 0.35) !important;
}

/* 2. Stationäres Wohnen (Brugg Cyan + Olsberg Orange) */
.filter-chip[data-filter="stationaer"]::before {
  background: linear-gradient(135deg, #008bcb, #f28e14);
}
.filter-chip[data-filter="stationaer"].active {
  background: linear-gradient(135deg, #008bcb 0%, #f28e14 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(242, 142, 20, 0.35) !important;
}

/* 3. Notfallplatzierung 24/7 (Brugg Cyan + Familynetwork Coral) */
.filter-chip[data-filter="notfall"]::before {
  background: linear-gradient(135deg, #008bcb, #d94137);
}
.filter-chip[data-filter="notfall"].active {
  background: linear-gradient(135deg, #008bcb 0%, #d94137 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(217, 65, 55, 0.35) !important;
}

/* 4. Tagessonderschulen (Brugg Cyan + Olsberg Orange) */
.filter-chip[data-filter="schule"]::before {
  background: linear-gradient(135deg, #008bcb, #f28e14);
}
.filter-chip[data-filter="schule"].active {
  background: linear-gradient(135deg, #008bcb 0%, #f28e14 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(0, 139, 203, 0.35) !important;
}

/* 5. Pflegefamilien (Exklusiv Familynetwork Coral) */
.filter-chip[data-filter="pflegefamilie"]::before {
  background: #d94137;
}
.filter-chip[data-filter="pflegefamilie"].active {
  background: #d94137 !important;
  color: #ffffff !important;
  border-color: #d94137 !important;
  box-shadow: 0 6px 20px rgba(217, 65, 55, 0.35) !important;
}

/* 6. Ambulant SPF / AFAB (Exklusiv Familynetwork Coral) */
.filter-chip[data-filter="ambulant"]::before {
  background: #d94137;
}
.filter-chip[data-filter="ambulant"].active {
  background: #d94137 !important;
  color: #ffffff !important;
  border-color: #d94137 !important;
  box-shadow: 0 6px 20px rgba(217, 65, 55, 0.35) !important;
}

.filter-chip.active::before {
  background: #ffffff !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Timeline Cards */
.bubble-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

/* Swiss History Vertical Timeline Component */
/* Swiss History Vertical Timeline Component */
.swiss-timeline {
  position: relative;
  padding-left: 4rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.swiss-timeline::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 15px;
  bottom: 15px;
  width: 4px;
  background: linear-gradient(180deg, #008bcb 0%, #f28e14 40%, #d94137 75%, #10b981 100%);
  border-radius: 4px;
  z-index: 1;
}

.swiss-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.swiss-timeline-node {
  position: absolute;
  left: -4rem;
  top: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--skb-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  z-index: 2;
  margin-left: 23px;
  transform: translateX(-50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiss-timeline-node.cyan {
  border-color: #008bcb;
  color: #008bcb;
}

.swiss-timeline-node.orange {
  border-color: #f28e14;
  color: #f28e14;
}

.swiss-timeline-node.coral {
  border-color: #d94137;
  color: #d94137;
}

.swiss-timeline-node.emerald {
  border-color: #10b981;
  color: #10b981;
}

.swiss-timeline-node .material-symbols-outlined {
  font-size: 1.25rem;
  font-weight: 700;
}

.swiss-timeline-item:hover .swiss-timeline-node {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.swiss-timeline-card {
  background: #ffffff;
  border: 1px solid var(--skb-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiss-timeline-item:hover .swiss-timeline-card {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.swiss-timeline-card .year-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.swiss-timeline-card .year-badge.cyan {
  background: rgba(0, 139, 203, 0.1);
  color: #008bcb;
}

.swiss-timeline-card .year-badge.orange {
  background: rgba(242, 142, 20, 0.12);
  color: #f28e14;
}

.swiss-timeline-card .year-badge.coral {
  background: rgba(217, 65, 55, 0.1);
  color: #d94137;
}

.swiss-timeline-card .year-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.swiss-timeline-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--skb-black);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.swiss-timeline-card p {
  color: var(--skb-dark);
  line-height: 1.65;
  font-size: 1.02rem;
  margin: 0;
}

.bubble-timeline-item {
  background: var(--skb-paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--skb-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bubble-timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.bubble-timeline-node {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--skb-paper);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Quote Card */
.bubble-quote-card {
  background: var(--skb-paper);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--skb-border);
}

.bubble-quote-card blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--skb-black);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.bubble-quote-author {
  font-size: 0.95rem;
  color: var(--skb-grey);
  font-weight: 700;
}

/* Sidebar & Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
  align-items: start;
}

.sidebar-nav {
  background: var(--skb-paper);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--skb-border);
  position: sticky;
  top: 100px;
}

.sidebar-nav h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--skb-cyan);
}

.sidebar-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sidebar-nav a {
  display: block;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--skb-black);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--skb-light-grey);
  color: var(--skb-cyan);
}

/* Data Tables */
/* Modern Swiss Data Table */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--skb-border);
  font-size: 0.93rem;
  background: #ffffff;
}

.data-table th {
  background: #f8fafc;
  color: var(--skb-black);
  font-family: var(--font-heading);
  font-weight: 800;
  text-align: left;
  padding: 1.1rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  border-bottom: 2px solid var(--skb-border);
}

.data-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--skb-border);
  color: var(--skb-dark);
  background: #ffffff;
  vertical-align: middle;
  transition: background 0.2s ease;
}

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

.data-table tr:hover td {
  background: #f1f5f9 !important;
}

.data-table tr:nth-child(even) td {
  background: #fafafa;
}

a[href^="tel:"] {
  white-space: nowrap;
}

/* Table Tag Badges */
.table-inst-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.table-inst-tag.cyan {
  background: rgba(0, 139, 203, 0.1);
  color: #008bcb;
  border: 1px solid rgba(0, 139, 203, 0.2);
}

.table-inst-tag.orange {
  background: rgba(242, 142, 20, 0.12);
  color: #f28e14;
  border: 1px solid rgba(242, 142, 20, 0.25);
}

.table-inst-tag.coral {
  background: rgba(217, 65, 55, 0.1);
  color: #d94137;
  border: 1px solid rgba(217, 65, 55, 0.2);
}

/* Staff Cards: Max 2 cards side-by-side */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin: 2rem 0;
}

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

.staff-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--skb-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
}

.staff-card-img-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border: 3px solid #ffffff;
  background: #f1f5f9;
  flex-shrink: 0;
}

.staff-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.staff-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--skb-black);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.staff-card .role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--skb-cyan);
  background: rgba(0, 139, 203, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.staff-card p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--skb-dark);
  word-break: break-all;
  overflow-wrap: anywhere;
}

.staff-card .contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
}

.staff-card .contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--skb-dark);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: anywhere;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--skb-border);
  transition: all 0.2s ease;
}

.staff-card .contact-item:hover {
  background: rgba(0, 139, 203, 0.08);
  border-color: var(--skb-cyan);
  color: var(--skb-cyan);
}

/* Footer Specific Dynamic Bubbles */
.bubble-footer-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -50px;
  opacity: 0.18;
  animation: floatSlow1 22s ease-in-out infinite alternate;
}

.bubble-footer-2 {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: -40px;
  opacity: 0.18;
  animation: floatSlow3 28s ease-in-out infinite alternate;
}

.bubble-footer-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 20%;
  opacity: 0.12;
  animation: floatSlow4 30s ease-in-out infinite alternate-reverse;
}

.bubble-footer-bg-1 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  right: -80px;
  opacity: 0.15;
  animation: floatSlow2 26s ease-in-out infinite alternate;
}

.bubble-footer-bg-2 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -70px;
  opacity: 0.15;
  animation: floatSlow1 24s ease-in-out infinite alternate-reverse;
}

.bubble-footer-bg-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 25%;
  opacity: 0.12;
  animation: floatSlow3 32s ease-in-out infinite alternate;
}

/* Footer */
footer {
  background: #f8fafc;
  color: var(--skb-dark);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--skb-border);
}

.footer-cta-box {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--skb-border);
  border-radius: 20px;
  padding: 3.2rem 2.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.footer-cta-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--skb-black);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.footer-cta-box p {
  color: var(--skb-grey);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

.footer-cta-box .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.footer-cta-box .btn {
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-cta-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}

/* Emergency Callout Banner */
.emergency-banner-box {
  background: linear-gradient(135deg, rgba(242, 142, 20, 0.08) 0%, rgba(217, 65, 55, 0.05) 100%);
  border: 2px solid #f28e14;
  border-radius: 16px;
  padding: 2.2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(242, 142, 20, 0.1);
  position: relative;
  overflow: hidden;
}

.emergency-banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.emergency-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #f28e14;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.emergency-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  background: #f28e14;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(242, 142, 20, 0.25);
  transition: all 0.25s ease;
  margin-top: 1.2rem;
}

.emergency-call-btn:hover {
  background: #e07d06;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(242, 142, 20, 0.35);
}

/* Contact Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--skb-border);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 139, 203, 0.1);
  color: var(--skb-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.88rem;
  color: var(--skb-grey);
}

.footer-bottom a {
  color: var(--skb-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-editorial {
    min-height: auto;
    padding: 4rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-nav {
    position: static;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background: var(--skb-paper);
    flex-direction: column;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--skb-border);
  }
  .nav-links.is-open {
    display: flex;
  }
}

/* Job Board & Offer Cards */
.jobs-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.job-posting-card {
  background: #ffffff;
  border: 1px solid var(--skb-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.job-posting-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--skb-cyan);
}

.job-posting-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--skb-black);
  margin-bottom: 0.4rem;
}

.job-meta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.job-tag.khb { background: rgba(0, 139, 203, 0.1); color: #008bcb; }
.job-tag.olsberg { background: rgba(242, 142, 20, 0.12); color: #f28e14; }
.job-tag.family { background: rgba(217, 65, 55, 0.1); color: #d94137; }

.job-apply-btn {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--skb-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   FULLSCREEN SITEMAP OVERLAY
   ========================================================================== */

.sitemap-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--skb-light-grey);
  border: 1px solid var(--skb-border);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--skb-dark);
  flex-shrink: 0;
}

.sitemap-trigger:hover {
  background: var(--skb-cyan);
  color: #fff;
  border-color: var(--skb-cyan);
  box-shadow: 0 4px 14px rgba(0, 147, 208, 0.25);
}

.sitemap-trigger .material-symbols-outlined {
  font-size: 22px;
}

/* Overlay Backdrop */
.sitemap-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(17, 20, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sitemap-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Overlay Panel */
.sitemap-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(1200px, 90vw);
  max-height: 85vh;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18), 0 8px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.sitemap-overlay.is-open .sitemap-panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Panel Header */
.sitemap-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--skb-border);
}

.sitemap-panel-header h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--skb-black);
  margin: 0;
}

.sitemap-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--skb-light-grey);
  border: 1px solid var(--skb-border);
  cursor: pointer;
  color: var(--skb-grey);
  transition: all 0.2s ease;
}

.sitemap-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Panel Body - Grid */
.sitemap-panel-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(85vh - 70px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Category Column */
.sitemap-category {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sitemap-category-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sitemap-category-label .material-symbols-outlined {
  font-size: 16px;
}

.sitemap-category-label.label-cyan {
  background: rgba(0, 147, 208, 0.1);
  color: #0077aa;
}
.sitemap-category-label.label-orange {
  background: rgba(242, 142, 20, 0.1);
  color: #c06a0a;
}
.sitemap-category-label.label-coral {
  background: rgba(217, 65, 55, 0.1);
  color: #b33428;
}
.sitemap-category-label.label-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}
.sitemap-category-label.label-grey {
  background: var(--skb-light-grey);
  color: var(--skb-grey);
}

.sitemap-category a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--skb-dark);
  border-radius: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.35;
}

.sitemap-category a:hover {
  background: var(--skb-light-grey);
  color: var(--skb-cyan);
  padding-left: 1rem;
}

.sitemap-category a .material-symbols-outlined {
  font-size: 18px;
  color: var(--skb-grey);
  flex-shrink: 0;
}

.sitemap-category a:hover .material-symbols-outlined {
  color: var(--skb-cyan);
}

.sitemap-divider {
  height: 1px;
  background: var(--skb-border);
  margin: 0.3rem 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .sitemap-panel-body {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .sitemap-panel-body {
    grid-template-columns: 1fr;
  }
  .sitemap-panel {
    width: 95vw;
    max-height: 90vh;
    border-radius: 16px;
  }
}
