@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/baloo2-var.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito-var.woff2") format("woff2");
}

:root {
  --coral: #ef476f;
  --coral-dark: #c73055;
  --peach: #ff9760;
  --peach-dark: #cf6b2d;
  --violet: #8b5cf6;
  --violet-dark: #7c3aed;
  --indigo: #5b5bd6;
  --magenta: #c2369b;
  --ink: #32243e;
  --ink-soft: rgba(50, 36, 62, 0.74);
  --ink-faint: rgba(50, 36, 62, 0.55);
  --line: rgba(50, 36, 62, 0.12);
  --cream: #fff8f3;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(50, 36, 62, 0.08);
  --radius: 22px;
  --font-head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 { line-height: 1.15; }

img { max-width: 100%; display: block; }

a { color: var(--indigo); font-weight: 700; }

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

::selection { background: var(--peach); color: var(--ink); }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 96px; }

.wrap {
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.eyebrow {
  margin: 0 0 0.2em;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo);
}

#wann .eyebrow { color: var(--coral); }

#ort .eyebrow { color: var(--indigo); }

#faq .eyebrow { color: var(--indigo); }

#geschenke .eyebrow { color: var(--coral); }

#galerie .eyebrow { color: var(--indigo); }

#rsvp .eyebrow { color: var(--coral); }

#feinprint .eyebrow { color: var(--magenta); }

h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  margin: 0 0 0.5em;
}

.lead {
  max-width: 46em;
  font-size: 1.05rem;
  margin: 0 0 1.6em;
}

.note {
  color: var(--ink-faint);
  font-size: 0.95rem;
  margin-top: 1.2em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(239, 71, 111, 0.35);
}

.btn-primary:hover { background: var(--coral-dark); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }

.btn-lg { padding: 0.95em 1.7em; font-size: 1.08rem; }

:focus-visible {
  outline: 3px solid rgba(91, 91, 214, 0.65);
  outline-offset: 2px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 243, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-block: 0.6em;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo:hover { color: var(--ink); }

.nav-logo i { font-style: normal; color: var(--coral); }

.nav-logo-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .nav-logo-text { display: none; }
}

.nav-links {
  display: flex;
  gap: 1.1em;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.3em;
}

.nav-links a:hover { color: var(--coral); }

.btn-nav { padding: 0.55em 1.1em; font-size: 0.9rem; flex-shrink: 0; }

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(56px, 10vw, 110px) clamp(48px, 7vw, 80px);
  background:
    radial-gradient(640px 320px at 88% 8%, rgba(255, 151, 96, 0.35), transparent),
    radial-gradient(560px 320px at 8% 88%, rgba(139, 92, 246, 0.22), transparent),
    radial-gradient(420px 260px at 50% 0%, rgba(239, 71, 111, 0.14), transparent),
    #fff8f3;
}

.egg-40 {
  position: fixed;
  top: 12vh;
  left: 5vw;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 160px;
  line-height: 1;
  background: linear-gradient(160deg, var(--coral), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.12;
  user-select: none;
  pointer-events: none;
  transition: left 1.1s ease, top 1.1s ease, font-size 1.1s ease, transform 1.1s ease;
}

.egg-40.egg-pop { animation: egg-pop 0.7s ease; }

@keyframes egg-pop {
  0% { transform: scale(0.72) rotate(-7deg); }
  55% { transform: scale(1.18) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.hero-inner { position: relative; z-index: 2; }

.hero .eyebrow { color: var(--coral); text-align: center; font-size: 0.85rem; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.7rem, 9vw, 5.2rem);
  margin: 0.1em 0 0.25em;
  background: linear-gradient(95deg, var(--coral) 5%, var(--peach-dark) 45%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 36em;
  margin: 0 auto;
  font-size: clamp(1.02rem, 2.5vw, 1.2rem);
  color: var(--ink-soft);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1em;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(50, 36, 62, 0.06);
}

.chip svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip:nth-child(1) svg { color: var(--coral); }

.chip:nth-child(2) svg { color: var(--violet-dark); }

.chip:nth-child(3) svg { color: var(--indigo); }

.chip-mini { padding: 0.35em 0.85em; font-size: 0.85rem; }

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7em;
  margin-top: 1.8em;
  transition: padding-bottom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.count-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 78px;
  padding: 0.6em 0.9em 0.5em;
  cursor: pointer;
  user-select: none;
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease;
}





.countdown-chaos {
  position: relative;
  z-index: 3;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-top: 2em;
  min-height: 1.3em;
}

.count-box span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.1;
}

.count-box small {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.count-box:nth-child(1) span { color: var(--coral); }

.count-box:nth-child(2) span { color: var(--peach-dark); }

.count-box:nth-child(3) span { color: var(--violet-dark); }

.count-box:nth-child(4) span { color: var(--indigo); }

.countdown-done {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--violet-dark);
  margin: 1em 0 0;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8em;
  margin-top: 2.2em;
}

#confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.section { padding-block: clamp(56px, 9vw, 96px); }

.section-alt { background: #fff; }

.section h2 { margin-bottom: 0.6em; }

.card {
  background: var(--card);
  border: 1px solid rgba(50, 36, 62, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.5vw, 32px);
}

.date-card {
  max-width: 580px;
  margin-inline: auto;
  text-align: center;
  border-top: 6px solid var(--peach);
}

.date-big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  margin: 0 0 0.2em;
}

.date-sub {
  font-weight: 800;
  color: var(--violet-dark);
  font-size: 1.15rem;
  margin: 0;
}

.timeline {
  position: relative;
  list-style: none;
  max-width: 640px;
  margin: 2.4em auto 0;
  padding: 0 0 0 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--coral), var(--peach), var(--violet), var(--indigo));
}

