/* ═══════════════════════════════════════════════════════
   components.css — Header · Footer · Buttons · Cards ·
                    Formulare · Modal
   endlich-online.ch
   ═══════════════════════════════════════════════════════ */

/* ── SITE HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  /* Beim Laden unsichtbar — blendet per Blur-Fade ein */
  background: transparent;
  border-bottom: 1px solid transparent;
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    filter 0.4s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Sichtbar sobald Nutzer scrollt — Blur-Fade + Glaseffekt über Hero */
.site-header.is-visible {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  background: rgba(11, 20, 38, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Scrolled-State: Glaseffekt bleibt, leicht opaker */
.site-header.is-scrolled {
  background: rgba(11, 20, 38, 0.75);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--space-lg);
  min-height: 72px;
  gap: var(--space-lg);
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo img {
  height: 52px;
  width: auto;
  display: block;
  /* Über dunklem Hero: Logo weiss machen */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Logo bleibt immer weiss — kein Farbwechsel bei is-scrolled */

/* ── SITE NAV ── */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-block;
  padding: 6px 12px;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.site-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Active: Sky-Blau Glow — Kontrast zum weissen Text */
.site-nav__link.is-active {
  color: #fff;
  border-bottom-color: transparent;
  text-shadow:
    0 0 6px rgba(74, 144, 217, 1),
    0 0 16px rgba(74, 144, 217, 0.9),
    0 0 32px rgba(74, 144, 217, 0.6);
}

/* ── HEADER CTA ── */
.site-header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.site-header__cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* CTA bleibt im Glas-Stil */

/* ── HAMBURGER ── */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.3s ease;
}

/* Hamburger-Linien bleiben weiss */

.site-header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  /* Unter dem Header (z-index 200) → Hamburger bleibt sichtbar */
  z-index: 190;
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Platz für den fixierten Header oben */
  padding: 88px var(--space-lg) var(--space-lg);
  /* Fade-in */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: var(--space-sm);
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 360px;
  gap: 4px;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 var(--space-md);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}

.mobile-menu__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 56px;
  margin-top: var(--space-lg);
  background: var(--color-sky);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}

.mobile-menu__cta:hover {
  background: #3570bb;
}

@media (max-width: 780px) {
  .site-header__hamburger { display: flex; }
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__inner { padding: 0 20px; }
}


