/* ============================================
   Zumba® by Jenny — Landingpage
   Signet-Palette: Rot #E83644 · Blau #04488F · Grau #A7A7A9 · Weiss
   Typo: Inter (H1 900, H2 600, Body 300/400)
   ============================================ */

:root {
  /* Brand colours (Zumba by Jenny — Signet) */
  --blue: #04488f;
  --blue-deep: #03366b;
  --red: #e83644;
  --red-soft: #f0545f;
  --gold: #e83644;        /* Akzent = Signet-Rot (Alias, um Altcode abzudecken) */
  --gold-soft: #f0545f;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --gray: #a7a7a9;
  --gray-soft: #eceded;
  --text: #1b2733;
  --text-muted: #5c6570;
  --white: #ffffff;

  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.2rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  --text-hero: clamp(2.8rem, 1.5rem + 5.5vw, 6rem);

  /* Spacing */
  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem;
  --space-24: 6rem; --space-32: 8rem;

  --radius: 0.75rem; --radius-lg: 1.25rem; --radius-full: 9999px;
  --content: 1180px;
  --shadow-md: 0 10px 30px rgba(28,45,95,0.10);
  --shadow-lg: 0 24px 60px rgba(21,33,70,0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1,h2,h3 { line-height: 1.12; text-wrap: balance; color: var(--blue); }
p { text-wrap: pretty; }
sup { font-size: 0.55em; vertical-align: super; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }

.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: var(--text-sm); letter-spacing: .01em;
  padding: 0.85em 1.6em; border-radius: var(--radius-full);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn--sm { padding: 0.6em 1.2em; font-size: var(--text-xs); }
.btn--lg { padding: 1em 1.9em; font-size: var(--text-base); }
.btn--full { width: 100%; }
.btn--gold { background: var(--red); color: var(--white); box-shadow: 0 8px 22px rgba(232,54,68,.38); }
.btn--gold:hover { background: var(--red-soft); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(232,54,68,.5); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); transform: translateY(-3px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-3px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--space-4);
}
.eyebrow--dark { color: var(--blue); opacity: .75; }
.accent { color: var(--gold); }
.accent-dark { color: var(--gold); }
.on-dark { color: var(--white); }
.on-dark-muted { color: rgba(255,255,255,.82); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: var(--space-4);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.header--scrolled {
  background: rgba(28,45,95,.92);
  backdrop-filter: blur(14px);
  padding-block: var(--space-3);
  box-shadow: 0 4px 24px rgba(21,33,70,.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; object-fit: contain; }
.footer__brand .brand__mark { width: 38px; height: 38px; }
.brand__text { font-weight: 800; font-size: var(--text-lg); color: var(--white); letter-spacing: -.01em; }
.brand__text em { font-style: normal; font-weight: 300; color: var(--gold); }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav > a { font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,.88); }
.nav > a:not(.nav__cta):hover { color: var(--gold); }
.nav__cta { margin-left: var(--space-2); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--space-24); padding-bottom: var(--space-16);
  color: var(--white); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
  z-index: -2;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--blue-deep) 8%, rgba(3,54,107,.78) 42%, rgba(3,54,107,.35) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: var(--space-12);
}
.hero__title { font-size: var(--text-hero); font-weight: 900; letter-spacing: -.03em; color: var(--white); margin-bottom: var(--space-6); }
.hero__title .accent { color: var(--gold); }
.hero__lead { font-size: var(--text-lg); font-weight: 300; color: rgba(255,255,255,.9); max-width: 40ch; margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: var(--text-sm); color: rgba(255,255,255,.85); }
.hero__meta li { position: relative; padding-left: 1.5em; }
.hero__meta li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero__meta strong { color: var(--gold); font-weight: 700; }
.hero__figure { position: relative; justify-self: center; }
.hero__figure::before {
  content: ""; position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: 115%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,54,68,.35) 0%, rgba(4,72,143,0) 62%);
  z-index: -1; filter: blur(10px);
}
.hero__figure img {
  width: min(100%, 430px);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.35));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__scroll {
  position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section__head { max-width: 720px; margin: 0 auto var(--space-16); text-align: center; }
.section__head h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--space-6); }
.section__intro { font-size: var(--text-lg); color: var(--text-muted); font-weight: 300; margin-inline: auto; }
.on-dark + .section__intro, .section__intro.on-dark-muted { color: rgba(255,255,255,.82); }

/* Interest cards */
.interest { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.card {
  background: var(--bg); border-radius: var(--radius-lg); padding: var(--space-10) var(--space-8);
  border: 1px solid rgba(4,72,143,.12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--gold);
  margin-bottom: var(--space-6);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-3); }
.card p { color: var(--text-muted); font-size: var(--text-base); }

/* Statement break */
.statement { position: relative; min-height: 60vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.statement__img { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: -2; }
.statement__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,54,107,.72), rgba(4,72,143,.8)); }
.statement__inner { text-align: center; padding-block: var(--space-24); }
.statement__quote { font-size: var(--text-2xl); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--white); }
.statement__by { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--gold); font-weight: 500; }

