:root {
  --green: #79a83b;
  --blue: #1c00cc;
  --text: #3f3f3f;
  --ink: #161616;
  --lilac: #cfc7f2;
  --lilac-soft: #eeeafd;
  --sand: #eee2d0;
  --muted: #666666;
  --bg: #f7f3ea;
  --white: #fffcf6;
  --paper: #faf6ee;
  --green-soft: #f3f8ed;
  --blue-soft: #f3f2ff;
  --night: #14143a;
  --border: #e4ddd0;
  --gold: #c89b3c;
  --shadow: 0 14px 36px rgba(63, 63, 63, 0.08);
  --radius: 20px;
  --wrap: min(1100px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, system-ui, sans-serif;
  font-size: 1.05rem;
  overflow-wrap: break-word;
  color: var(--text);
  background:
    radial-gradient(ellipse at 12% 8%, rgba(207, 199, 242, 0.45), transparent 42%),
    radial-gradient(ellipse at 88% 12%, rgba(121, 168, 59, 0.14), transparent 36%),
    linear-gradient(165deg, #f7f3ea 0%, #faf6ee 48%, #eeeafd 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

main::before {
  display: none;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.88; }
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--green);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--white);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

main {
  flex: 1;
  padding: 1.2rem 0 4.5rem;
}

.site-header {
  background: rgba(255, 252, 246, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 0, 204, 0.12);
  box-shadow: 0 10px 30px rgba(20, 20, 58, 0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(28, 0, 204, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:focus-visible,
.nav a:focus-visible,
.btn:focus-visible,
.link-btn:focus-visible,
a:focus-visible,
.site-footer a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.logo {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1.15;
}

.logo strong {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.15;
  max-width: none;
  font-family: "Segoe UI", Inter, Arial, system-ui, sans-serif;
  font-weight: 700;
}

.logo-tag {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--lilac-soft);
  color: var(--blue);
}

.nav a:hover {
  transform: translateY(-1px);
}

.hero,
.panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(250, 246, 238, 0.94));
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    var(--shadow);
  padding: 1.55rem 1.6rem 1.5rem;
}

.hero-open {
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 155, 60, 0.14), transparent 34%),
    linear-gradient(155deg, rgba(243, 248, 237, 0.72), rgba(250, 246, 238, 0.5) 62%, transparent);
  border: 0;
  box-shadow: none;
  border-radius: 24px;
  padding: 1.7rem 1.4rem 1.45rem;
  margin: 0 0 1.5rem;
}

.page-intro {
  padding: 0.4rem 0 1.1rem;
  margin: 0 0 1.1rem;
}

.page-intro h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  max-width: none;
}

.page-intro p {
  margin: 0;
  max-width: 38rem;
}