/* ── BUTTONS ── */
.btn-primary {
  background: var(--color-sky);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px -6px rgba(64, 126, 209, 0.7),
    0 0 0 1px rgba(123, 176, 243, 0.4) inset;
  transition: transform 0.15s, box-shadow 0.25s, background 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #5894dc;
  box-shadow: 0 14px 36px -8px rgba(64, 126, 209, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.card-btn {
  display: block;
  width: 100%;
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.15s;
}

.card-btn:hover { background: #142349; }
.card-btn.sky { background: var(--color-sky); }
.card-btn.sky:hover { background: #3570bb; }

.submit-btn {
  width: 100%;
  background: var(--color-sky);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.3px;
  transition: background 0.15s;
}

.submit-btn:hover { background: #3570bb; }

.step-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sky);
  text-decoration: none;
}

.step-link:hover { text-decoration: underline; }

@media (hover: hover) {
  .step-link:hover { color: #3570bb; }
}


/* ── STEP CARDS (How it works) ── */
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out,
    box-shadow 0.3s ease, border-color 0.3s ease;
}

.step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step[data-step="0"] { transition-delay: 0ms; }
.step[data-step="1"] { transition-delay: 150ms; }
.step[data-step="2"] { transition-delay: 300ms; }
.step[data-step="3"] { transition-delay: 450ms; }

.step.is-active {
  box-shadow: 0 6px 24px rgba(26, 46, 87, 0.10);
  transform: translateY(-3px);
  border-color: var(--border);
}

@media (hover: hover) {
  .step:hover {
    box-shadow: 0 8px 28px rgba(26, 46, 87, 0.14);
    transform: translateY(-5px);
    border-color: var(--color-sky);
    transition-delay: 0ms;
  }

  .step.is-active:hover {
    box-shadow: 0 12px 36px rgba(26, 46, 87, 0.18);
    transform: translateY(-6px);
    transition-delay: 0ms;
  }
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--color-tinte);
  line-height: 1.7;
  opacity: 0.75;
}

.no-js .step {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .step {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
}


/* ── PRODUCT CARDS ── */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .products { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .product-card:hover {
    box-shadow: 0 8px 28px rgba(26, 46, 87, 0.14);
    transform: translateY(-5px);
    border-color: var(--color-sky);
  }
}

.product-card.featured {
  border-color: var(--color-sky);
  box-shadow: 0 4px 20px rgba(64, 126, 209, 0.14);
}

@media (hover: hover) {
  .product-card.featured:hover {
    box-shadow: 0 10px 32px rgba(64, 126, 209, 0.22);
  }
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.pkg-featured-badge {
  position: absolute;
  top: 18px;
  right: 0;
  background: var(--color-sky);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px 5px 12px;
  border-radius: 4px 0 0 4px;
  white-space: nowrap;
  box-shadow: -2px 2px 6px rgba(64, 126, 209, 0.25);
}

.pkg-header { margin-bottom: 12px; }
.pkg-header h3 { margin: 0; }

.pkg-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-sky);
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.pkg-desc {
  font-size: 14px;
  color: var(--color-tinte);
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 18px;
}

.price-block {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.price-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.3px;
}

.price-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  margin-left: 4px;
}

.price-secondary {
  font-size: 12px;
  color: var(--steel);
  margin-top: 3px;
}

.feat-list {
  list-style: none;
  margin-bottom: 22px;
  min-height: 155px;
}

.feat-list li {
  font-size: 14px;
  color: var(--color-tinte);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.6;
  position: relative;
}

.chk {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-eisblau);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 9px;
  color: var(--color-sky);
  font-weight: 700;
}

.feat-label { display: inline; }

.info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  vertical-align: 1px;
}

.info-btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-sky);
  background: transparent;
  color: var(--color-sky);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 9px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.info-btn:hover,
.info-btn:focus,
.info-btn:focus-visible {
  background: var(--color-sky);
  color: #fff;
  outline: none;
}

.feat-sub {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--steel);
  line-height: 1.7;
  white-space: normal;
  width: max-content;
  max-width: min(240px, 70vw);
  box-shadow: 0 4px 14px rgba(26, 46, 87, 0.12);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.feat-sub::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--white);
  filter: drop-shadow(0 1px 0 var(--border));
}

.info-btn:hover + .feat-sub,
.info-btn:focus + .feat-sub,
.info-btn:focus-visible + .feat-sub {
  opacity: 1;
  transform: translate(-50%, 0);
}

.card-cta-sub {
  text-align: center;
  font-size: 12px;
  color: var(--steel);
  margin-top: 8px;
}

.pricing-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin-bottom: 36px;
}

.pricing-trust-bar li {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-trust-bar li::before {
  content: '✓';
  color: var(--color-sky);
  font-size: 11px;
  font-weight: 700;
}

.pricing-why {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  max-width: 640px;
  margin: 40px auto 0;
}

.pricing-why-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.pricing-why p {
  font-size: 14px;
  color: var(--color-tinte);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 8px;
}

.pricing-why p:last-child { margin-bottom: 0; }

.pricing-anchor {
  text-align: center;
  font-size: 13px;
  color: var(--steel);
  margin-top: 20px;
  font-style: italic;
  opacity: 0.8;
}

.price-badge-wrap {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.price-badge {
  display: inline-block;
  background: transparent;
  color: var(--color-sky);
  border: 1px solid var(--color-sky);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.5;
  white-space: nowrap;
}

.price-badge-sub {
  display: inline-block;
  background: transparent;
  color: var(--steel);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.5;
  white-space: nowrap;
}

.entwurf-info {
  background: var(--color-eisblau);
  border-left: 3px solid var(--color-sky);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--color-tinte);
  line-height: 1.6;
  margin-bottom: 18px;
}

.prod-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sky);
  margin-bottom: 14px;
}


