/* ============================================================
   SUPERBLOOM FESTIVAL × Creators  —  Brand-System
   Navy #28235A · Pink #E8709F · Coral #E1594F · Gelb #F5C518
   Cyan #40C0E0 · Lime #C0E050 · Typo: Platform
   ============================================================ */

/* ---------- Fonts (Brand-Kit: SB25_ Font Platform) ---------- */
@font-face { font-family:'Platform'; src:url('fonts/Platform-Light.otf')   format('opentype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Platform'; src:url('fonts/Platform-Regular.otf') format('opentype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Platform'; src:url('fonts/Platform-Bold.otf')    format('opentype'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  /* Marke */
  --navy:      #28235A;
  --navy-deep: #1B1740;
  --navy-soft: #3A3475;
  --white:     #FFFFFF;
  --paper:     #FFFDF8;

  /* Blüten-Palette (aus den Brand-Elementen) */
  --pink:   #E8709F;
  --pink-hot: #F03090;
  --coral:  #E1594F;
  --yellow: #F5C518;
  --cyan:   #40C0E0;
  --lime:   #C0E050;
  --teal:   #00B0A0;

  --error:  #C62828;

  /* Typo */
  --font-display: 'Platform', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Platform', 'Helvetica Neue', Arial, sans-serif;

  /* Form */
  --radius-lg: 34px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --line: 3px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--navy); color: var(--navy);
  font-family: var(--font-body); font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; }
a { color: inherit; }
img { max-width: 100%; }

/* ============================================================
   BLÜTEN-HINTERGRUND
   Weiche Farbwolken + schwebende Brand-Elemente auf Navy.
   ============================================================ */
.bloom-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(232,112,159,.45) 0%, rgba(232,112,159,0) 42%),
    radial-gradient(circle at 82% 18%, rgba(64,192,224,.34)  0%, rgba(64,192,224,0)  40%),
    radial-gradient(circle at 74% 82%, rgba(225,89,79,.38)   0%, rgba(225,89,79,0)   44%),
    radial-gradient(circle at 24% 86%, rgba(192,224,80,.24)  0%, rgba(192,224,80,0)  40%),
    var(--navy);
}
.bloom-bg--fixed { position: fixed; }

/* schwebende Blüten */
.petal { position: absolute; opacity: .9; will-change: transform; }
.petal--1 { width: clamp(120px, 20vw, 240px); top: 6%;   left: 2%;  animation: drift 26s ease-in-out infinite; }
.petal--2 { width: clamp(90px, 14vw, 170px);  top: 10%;  right: 3%; animation: drift 32s ease-in-out infinite reverse; }
.petal--3 { width: clamp(100px, 16vw, 200px); bottom: 6%; left: 5%; animation: drift 30s ease-in-out infinite; }
.petal--4 { width: clamp(70px, 11vw, 130px);  bottom: 20%; right: 8%; animation: drift 24s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50%      { transform: translate3d(0,-26px,0) rotate(16deg); }
}
@media (prefers-reduced-motion: reduce) { .petal { animation: none; } }

/* ============================================================
   LOGO
   Zweifarbiges Sticker-Logo — als <img>, damit beide Farben bleiben.
   ============================================================ */
.brand-logo { display: block; width: 100%; height: auto; }
.brand-logo--drop { filter: drop-shadow(0 8px 0 rgba(27,23,64,.45)); }

/* ============================================================
   BUTTONS — Sticker-Pille mit satter Standkante
   ============================================================ */
.btn-bloom {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  font-size: clamp(18px, 3vw, 25px);
  color: var(--navy); background: var(--white); text-decoration: none;
  padding: 20px 42px; border: var(--line) solid var(--navy); border-radius: var(--radius-pill);
  box-shadow: 0 7px 0 var(--navy);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
}
.btn-bloom:hover  { background: var(--yellow); transform: translateY(-3px); box-shadow: 0 10px 0 var(--navy); }
.btn-bloom:active { transform: translateY(5px);  box-shadow: 0 2px 0 var(--navy); }
.btn-bloom:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.btn-bloom--full  { display: block; width: 100%; text-align: center; }
.btn-bloom--ghost { background: transparent; color: var(--navy); font-size: 16px; padding: 14px 28px; box-shadow: 0 5px 0 var(--navy); }
.btn-bloom--ghost:hover { background: var(--pink); color: var(--white); }
.btn-bloom:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: 0 7px 0 var(--navy); }

/* ============================================================
   LANDING / HERO
   ============================================================ */
.landing { position: relative; overflow-x: hidden; }
.hero {
  position: relative; min-height: calc(100vh - 52px);
  display: flex; align-items: center; justify-content: center;
  padding: 72px 24px 48px; text-align: center; overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; width: 100%; }

