/* CBI Gutschein – Landingpage (Stil wie die cb-ez Veranstaltungsseiten) */
#cbi-gs-root,
#cbi-gs-root *,
#cbi-gs-root *::before,
#cbi-gs-root *::after {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  float: none !important;
  text-transform: none !important;
  text-decoration: none !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  list-style: none !important;
  line-height: 1.5 !important;
  font-size: 16px !important;
  font-family: 'IBM Plex Sans', Arial, sans-serif !important;
  font-weight: 400 !important;
  color: #594f48 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
#cbi-gs-root strong, #cbi-gs-root em, #cbi-gs-root a, #cbi-gs-root span { display: inline !important; }
#cbi-gs-root br { display: inline !important; }
#cbi-gs-root script, #cbi-gs-root style, #cbi-gs-root input[type="hidden"] { display: none !important; }
#cbi-gs-root svg * { color: inherit !important; }

#cbi-gs-root {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 20px 80px !important;
  background: #ffffff !important;
}

/* Hero */
#cbi-gs-root .cbi-hero {
  background: linear-gradient(135deg, #6f5a3e 0%, #93764a 45%, #a98c53 100%) !important;
  overflow: hidden !important;
}
#cbi-gs-root .cbi-hero img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
}
#cbi-gs-root .cbi-hero__body { padding: 48px 48px 56px !important; }
#cbi-gs-root .cbi-hero__eyebrow {
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 20px !important;
  line-height: 1.4 !important;
}
#cbi-gs-root .cbi-hero__title {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-size: clamp(30px, 5.5vw, 46px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  margin-bottom: 10px !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
}
#cbi-gs-root .cbi-hero__subtitle {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-size: clamp(16px, 2.5vw, 20px) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  opacity: 0.92 !important;
  margin-bottom: 28px !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
}
#cbi-gs-root .cbi-hero__desc {
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  max-width: 620px !important;
  color: #ffffff !important;
}
#cbi-gs-root .cbi-hero__desc strong { font-weight: 500 !important; color: #ffffff !important; }

/* Detailleiste */
#cbi-gs-root .cbi-details {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  background: #3d3530 !important;
}
#cbi-gs-root .cbi-detail {
  padding: 28px 20px !important;
  text-align: center !important;
  border-right: 1px solid rgba(255,255,255,0.1) !important;
}
#cbi-gs-root .cbi-detail:last-child { border-right: none !important; }
#cbi-gs-root .cbi-detail__icon { display: flex !important; justify-content: center !important; margin-bottom: 10px !important; }
#cbi-gs-root .cbi-detail__icon svg { width: 22px !important; height: 22px !important; color: #a98c53 !important; }
#cbi-gs-root .cbi-detail__label {
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #a98c53 !important;
  margin-bottom: 6px !important;
}
#cbi-gs-root .cbi-detail__value {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.45 !important;
  color: #ffffff !important;
}

/* Inhalt */
#cbi-gs-root .cbi-content { display: grid !important; grid-template-columns: 1fr !important; gap: 48px !important; margin-top: 48px !important; }
#cbi-gs-root .cbi-eyebrow {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #a98c53 !important;
  margin-bottom: 16px !important;
}
#cbi-gs-root .cbi-heading {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  margin-bottom: 18px !important;
  line-height: 1.35 !important;
}

/* Schritte */
#cbi-gs-root .cbi-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1px !important;
  background: #ddd4c5 !important;
  border: 1px solid #ddd4c5 !important;
  margin-top: 8px !important;
}
#cbi-gs-root .cbi-step {
  background: #faf7f2 !important;
  padding: 28px 20px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
#cbi-gs-root .cbi-step__num {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #a98c53 !important;
  color: #ffffff !important;
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-size: 16px !important;
  line-height: 34px !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}
#cbi-gs-root .cbi-step__icon { display: flex !important; justify-content: center !important; margin-bottom: 10px !important; }
#cbi-gs-root .cbi-step__icon svg { width: 26px !important; height: 26px !important; color: #a98c53 !important; }
#cbi-gs-root .cbi-step__title { font-size: 14px !important; font-weight: 600 !important; margin-bottom: 4px !important; }
#cbi-gs-root .cbi-step__text { font-size: 13px !important; font-weight: 300 !important; line-height: 1.5 !important; }