/* ── FAQ ITEM ── */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .faq-item:hover {
    box-shadow: 0 8px 28px rgba(26, 46, 87, 0.14);
    transform: translateY(-5px);
    border-color: var(--color-sky);
  }
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  color: var(--color-tinte);
  line-height: 1.7;
  opacity: 0.8;
}


/* ── REFERENZ CARDS ── */
.referenz-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .referenz-card:hover {
    box-shadow: 0 10px 32px rgba(26, 46, 87, 0.16);
    transform: translateY(-5px);
    border-color: var(--color-sky);
  }

  .referenz-card:hover .browser-viewport img {
    transform: translateY(-40%);
  }
}

.referenz-card:focus-visible {
  outline: 3px solid var(--color-sky);
  outline-offset: 3px;
}

.browser-mockup {
  background: #F2F4F7;
  border-bottom: 1px solid var(--border);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: #ECEFF4;
  border-bottom: 1px solid #D9DFE7;
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9DFE7;
}

.browser-dots span:nth-child(1) { background: #F26D5B; }
.browser-dots span:nth-child(2) { background: #F5BA3F; }
.browser-dots span:nth-child(3) { background: #58C46C; }

.browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--steel);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  text-align: center;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
  margin: 0 auto;
}

.browser-viewport {
  aspect-ratio: 1280 / 560;
  overflow: hidden;
  position: relative;
  background: var(--color-eisblau);
}

.browser-viewport img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  transition: transform 5s ease-in-out;
  will-change: transform;
}

.referenz-meta {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.referenz-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  color: var(--steel);
  background: var(--color-eisblau);
  border: 1px solid var(--border);
}

.referenz-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.referenz-status--fertig::before   { background: #22c55e; }
.referenz-status--inprogress::before { background: #f59e0b; }
.referenz-status--entwurf::before  { background: #60a5fa; }

.referenz-meta h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin: 2px 0;
}

.referenz-meta p {
  font-size: 14px;
  color: var(--color-tinte);
  opacity: 0.75;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .referenz-meta { padding: 18px 20px 22px; }
  .browser-url { font-size: 10px; max-width: 220px; }
}


/* ── SITE FOOTER ── */
.site-footer {
  background: var(--color-navy);
  padding: 48px 48px 32px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: inline-block;
  flex-shrink: 0;
  text-decoration: none;
}

.footer-logo-img {
  height: 150px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 6px;
}

.footer-contact a {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  line-height: 1.9;
}

.footer-contact a:hover { color: var(--color-sky); }

.footer-links-col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
}

.footer-links-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  line-height: 1;
  margin-bottom: 12px;
}

.footer-links-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--container-max);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .site-footer { padding: 40px 20px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}


/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 18, 35, 0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--color-navy);
  border-radius: 14px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: #fff; }

.modal-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 15px;
  color: #9aafc8;
  margin-bottom: 28px;
  line-height: 1.6;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.modal-field label {
  font-size: 13px;
  font-weight: 700;
  color: #c5d3e8;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  padding: 11px 14px;
  color: #fff;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.modal-field input::placeholder,
.modal-field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus { border-color: var(--color-sky); }

.modal-field select option { background: var(--color-navy); }

.modal-field textarea {
  resize: none;
  line-height: 1.6;
}

.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

@media (max-width: 520px) {
  .modal-row { grid-template-columns: 1fr; }
}

.modal-submit {
  width: 100%;
  background: var(--color-sky);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s;
}

.modal-submit:hover { background: #3570bb; }

.modal-disclaimer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 16px;
}

.modal-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 14px;
  color: #9aafc8;
  line-height: 1.7;
}


/* ── CONTACT FORM ── */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 18px; }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
}

.contact-optional {
  font-weight: 400;
  color: var(--steel);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--color-sky); }

.contact-field textarea {
  resize: none;
  line-height: 1.6;
}

.contact-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--color-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

.contact-submit:hover:not(:disabled) { background: var(--color-sky); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-disclaimer {
  font-size: 12px;
  color: var(--steel);
  text-align: center;
  margin-top: 12px;
}

.contact-disclaimer a { color: var(--steel); }

.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
  gap: 12px;
}

.contact-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.contact-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.contact-success p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}


/* ── BRIEFING FORM ── */
.bf-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.bf-wrap.bf-preview-active {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: flex-start;
}

