/* Stoabuckl Musi – ruhiges Naturfarb-Schema; bewusst ohne externe Schriftarten */
.sbma-floating, .sbma-modal {
  --sbma-forest: #4c5c50;
  --sbma-forest-hover: #39483d;
  --sbma-ink: #30352f;
  --sbma-muted: #696f65;
  --sbma-cream: #f6f5f0;
  --sbma-beige: #e7e2d8;
  --sbma-line: #dcded5;
  --sbma-white: #fff;
  font-family: inherit;
  box-sizing: border-box;
}
.sbma-floating *, .sbma-modal * { box-sizing: border-box; }
.sbma-button, .sbma-submit {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--sbma-forest);
  background: var(--sbma-forest);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  padding: 14px 18px;
  min-height: 52px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.sbma-button:hover, .sbma-submit:hover:not(:disabled) {
  color: #fff;
  background: var(--sbma-forest-hover);
  border-color: var(--sbma-forest-hover);
  transform: translateY(-1px);
}
.sbma-button:focus-visible, .sbma-submit:focus-visible, .sbma-close:focus-visible,
.sbma-modal a:focus-visible, .sbma-field input:focus-visible, .sbma-field textarea:focus-visible {
  outline: 3px solid #a9b8a2;
  outline-offset: 3px;
}
.sbma-floating {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 10010;
  margin: 0;
  padding: 0;
}
.sbma-floating .sbma-button {
  min-height: 48px;
  border-radius: 999px;
  font-size: 14px;
  padding: 12px 21px;
  gap: 0;
  justify-content: center;
  box-shadow: 0 5px 16px rgba(28, 32, 26, .17);
}
.sbma-floating .sbma-button:hover {
  box-shadow: 0 7px 19px rgba(28, 32, 26, .21);
}
.sbma-modal[hidden], .sbma-status[hidden] { display: none !important; }
.sbma-modal {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: grid;
  place-items: center;
  padding: 18px 13px;
}
.sbma-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 21, .71);
  backdrop-filter: blur(2px);
}
.sbma-dialog {
  position: relative;
  width: min(100%, 570px);
  max-height: min(92dvh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--sbma-ink);
  background: var(--sbma-cream);
  border: 1px solid var(--sbma-beige);
  border-top: 4px solid var(--sbma-forest);
  border-radius: 14px;
  box-shadow: 0 24px 75px rgba(0, 0, 0, .26);
  padding: 30px 32px 28px;
  font-family: inherit;
  text-align: left;
}
.sbma-intro { padding-right: 32px; margin-bottom: 20px; }
.sbma-intro h2 {
  margin: 0;
  font-family: inherit;
  color: var(--sbma-ink);
  font-weight: 750;
  font-size: clamp(25px, 5vw, 31px);
  line-height: 1.22;
}
.sbma-close {
  position: absolute;
  right: 19px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #eaeae3;
  color: var(--sbma-ink);
  border: 1px solid var(--sbma-line);
  border-radius: 8px;
  cursor: pointer;
}
.sbma-close:hover { background: #dddfd6; }
.sbma-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.sbma-fields-two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.sbma-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sbma-field label { color: var(--sbma-ink); font-size: 13px; font-weight: 700; line-height: 1.45; }
.sbma-field label > span { color: #866753; }
.sbma-field small { color: var(--sbma-muted); font-size: 11px; font-weight: 400; }
.sbma-field input, .sbma-field textarea {
  appearance: auto;
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #d3d8ce;
  border-radius: 7px;
  box-shadow: none;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: #30352f;
}
.sbma-field textarea { min-height: 95px; resize: vertical; }
.sbma-field input::placeholder, .sbma-field textarea::placeholder { color: #93998f; opacity: 1; }
.sbma-field input:focus, .sbma-field textarea:focus { border-color: var(--sbma-forest); background: #fff; }
.sbma-privacy { color: var(--sbma-muted); font-size: 12px; line-height: 1.55; margin: 0; }
.sbma-privacy a { color: var(--sbma-forest); text-decoration: underline; text-underline-offset: 2px; }
.sbma-status {
  margin: 0;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid #cfdfcd;
  border-radius: 7px;
  background: #edf4eb;
  color: #304d33;
}
.sbma-status.is-error { border-color: #e8c5b9; background: #fff1ec; color: #873d30; }
.sbma-submit { width: 100%; }
.sbma-submit:disabled { opacity: .65; cursor: progress; }
.sbma-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
html.sbma-open { overflow: hidden; }
@media (max-width: 570px) {
  .sbma-fields-two { grid-template-columns: 1fr; }
  .sbma-dialog { padding: 24px 19px 21px; }
  .sbma-close { top: 13px; right: 13px; }
  .sbma-floating { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .sbma-floating .sbma-button { font-size: 13px; padding: 10px 16px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sbma-button, .sbma-submit { transition: none; }
}