/* Kicker als Sticker-Zeile */
.kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: clamp(11px, 1.5vw, 13px); color: var(--navy); background: var(--white);
  border: var(--line) solid var(--navy); border-radius: var(--radius-pill);
  padding: 10px 22px; margin: 0 0 28px;
  max-width: 100%; /* sonst laeuft die Pille auf Mobile aus dem Viewport */
}
.kicker .bud { color: var(--pink); font-size: 1.15em; line-height: 0; }

.hero__logo { width: min(620px, 88%); margin: 0 auto 30px; }

/* Headline mit farbig unterlegten Schlüsselwörtern */
.headline {
  font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: clamp(28px, 5.6vw, 56px); line-height: 1.14; letter-spacing: -.015em;
  margin: 0 auto 26px;
}
/* Jede Zeile eigenständig — sonst reißt der Umbruch die Pillen auseinander. */
.hl-line { display: block; }
.hl-mark {
  display: inline-block; color: var(--navy); background: var(--yellow);
  border-radius: var(--radius-pill); padding: .04em .34em .1em; margin: .06em 0;
}
.hl-mark--pink { background: var(--pink); color: var(--white); }

.lede {
  font-weight: 300; color: rgba(255,255,255,.92);
  font-size: clamp(16px, 2.2vw, 21px); line-height: 1.5;
  max-width: 500px; margin: 0 auto 38px;
}
.hero__foot {
  font-weight: 400; text-transform: uppercase; letter-spacing: .12em;
  font-size: 11px; color: rgba(255,255,255,.6); margin: 30px 0 0;
}

/* ============================================================
   TICKER — Pink statt Schwarz, Blüte als Trenner
   ============================================================ */
.ticker {
  position: relative; z-index: 3; background: var(--pink); color: var(--navy);
  overflow: hidden; white-space: nowrap;
  border-top: var(--line) solid var(--navy); border-bottom: var(--line) solid var(--navy);
}
.ticker__track {
  display: inline-flex; animation: ticker 34s linear infinite;
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; padding: 13px 0;
}
.ticker__track span { padding-right: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative; z-index: 3; background: var(--navy-deep); color: rgba(255,255,255,.8);
  text-align: center; padding: 40px 20px 44px;
}
.site-footer__logo { width: 168px; margin: 0 auto 22px; }
.site-footer__sponsors {
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 11px;
  line-height: 1.9; color: rgba(255,255,255,.9); margin: 0 auto 18px; max-width: 640px;
}
.site-footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px;
}
.site-footer__legal a { color: var(--white); text-decoration: none; }
.site-footer__legal a:hover { color: var(--pink); text-decoration: underline; }
.site-footer__legal .dot { color: rgba(255,255,255,.35); }
.site-footer__copy { font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.45); margin: 0; }

/* ============================================================
   FORMULARSEITE
   ============================================================ */
.form-page { position: relative; }
.form-wrap { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; padding: 30px 18px 48px; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  color: var(--navy); background: var(--white); text-decoration: none;
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px;
  border: var(--line) solid var(--navy); border-radius: var(--radius-pill); padding: 9px 20px;
  box-shadow: 0 4px 0 var(--navy); transition: transform .12s ease, box-shadow .12s ease;
}
.back-link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--navy); }

.card {
  position: relative; background: var(--paper);
  border: 4px solid var(--navy); border-radius: var(--radius-lg);
  box-shadow: 0 12px 0 rgba(27,23,64,.5);
  padding: 34px 30px 38px; overflow: hidden;
}
.card__head {
  margin: -34px -30px 30px; padding: 30px;
  background: var(--navy); color: var(--white);
}
.card__logo { width: 190px; margin-bottom: 18px; }
.card__head .kicker { margin-bottom: 16px; }
.card__title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em;
  font-size: clamp(28px, 6vw, 42px); line-height: 1.04; margin: 0 0 10px;
}
.card__head .card__title { color: var(--white); }
.card__subtitle { font-weight: 300; margin: 0; line-height: 1.5; color: rgba(255,255,255,.85); font-size: 16.5px; }