.bf-wrap.bf-preview-active > :not(#bf-form-card):not(#bf-preview-pane) {
  grid-column: 1 / -1;
}

#bf-preview-pane {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 76px - 36px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(26, 46, 87, 0.09);
  padding: 20px;
}

@media (max-width: 860px) {
  .bf-wrap.bf-preview-active { grid-template-columns: 1fr; }
  #bf-preview-pane { position: static; max-height: none; }
}

.bf-preview-inner { display: flex; flex-direction: column; gap: 16px; }

.bf-preview-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bf-preview-section { display: flex; flex-direction: column; gap: 6px; }
.bf-preview-sub { font-size: 11px; font-weight: 600; color: var(--steel); }
.bf-preview-tags { display: flex; flex-direction: column; gap: 5px; }

.bf-preview-style-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--color-eisblau);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
}

.bf-preview-style-colors { display: flex; gap: 3px; }
.bf-preview-color-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); }
.bf-preview-palette-display { display: flex; align-items: center; gap: 10px; }
.bf-preview-palette-row { display: flex; gap: 4px; }
.bf-preview-palette-dot { width: 22px; height: 22px; border-radius: 5px; border: 1px solid rgba(0,0,0,0.08); }
.bf-preview-palette-name { font-size: 12px; font-weight: 600; color: var(--color-navy); }
.bf-preview-text { font-size: 12px; color: var(--color-tinte); }

.bf-preview-empty {
  font-size: 12px;
  color: var(--steel);
  text-align: center;
  padding: 20px 0;
  line-height: 1.6;
}

.bf-preview-divider { height: 1px; background: var(--border); }

.bf-preview-mockup {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-sans);
}

.bf-mockup-header { padding: 7px 11px; display: flex; align-items: center; }
.bf-mockup-brand { font-size: 10px; font-weight: 700; color: #fff; }
.bf-mockup-hero { padding: 14px 12px; }
.bf-mockup-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 5px; }
.bf-mockup-sub { font-size: 10px; color: var(--steel); line-height: 1.5; margin-bottom: 10px; }

.bf-mockup-btn {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

#bf-progress-sticky {
  position: sticky;
  top: 0;
  z-index: 210;
  background: var(--white);
  height: 74px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}

.bf-progress {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.bf-step-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.bf-step-dot.done    { cursor: pointer; }
.bf-step-dot.visited .bf-step-bar { background: rgba(64, 126, 209, 0.35); }
.bf-step-dot.clickable { cursor: pointer; }

.bf-step-bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(26, 46, 87, 0.15);
  transition: background 0.25s;
}

.bf-step-dot.active .bf-step-bar,
.bf-step-dot.done .bf-step-bar { background: var(--color-sky); }

.bf-step-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(26, 46, 87, 0.3);
  transition: color 0.25s, font-size 0.2s;
  white-space: nowrap;
  display: none;
}

@media (min-width: 480px) { .bf-step-label { display: block; } }

.bf-step-dot.active .bf-step-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
}

.bf-step-dot.done .bf-step-label { color: var(--steel); }

.bf-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 32px rgba(26, 46, 87, 0.09);
  padding: 36px 32px;
}

@media (max-width: 600px) {
  .bf-card { padding: 24px 18px; border-radius: 12px; }
}

