/* ============================================================
   ProBusiness Homepage – Custom Styles
   ============================================================ */

:root {
  --primary:     #d63820;
  --primary-dark:#b02e18;
  --secondary:   #e85d42;
  --accent:      #2c7a3e;
  --dark:        #0f172a;
  --dark2:       #1e293b;
  --light:       #f8fafc;
  --gray:        #64748b;
  --border:      #e2e8f0;
  --card-shadow: 0 4px 24px rgba(0,0,0,.08);
  --trans:       all .35s cubic-bezier(.4,0,.2,1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ---- Loader ---- */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s, visibility .6s;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-logo {
  animation: pulse 1s ease-in-out infinite alternate;
}
.loader-logo img {
  width: 120px; height: auto; display: block;
}
.loader-bar {
  position: absolute; bottom: 0; left: 0;
  height: 4px; background: var(--primary);
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { from { width: 0; } to { width: 100%; } }
@keyframes pulse { from { opacity: .5; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* ---- Navbar ---- */
#mainNav {
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(12px);
  transition: var(--trans);
  padding: .75rem 0;
  top: 76px; /* sits below sticky ticker bar (76px) */
}
#mainNav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
  padding: .5rem 0;
}
#mainNav .navbar-brand {
  font-size: 1.5rem; font-weight: 900;
  color: white !important;
  letter-spacing: -.5px;
}
#mainNav .navbar-brand span { color: var(--secondary); }
#mainNav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500; padding: .5rem .9rem !important;
  border-radius: 6px; transition: var(--trans);
  font-size: .95rem;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: white !important; background: rgba(255,255,255,.1); }
#mainNav .dropdown-menu {
  background: white; border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  border-radius: 12px; padding: .75rem;
  min-width: 220px;
}
#mainNav .dropdown-item {
  border-radius: 8px; padding: .6rem 1rem;
  font-weight: 500; color: var(--dark2);
  transition: var(--trans);
}
#mainNav .dropdown-item:hover {
  background: var(--light); color: var(--primary);
  padding-left: 1.3rem;
}
#mainNav .dropdown-item i { width: 20px; color: var(--primary); }
.nav-cta {
  background: var(--secondary) !important;
  color: white !important; border-radius: 8px !important;
  padding: .5rem 1.2rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #e55a26 !important; transform: translateY(-1px); }

/* ---- Ticker ---- */
#ticker-bar {
  background: var(--primary);
  color: white; overflow: hidden; padding: 0;
  height: 76px; display: flex; align-items: center;
  position: sticky; top: 0; z-index: 1041; width: 100%;
}
.ticker-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-size: 1rem; font-weight: 500;
}
.ticker-inner span { padding: 0 2rem; }
.ticker-inner span::after { content: ' ·'; opacity: .55; margin-left: 2rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
#ticker-bar:hover .ticker-inner { animation-play-state: paused; }

/* ---- Hero Slider ---- */
#heroSlider { position: relative; overflow: hidden; height: 90vh; min-height: 600px; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease, transform 10s ease;
  transform: scale(1.05);
}
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.75) 0%, rgba(15,23,42,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center; height: 100%;
  padding: 2rem 0;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; color: white;
  line-height: 1.15; margin-bottom: 1.25rem;
  animation: slideUp .8s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.9); max-width: 640px;
  line-height: 1.7; margin-bottom: 2rem;
  animation: slideUp .8s .2s ease both;
}
.hero-btns { animation: slideUp .8s .4s ease both; }
.hero-btns .btn { margin: .25rem; padding: .8rem 2rem; font-weight: 600; border-radius: 50px; }

