/* CSS */

#sp-top-bar {
	display: none;
}

#sp-header {
	background-color: #d3d3d3;
}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
	font-size: 18px;
	color: #6b7280;
}

.sp-megamenu-parent>li>a._menubutton {
    color: #fff;
    background-color: #111;
    line-height: 36px;
    padding: 0 15px;
    margin-left: 40px;
    border-radius: 10px;
}

.text-gradient {
  background-image: linear-gradient(135deg, rgb(60, 131, 246) 0%, rgb(182, 209, 252) 100%);
  background-clip: text;
  -webkit-background-clip: text; /* Für Safari/Chrome */
  color: transparent;
  -webkit-text-fill-color: transparent; /* Für Safari */
}

.text-white {
	color: #fff;
}
.text-black {
	color: #000;
}
.text-grey {
	color: #6b7280;
}


body {
/*    background-image: linear-gradient(135deg, rgba(34, 39, 54, 0.95) 0%, rgba(34, 39, 54, 0.7) 100%), url(https://www.dufour-capital.ch/images/bg_dark.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;*/
	background-color: #fff;
}

._mod_ccontent {
	background-color: #fafafa;
}

#sp-footer, #sp-bottom {
    background: #111;
}

/* --- Card Container --- */
.card {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: #f9f9f9; /* entspricht bg-card */
  color: #1f1f1f; /* text-card-foreground */
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 30px;
  margin-right: 50px;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Header --- */
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 0px 24px;
  background: unset;
  border: unset;
}

/* --- Icon --- */
.icon-wrapper {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(60, 131, 246) 0%, rgb(182, 209, 252) 100%);
  transition: transform 0.3s ease;
  height: 48px;
  width: 48px;
}

.card:hover .icon-wrapper {
  transform: scale(1.1);
}

.icon {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* --- Title & Description --- */
.card-title-wrapper {
  flex: 1;
}

.card-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600;
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: #3c83f6; /* Beispiel Accent-Farbe */
}

.card-description {
  font-size: 0.875rem; /* text-sm */
  color: #6b7280; /* muted text */
  margin: 0;
}

/* --- Features --- */
.card-features {
  padding: 24px 24px 24px 64px; /* links Abstand für Icon-Alignment */
}

.card-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features li {
  font-size: 0.875rem;
  color: #6b7280; /* muted text */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Feature Dot --- */
.feature-dot {
  width: 8px;
  height: 8px;
  background-color: #3c83f6; /* Accent-Farbe */
  border-radius: 50%;
  flex-shrink: 0;
}

.card-features li {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 16px; /* Platz für Punkt */
}

.card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #3c83f6; /* Accent-Farbe */
  border-radius: 50%;
}

/* referenzen */

/* --- Section Container --- */
.section.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Header --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Referenz Cards Grid --- */
.reference-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

/* --- Card --- */
.reference-cards .card {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: #f9f9f9;
  color: #1f1f1f;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.5s ease;
  overflow: hidden;
}

.reference-cards .card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* --- Card Inner --- */
.reference-cards .card-inner {
  padding: 32px;
  text-align: center;
}

/* --- Icon --- */
.reference-cards .icon-wrapper {
  display: inline-flex;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgb(60,131,246) 0%, rgb(182,209,252) 100%);
  transition: transform 0.3s ease;
  margin-bottom: 24px;
}

.reference-cards .card:hover .reference-cards .icon-wrapper {
  transform: scale(1.1);
}

.reference-cards .icon {
  width: 32px;
  height: 32px;
  color: #fff;
}

/* --- Card Title & Description --- */
.reference-cards .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.reference-cards .card:hover .reference-cards .card-title {
  color: #3c83f6;
}

.reference-cards .card-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* --- Card Features --- */
.reference-cards .card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.reference-cards .card-features li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  gap: 8px;
}

.reference-cards .feature-dot {
  width: 8px;
  height: 8px;
  background-color: #3c83f6;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Stats Cards --- */
.stats-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 80px;
}

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

.stats-card {
  text-align: center;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1); /* semi-transparent / glass */
  backdrop-filter: blur(10px);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stats-label {
  font-size: 1rem;
  color: #6b7280;
}

/* --- Badge List Container --- */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* --- Badge Card --- */
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px; /* fully rounded */
  background: rgba(255, 255, 255, 0.1); /* semi-transparent / glass */
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  color: #fff;
  transition: all 0.3s ease;
  cursor: default;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Badge Icon --- */
.badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #3c83f6; /* Accent Farbe */
}

/* --- Badge Text --- */
.badge-text {
  display: inline-block;
  vertical-align: middle;
}
/* --- Partners Section --- */
.partners-section {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

/* --- Label --- */
.partners-label {
  font-size: 0.875rem; /* text-sm */
  color: #9ca3af; /* grau */
  margin-bottom: 16px;
}

/* --- Partner List --- */
.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0.6;
}

/* --- Individual Partner --- */
.partner {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

/* --- Button Container --- */
.button-container {
  text-align: center;
  margin-top: 32px;
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 32px;
  height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background-color: #3c83f6; /* primary */
  color: #fff; /* text on primary */
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover */
.btn:hover {
  background-color: rgba(60,131,246,0.9);
  box-shadow: 0 0 16px rgba(60,131,246,0.4); /* btn-glow effect */
}

/* Focus */
.btn:focus {
  outline: 2px solid #3c83f6;
  outline-offset: 2px;
}

/* Disabled */
.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* --- Button Icon --- */
.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #fff;
  pointer-events: none;
}


/* Parralax Effekt */

._dufour_frontpage #sp-page-title {
	background: unset;
}
body {
  position: relative; /* Bezug für absolute Kinder */
}

.background {
  position: absolute;    /* absolut positioniert relativ zum Body */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(135deg, rgba(34, 39, 54, 0.95) 0%, rgba(34, 39, 54, 0.7) 100%), url('/images/bg_dark.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;           /* immer hinter allem anderen */
}


.background {
    position: fixed;      /* bleibt im Viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;    /* Bild passt sich an den Viewport an */
    z-index: -1;          /* liegt unter anderem Content */
}

/* Optional: für ein Wrapper-Element, das das Bild "überlappt" */
#sp-main {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,    /* oben transparent */
    rgba(255,255,255,0) 100vh, /* bis zur ersten Viewport-Höhe transparent */
    #ffffff 100vh               /* ab 100vh weiß */
  );
}