.bf-step-enter {
  animation: bfSlideIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.bf-step-enter-back {
  animation: bfSlideInBack 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes bfSlideIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes bfSlideInBack {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.bf-step-header { margin-bottom: 28px; }

.bf-question {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 6px;
}

.bf-question-sub {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

.bf-fields { display: flex; flex-direction: column; gap: 22px; }

.bf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 480px) { .bf-row2 { grid-template-columns: 1fr; } }

.bf-field { display: flex; flex-direction: column; gap: 6px; }
.bf-label { font-size: 13px; font-weight: 700; color: var(--color-navy); }
.bf-label-required { color: var(--color-sky); font-weight: 400; }
.bf-hint { font-size: 12px; color: var(--steel); line-height: 1.5; }

.bf-input,
.bf-select,
.bf-textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-tinte);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.bf-input::placeholder, .bf-textarea::placeholder { color: #b0bcc9; }

.bf-input:focus, .bf-select:focus, .bf-textarea:focus {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 3px rgba(64, 126, 209, 0.12);
}

.bf-input-error { border-color: #e53935 !important; box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1) !important; }
.bf-error { color: #e53935; font-size: 12px; margin-top: 4px; line-height: 1.4; }
.bf-textarea { resize: none; line-height: 1.65; }

.bf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23407ED1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.bf-select option { background: #fff; color: var(--color-tinte); }

.bf-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.bf-example-chip {
  background: var(--color-eisblau);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--color-navy);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: var(--font-sans);
}

.bf-example-chip:hover { background: var(--color-sky); color: #fff; border-color: var(--color-sky); }

.bf-chips-toggle {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 12px;
  color: var(--color-sky);
  cursor: pointer;
  font-family: var(--font-sans);
  margin-top: 4px;
  display: inline-block;
}

.bf-chips-toggle:hover { text-decoration: underline; }

.bf-examples-more { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.bf-examples-more.open { max-height: 800px; }

.bf-examples-group { margin-top: 8px; }

.bf-examples-group-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.bf-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bf-tiles.single-col { grid-template-columns: 1fr; }
.bf-tiles.three-col  { grid-template-columns: 1fr 1fr 1fr; }
.bf-tiles.goals      { grid-template-columns: 1fr 1fr; }

@media (max-width: 520px) {
  .bf-tiles, .bf-tiles.three-col, .bf-tiles.goals { grid-template-columns: 1fr; }
}

.bf-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: left;
  width: 100%;
  font-family: var(--font-sans);
}

@media (hover: hover) {
  .bf-tile:hover { border-color: var(--color-sky); box-shadow: 0 2px 10px rgba(64, 126, 209, 0.12); }
}

.bf-tile.selected { border-color: var(--color-sky); background: var(--color-eisblau); }
.bf-tile-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.bf-tile-body { flex: 1; min-width: 0; }
.bf-tile-title { font-size: 13px; font-weight: 700; color: var(--color-navy); line-height: 1.3; margin-bottom: 2px; }
.bf-tile-desc  { font-size: 11px; color: var(--steel); line-height: 1.5; }

.bf-tile-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin-left: auto;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.bf-tile.selected .bf-tile-check { border-color: var(--color-sky); background: var(--color-sky); }

.bf-tile.selected .bf-tile-check::after {
  content: '✓';
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.bf-tile.checkbox .bf-tile-check { border-radius: 4px; }

.bf-budget-tile {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px 36px;
  position: relative;
}

.bf-budget-tagline { font-size: 11px; color: var(--color-sky); font-weight: 600; line-height: 1.3; }
.bf-budget-name { font-size: 20px; font-weight: 700; color: var(--color-navy); line-height: 1.2; margin-top: 1px; }
.bf-budget-price { font-size: 15px; font-weight: 700; color: var(--color-navy); margin-top: 6px; }
.bf-budget-price-once { font-size: 11px; color: var(--steel); font-weight: 400; }
.bf-budget-check { position: absolute; top: 10px; right: 10px; margin: 0; }

.bf-budget-info-wrap {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
}

.bf-budget-info {
  font-size: 14px;
  color: var(--steel);
  cursor: help;
  line-height: 1;
  user-select: none;
  transition: color 0.15s;
}

.bf-budget-info-wrap:hover .bf-budget-info { color: var(--color-sky); }

.bf-budget-tooltip {
  display: none;
  position: absolute;
  right: -4px;
  bottom: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  width: 210px;
  box-shadow: 0 8px 24px rgba(26, 46, 87, 0.13);
  z-index: 20;
  text-align: left;
  pointer-events: none;
}

.bf-budget-info-wrap:hover .bf-budget-tooltip { display: block; }

.bf-budget-tooltip p {
  font-size: 12px;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.5;
  font-weight: 500;
}

.bf-budget-tooltip ul { margin: 0; padding: 0; list-style: none; }

.bf-budget-tooltip li {
  font-size: 12px;
  color: var(--steel);
  padding: 2px 0;
  line-height: 1.4;
}

.bf-budget-tooltip li::before { content: '✓ '; color: var(--color-sky); font-weight: 700; }

.bf-tile.style-tile { position: relative; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
.bf-tile.style-tile .bf-tile-check { position: absolute; top: 10px; right: 10px; margin: 0; }
.bf-tile-colors { display: flex; gap: 4px; }
.bf-tile-color-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); }

.bf-tile.goal-tile { padding: 16px; }
.bf-tile.goal-tile .bf-tile-icon { font-size: 26px; }

.bf-ziel-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #EBF3FF;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.15s;
}

.bf-tile.selected .bf-ziel-icon-wrap { background: #D6E9FF; }

.bf-ziel-icon-wrap img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.bf-tile:hover .bf-ziel-icon-wrap img { transform: scale(1.18); }
.bf-tile.goal-tile .bf-tile-title { font-size: 14px; }

.bf-palette-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.bf-palette {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--color-eisblau);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px 4px 6px;
  cursor: pointer;
  transition: border-color 0.15s;
  font-family: var(--font-sans);
}

.bf-palette:hover { border-color: var(--color-sky); }
.bf-palette-dots { display: flex; gap: 2px; }
.bf-palette-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); }
.bf-palette-name { font-size: 11px; font-weight: 600; color: var(--color-navy); }

.bf-tip {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.5;
  margin-top: 6px;
  padding: 8px 12px;
  background: var(--color-eisblau);
  border-radius: 8px;
}

.bf-upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: var(--color-eisblau);
  transition: border-color 0.15s;
  margin-top: 8px;
}

.bf-upload-zone:hover { border-color: var(--color-sky); }
.bf-upload-zone p { font-size: 13px; color: var(--steel); line-height: 1.6; }
.bf-upload-zone span { color: var(--color-sky); text-decoration: underline; }
.bf-file-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.bf-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-tinte);
}