/* ---- Hero Benefits ---- */
.hero-benefits {
  display: flex; flex-direction: column; align-items: flex-start; gap: .65rem;
}
.hero-benefit-item {
  display: inline-flex; align-items: center; gap: .65rem;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  border-left: 4px solid #ef4444;
  border-top: 1px solid rgba(255,255,255,.15);
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: .65rem 1.4rem .65rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.hero-benefit-item i { color: #ef4444; font-size: 1.1rem; flex-shrink: 0; }
.hero-benefit-item.show {
  opacity: 1;
  transform: translateX(0);
}
.btn-primary-hero {
  background: var(--primary); color: white; border: 2px solid var(--primary);
}
.btn-primary-hero:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-hero {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-hero:hover { background: rgba(255,255,255,.15); color: white; }

/* Hero Slider Controls */
.hero-controls { position: absolute; bottom: 2rem; right: 2rem; z-index: 10; display: flex; gap: .5rem; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--trans);
  padding: 0;
}
.hero-dot.active { background: white; transform: scale(1.3); }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 100%; pointer-events: none; }
.hero-arrow {
  position: absolute; pointer-events: all;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary);
  border: 2px solid rgba(255,255,255,.5); color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--trans); font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.hero-arrow:hover { background: var(--secondary); transform: scale(1.1); }
.hero-arrow.prev { left: 1.5rem; }
.hero-arrow.next { right: 1.5rem; }
.hero-progress {
  position: absolute; bottom: 0; left: 0; z-index: 10;
  height: 4px; background: var(--secondary);
  animation: progressBar 9s linear infinite;
  transform-origin: left;
}
@keyframes progressBar { from { width: 0; } to { width: 100%; } }

/* ---- Mopp-Master Banner ---- */
#mopp-banner {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
#mopp-banner.show {
  opacity: 1;
  pointer-events: all;
}
#mopp-banner-inner {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 60%, #4ade80 100%);
  border: 4px solid #86efac;
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 720px;
  width: 90%;
  box-shadow: 0 0 0 6px rgba(134,239,172,.25), 0 30px 80px rgba(0,0,0,.7);
  transform: scale(.8);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
#mopp-banner.show #mopp-banner-inner {
  transform: scale(1);
}
.mopp-label {
  display: inline-block;
  background: #15803d;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1.4rem;
  border-radius: 2rem;
  margin-bottom: 1.1rem;
  animation: mopp-pulse 1.2s ease-in-out infinite;
}
@keyframes mopp-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(134,239,172,.7); }
  50%      { box-shadow: 0 0 0 12px rgba(134,239,172,0); }
}
.mopp-title {
  color: #bbf7d0;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .6rem;
}
.mopp-name {
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 0 30px rgba(134,239,172,.9);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.mopp-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #15803d;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: .75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.mopp-cta:hover { background: #14532d; transform: scale(1.05); color: #fff; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--dark); color: white; }
.section-primary { background: var(--primary); color: white; }
.section-light { background: var(--light); }
.section-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: white;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800; line-height: 1.2; margin-bottom: .75rem;
}
.section-subtitle {
  color: var(--gray); font-size: 1.1rem;
  margin-bottom: 3rem; max-width: 600px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }

/* ---- Feature Cards ---- */
.feature-card {
  background: white; border-radius: 16px;
  padding: 2rem; text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--trans);
  border: 1px solid var(--border);
  height: 100%;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.feature-icon {
  width: 70px; height: 70px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}
.feature-card h4 { font-weight: 700; font-size: 1.15rem; margin-bottom: .75rem; }
.feature-card p { color: var(--gray); margin: 0; line-height: 1.7; }

/* ---- Stats ---- */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 4rem 0;
}
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900; color: white; line-height: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-suffix { color: var(--secondary); font-size: 1.5em; font-weight: 900; }
.stat-label { color: rgba(255,255,255,.7); font-size: 1rem; margin-top: .5rem; font-weight: 500; }
.stat-icon { font-size: 2rem; color: var(--secondary); margin-bottom: .75rem; }