.field { margin-bottom: 22px; }
.field > label {
  display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: 13px; color: var(--navy); margin-bottom: 9px;
}
.req { color: var(--coral); }
.opt { color: #8B87A8; font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; background: var(--white); color: var(--navy);
  border: 2px solid var(--navy); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 17px; padding: 14px 16px;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.field input::placeholder { color: #A6A2BE; }
.field input:focus, .field select:focus { outline: none; box-shadow: 0 0 0 4px rgba(64,192,224,.45); }
.field select {
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 38px;
}

.input-prefix {
  display: flex; align-items: center; background: var(--white);
  border: 2px solid var(--navy); border-radius: var(--radius-md);
  transition: box-shadow .12s ease;
}
.input-prefix:focus-within { box-shadow: 0 0 0 4px rgba(64,192,224,.45); }
.input-prefix > span { padding: 0 2px 0 16px; color: var(--navy); font-weight: 700; font-size: 17px; }
.input-prefix input { border: none !important; box-shadow: none !important; padding-left: 5px !important; }
.input-prefix input:focus { box-shadow: none !important; }

/* Chips als Blüten-Sticker */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex !important; align-items: center; gap: 8px;
  background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius-pill);
  padding: 10px 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  font-size: 13px; cursor: pointer; user-select: none;
  transition: background .12s ease, color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.chip input { accent-color: var(--pink); margin: 0; width: 15px; height: 15px; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--navy); }
.chip:has(input:checked) { background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--navy); }
.chip:has(input:checked) input { accent-color: var(--navy); }

/* Tagesauswahl: zwei Gruppen, farbig abgesetzt */
.daygroup { padding-left: 15px; border-left: 4px solid var(--pink); }
.daygroup + .daygroup { margin-top: 20px; }
.daygroup--concerts { border-left-color: var(--cyan); }
.daygroup__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; color: var(--navy);
}
.daygroup__link {
  font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 13px;
  color: var(--pink-hot); text-decoration: underline; white-space: nowrap;
}
.daygroup__link:hover { color: var(--navy); }

.consent { margin-top: 8px; }
/* Muss `.field > label` schlagen — sonst wird der Einwilligungstext
   als Versalien-Block gesetzt und ist kaum lesbar. */
.field > label.checkbox {
  display: flex; align-items: flex-start; gap: 13px;
  font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: 15px; line-height: 1.55; color: var(--navy); cursor: pointer;
}
.checkbox input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--pink); flex-shrink: 0; }

.error { display: block; color: var(--error); font-weight: 700; font-size: 13.5px; margin-top: 7px; }
.field.invalid input, .field.invalid select, .field.invalid .input-prefix {
  border-color: var(--error); box-shadow: 0 0 0 4px rgba(198,40,40,.2);
}
#submit-btn { margin-top: 10px; }

/* Danke-Screen */
.card--success { text-align: center; padding: 54px 30px 48px; }
.card--success .card__head { display: none; }
.success-flower { width: 96px; margin: 0 auto 22px; animation: pop .5s cubic-bezier(.2,1.4,.5,1) both; }
@keyframes pop { from { transform: scale(.3) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .success-flower { animation: none; } }
.card--success .card__title { color: var(--navy); }
.card--success .card__subtitle { color: #46426B; max-width: 44ch; margin-inline: auto; }
.card--success .btn-bloom { margin-top: 30px; }

/* ============================================================
   RECHTSTEXTE
   ============================================================ */
.legal-wrap { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 30px 18px 48px; }
.legal-card {
  position: relative; background: var(--paper);
  border: 4px solid var(--navy); border-radius: var(--radius-lg);
  box-shadow: 0 12px 0 rgba(27,23,64,.5); padding: 36px 36px 42px; overflow: hidden;
}
.legal-card .card__head { margin: -36px -36px 32px; padding: 28px 36px; }
.legal-content { font-weight: 400; font-size: 16.5px; line-height: 1.65; color: #33305C; }
.legal-content > p:first-child { margin-top: 0; }
.legal-content h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em;
  font-size: 21px; line-height: 1.15; margin: 32px 0 11px; color: var(--navy);
}
.legal-content h2:first-of-type { margin-top: 4px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; }
.legal-content li { margin-bottom: 5px; }
.legal-content a { color: var(--pink-hot); text-decoration: underline; word-break: break-word; }
.legal-content .addr { font-weight: 700; color: var(--navy); }
.legal-content .muted { color: #6B6790; font-size: 14px; }

[hidden] { display: none !important; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 560px) {
  .hero { padding: 56px 18px 40px; }
  .headline { max-width: 100%; }
  .petal--2, .petal--4 { display: none; }
}
@media (max-width: 480px) {
  .card { padding: 26px 20px 30px; border-radius: 26px; }
  .card__head { margin: -26px -20px 24px; padding: 22px 20px; }
  .card__logo { width: 150px; }
  .legal-card { padding: 26px 22px 32px; border-radius: 26px; }
  .legal-card .card__head { margin: -26px -22px 24px; padding: 22px; }
  .btn-bloom { padding: 17px 30px; }
}