.bf-file-remove { color: var(--steel); background: none; border: none; cursor: pointer; font-size: 14px; padding: 0 2px; }
.bf-file-remove:hover { color: #c0392b; }

.bf-sub {
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--color-eisblau);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: bfFadeDown 0.2s ease both;
}

@keyframes bfFadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bf-sub-label { font-size: 13px; font-weight: 700; color: var(--color-navy); }
.bf-sub-hint  { font-size: 12px; color: var(--steel); }

.bf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.bf-btn-back {
  background: transparent;
  border: none;
  color: var(--steel);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
}

.bf-btn-back:hover { color: var(--color-navy); }
.bf-btn-back:disabled { opacity: 0.3; cursor: default; }

.bf-btn-next {
  background: var(--color-sky);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.bf-btn-next:hover:not(:disabled) { background: #3570bb; transform: translateY(-1px); }
.bf-btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

.bf-btn-submit {
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 34px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.bf-btn-submit:hover:not(:disabled) { background: #142349; transform: translateY(-1px); }
.bf-btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.bf-disclaimer { text-align: center; font-size: 11px; color: var(--steel); margin-top: 14px; }

.bf-success { text-align: center; padding: 48px 20px; display: none; }

.bf-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  margin: 0 auto 24px;
}

.bf-success h2 { font-size: 24px; font-weight: 700; color: var(--color-navy); margin-bottom: 10px; }
.bf-success p  { font-size: 15px; color: var(--color-tinte); opacity: 0.75; line-height: 1.7; max-width: 400px; margin: 0 auto; }

.bf-doi-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-eisblau);
  border: 1px solid var(--color-sky);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
  text-align: left;
}

.bf-doi-icon { font-size: 22px; color: var(--color-sky); flex-shrink: 0; line-height: 1.3; }
.bf-doi-notice strong { display: block; color: var(--color-navy); font-size: 14px; margin-bottom: 4px; }
.bf-doi-notice p { font-size: 13px; color: var(--color-tinte); opacity: 0.75; line-height: 1.6; margin: 0; }

.bf-next-steps {
  background: var(--color-eisblau);
  border: 2px solid var(--color-navy);
  border-radius: 12px;
  padding: 22px 26px;
  margin-top: 28px;
  text-align: left;
}

.bf-next-step-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 14px;
}

