/* GS1 (Heike 09.11.2026 abends, A2–A6): der Gestalter — Karte oben, Umschalter darunter, „Deine Worte“ unter der Karte. */
* {
  box-sizing: border-box;
}
body.gs-eigen {
  margin: 0;
  background: #f5ede2;
  color: #2b2420;
  font:
    16px / 1.45 "GS Figtree",
    system-ui,
    sans-serif;
}
.gestalter {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 80px;
  display: grid;
  gap: 18px;
}
.entwurf-band {
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff3e0;
  color: #8a4b14;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.buehne-karte {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 0;
  background: linear-gradient(#f5ede2 85%, rgba(245, 237, 226, 0));
}
.karte-rahmen {
  width: min(78vw, 380px);
  margin: 0 auto;
  touch-action: pan-y;
  transition: width 0.25s ease;
}
.karte-rahmen svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 10px 26px rgba(60, 40, 20, 0.18),
    0 1px 3px rgba(60, 40, 20, 0.12);
  cursor: pointer;
}
.gestalter.tippen .karte-rahmen {
  width: min(40vw, 190px);
}
.schloss {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  border-radius: 99px;
  background: #2b2420;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}
.regler {
  display: grid;
  gap: 14px;
}
.regler section {
  background: #fffaf3;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(60, 40, 20, 0.08);
}
.regler h2 {
  margin: 0 0 8px;
  font:
    700 13px / 1 "GS Figtree",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6a4c;
}
.wahl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wahl button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid #e2d4c2;
  background: #fff;
  color: #2b2420;
  font: inherit;
  cursor: pointer;
}
.wahl button[aria-pressed="true"] {
  border-color: #2b2420;
  box-shadow: 0 0 0 2px #2b2420 inset;
}
.wahl button svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.wahl.motive button {
  padding: 4px;
}
.wahl.motive button svg {
  width: 64px;
  height: 64px;
}
.wahl .farbe {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
}
.hilfe,
.leise {
  margin: 6px 0 0;
  color: #7b6a5a;
  font-size: 14px;
}
.worte label {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  color: #5a4636;
}
.worte input,
.worte textarea,
.wort-teil input {
  width: 100%;
  font:
    400 17px / 1.4 "GS Figtree",
    sans-serif;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #e2d4c2;
  background: #fff;
  color: #2b2420;
}
.worte textarea {
  resize: vertical;
}
.hinweis {
  margin: 6px 0 0;
  color: #a14a00;
  font-size: 14px;
}
/* GS5: Foto ließ sich nicht verwenden — deutlich, aber freundlich */
.hinweis.fehler {
  padding: 8px 10px;
  border-left: 3px solid #b3261e;
  background: #fbeae7;
  color: #8a1c14;
  border-radius: 4px;
}
.link {
  background: none;
  border: 0;
  padding: 4px 0;
  font: inherit;
  color: #5a3b22;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.knopf {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: #2b2420;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.zoom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 14px;
}
.zoom input {
  flex: 1;
}
.einladung {
  margin: 0 0 8px;
}
[data-feld].leuchtet {
  animation: leuchten 1.2s ease-out;
}
@keyframes leuchten {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 190, 90, 0));
  }
  30% {
    filter: drop-shadow(0 0 10px rgba(255, 190, 90, 0.95));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 190, 90, 0));
  }
}
.marke {
  animation: blinken 1s steps(1) infinite;
}
@keyframes blinken {
  50% {
    opacity: 0;
  }
}
@media (min-width: 900px) {
  .gestalter {
    grid-template-columns: minmax(360px, 440px) 1fr;
    align-items: start;
  }
  .entwurf-band {
    grid-column: 1 / -1;
  }
  .buehne-karte {
    top: 12px;
  }
  .karte-rahmen,
  .gestalter.tippen .karte-rahmen {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-feld].leuchtet,
  .marke {
    animation: none;
  }
}