.tl-item { position: relative; padding-bottom: 1.7em; }

.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0.3em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--coral);
}

.tl-item:nth-child(2)::before { border-color: var(--peach); }

.tl-item:nth-child(3)::before { border-color: var(--violet); }

.tl-item:nth-child(4)::before { border-color: var(--indigo); }

.tl-time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(239, 71, 111, 0.1);
  border-radius: 999px;
  padding: 0.15em 0.75em;
}

.tl-item:nth-child(2) .tl-time { color: var(--peach-dark); background: rgba(255, 151, 96, 0.2); }

.tl-item:nth-child(3) .tl-time { color: var(--violet-dark); background: rgba(139, 92, 246, 0.14); }

.tl-item:nth-child(4) .tl-time { color: var(--indigo); background: rgba(91, 91, 214, 0.12); }

.tl-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0.45em 0 0.15em;
}

.tl-text { margin: 0; color: var(--ink-soft); }

#wann .note, #geschenke .note { text-align: center; }

.grid-2, .grid-3 { display: grid; gap: 1.2em; }

.count-box.fallen {
  --tip: 84deg;
  transform: rotate(var(--tip));
  box-shadow: 0 6px 14px rgba(50, 36, 62, 0.08);
  animation: tip-over 1.2s ease-in-out;
}
.count-box:nth-child(2).fallen { --tip: 88deg; }
.count-box:nth-child(3).fallen { --tip: 82deg; }
.count-box:nth-child(4).fallen { --tip: 86deg; }

@keyframes tip-over {
  0% { transform: rotate(0deg); animation-timing-function: ease-in; }
  28% { transform: rotate(calc(var(--tip) + 22deg)); animation-timing-function: ease-in-out; }
  48% { transform: rotate(calc(var(--tip) - 13deg)); animation-timing-function: ease-in-out; }
  64% { transform: rotate(calc(var(--tip) + 8deg)); animation-timing-function: ease-in-out; }
  78% { transform: rotate(calc(var(--tip) - 5deg)); animation-timing-function: ease-in-out; }
  89% { transform: rotate(calc(var(--tip) + 2deg)); animation-timing-function: ease-in-out; }
  100% { transform: rotate(var(--tip)); }
}

@media (max-width: 420px) {
  .countdown { gap: 0.5em; }
  .count-box { min-width: 0; padding: 0.6em 0.7em 0.5em; }
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.location-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  margin: 0 0 0.3em;
}

.location-address { margin: 0 0 1.1em; font-weight: 600; }

.map-card { margin: 1.8em 0; }

.map-card iframe {
  width: 100%;
  height: clamp(280px, 42vw, 430px);
  border: none;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.map-card figcaption { text-align: center; margin-top: 0.7em; font-size: 0.92rem; }

.route-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.3em;
}

.route-card p { font-size: 0.97rem; margin: 0; }

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  margin-top: 1.6em;
}