.bf-next-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  padding: 7px 0;
}

.bf-next-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Social media field */
.bf-social-field { display: flex; flex-direction: column; gap: 8px; }
.bf-social-list { display: flex; flex-direction: column; gap: 6px; }

.bf-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-eisblau);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

.bf-social-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.bf-social-url { flex: 1; font-size: 13px; color: var(--color-navy); word-break: break-all; }

.bf-social-remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--steel);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.bf-social-remove:hover { background: #FFE8E8; color: #C0392B; }

.bf-social-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-sky);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: var(--font-sans);
  width: 100%;
}

.bf-social-add-btn:hover { border-color: var(--color-sky); background: var(--color-eisblau); }

.bf-social-picker {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--white);
}

.bf-social-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.bf-social-platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: var(--font-sans);
}

.bf-social-platform-btn:hover { border-color: var(--color-sky); background: var(--color-eisblau); }
.bf-social-platform-btn span { font-size: 11px; font-weight: 600; color: var(--color-navy); }
.bf-social-platform-btn .bf-social-badge { width: 36px; height: 36px; border-radius: 10px; font-size: 11px; }
.bf-social-input-area { display: flex; flex-direction: column; gap: 10px; }
.bf-social-input-header { display: flex; align-items: center; gap: 10px; }
.bf-social-input-platform { font-size: 14px; font-weight: 700; color: var(--color-navy); }
.bf-social-btn-row { display: flex; gap: 8px; justify-content: flex-end; }

.bf-social-cancel-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.15s;
}

.bf-social-cancel-btn:hover { border-color: var(--color-navy); color: var(--color-navy); }

.bf-social-confirm-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  background: var(--color-sky);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: opacity 0.15s;
}

.bf-social-confirm-btn:hover { opacity: 0.88; }

/* BF Color Selector (Design-Schritt) */
.bf-cs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.bf-cs-steps-col { display: flex; flex-direction: column; gap: 1rem; }

.bf-cs-step {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(26, 46, 87, 0.05);
}

.bf-cs-hidden { display: none !important; }

.bf-cs-step-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.bf-cs-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.bf-cs-step-title { font-size: 14px; font-weight: 800; color: var(--color-navy); }
.bf-cs-step-sub   { font-size: 12px; color: var(--steel); margin-top: 2px; line-height: 1.45; }

.bf-cs-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}

.bf-cs-option-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--color-tinte);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.bf-cs-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 46, 87, 0.09);
}

.bf-cs-option-card.bf-cs-active {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26, 46, 87, 0.1);
}

.bf-cs-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--color-eisblau);
  color: var(--color-navy);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.bf-cs-opt-title { font-size: 13px; font-weight: 800; color: var(--color-navy); line-height: 1.25; }
.bf-cs-opt-text  { font-size: 11px; color: var(--steel); line-height: 1.4; }

.bf-cs-color-grid { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 0.5rem; }

.bf-cs-color-btn {
  border: 2px solid var(--border);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  padding: 0.3rem;
  transition: transform 0.15s, border-color 0.15s;
}

.bf-cs-color-btn:hover { transform: scale(1.07); }
.bf-cs-color-btn.bf-cs-active { border-color: var(--color-navy); box-shadow: 0 0 0 3px rgba(26, 46, 87, 0.12); }

.bf-cs-swatch-large {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.bf-cs-mini-site {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 0.5rem;
  width: 100%;
}

.bf-cs-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.45rem;
  height: 18px;
}

.bf-cs-mini-logo, .bf-cs-mini-menu { display: block; border-radius: 999px; }
.bf-cs-mini-logo { width: 30px; height: 4px; }
.bf-cs-mini-menu { width: 18px; height: 4px; }
.bf-cs-mini-hero { display: block; padding: 0.5rem 0.45rem; }
.bf-cs-mini-title { display: block; width: 70%; height: 6px; border-radius: 999px; margin-bottom: 0.3rem; }
.bf-cs-mini-text  { display: block; width: 90%; height: 4px; border-radius: 999px; margin-bottom: 0.45rem; }
.bf-cs-mini-btn   { display: block; width: 38px; height: 13px; border-radius: 999px; }
.bf-cs-mini-content { display: block; padding: 0.4rem 0.45rem; }
.bf-cs-mini-line  { display: block; width: 28px; height: 4px; border-radius: 999px; margin-bottom: 0.3rem; }
.bf-cs-mini-copy  { display: flex; flex-direction: column; gap: 3px; }
.bf-cs-mini-copy span { display: block; height: 3px; border-radius: 999px; }
.bf-cs-mini-copy span:first-child { width: 80%; }
.bf-cs-mini-copy span:last-child  { width: 55%; }