body[data-page="start"] {
  background:
    radial-gradient(circle at 88% 8%, rgba(207, 199, 242, 0.4), transparent 34%),
    radial-gradient(circle at 8% 18%, rgba(121, 168, 59, 0.1), transparent 32%),
    linear-gradient(180deg, #f7f3ea 0%, #eeeafd 100%);
}

body[data-page="start"] main {
  padding-top: 0;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: min(74vh, 680px);
  padding: 3.4rem 0 3.6rem;
  margin-bottom: 0.2rem;
  animation: hero-enter 0.9s ease both;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.orb-a {
  width: 28rem;
  height: 28rem;
  left: -6rem;
  top: 8rem;
  background: rgba(121, 168, 59, 0.18);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

.orb-b {
  width: 24rem;
  height: 24rem;
  right: -4rem;
  top: -3rem;
  background: rgba(28, 0, 204, 0.08);
  animation: hero-drift 26s ease-in-out infinite alternate-reverse;
}

.orb-c {
  width: 20rem;
  height: 20rem;
  right: 18%;
  bottom: -4rem;
  background: rgba(200, 155, 60, 0.2);
  animation: hero-drift 20s ease-in-out infinite alternate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-block {
  display: grid;
  grid-template-columns: minmax(0, 36rem) 1fr;
  gap: 2rem;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-copy {
  background: rgba(255, 252, 246, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(228, 221, 208, 0.7);
  border-radius: 28px;
  padding: 2.15rem 1.9rem 2rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 22px 50px rgba(20, 20, 58, 0.08);
  animation: hero-enter-copy 0.95s ease 0.12s both;
}

body[data-page="start"] .hero-copy h1 {
  font-size: 2.35rem;
  line-height: 1.2;
  max-width: 16ch;
}

.hero-visual {
  margin: 0;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(63, 63, 63, 0.08);
}

.hero-path {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: hero-draw 3.4s ease forwards;
}

.hero-link {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: hero-draw 4.8s ease 0.35s forwards;
}

.hero-link-2 { animation-delay: 0.85s; }
.hero-link-3 { animation-delay: 1.3s; }
.hero-link-4 { animation-delay: 1.7s; }

.hero-mark {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-pulse 3.2s ease-in-out infinite;
}

.hero-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-ring 3.2s ease-in-out infinite;
}

.hero-mark-2,
.hero-float-2 .hero-ring { animation-delay: 0.4s; }
.hero-mark-3,
.hero-float-3 .hero-ring { animation-delay: 0.8s; }
.hero-mark-4,
.hero-float-4 .hero-ring { animation-delay: 1.15s; }

.hero-float {
  animation: hero-float 7s ease-in-out infinite;
}

.hero-float-2 { animation-duration: 8.2s; animation-delay: 0.6s; }
.hero-float-3 { animation-duration: 6.6s; animation-delay: 1s; }
.hero-float-4 { animation-duration: 7.8s; animation-delay: 0.3s; }

.hero-needle {
  transform-origin: 0 0;
  animation: hero-needle 6.4s ease-in-out infinite alternate;
}

@keyframes hero-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-enter-copy {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.28); }
}

@keyframes hero-ring {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.85); }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes hero-needle {
  from { transform: rotate(-14deg); }
  to { transform: rotate(13deg); }
}

@keyframes hero-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(28px, -22px) scale(1.08); }
}

.back-link {
  margin: 0 0 1rem;
}

.back-link .btn {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  width: auto;
  max-width: 100%;
}

.text-link {
  color: var(--blue);
  font-size: 0.95rem;
}

.preview-empty {
  min-height: 11rem;
  display: grid;
  align-content: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
}

.preview-empty p {
  margin: 0;
  max-width: 36rem;
}

.hint-block {
  margin: 1.8rem 0 0;
  padding: 1.3rem 1.35rem;
  background: var(--blue-soft);
  border-radius: 22px;
  max-width: 44rem;
}

.hint-block h2 {
  font-size: 1.28rem;
}

.hint-block p {
  margin: 0;
}

.notify-box {
  scroll-margin-top: 5.5rem;
  margin: 2.6rem auto 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(200, 155, 60, 0.22), transparent 38%),
    linear-gradient(150deg, #f3f8ed 0%, #faf6ee 52%, #f3f2ff 100%);
  border-radius: 30px;
  padding: 1.8rem 1.7rem 1.6rem;
  max-width: 48rem;
  border: 1px solid rgba(228, 221, 208, 0.75);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, var(--shadow);
  animation: rise 0.7s ease both;
}

.notify-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

.notify-head h2,
.notify-head p {
  margin: 0;
}

.notify-head p {
  margin-top: 0.35rem;
  max-width: 36rem;
}

.notify-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}

.notify-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0;
}

.notify-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: end;
}

.notify-email {
  margin: 0;
}

.notify-consent {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}

#signupGate {
  margin: 0 0 1.4rem;
}

#signupGate > p:first-child {
  margin-top: 0;
}

.form-hint {
  background:
    radial-gradient(circle at 92% 18%, rgba(200, 155, 60, 0.12), transparent 36%),
    var(--blue-soft);
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  max-width: 44rem;
}

.preview,
.offers {
  margin: 2.4rem 0 0;
}

.offers {
  background: var(--green-soft);
  border-radius: 22px;
  padding: 1.5rem 1.4rem 1.2rem;
}

.preview-more {
  margin: 1.2rem 0 0;
}

.event-list {
  display: grid;
  gap: 0;
}

.events-empty {
  background: none;
  border: 0;
  padding: 0.2rem 0 1rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.events-empty p {
  margin: 0;
  max-width: 38rem;
}

.events-empty .btn {
  width: fit-content;
}

.event-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(250, 246, 238, 0.96));
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 18px;
  padding: 0 0 1.25rem;
  display: grid;
  gap: 0.45rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.event-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--gold), var(--green));
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(20, 20, 58, 0.1);
}