/* ---- Service Cards ---- */
.service-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--card-shadow); transition: var(--trans);
  background: white; height: 100%;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.service-card-img { position: relative; overflow: hidden; height: 220px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--primary); color: white;
  padding: .3rem .9rem; border-radius: 50px; font-size: .8rem; font-weight: 600;
}
.service-card-body { padding: 1.75rem; }
.service-card-body h4 { font-weight: 700; font-size: 1.15rem; margin-bottom: .75rem; }
.service-card-body p { color: var(--gray); margin-bottom: 1.25rem; line-height: 1.7; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: white; border-radius: 16px;
  padding: 2rem; box-shadow: var(--card-shadow);
  border: 1px solid var(--border); height: 100%;
  transition: var(--trans);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-quote { font-size: 3rem; color: var(--primary); line-height: 1; margin-bottom: .5rem; }
.testimonial-text { color: var(--gray); line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: .95rem; }
.testimonial-pos { font-size: .85rem; color: var(--gray); }
.stars { color: #f59e0b; font-size: .9rem; margin-bottom: .5rem; }

/* ---- Kunden Laufband ---- */
.kunden-laufband-wrap {
  overflow: hidden;
  background: #eff6ff;
  border-radius: 1rem;
  padding: .75rem 0;
  border: 2px solid #bfdbfe;
}
.kunden-laufband {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: kundenScroll 28s linear infinite;
}
.kunden-laufband:hover { animation-play-state: paused; }
@keyframes kundenScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.kunden-item {
  display: inline-flex;
  align-items: center;
  background: #1d4ed8;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: .55rem 1.4rem;
  border-radius: 2rem;
  white-space: nowrap;
  letter-spacing: .02em;
}

/* ---- Client Logos ---- */
.logo-slider-wrap { overflow: hidden; }
.logo-slider {
  display: flex; gap: 2rem;
  animation: logoSlide 25s linear infinite;
  width: max-content;
}
.logo-slider:hover { animation-play-state: paused; }
.logo-item {
  width: 160px; height: 70px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(100%); opacity: .6; transition: var(--trans);
}
.logo-item:hover { filter: none; opacity: 1; }
.logo-item img { max-width: 140px; max-height: 60px; object-fit: contain; }
@keyframes logoSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- Blog Cards ---- */
.blog-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--card-shadow); background: white;
  transition: var(--trans); height: 100%;
  border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-body { padding: 1.5rem; }
.blog-category {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--primary); background: rgba(26,86,219,.1);
  padding: .2rem .7rem; border-radius: 50px; margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .5px;
}
.blog-card-body h5 { font-weight: 700; line-height: 1.4; margin-bottom: .75rem; font-size: 1.05rem; }
.blog-card-body p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.blog-meta { font-size: .82rem; color: var(--gray); display: flex; gap: 1rem; align-items: center; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative; height: 400px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: 70px !important; /* overrides inline style; clears fixed navbar (~70px) – ticker is sticky (in flow) */
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.9) 0%, rgba(15,23,42,.3) 100%);
}
.page-hero-content {
  position: relative; z-index: 1; padding: 2.5rem 0;
  width: 100%;
}
.page-hero h1 { color: white; font-weight: 900; font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: .5rem; }
.breadcrumb-item, .breadcrumb-item.active, .breadcrumb-item a { color: rgba(255,255,255,.75) !important; font-size: .9rem; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4) !important; }

/* ---- Tabs (inner pages) ---- */
.page-tabs {
  background: white; border-bottom: 2px solid var(--border);
  position: sticky; top: 146px; z-index: 100; /* ticker (76px) + navbar (~70px) = 146px */
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.page-tabs .nav-link {
  color: var(--gray); font-weight: 600; padding: 1rem 1.5rem;
  border: none; border-bottom: 3px solid transparent;
  border-radius: 0; transition: var(--trans);
  font-size: .95rem;
}
.page-tabs .nav-link:hover { color: var(--primary); border-bottom-color: rgba(26,86,219,.3); }
.page-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---- Timeline ---- */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%;
  top: 0; bottom: 0; width: 2px;
  background: var(--border); transform: translateX(-50%);
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; align-items: flex-start; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-content { flex: 1; }
.timeline-dot {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; position: relative; z-index: 1;
}
.timeline-year { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.timeline-title { font-weight: 700; margin-bottom: .4rem; }
.timeline-text { color: var(--gray); font-size: .95rem; line-height: 1.7; }

/* ---- Team Cards ---- */
.team-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--card-shadow); background: white;
  transition: var(--trans); text-align: center;
  border: 1px solid var(--border);
}
.team-card:hover { transform: translateY(-8px); }
.team-card-img { height: 260px; overflow: hidden; position: relative; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.team-card:hover .team-card-img img { transform: scale(1.08); }
.team-card:hover .team-card-img img[style*="scale"] { transform: scale(1.38) !important; transform-origin: center 65%; }
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,86,219,.9), transparent);
  opacity: 0; transition: var(--trans);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1rem;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-social a { color: white; font-size: 1.3rem; margin: 0 .5rem; transition: var(--trans); }