/* Hinweis */
#cbi-gs-root .cbi-highlight {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding: 20px !important;
  background: #efe9e0 !important;
}
#cbi-gs-root .cbi-highlight svg { width: 20px !important; height: 20px !important; flex-shrink: 0 !important; color: #a98c53 !important; margin-top: 2px !important; }
#cbi-gs-root .cbi-highlight p { font-size: 13px !important; line-height: 1.6 !important; }
#cbi-gs-root .cbi-highlight strong { font-weight: 600 !important; }

/* Formular */
#cbi-gs-root .cbi-form-wrapper { background: #efe9e0 !important; padding: 40px 48px !important; }
#cbi-gs-root .cbi-form__title {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}
#cbi-gs-root .cbi-form__sub { font-size: 13px !important; font-weight: 300 !important; opacity: 0.7 !important; margin-bottom: 28px !important; line-height: 1.5 !important; }
#cbi-gs-root .cbi-form__row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
#cbi-gs-root .cbi-form__group { margin-bottom: 18px !important; }
#cbi-gs-root .cbi-form__label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #a98c53 !important;
  margin-bottom: 7px !important;
}
#cbi-gs-root .cbi-form__input {
  width: 100% !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  background: #ffffff !important;
  border: 1px solid #ddd4c5 !important;
  padding: 12px 14px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
#cbi-gs-root .cbi-form__input:focus { border-color: #a98c53 !important; }
#cbi-gs-root .cbi-form__input::placeholder { color: #594f48 !important; opacity: 0.35 !important; }
#cbi-gs-root .cbi-form__checkbox { display: flex !important; align-items: flex-start !important; gap: 10px !important; cursor: pointer !important; }
#cbi-gs-root .cbi-form__checkbox input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 1px solid #ddd4c5 !important;
  background: #ffffff !important;
  cursor: pointer !important;
  margin-top: 1px !important;
  position: relative !important;
  display: inline-block !important;
}
#cbi-gs-root .cbi-form__checkbox input[type="checkbox"]:checked { background: #a98c53 !important; border-color: #a98c53 !important; }
#cbi-gs-root .cbi-form__checkbox input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  left: 5px !important;
  top: 1px !important;
  width: 5px !important;
  height: 10px !important;
  border: solid #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  display: block !important;
}
#cbi-gs-root .cbi-form__checkbox span, #cbi-gs-root .cbi-form__checkbox a { font-size: 12px !important; font-weight: 300 !important; line-height: 1.5 !important; }
#cbi-gs-root .cbi-form__checkbox a { color: #a98c53 !important; }
#cbi-gs-root .cbi-form__checkbox a:hover { text-decoration: underline !important; }
#cbi-gs-root .cbi-form__submit {
  width: 100% !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  background: #a98c53 !important;
  color: #ffffff !important;
  border: 1px solid #a98c53 !important;
  padding: 15px 28px !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  white-space: normal !important;
}
#cbi-gs-root .cbi-form__submit:hover { background: #594f48 !important; border-color: #594f48 !important; }
#cbi-gs-root .cbi-form__submit--alt { background: #ffffff !important; color: #594f48 !important; border-color: #ddd4c5 !important; }
#cbi-gs-root .cbi-form__submit--alt:hover { background: #faf7f2 !important; color: #594f48 !important; border-color: #a98c53 !important; }

/* Meldungen */
#cbi-gs-root .cbi-msg { padding: 16px 18px !important; margin-bottom: 22px !important; font-size: 14px !important; line-height: 1.6 !important; border-left: 3px solid #a98c53 !important; background: #ffffff !important; }
#cbi-gs-root .cbi-msg strong { font-weight: 600 !important; }
#cbi-gs-root .cbi-msg--err { border-left-color: #b3443a !important; }
#cbi-gs-root .cbi-msg--ok { border-left-color: #4f8a4a !important; }
#cbi-gs-root .cbi-code { font-family: 'Courier New', monospace !important; font-weight: 700 !important; letter-spacing: 2px !important; }