/* Kurse / schedule */
.kurse { background: var(--surface); }
.schedule { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-6); max-width: 900px; margin: 0 auto var(--space-10); }
.slot {
  background: var(--bg); border-radius: var(--radius-lg); padding: var(--space-10);
  border: 1px solid rgba(28,45,95,.08); position: relative; overflow: hidden;
}
.slot--feature { background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: var(--white); }
.slot--feature .slot__day, .slot--feature .slot__time { color: var(--white); }
.slot--feature .slot__desc { color: rgba(255,255,255,.85); }
.slot--feature .slot__day span { color: var(--gold); }
.slot__day { font-size: var(--text-xl); font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: var(--space-4); }
.slot__day span { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--gold); letter-spacing: .05em; margin-top: .3em; }
.slot__time { font-size: var(--text-lg); font-weight: 600; color: var(--blue); margin-bottom: var(--space-4); }
.slot__desc { color: var(--text-muted); margin-bottom: var(--space-8); }
.venue {
  display: flex; align-items: center; gap: var(--space-4); justify-content: center;
  max-width: 900px; margin-inline: auto; padding: var(--space-6);
  background: var(--bg); border-radius: var(--radius); border: 1px dashed rgba(232,54,68,.4);
}
.venue svg { width: 32px; height: 32px; color: var(--gold); flex-shrink: 0; }
.venue strong { display: block; color: var(--blue); font-weight: 700; }
.venue span { font-size: var(--text-sm); color: var(--text-muted); }

/* Jenny */
.jenny { background: var(--bg); }
.jenny__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-16); align-items: center; }
.jenny__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.jenny__img img { width: 100%; object-fit: cover; }
.jenny__badge {
  position: absolute; bottom: var(--space-4); left: var(--space-4);
  background: var(--gold); color: var(--blue-deep); font-weight: 600; font-size: var(--text-xs);
  padding: .5em 1.1em; border-radius: var(--radius-full); letter-spacing: .05em;
}
.jenny__copy h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--space-6); }
.jenny__copy p { color: var(--text-muted); margin-bottom: var(--space-4); font-size: var(--text-lg); font-weight: 300; }
.checklist { margin: var(--space-6) 0 var(--space-8); display: grid; gap: var(--space-3); }
.checklist li { position: relative; padding-left: 2rem; color: var(--blue); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* Community */
.community { background: linear-gradient(160deg, var(--blue), var(--blue-deep)); }
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-4); margin-bottom: var(--space-16); height: 460px; }
.gallery__item { border-radius: var(--radius-lg); background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.gallery__item:hover { transform: scale(1.02); }
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.tst {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: var(--space-8);
  backdrop-filter: blur(4px);
}
.tst p { color: var(--white); font-size: var(--text-lg); font-weight: 300; font-style: italic; margin-bottom: var(--space-4); }
.tst cite { color: var(--gold); font-size: var(--text-sm); font-style: normal; font-weight: 500; }

/* CTA */
.cta { background: var(--surface); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.cta__copy h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--space-6); }
.cta__copy > p { color: var(--text-muted); font-size: var(--text-lg); font-weight: 300; margin-bottom: var(--space-4); }
.cta__form {
  background: linear-gradient(160deg, var(--blue), var(--blue-deep));
  border-radius: var(--radius-lg); padding: var(--space-10); box-shadow: var(--shadow-lg);
}
.cta__form h3 { color: var(--white); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-6); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-2); }
.field input, .field select {
  width: 100%; padding: 0.85em 1em; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--white);
  font-size: var(--text-base);
}
.field input::placeholder { color: rgba(255,255,255,.5); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e83644' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; }
.field select option { color: var(--blue-deep); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.12); }
.cta__note { font-size: var(--text-xs); color: rgba(255,255,255,.6); text-align: center; margin-top: var(--space-4); }
.cta__success { margin-top: var(--space-4); padding: var(--space-4); background: rgba(232,54,68,.22); border-radius: var(--radius); color: var(--white); text-align: center; font-weight: 500; }

/* Footer */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.8); padding-top: var(--space-16); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-8); padding-bottom: var(--space-12); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: .6rem; }
.footer__info p { font-size: var(--text-sm); }
.footer__info strong { color: var(--white); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-8); font-size: var(--text-xs); color: rgba(255,255,255,.5); }
.footer__disclaimer { max-width: 46ch; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: var(--space-6); background: var(--blue-deep); padding: var(--space-16) var(--space-10);
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
  .nav.is-open { transform: translateX(0); }
  .nav > a { font-size: var(--text-lg); }
  .nav__toggle { display: flex; z-index: 110; }
  .nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-10); }
  .hero__figure { order: -1; }
  .hero__figure img { width: min(70%, 280px); }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: 1fr; }
  .jenny__grid, .cta__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .jenny__img { max-width: 420px; margin-inline: auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery__item { height: 220px; }
  .gallery__item--big { grid-column: 1 / 3; height: 300px; }
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .hero__meta { flex-direction: column; gap: var(--space-3); align-items: center; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--big { grid-column: 1 / -1; }
  .footer__inner { flex-direction: column; text-align: center; align-items: center; }
}
/* Kursanmeldung – kompaktes Formular */
#anmeldungForm .field {
  margin-bottom: var(--space-3);
}

.field--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: var(--text-base);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--white);
  cursor: pointer;
}

.field--checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.2em;
  accent-color: var(--gold);
}