.team-social a:hover { color: var(--secondary); transform: translateY(-3px); }
.team-card-body { padding: 1.5rem; }
.team-card-body h5 { font-weight: 700; margin-bottom: .25rem; }
.team-card-body .position { color: var(--primary); font-size: .9rem; font-weight: 600; margin-bottom: .75rem; }
.team-card-body p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ---- Values ---- */
.value-card {
  background: white; border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid var(--border); height: 100%;
  transition: var(--trans);
}
.value-card:hover { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26,86,219,.08); }
.value-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.value-card h5 { font-weight: 700; margin-bottom: .75rem; }
.value-card p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ---- FAQ Accordion ---- */
.faq-accordion .accordion-item {
  border: 1px solid var(--border); border-radius: 12px !important;
  margin-bottom: 1rem; overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600; background: white; color: var(--dark2);
  border-radius: 12px !important; padding: 1.25rem 1.5rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary); color: white; box-shadow: none;
}
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(10); }
.faq-accordion .accordion-body { padding: 1.25rem 1.5rem; color: var(--gray); line-height: 1.8; }

/* ---- Tip Cards ---- */
.tip-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: white; border-radius: 12px; padding: 1.5rem;
  border: 1px solid var(--border); transition: var(--trans);
}
.tip-card:hover { border-color: var(--primary); transform: translateX(4px); }
.tip-icon { font-size: 2rem; color: var(--primary); flex-shrink: 0; }
.tip-card h6 { font-weight: 700; margin-bottom: .4rem; }
.tip-card p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ---- Events ---- */
.event-card {
  background: white; border-radius: 16px;
  padding: 1.75rem; border: 1px solid var(--border);
  display: flex; gap: 1.5rem; align-items: flex-start;
  transition: var(--trans);
}
.event-card:hover { border-color: var(--primary); box-shadow: var(--card-shadow); }
.event-date-box {
  background: var(--primary); color: white;
  border-radius: 12px; padding: 1rem;
  text-align: center; min-width: 72px; flex-shrink: 0;
}
.event-day { font-size: 2rem; font-weight: 900; line-height: 1; }
.event-month { font-size: .8rem; font-weight: 600; text-transform: uppercase; opacity: .85; }
.event-type {
  display: inline-block; font-size: .78rem; font-weight: 700;
  padding: .2rem .7rem; border-radius: 50px; margin-bottom: .5rem;
  text-transform: uppercase;
}
.event-type.Seminar { background: rgba(26,86,219,.1); color: var(--primary); }
.event-type.Workshop { background: rgba(16,185,129,.1); color: var(--accent); }
.event-type.Networking { background: rgba(255,107,53,.1); color: var(--secondary); }

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: white; border-radius: 20px;
  padding: 2.5rem; box-shadow: var(--card-shadow);
}
.form-control, .form-select {
  border: 2px solid var(--border); border-radius: 10px;
  padding: .75rem 1rem; transition: var(--trans);
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,86,219,.1);
}
.contact-info-card {
  background: var(--primary);
  color: white; border-radius: 20px; padding: 2.5rem;
  height: 100%;
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-info-item h6 { margin-bottom: .25rem; font-weight: 700; }
.contact-info-item p { opacity: .85; margin: 0; font-size: .95rem; line-height: 1.6; }

/* ---- Social Media Creator ---- */
.sm-creator { background: white; border-radius: 20px; padding: 2rem; box-shadow: var(--card-shadow); }
.sm-platform-btn {
  border: 2px solid var(--border); border-radius: 10px;
  padding: .6rem 1.2rem; background: white;
  cursor: pointer; transition: var(--trans);
  display: flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--dark2);
}
.sm-platform-btn:hover { border-color: var(--primary); color: var(--primary); }
.sm-platform-btn.active { border-color: var(--primary); background: var(--primary); color: white; }
.sm-preview {
  background: var(--light); border-radius: 16px; padding: 1.5rem;
  min-height: 200px; white-space: pre-wrap; font-size: .95rem;
  line-height: 1.7; border: 2px solid var(--border);
}
.char-counter { font-size: .85rem; color: var(--gray); }
.char-counter.warning { color: #f59e0b; }
.char-counter.danger { color: #ef4444; }

/* ---- Gallery Auto-Slider ---- */
.gallery-slider { position: relative; overflow: hidden; border-radius: 16px; }
.gallery-slide {
  display: none; transition: opacity .8s ease;
}
.gallery-slide.active { display: block; }
.gallery-slide img { width: 100%; border-radius: 16px; }
.gallery-counter {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,.6); color: white;
  padding: .3rem .8rem; border-radius: 50px; font-size: .85rem;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  padding: 5rem 0; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: -50%; left: -20%; width: 60%;
  height: 200%; background: rgba(255,255,255,.05);
  border-radius: 50%; transform: rotate(-20deg);
}
.cta-section h2 { font-weight: 900; font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 1rem; }
.cta-section p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto 2rem; }
.btn-cta-white {
  background: white; color: var(--primary); font-weight: 700;
  padding: .9rem 2.5rem; border-radius: 50px; border: none;
  transition: var(--trans); font-size: 1rem;
}
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.2); color: var(--primary); }
.btn-cta-outline {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,.6);
  padding: .9rem 2.5rem; border-radius: 50px; font-weight: 700;
  transition: var(--trans); font-size: 1rem;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.15); color: white; }