.bf-cs-custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
}

.bf-cs-custom-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
}

.bf-cs-color-input { display: flex; align-items: center; gap: 0.5rem; }

.bf-cs-color-input input[type="color"] {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  padding: 0.15rem;
  cursor: pointer;
}

.bf-cs-color-input input[type="text"] {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
}

.bf-cs-color-input input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26, 46, 87, 0.08);
}

.bf-cs-preview {
  position: sticky;
  top: 80px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(26, 46, 87, 0.07);
}

.bf-cs-preview-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 0.3rem;
}

.bf-cs-preview-hint { font-size: 11px; color: var(--steel); line-height: 1.4; margin-bottom: 0.75rem; }

.bf-cs-website-preview {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f9fafb;
  font-size: 13px;
}

.bf-cs-prev-nav { padding: 0.55rem 0.7rem; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.bf-cs-prev-brand { font-size: 11px; font-weight: 800; }
.bf-cs-prev-hero  { padding: 0.85rem 0.7rem; }
.bf-cs-prev-h3    { font-size: 13px; font-weight: 800; margin-bottom: 0.35rem; }
.bf-cs-prev-p     { font-size: 11px; line-height: 1.4; margin-bottom: 0.6rem; opacity: 0.75; }

.bf-cs-prev-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-sans);
}

.bf-cs-prev-content { padding: 0.7rem; }
.bf-cs-prev-line  { width: 28px; height: 3px; border-radius: 999px; margin-bottom: 0.5rem; }
.bf-cs-prev-h4    { font-size: 11px; font-weight: 800; margin-bottom: 0.25rem; }
.bf-cs-prev-cp    { font-size: 10px; line-height: 1.4; opacity: 0.75; }

.bf-cs-summary { margin-top: 0.85rem; border-top: 1px solid var(--border); padding-top: 0.75rem; }
.bf-cs-summary-title { font-size: 12px; font-weight: 800; color: var(--color-navy); margin-bottom: 0.55rem; }
.bf-cs-swatch-row { display: flex; gap: 0.5rem; align-items: center; padding: 0.3rem 0; }
.bf-cs-swatch-dot { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); }
.bf-cs-swatch-meta { display: flex; flex-direction: column; }
.bf-cs-swatch-lbl { font-size: 10px; font-weight: 800; color: var(--steel); text-transform: uppercase; letter-spacing: 0.04em; }
.bf-cs-swatch-val { font-size: 12px; color: var(--color-navy); font-weight: 700; }

@media (max-width: 860px) {
  .bf-cs-layout { grid-template-columns: 1fr; }
  .bf-cs-preview { position: static; }
}

/* ── OLD FORM STYLES (form-section in #anfrage) ── */
.form-section { background: var(--color-navy); padding: 72px 48px; }
.form-inner { max-width: 660px; margin: 0 auto; }
.form-inner .section-label { color: var(--color-sky); }
.form-inner .section-title { color: #fff; }
.form-inner .section-sub { color: #9aafc8; margin-bottom: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: #c5d3e8; }

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  padding: 11px 14px;
  color: #fff;
  outline: none;
}

.field input::placeholder { color: rgba(255, 255, 255, 0.3); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23407ED1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field select option { background: var(--color-navy); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-sky);
  background: rgba(255, 255, 255, 0.1);
}

.field textarea { resize: none; height: 100px; line-height: 1.6; }

.form-disclaimer { text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 12px; line-height: 1.6; }

.success-panel { display: none; text-align: center; padding: 48px 20px; color: #fff; }

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
}

.success-panel h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.success-panel p { font-size: 15px; color: #9aafc8; line-height: 1.7; }
