/* Founders Deal: Block im Preisbereich und kurzer Hinweis im Hero.
   Steht auf der Startseite und auf jeder Branchenseite; bringt eigene Farben mit,
   damit er auf allen Seiten gleich aussieht. Stand und Zähler: js/founders-deal.js */
.fd {
  --fd-gold: #f1cf7e;
  --fd-gold-deep: #d9a94a;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 900px;
  margin: 36px auto 34px;
  padding: 30px 30px 26px;
  border-radius: 24px;
  border: 1px solid rgba(241, 207, 126, 0.4);
  background:
    radial-gradient(90% 120% at 100% -20%, rgba(241, 207, 126, 0.2), transparent 60%),
    radial-gradient(80% 110% at -10% 120%, rgba(139, 124, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(rgba(12, 14, 20, 0.9), rgba(12, 14, 20, 0.9));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 60px rgba(241, 207, 126, 0.1);
  color: #e8eaed;
  text-align: left;
  scroll-margin-top: 96px;
}
.fd[hidden], .fd-left[hidden], .fd.fd-wait { display: none; }
.fd::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fd-gold), transparent);
}

.fd-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 16px; }
.fd-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #1c1503;
  background: linear-gradient(135deg, #f8e4aa, #e0b458);
  box-shadow: 0 0 22px rgba(241, 207, 126, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.fd-left {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(241, 207, 126, 0.4);
  background: rgba(241, 207, 126, 0.08);
  font-size: 13px;
  font-weight: 700;
  color: var(--fd-gold);
}

.fd-title {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.4px;
  color: #fff;
}

.fd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fd-item {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.fd-big {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fbeec4, var(--fd-gold) 45%, var(--fd-gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--fd-gold);
}
.fd-what { margin-top: 9px; font-size: 15px; font-weight: 700; color: #fff; }
.fd-ex { margin-top: 6px; font-size: 14px; line-height: 1.6; color: #a7adba; }
.fd-ex strong { color: #fff; font-weight: 700; }
.fd-ex s { color: #737a88; }

.fd-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 20px; }
.fd-save { font-size: 15px; font-weight: 700; color: var(--fd-gold); }
.fd-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.fd-select {
  height: 46px;
  padding: 0 34px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(241, 207, 126, 0.4);
  background-color: rgba(255, 255, 255, 0.04);
  background-image: linear-gradient(45deg, transparent 50%, #f1cf7e 50%), linear-gradient(135deg, #f1cf7e 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: #f3e3b4;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.fd-select:focus-visible { outline: 2px solid var(--fd-gold); outline-offset: 2px; }
.fd-select option { color: #111; }
.fd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: #1c1503;
  background: linear-gradient(135deg, #f8e4aa, #e0b458);
  box-shadow: 0 10px 26px rgba(217, 169, 74, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  transition: transform 0.2s, box-shadow 0.25s, filter 0.25s;
}
.fd-cta:disabled { opacity: 0.7; cursor: wait; transform: none; }
.fd-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(217, 169, 74, 0.34), 0 0 30px rgba(241, 207, 126, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}
.fd-note { margin: 18px 0 0; font-size: 13px; line-height: 1.65; color: #8b919e; }

/* Kurzer Hinweis unter den Hero-Knöpfen; springt zum Block */
.fd-teaser-wrap { margin-top: 22px; }
.fd-teaser {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(241, 207, 126, 0.42);
  background: rgba(241, 207, 126, 0.07);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  color: #f3e3b4;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.fd-teaser b {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #1c1503;
  background: linear-gradient(135deg, #f8e4aa, #e0b458);
}
.fd-teaser:hover {
  transform: translateY(-1px);
  border-color: rgba(241, 207, 126, 0.75);
  background: rgba(241, 207, 126, 0.12);
  box-shadow: 0 0 24px rgba(241, 207, 126, 0.22);
}

@media (max-width: 640px) {
  .fd { padding: 24px 18px 20px; border-radius: 20px; }
  .fd-grid { grid-template-columns: 1fr; }
  .fd-big { font-size: 34px; }
  .fd-buy { width: 100%; }
  .fd-select { flex: 1 1 130px; }
  .fd-cta { width: 100%; justify-content: center; }
  .fd-teaser { border-radius: 18px; padding: 8px 14px 9px 9px; font-size: 13px; }
}
