#spontanHinweis[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
}
.spontan {
  box-sizing: border-box;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid #d7d0c0;
  border-radius: 8px;
  background: #f4f1e8;
  color: #29271f;
  box-shadow: 0 18px 70px rgb(39 35 25 / 22%);
}
.spontan::backdrop { background: rgb(41 37 28 / 22%); }
.spontan h3 {
  margin: 10px 0 8px;
  font: 400 clamp(26px, 4vw, 36px)/1.12 Georgia, serif;
}
.spontan p { margin: 0; color: #625d50; }
.spontan .spontan-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  color: #4e583c;
}
.spontan-tag span { width: 7px; height: 7px; border-radius: 50%; background: #64714d; }
.spontan-slots {
  display: grid;
  gap: 14px;
  margin: 20px 0 6px;
}
.spontan-friseur h4 {
  margin: 0 0 5px;
  font: 600 16px/1.3 system-ui, sans-serif;
}
.spontan-tage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.spontan-tage > * {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 56px;
  padding: 6px 4px;
  box-sizing: border-box;
  text-align: center;
  font: 13px/1.3 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.spontan-tage[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.spontan-tage[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spontan-tage button {
  border: 1px solid #a99b7d;
  border-radius: 6px;
  background: #faf7f0;
  color: #39362c;
  cursor: pointer;
}
.spontan-tage button strong { font-size: 16px; }
.spontan-tage button:hover { background: #e5ddcb; }
.spontan-tage button:focus-visible {
  outline: 2px solid #51482f;
  outline-offset: 2px;
}
@media (max-width: 380px) {
  .spontan { padding: 16px 12px; }
}
.spontan-primary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 14px 0 12px;
  padding: 10px 14px;
  border: 1px solid var(--accent, #6b6042);
  border-radius: 6px;
  background: var(--accent, #6b6042);
  color: #fffaf0;
  font: 18px Georgia, serif;
  cursor: pointer;
}
.spontan-primary:hover { background: var(--accent-lt, #51482f); }
.spontan-submit { grid-template-columns: 1fr; }
.spontan-name { display: grid; gap: 7px; margin-top: 20px; }
.spontan-name input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #b8ad96;
  border-radius: 5px;
  background: #faf7f0;
  color: #29271f;
  font: inherit;
}
.spontan-back {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #51482f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  cursor: pointer;
}
.spontan #spontanStatus { margin: 10px 0; color: #862d20; }
.spontan-consent { display: flex; gap: 8px; align-items: baseline; margin-top: 15px; font-size: 13px; }
.spontan-brand {
  display: grid;
  place-items: center;
  width: 54px;
  height: 30px;
  border-radius: 3px;
  background: #f4f1e8;
}
.spontan-brand img { display: block; }
.spontan .spontan-example { font-size: 12px; }
.spontan[open] {
  animation: spontan-unfold .35s cubic-bezier(.3, .45, .25, 1) both;
}
@keyframes spontan-unfold {
  from { clip-path: inset(48% 48% round 8px); opacity: 0; transform: scale(.92); }
  to { clip-path: inset(0 round 8px); opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spontan[open] { animation: none; }
}
