/* Ladenart-Kacheln auf der Startseite und im Quiz */
.sk-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sk-tiles :is(a, button) {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 84px;
  padding: 10px 4px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: #3c5a46;
  font: 600 14px/20px Montserrat, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.sk-tiles :is(a, button) svg { width: 34px; height: 34px; }
.sk-tiles :is(a, button) span { color: var(--ink); }
.sk-tiles :is(a, button):hover,
.sk-tiles button[data-selected] { border-color: var(--ink); }

.sk-teaser {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.sk-teaser .sk-lbl { margin-bottom: 10px; }
.sk-teaser .sk-tiles { margin-bottom: 16px; }
.promo.sk-hide { transform: translateY(140%); opacity: 0; pointer-events: none; }

@media (max-width: 959px) {
  .sk-tiles :is(a, button) span { font-size: 13px; letter-spacing: -.01em; }
  .sk-teaser .sk-preview { padding: 14px 10px; }
  .sk-teaser .wcard { max-width: 250px; padding: 11px 11px 9px; }
  .sk-teaser .wc-qr { display: none; }
  .sk-teaser .wc-strip { margin: 9px -11px 7px; padding: 9px 11px; }
  .sk-teaser .wc-stamps { gap: 6px; }
  .sk-teaser .wc-row b { font-size: 13px; }
  .sk-teaser .wc-name { font-size: 15px; }
  .sk-teaser .wc-count b { font-size: 17px; }
  .sk-teaser .wc-logo { width: 32px; height: 32px; }
  .sk-teaser .wc-logo svg { width: 22px; height: 22px; }
}

@media (min-width: 960px) {
  .sk-tiles :is(a, button) { min-height: 96px; font-size: 15px; }
  .sk-tiles :is(a, button) svg { width: 40px; height: 40px; }
  .sk-teaser { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
}

/* Kartenquiz */
.sk-quiz {
  max-width: 920px;
  padding-top: 20px;
  scroll-margin-top: 72px;
}

.sk-quiz > h1 {
  max-width: 22ch;
  margin: 0 auto 18px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.sk-quiz-card {
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid var(--line);
}

.sk-quiz-progress,
.sk-quiz-screen:not(#quizResult) {
  width: min(100%, 540px);
  margin-inline: auto;
}

.sk-quiz-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.sk-quiz-progress progress {
  appearance: none;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: #efede8;
}

.sk-quiz-progress progress::-webkit-progress-bar { background: #efede8; }
.sk-quiz-progress progress::-webkit-progress-value { background: linear-gradient(90deg, #9563ff, #ff8955); }
.sk-quiz-progress progress::-moz-progress-bar { background: linear-gradient(90deg, #9563ff, #ff8955); }

.sk-quiz .sk-quiz-screen :is(h1, h2) {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.sk-quiz .sk-quiz-screen :is(h1, h2):focus { outline: none; }

.sk-quiz-options { display: grid; gap: 10px; }

.sk-quiz-options button {
  min-height: 56px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: 600 15px/21px Montserrat, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.sk-quiz-options button:hover,
.sk-quiz-options button[data-selected] {
  border-color: #7046d5;
  background: #f4f1ff;
}

.sk-tiles :is(a, button):focus-visible,
.sk-quiz-options button:focus-visible,
.sk-quiz-back:focus-visible {
  outline: 2px solid #7046d5;
  outline-offset: 2px;
}

.sk-quiz-back {
  display: block;
  min-height: 44px;
  margin: 10px auto 0;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 600 14px/20px Montserrat, system-ui, sans-serif;
  cursor: pointer;
}

#quizNotes button {
  display: flex;
  align-items: center;
  gap: 10px;
}

#quizNotes button [aria-hidden] { flex: none; font-size: 18px; }

.sk-quiz-result {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.sk-quiz-result .sk-preview { margin: 0; padding: 16px 10px; }
.sk-quiz-result .wcard { max-width: 300px; }
.sk-quiz-result .wc-qr { display: none; }

.sk-quiz-note {
  display: grid;
  gap: 3px;
  width: min(100%, 300px);
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
}

.sk-quiz-note small { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .sk-quiz-note { animation: sk-quiz-note-in .55s cubic-bezier(.2,.65,.3,1) both; }
  @keyframes sk-quiz-note-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.sk-quiz-form {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid color-mix(in srgb, var(--quiz-accent) 27%, white);
  border-radius: 18px;
  background: color-mix(in srgb, var(--quiz-accent) 9%, white);
}
.sk-quiz-form h3 { font-size: 17px; line-height: 23px; }
.sk-quiz-form .btn-dark { background: var(--quiz-accent); color: #fff; }
.sk-quiz-form .btn-dark:hover { background: color-mix(in srgb, var(--quiz-accent) 88%, black); }

.sk-quiz-form .c-field span {
  position: static;
  width: auto;
  height: auto;
  white-space: normal;
}

.sk-quiz-form .c-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.sk-quiz-consent { min-height: 44px; }
.sk-quiz-form input[aria-invalid] { outline: 2px solid #c2410c; outline-offset: 2px; }
.sk-quiz-error { color: #9a3412; font-size: 14px; }
.sk-quiz-message { padding: 14px 16px; border-radius: 14px; background: #f4f1ff; font-size: 15px; }
.sk-quiz [hidden] { display: none; }

@media (min-width: 720px) {
  .sk-quiz-result { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}

/* Abschluss-Hebel (18.11.): Versprechen, Risikoumkehr, Danke-Bereich mit Termin und Gäste-Frage */
.sk-quiz-promise { margin-top: -6px; font-size: 14px; line-height: 20px; color: var(--muted); }
.sk-quiz-form .c-field small { font-weight: 400; color: var(--muted); }
.sk-quiz-trust { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; line-height: 19px; font-weight: 600; color: #1e7e3b; }
.sk-quiz-trust .sk-quiz-scarce { color: #c2410c; display: inline-flex; align-items: center; gap: 6px; }
.sk-quiz-trust .sk-quiz-scarce::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff8955; animation: sk-pulse 1.6s infinite; }
.sk-quiz-done { display: grid; gap: 12px; }
.sk-quiz-cal { background: var(--quiz-accent, #101110); color: #fff; }
.sk-quiz-cal-note { margin-top: -6px; font-size: 13px; color: var(--muted); text-align: center; }
.sk-quiz-qual { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line); font-size: 14px; line-height: 20px; }
.sk-quiz-qual b { font-size: 15px; }
.sk-quiz-qual-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-quiz-qual-opts button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 15px/20px Montserrat, system-ui, sans-serif; color: var(--ink); cursor: pointer; }
.sk-quiz-qual-opts button[data-selected] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sk-quiz-qual-opts button:disabled:not([data-selected]) { opacity: .5; }
.sk-quiz-qual-ok { color: #1e7e3b; font-weight: 600; }