.route-status { min-height: 1.5em; margin: 0.6em 0 0; font-weight: 700; color: var(--coral-dark); }

.brings-peek,
.gallery-peek { max-width: 880px; margin-bottom: 1.4em; }

.brings-count {
  color: var(--coral);
  font-weight: 800;
  font-size: 0.85em;
  margin-left: 0.3em;
}

.faq-item summary small {
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 0.78em;
}

.faq { max-width: 880px; }

.faq-item {
  background: var(--card);
  border: 1px solid rgba(50, 36, 62, 0.06);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 0.7em;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95em 1.2em;
  user-select: none;
  list-style: none;
  position: relative;
  padding-right: 3em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--coral);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item summary:hover { color: var(--coral-dark); }

.faq-answer { padding: 0 1.2em 1.1em; }

.faq-answer p { margin: 0.2em 0 0; color: var(--ink-soft); }

.gift-card { border-top: 6px solid var(--coral); }

.gift-kulinarisch { border-top-color: var(--peach); }

.gift-spende { border-top-color: var(--violet); }

.gift-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 0.4em;
}

.gift-fest h3 { color: var(--coral-dark); }

.gift-kulinarisch h3 { color: var(--peach-dark); }

.gift-spende h3 { color: var(--violet-dark); }

.gift-card p { margin: 0 0 0.8em; }

.gift-card p:last-child { margin-bottom: 0; }

.bring-group { margin-bottom: 0.4em; }

.brings-help {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin: 0 0 1.2em;
}

.bring-fold { margin: 0.6em 0; }

.bring-fold summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35em 0;
  user-select: none;
}

.bring-fold summary:hover { color: var(--coral); }

.bring-fold.cat-trinken summary { color: var(--indigo); }

.bring-fold.cat-spiele summary { color: var(--violet-dark); }

.bring-fold.cat-sonstiges summary { color: var(--magenta); }

.bring-fold summary::-webkit-details-marker { color: var(--ink-faint); }

.bring-fold[open] summary { margin-bottom: 0.3em; }

.bring-fold ul { margin: 0.3em 0 0; }

.bring-cat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 1.3em 0 0.5em;
}

.cat-essen { color: var(--coral); }

.cat-trinken { color: var(--indigo); }

.cat-spiele { color: var(--violet-dark); }

.cat-deko { color: var(--peach-dark); }

.cat-sonstiges { color: var(--magenta); }

.bring-group ul { list-style: none; padding: 0; margin: 0; }

.bring-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5em 0.9em;
  margin-bottom: 0.45em;
  font-size: 0.95rem;
}

.bring-item strong { font-weight: 800; }

.bring-handle { color: var(--ink-faint); font-size: 0.88rem; }

.bring-note { color: var(--ink-soft); }

.upload-card { max-width: 880px; margin-bottom: 1.8em; }

.upload-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.3em;
}

.upload-hint {
  color: var(--ink-faint);
  font-size: 0.92rem;
  margin: 0 0 1em;
}

.upload-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6em;
}

.upload-row input[type="file"],
.upload-row input[type="password"] {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fffdfb;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.6em 0.8em;
}

.upload-row input[type="file"]:focus,
.upload-row input[type="password"]:focus {
  outline: none;
  border-color: var(--coral);
}

.upload-status {
  font-weight: 700;
  color: var(--violet-dark);
  min-height: 1.4em;
  margin: 0.6em 0 0;
}

@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }

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

.section-rsvp { background: linear-gradient(180deg, rgba(255, 151, 96, 0.07), rgba(139, 92, 246, 0.09)); }

.deadline-banner {
  display: flex;
  align-items: center;
  gap: 0.8em;
  max-width: 640px;
  background: rgba(255, 151, 96, 0.22);
  border: 2px solid var(--peach);
  border-radius: 16px;
  padding: 1em 1.3em;
  margin-bottom: 1.4em;
}

.deadline-banner svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--peach-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.deadline-banner p { margin: 0; font-weight: 600; }

.stats-chip[hidden] { display: none; }

.stats-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-dark);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-weight: 800;
  margin-bottom: 1.4em;
}

.form-card, .success-card { max-width: 880px; }

.form-hint {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin: 0 0 1.4em;
}