.card-visual {
  min-height: 11rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 155, 60, 0.28), transparent 36%),
    linear-gradient(145deg, #f3f8ed 0%, #f3f2ff 100%);
}

.card-visual-img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
}

.event-card h3,
.event-card .badge-row,
.event-card .meta,
.event-card p,
.event-card .btn {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.event-card h3 {
  margin-top: 0.15rem;
  font-size: 1.15rem;
}

.event-card .badge-row {
  margin-top: 0.85rem;
}

.event-card .btn {
  margin-top: 0.45rem;
  width: fit-content;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-band,
.event-card,
.offer-card,
.choice-card,
.panel,
.filters,
.pin-upload {
  animation: rise 0.65s ease both;
}

.event-card:nth-child(2) { animation-delay: 0.06s; }
.event-card:nth-child(3) { animation-delay: 0.12s; }
.event-card:nth-child(4) { animation-delay: 0.18s; }
.event-card:nth-child(5) { animation-delay: 0.24s; }
.event-card:nth-child(6) { animation-delay: 0.3s; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.offer-card {
  display: grid;
  gap: 0.35rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(250, 246, 238, 0.94));
  border: 1px solid rgba(228, 221, 208, 0.9);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, var(--shadow);
  min-height: 8.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.offer-card:hover {
  color: var(--text);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(20, 20, 58, 0.1);
}

.offer-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-card span {
  margin-top: auto;
  color: var(--blue);
  font-weight: 650;
  font-size: 0.9rem;
}

.event-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.event-when {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.event-when strong {
  color: var(--blue);
  font-weight: 650;
}

.event-body h3 {
  margin: 0.2rem 0 0.3rem;
  font-size: 1.12rem;
}

.event-body h3 a {
  text-decoration: none;
  color: var(--blue);
}

.event-body h3 a:hover {
  color: var(--green);
}

.link-btn {
  border: 0;
  padding: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.platform-contact {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.detail-aside .contact-box h2 {
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6rem;
  font-family: "Segoe UI", Inter, Arial, system-ui, sans-serif;
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  max-width: none;
}

.hero-copy .lead {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36rem;
}

.actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: #6a9433;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(121, 168, 59, 0.3);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: #1700a8;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 0, 204, 0.22);
}

.btn-ghost {
  background: rgba(255, 252, 246, 0.9);
  color: var(--blue);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--green-soft);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(63, 63, 63, 0.08);
}

.btn-light {
  background: #fff;
  color: var(--blue);
  border-color: transparent;
}

.btn-light:hover {
  background: var(--lilac-soft);
  color: var(--blue);
}

.btn-danger {
  background: #8a2a2a;
  color: var(--white);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(250, 246, 238, 0.95));
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  display: grid;
  gap: 0.4rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow);
}

.card h2,
.card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.meta,
.muted,
.status {
  color: var(--muted);
  font-size: 0.92rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.35rem;
}

.place-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.place-de {
  background: #eef6e3;
  color: #3f3f3f;
}

.place-at {
  background: #f6ede4;
  color: #7a4f2e;
}

.place-ch {
  background: #f3f2ff;
  color: #1c00cc;
}

.place-online {
  background: #e7f3f8;
  color: #2b5f73;
}

.place-other {
  background: #f3f1ea;
  color: #3f3f3f;
}

.tag {
  display: inline-block;
  background: #eef6e3;
  color: var(--text);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 1.05rem;
}

.panel.form {
  padding: 1.8rem 1.7rem 1.75rem;
  max-width: 52rem;
  width: 100%;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.38rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 12px;
  min-height: 2.8rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(121, 168, 59, 0.7);
  box-shadow: 0 0 0 3px rgba(121, 168, 59, 0.16);
  background: #fffcf6;
}

input[type="file"] {
  min-height: 4.4rem;
  padding: 1rem 0.9rem;
  border-style: dashed;
  background:
    radial-gradient(circle at 92% 18%, rgba(200, 155, 60, 0.14), transparent 36%),
    linear-gradient(180deg, #faf6ee, #f3f8ed);
  cursor: pointer;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  min-height: auto;
  margin-top: 0.25rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  align-items: end;
  background: var(--lilac-soft);
  border: 1px solid rgba(207, 199, 242, 0.7);
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0.95rem;
}

.filter-toggle {
  display: none;
  min-height: 2.5rem;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filters label {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--muted);
}

.filters input,
.filters select {
  min-height: 2.6rem;
  background: rgba(247, 243, 234, 0.7);
}

.event-image {
  width: 100%;
  max-height: min(70vh, 560px);
  object-fit: contain;
  background: #f3f8ed;
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

.image-preview {
  display: block;
  max-width: min(100%, 28rem);
  max-height: 18rem;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #f3f8ed;
  border-radius: 14px;
  margin: 0.4rem 0 0.6rem;
  border: 1px solid rgba(228, 221, 208, 0.9);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}

.contact-box {
  display: grid;
  gap: 0.45rem;
}

.ad-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background: rgba(255, 252, 246, 0.88);
  border-top: 1px solid rgba(228, 221, 208, 0.95);
  padding: 1.35rem 0 1.7rem;
  box-shadow: 0 -10px 30px rgba(20, 20, 58, 0.03);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  padding-right: 6.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.footer-copy-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
  opacity: 0.85;
}

.footer-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.4rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.2rem 0;
  border-radius: 0;
  background: none;
  color: #3F3F3F;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.footer-support-icon {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-support:hover {
  background: none;
  color: #3F3F3F;
  text-decoration: underline;
}

.site-footer nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-admin {
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.65;
}

.chat-btn {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(63, 63, 63, 0.24);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.chat-btn:hover,
.chat-btn:focus-visible {
  background: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(121, 168, 59, 0.28);
}

.contact-dialog {
  width: min(32rem, calc(100% - 1.5rem));
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 20px;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, #fffcf6, #faf6ee);
  box-shadow: 0 24px 60px rgba(20, 20, 58, 0.16);
}

.contact-dialog .actions {
  margin: 0.9rem 0 0;
}

.contact-dialog .actions .btn {
  min-width: 12rem;
}

#flyerDialog.contact-dialog {
  width: min(56rem, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.1rem 1.2rem 1.25rem;
  background: #faf6ee;
}

.contact-dialog::backdrop {
  background: rgba(63, 63, 63, 0.35);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.icon-btn {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table-wrap {
  overflow-x: auto;
}

.admin-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-actions form,
.admin-actions button,
.admin-actions a {
  margin: 0;
}

@media (max-width: 1100px) {
  body[data-page="start"] .hero-copy h1 {
    font-size: 2.1rem;
  }

  h1,
  .page-intro h1,
  .pin-head h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 960px) {
  .site-header .wrap {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .form-row,
  .detail-grid,
  .hero-block {
    grid-template-columns: 1fr;
  }

  .site-header .wrap,
  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .logo strong {
    max-width: none;
    font-size: 1.15rem;
  }

  .logo-tag {
    font-size: 0.74rem;
  }

  .nav a {
    white-space: normal;
  }

  body[data-page="start"] .hero-copy h1 {
    font-size: 1.7rem;
    max-width: none;
  }

  h1,
  .page-intro h1,
  .pin-head h1 {
    font-size: 1.55rem;
    max-width: none;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .hero-stage {
    min-height: 0;
    padding: 1.6rem 0 1.8rem;
  }

  .hero-copy {
    padding: 1.35rem 1.1rem 1.25rem;
  }

  .notify-head,
  .notify-row {
    grid-template-columns: 1fr;
  }

  .site-footer .wrap {
    padding-right: 4.5rem;
  }

  .chat-btn {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .filters {
    display: none;
  }

  .filters.is-open {
    display: grid;
  }
}

@media (max-width: 640px) {
  main {
    padding: 1rem 0 4.2rem;
  }

  body[data-page="start"] .hero-copy h1 {
    font-size: 1.5rem;
  }

  h1,
  .page-intro h1,
  .pin-head h1 {
    font-size: 1.4rem;
  }

  .btn {
    min-height: 2.6rem;
    width: 100%;
    max-width: 22rem;
  }

  .back-link .btn {
    min-height: 2.75rem;
    width: auto;
    min-width: 12rem;
    max-width: 100%;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1100px, calc(100% - 1.4rem));
  }

  body[data-page="start"] .hero-copy h1 {
    font-size: 1.38rem;
  }

  .nav a {
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-stage {
    min-height: 0;
    padding: 1rem 0 1.2rem;
  }

  body[data-page="start"] .hero-copy h1 {
    font-size: 1.45rem;
  }

  .site-header .wrap {
    min-height: 3.4rem;
  }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.8rem;
}

.choice-card {
  display: block;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(250, 246, 238, 0.94));
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
  font: inherit;
}

.choice-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.choice-card p {
  margin: 0;
  color: var(--muted);
}

.choice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(20, 20, 58, 0.1);
}

.pin-teaser {
  margin: 1.2rem auto 1.4rem;
  padding: 1.2rem 1.3rem 1.25rem;
  background:
    radial-gradient(circle at 90% 12%, rgba(121, 168, 59, 0.12), transparent 32%),
    linear-gradient(180deg, #f3f8ed, #fffcf6);
  border: 1px solid rgba(207, 199, 242, 0.75);
  border-radius: 18px;
  box-shadow: none;
  animation: none;
}

.pin-teaser h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.pin-teaser p {
  margin: 0;
}

.pin-teaser .actions {
  margin-top: 0.85rem;
}

.home-signup {
  margin: 0 auto 2.4rem;
  max-width: 46rem;
}

.home-signup h2 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.home-signup > p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.signup-done {
  padding: 1rem 1.1rem;
  background: var(--lilac-soft);
  border-radius: 14px;
}

.signup-done p {
  margin: 0;
}

.signup-done .actions {
  margin-top: 0.9rem;
}

.home-signup .notify-form {
  max-width: none;
}

body[data-page="pinnwand"] {
  background-color: #f3ece2;
  background-image:
    radial-gradient(ellipse 320px 260px at 1% 2%, rgba(121, 168, 59, 0.09), transparent 72%),
    radial-gradient(ellipse 300px 240px at 99% 98%, rgba(121, 168, 59, 0.07), transparent 70%),
    radial-gradient(circle at 50% 0%, rgba(255, 252, 246, 0.85), transparent 58%);
}

body[data-page="pinnwand"] .wrap {
  width: min(1340px, calc(100% - 2rem));
}

body[data-page="pinnwand"] .image-preview[hidden] {
  display: none;
}

.pin-main {
  position: relative;
}

.pin-deco {
  position: absolute;
  width: 9rem;
  height: 9rem;
  pointer-events: none;
  opacity: 0.16;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

.pin-deco-tl {
  top: 0.5rem;
  left: 0.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M18 78c12-28 34-48 62-54-8 22-6 46 8 66-20-4-38-2-54 12-6-8-12-16-16-24z' fill='%2379A83B'/%3E%3Cpath d='M28 42c10-8 22-12 34-10-6 14-4 30 6 42-14-6-28-8-40-32z' fill='%235a7a32'/%3E%3C/svg%3E");
}

.pin-deco-br {
  right: 0.4rem;
  bottom: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M102 42c-12 28-34 48-62 54 8-22 6-46-8-66 20 4 38 2 54-12 6 8 12 16 16 24z' fill='%2379A83B'/%3E%3Cpath d='M92 78c-10 8-22 12-34 10 6-14 4-30-6-42 14 6 28 8 40 32z' fill='%235a7a32'/%3E%3C/svg%3E");
}

body[data-page="pinnwand"] .wrap {
  position: relative;
  z-index: 1;
}

.pin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin: 0 0 1.75rem;
  padding: 0.2rem 0 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.pin-head-main {
  flex: 1 1 16rem;
  min-width: 0;
}

body[data-page="pinnwand"] .pin-head h1 {
  margin: 0 0 0.25rem;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(2.35rem, 4.5vw, 3.1rem);
  font-weight: 600;
  color: #4a6e2a;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.pin-heart {
  font-size: 0.88em;
  color: #79a83b;
  font-weight: 500;
}

.pin-head-main > p {
  margin: 0;
  max-width: 38rem;
  color: #6f6860;
  font-size: 0.98rem;
}

.pin-hint {
  position: relative;
  flex: 0 0 auto;
  margin: 0.35rem 0 0;
  padding: 0.4rem 1rem 0.5rem;
  align-self: flex-start;
  border: 0;
  background: none;
}

.pin-hint-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.12rem;
  color: #5a5248;
  line-height: 1.2;
}

.pin-hint::before {
  content: "";
  position: absolute;
  inset: 0 -8px -3px -6px;
  background: rgba(242, 215, 205, 0.68);
  border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%;
  transform: rotate(-1.5deg);
  z-index: 0;
}

.pin-hint::after {
  content: "";
  position: absolute;
  right: -0.55rem;
  top: 0.55rem;
  width: 0.85rem;
  height: 0.85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 4l12 8-12 8V4z' fill='%238a7f73'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-18deg);
  opacity: 0.75;
  z-index: 2;
}

#pinBoard {
  margin: 0 0 2rem;
}

.pin-upload {
  max-width: 820px;
  margin: 0 auto 2.4rem;
  padding: 1.2rem 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(207, 199, 242, 0.7);
  border-radius: 16px;
}

.pin-upload h2 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
}

.pin-group {
  margin: 0 0 2.35rem;
  padding-bottom: 0.1rem;
}

.pin-group:last-child {
  margin-bottom: 0;
}

.pin-group h2 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pin-group h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 63, 63, 0.22), rgba(63, 63, 63, 0.06));
}

.pin-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem 0.8rem;
  align-items: start;
}

@media (min-width: 560px) {
  .pin-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .pin-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .pin-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .pin-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.pin-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: 210 / 297;
  width: 100%;
  background: var(--pin-bg, #eeeafd);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(63, 63, 63, 0.09);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pin-card:hover {
  box-shadow: 0 6px 22px rgba(63, 63, 63, 0.12);
}

.pin-shot {
  display: block;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 0;
}

.pin-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pin-lightbox-img,
.admin-flyer-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pin-meta {
  flex: 0 0 auto;
  padding: 0.32rem 0.55rem 0.42rem;
  text-align: left;
  background: rgba(255, 252, 246, 0.42);
  border-top: 1px solid rgba(63, 63, 63, 0.05);
}

.pin-meta-date {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.pin-meta-place {
  margin: 0.08rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6f6860;
  line-height: 1.3;
}

.pin-empty,
#pinBoard > .muted {
  text-align: left;
  padding: 0.4rem 0;
  margin: 0;
  color: var(--muted);
}

.pin-lightbox-img {
  width: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  object-position: center;
  background: #f7f3ea;
  margin: 0 0 1rem;
  border-radius: 8px;
}


.admin-flyer {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.admin-flyer-img {
  max-height: 8rem;
  object-fit: contain;
  background: #f3f8ed;
  border-radius: 10px;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal li {
  font-size: 1rem;
  line-height: 1.55;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

body[data-page="legal"] .panel {
  padding: 1.6rem 1.5rem 1.8rem;
}

body[data-page="events"],
body[data-page="submit"],
body[data-page="detail"],
body[data-page="error"],
body[data-page="legal"] {
  background:
    radial-gradient(circle at 14% 12%, rgba(207, 199, 242, 0.32), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(121, 168, 59, 0.08), transparent 26%),
    linear-gradient(165deg, #f7f3ea 0%, #faf6ee 46%, #eeeafd 100%);
}

body[data-page="admin"] {
  background: #f7f4ee;
}

body[data-page="admin"]::after,
body[data-page="admin"] main::before {
  display: none;
}

body[data-page="admin"]::before {
  opacity: 0.08;
}

body[data-page="admin"] h1,
body[data-page="admin"] h2,
body[data-page="admin"] h3 {
  font-family: "Segoe UI", Inter, Arial, system-ui, sans-serif;
}

body[data-page="admin"] .panel,
body[data-page="admin"] .hero,
body[data-page="admin"] .card {
  animation: none;
  box-shadow: none;
  border-color: #e8e2d6;
  background: #fffcf6;
}

body[data-page="admin"] .btn {
  border-radius: 10px;
}

body[data-page="admin"] table {
  background: #fffcf6;
}

body[data-page="admin"] th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body[data-page="admin"] .table-wrap {
  border: 1px solid #e8e2d6;
  border-radius: 14px;
  padding: 0.2rem 0.6rem;
}

@media (max-width: 900px) {
  .choice-grid,
  .admin-flyer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pin-head {
    flex-direction: column;
  }

  .pin-hint {
    align-self: flex-start;
  }

  .pin-deco {
    width: 6rem;
    height: 6rem;
    opacity: 0.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::after,
  .hero-stage,
  .hero-copy,
  .hero-path,
  .hero-link,
  .hero-mark,
  .hero-ring,
  .hero-float,
  .hero-needle,
  .hero-orb,
  .btn,
  .choice-card,
  .pin-card,
  .event-card,
  .offer-card,
  .panel,
  .filters,
  .pin-upload,
  .page-intro,
  .pin-head,
  .pin-teaser,
  .pin-empty,
  #pinBoard > .muted {
    animation: none;
    transition: none;
  }

  .hero-path,
  .hero-link {
    stroke-dashoffset: 0;
  }

  .btn-green:hover,
  .btn-blue:hover,
  .btn-ghost:hover,
  .choice-card:hover,
  .offer-card:hover,
  .event-card:hover,
  .nav a:hover,
  .chat-btn:hover,
  .pin-card,
  .pin-card:hover {
    transform: none;
  }
}


.kicker {
  margin: 0 0 0.4rem;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-hero {
  padding: 2.1rem 0 1.5rem;
  background:
    radial-gradient(ellipse at 10% 18%, rgba(207, 199, 242, 0.42), transparent 52%),
    radial-gradient(ellipse at 92% 8%, rgba(121, 168, 59, 0.12), transparent 44%),
    linear-gradient(180deg, #f7f3ea 0%, #eeeafd 58%, #f7f3ea 100%);
}

.home-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.22;
  font-weight: 700;
}

.home-hero .lead {
  margin: 0 0 1.1rem;
  max-width: 36rem;
  font-size: 1.05rem;
}

.discover-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 0.6rem 0.75rem;
  align-items: end;
  max-width: 46rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.discover-card label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--muted);
}

.discover-card input,
.discover-card select {
  min-height: 2.55rem;
  background: #fff;
}

.discover-card .btn {
  min-width: 8.4rem;
  width: auto;
  justify-self: start;
  align-self: end;
}

.topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1.1rem;
  margin: 0.35rem auto 1.5rem;
}

.topic {
  padding: 0.15rem 0.15rem 0.35rem 0.85rem;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--blue);
  box-shadow: none;
}

.topic h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.topic p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.topic-blue { border-left-color: var(--blue); }
.topic-green { border-left-color: var(--green); }
.topic-lilac { border-left-color: var(--lilac); }
.topic-gray { border-left-color: var(--text); }

.home-upcoming {
  margin: 0 auto 2.2rem;
}

.home-upcoming h2 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}

.home-empty-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.home-more {
  margin: 0.85rem 0 0;
}

.home-more a {
  font-weight: 650;
}

.quiet-link {
  margin: 0.85rem 0 0;
}

.quiet-link a {
  color: var(--text);
  font-size: 0.95rem;
}

.quiet-link a:hover {
  color: var(--green);
}

#submitChoices {
  margin: 0 0 1.4rem;
}

.form-block {
  display: grid;
  gap: 0.85rem;
  border: 0;
  margin: 0 0 1.1rem;
  padding: 0 0 0.4rem;
}

.form-block legend {
  padding: 0 0 0.7rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
}

body[data-page="submit"] .notify-form,
body[data-page="pinnwand"] .notify-form {
  max-width: none;
}

.detail-aside,
.hero-open {
  border-left: 6px solid var(--green);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header .wrap {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .nav.is-open {
    display: flex;
  }

  .discover-card,
  .event-row {
    grid-template-columns: 1fr;
  }

  .topics {
    grid-template-columns: 1fr 1fr;
  }

  .event-row::before {
    min-height: 8px;
    width: 3.2rem;
  }

  .event-row-meta {
    text-align: left;
  }

  .home-hero {
    padding: 1.5rem 0 1.2rem;
  }
}

@media (max-width: 560px) {
  .topics {
    grid-template-columns: 1fr;
  }

  body[data-page="submit"] .form,
  body[data-page="pinnwand"] .pin-upload {
    padding-bottom: 4rem;
  }
}