/* Erfolg */
#cbi-gs-root .cbi-success { text-align: center !important; padding: 30px 10px !important; }
#cbi-gs-root .cbi-success svg { width: 48px !important; height: 48px !important; color: #a98c53 !important; margin-bottom: 16px !important; display: inline-block !important; }
#cbi-gs-root .cbi-success h3 { font-family: 'IBM Plex Serif', Georgia, serif !important; font-size: 22px !important; font-weight: 400 !important; margin-bottom: 10px !important; }
#cbi-gs-root .cbi-success p { font-size: 14px !important; font-weight: 300 !important; line-height: 1.7 !important; }
#cbi-gs-root .cbi-success strong { font-weight: 600 !important; }

/* Code-Anzeige nach dem Absenden */
#cbi-gs-root .cbi-success--code p { margin-bottom: 10px !important; }
#cbi-gs-root .cbi-codebox {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 18px auto 22px !important;
  padding: 22px 16px !important;
  max-width: 420px !important;
  background: #ffffff !important;
  border: 2px dashed #a98c53 !important;
}
#cbi-gs-root .cbi-codebox span { display: block !important; }
#cbi-gs-root .cbi-codebox__label { font-size: 10px !important; font-weight: 600 !important; letter-spacing: 2px !important; text-transform: uppercase !important; color: #a98c53 !important; }
#cbi-gs-root .cbi-codebox__code { font-family: 'Courier New', monospace !important; font-size: clamp(24px, 7vw, 34px) !important; font-weight: 700 !important; letter-spacing: 3px !important; color: #3d3530 !important; line-height: 1.2 !important; user-select: all !important; -webkit-user-select: all !important; }
#cbi-gs-root .cbi-codebox__hint { font-size: 12px !important; font-weight: 300 !important; opacity: 0.75 !important; }

/* Footer */
#cbi-gs-root .cbi-footer {
  margin-top: 56px !important;
  padding-top: 32px !important;
  border-top: 1px solid #ddd4c5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
#cbi-gs-root .cbi-footer img { height: 50px !important; width: auto !important; max-width: 200px !important; display: inline-block !important; }
#cbi-gs-root .cbi-footer a { font-size: 12px !important; color: #a98c53 !important; display: inline-block !important; }
#cbi-gs-root .cbi-footer a:hover { text-decoration: underline !important; }

#cbi-gs-root svg { display: inline-block !important; vertical-align: middle !important; overflow: visible !important; }

@media (max-width: 768px) {
  #cbi-gs-root { padding: 0 0 60px !important; }
  #cbi-gs-root .cbi-hero__body { padding: 30px 22px 36px !important; }
  #cbi-gs-root .cbi-details { grid-template-columns: 1fr !important; }
  #cbi-gs-root .cbi-detail { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; padding: 20px !important; }
  #cbi-gs-root .cbi-detail:last-child { border-bottom: none !important; }
  #cbi-gs-root .cbi-content { gap: 36px !important; margin-top: 36px !important; padding: 0 16px !important; }
  #cbi-gs-root .cbi-steps { grid-template-columns: 1fr !important; }
  #cbi-gs-root .cbi-form-wrapper { padding: 28px 22px !important; }
  #cbi-gs-root .cbi-form__row { grid-template-columns: 1fr !important; gap: 0 !important; }
  #cbi-gs-root .cbi-form__submit { letter-spacing: 1px !important; padding: 15px 14px !important; }
  #cbi-gs-root .cbi-footer { flex-direction: column !important; gap: 16px !important; text-align: center !important; padding: 28px 16px 0 !important; }
}

/* Foto oben auf der Seite */
#cbi-gs-root .cbi-poster {
  background: #faf7f2 !important;
  padding: 28px 20px !important;
  text-align: center !important;
  border-bottom: 1px solid #ddd4c5 !important;
}
#cbi-gs-root .cbi-poster img {
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
}
@media (max-width: 768px) {
  #cbi-gs-root .cbi-poster { padding: 0 !important; border-bottom: none !important; }
  #cbi-gs-root .cbi-poster img { max-width: 100% !important; }
}