.edit-note {
  color: var(--violet-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 1.4em;
}

.field-group {
  border: none;
  padding: 0;
  margin: 0 0 1.8em;
}

.field-group legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.6em;
  padding: 0;
}

fieldset[disabled] { opacity: 0.45; }

.field { margin-bottom: 1.2em; }

.field:last-child { margin-bottom: 0; }

.field label { display: block; font-weight: 800; font-size: 0.95rem; margin-bottom: 0.35em; }

.req { color: var(--coral); }

.field-help { color: var(--ink-faint); font-size: 0.85rem; margin: 0.35em 0 0; }

input[type="text"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fffdf9;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.7em 0.9em;
}

textarea { resize: vertical; min-height: 100px; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 71, 111, 0.15);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6em; }
.coming-row { margin-bottom: 1.6em; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.05em;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pill input { width: 1.1em; height: 1.1em; margin: 0; accent-color: var(--coral); flex-shrink: 0; }

.pill:has(:checked),
.pill.pill-checked {
  border-color: var(--coral);
  background: rgba(239, 71, 111, 0.1);
}

.pill-yes:has(:checked),
.pill-yes.pill-checked {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.14);
}

.pill-yes input { accent-color: var(--violet); }

.pill-no:has(:checked),
.pill-no.pill-checked {
  border-color: var(--coral);
  background: rgba(239, 71, 111, 0.12);
}

.field .pill { padding: 0.55em 1.05em; }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: rgba(239, 71, 111, 0.1);
  border: 2px solid var(--coral);
  border-radius: 12px;
  color: var(--coral-dark);
  font-weight: 700;
  padding: 0.8em 1em;
  margin: 0 0 1.2em;
}

.btn-submit { width: 100%; font-size: 1.1rem; }

.success-card { border-top: 6px solid var(--violet); }

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8em;
}

.success-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-card h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin: 0 0 0.4em; }

#success-text p { margin: 0.4em 0; }

#success-text ul { margin: 0.4em 0; padding-left: 1.3em; }

#success-text li { margin: 0.2em 0; }

#success-edit { margin-top: 1.2em; }

.fineprint-card { max-width: 880px; }

.fineprint {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: afb;
}

.fineprint li {
  position: relative;
  padding-left: 3.4em;
  margin-bottom: 0.9em;
  counter-increment: afb;
}

.fineprint li:last-child { margin-bottom: 0; }

.fineprint li::before {
  content: "§ " counter(afb);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--magenta);
}

.footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding-block: 2.6em 2.2em;
}

.footer-line { margin: 0.35em 0; }

.footer-line a { color: var(--peach); text-decoration: none; }

.footer-line a:hover { text-decoration: underline; color: var(--peach); }

.footer-small { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

.legal-page h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  margin: 0 0 0.2em;
}

.legal-back { margin: 0 0 1.8em; }

.legal-card { max-width: 880px; margin-bottom: 1.4em; }

.legal-card h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin: 0 0 0.5em;
}

.legal-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.3em 0 0.3em;
}

.legal-card p { margin: 0 0 0.7em; }

.legal-card .note { margin-top: 0.3em; }

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



@media (max-width: 420px) {
  .countdown { gap: 0.5em; }
  .count-box { min-width: 0; padding: 0.6em 0.7em 0.5em; }
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-answer .wero-qr {
  width: 180px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-top: 0.8em;
}

.btn-song-add {
  padding: 0.5em 1.1em;
  font-size: 0.88rem;
  margin-top: 0.2em;
}

.btn-song-add:disabled { opacity: 0.45; cursor: not-allowed; }

.song-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.6em;
  align-items: end;
  margin-bottom: 0.4em;
}

.song-row .field { margin-bottom: 0; }

@media (max-width: 460px) {
  .song-row { grid-template-columns: 1fr; }
  .song-remove { grid-column: 1 / -1; }
}

.song-remove {
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.song-remove:hover { border-color: var(--coral); color: var(--coral); }

.song-hint {
  grid-column: 1 / -1;
  color: var(--peach-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin: -0.2em 0 0.2em;
  min-height: 1.1em;
}

.my-photos { margin-top: 1.2em; }

.my-photos h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.6em;
}

.my-photos-strip a { display: block; }

.my-photos-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.7em;
}

.my-photos-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}


.field-hint {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin: 0.4em 0 0;
}