/* ---- Footer ---- */
#mainFooter {
  background: var(--dark); color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-brand { font-size: 1.75rem; font-weight: 900; color: white; margin-bottom: .75rem; }
.footer-brand span { color: var(--secondary); }
.footer-desc { font-size: .95rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: white;
  transition: var(--trans); margin-right: .5rem; font-size: 1.1rem;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-heading { color: white; font-weight: 700; font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: var(--trans); }
.footer-links a:hover { color: white; padding-left: 6px; }
.footer-contact-item { display: flex; gap: .75rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-contact-item i { color: var(--secondary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0; margin-top: 3rem;
  font-size: .875rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: var(--trans); }
.footer-bottom a:hover { color: white; }

/* ---- Back to Top ---- */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; cursor: pointer; transition: var(--trans);
  opacity: 0; visibility: hidden; box-shadow: 0 4px 20px rgba(26,86,219,.4);
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ---- Admin Panel ---- */
.admin-card {
  background: white; border-radius: 16px;
  padding: 1.75rem; box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem; border: 1px solid var(--border);
}
.admin-section-title {
  font-weight: 800; font-size: 1.25rem; margin-bottom: 1.5rem;
  padding-bottom: .75rem; border-bottom: 2px solid var(--border);
  color: var(--dark2);
}
.admin-field label { font-weight: 600; font-size: .9rem; color: var(--gray); margin-bottom: .4rem; }
.admin-image-preview {
  width: 100%; height: 140px; border-radius: 10px;
  object-fit: cover; margin-bottom: .5rem;
  border: 2px solid var(--border);
}
.admin-save-btn {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white; border: none;
  padding: 1rem 3rem; border-radius: 50px; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 30px rgba(16,185,129,.4); z-index: 999; transition: var(--trans);
}
.admin-save-btn:hover { transform: translateX(-50%) translateY(-3px); box-shadow: 0 12px 40px rgba(16,185,129,.5); }

/* ---- Animations ---- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Utilities ---- */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.badge-primary { background: rgba(214,56,32,.12); color: var(--primary); padding: .3rem .8rem; border-radius: 50px; font-size: .82rem; font-weight: 700; }
.badge-secondary { background: rgba(232,93,66,.12); color: var(--secondary); padding: .3rem .8rem; border-radius: 50px; font-size: .82rem; font-weight: 700; }
.badge-success { background: rgba(44,122,62,.12); color: var(--accent); padding: .3rem .8rem; border-radius: 50px; font-size: .82rem; font-weight: 700; }
.divider { height: 4px; width: 60px; background: var(--primary); border-radius: 2px; margin: 1rem 0 2rem; }
.divider-center { margin: 1rem auto 2rem; }
/* Bootstrap 5 ergänzende Fontgewicht-Utilities (nicht in BS5 enthalten) */
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* ---- Responsive – Tablet ---- */
@media (max-width: 991px) {
  #heroSlider { height: 70vh; }
  .timeline::before { left: 24px; }
  .timeline-item { flex-direction: column !important; padding-left: 60px; }
  .timeline-item .timeline-content { text-align: left !important; }
  .timeline-dot { position: absolute; left: 0; }
  .timeline { padding-left: 0; }
  .hero-arrow { display: none; }
  .page-tabs .nav-link { padding: .8rem .9rem; font-size: .88rem; }
  .contact-info-card { margin-top: 1.5rem; }
  .sm-creator { margin-top: 1rem; }
}

/* ---- Responsive – Mobile (≤ 576px) ---- */
@media (max-width: 576px) {
  /* Allgemein */
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-title { font-size: 1.6rem !important; }

  /* Hero */
  #heroSlider { height: 80vh; min-height: 500px; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-content p { font-size: .95rem; }
  .hero-btns .btn { padding: .7rem 1.4rem; font-size: .9rem; width: 100%; margin: .3rem 0; }
  .hero-controls { bottom: 1rem; right: 1rem; }

  /* Page Hero (Unterseiten) */
  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 1.75rem; }

  /* Statistiken – wichtigste Fixes */
  .stats-section { padding: 2rem 0; }
  .stat-item { padding: 1rem .5rem; }
  .stat-number {
    font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
    white-space: nowrap;
  }
  .stat-label {
    font-size: .78rem;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
  }
  .stat-icon { font-size: 1.5rem; margin-bottom: .5rem; }

  /* Feature Cards – untereinander statt nebeneinander */
  .feature-card { padding: 1.5rem 1rem; }

  /* Service Cards */
  .service-card-img { height: 180px; }
  .service-card-body { padding: 1.25rem; }

  /* Testimonials */
  .testimonial-card { padding: 1.5rem; }

  /* Blog Cards */
  .blog-card-body { padding: 1.25rem; }

  /* Gallery */
  .gallery-slider { height: 240px !important; }
  .gallery-slider .gallery-slide img { height: 240px !important; }

  /* Page Tabs – horizontal scrollbar */
  .page-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .page-tabs .nav { flex-wrap: nowrap; min-width: max-content; }
  .page-tabs .nav-link { padding: .75rem .85rem; font-size: .82rem; white-space: nowrap; }

  /* Timeline */
  .timeline-year { font-size: 1.5rem; }

  /* Team Cards */
  .team-card-img { height: 220px; }

  /* Events */
  .event-card { flex-direction: column; gap: 1rem; }
  .event-date-box { align-self: flex-start; padding: .75rem 1.25rem; }

  /* Contact Form */
  .contact-form-wrap { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }

  /* Social Media Creator */
  .sm-platform-btn { padding: .5rem .9rem; font-size: .85rem; }
  .sm-creator { padding: 1.25rem; }
  .sm-preview { min-height: 150px; padding: 1rem; }

  /* Gallery slides – override inline height */
  .gallery-slide { height: 240px !important; }

  /* Map iframe container */
  .map-frame { height: 280px !important; }

  /* CTA Section */
  .cta-section { padding: 3rem 0; }
  .btn-cta-white, .btn-cta-outline {
    padding: .75rem 1.5rem; font-size: .95rem;
    width: 100%; margin: .3rem 0; display: block;
  }

  /* Footer */
  #mainFooter { padding: 3rem 0 0; }
  .footer-social a { width: 36px; height: 36px; }

  /* Admin */
  .admin-save-btn { padding: .9rem 2rem; font-size: .95rem; width: 90%; }
}

/* ---- Extra klein (≤ 375px iPhone SE etc.) ---- */
@media (max-width: 375px) {
  .stat-number { font-size: 1.5rem !important; }
  .stat-label { font-size: .72rem; }
  .hero-content h1 { font-size: 1.55rem; }
  .page-tabs .nav-link { padding: .65rem .7rem; font-size: .78rem; }
}
