/* ==========================================================================
   dance up! Tanzstudio Diana Grusdat — Design System
   Marke: Pink/Magenta -> Violett (aus dem Logo), edel & feminin
   ========================================================================== */

:root {
  /* Farben */
  --plum-900: #2a0f33;
  --plum-800: #3d1548;
  --violet-700: #5b2a8c;
  --violet-600: #6d33a8;
  --magenta-600: #c01f7c;
  --magenta-500: #d6247e;
  --pink-400: #e85fa8;
  --pink-200: #f7c9e0;

  --cream: #fbf7f9;
  --paper: #ffffff;
  --ink: #241a29;
  --ink-soft: #5a4d61;
  --line: #ece2ea;

  --gold: #c9a45b;

  --grad-brand: linear-gradient(135deg, var(--magenta-500) 0%, var(--violet-600) 60%, var(--plum-800) 100%);
  --grad-brand-soft: linear-gradient(135deg, #d6247e14 0%, #6d33a814 100%);

  /* Typo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Maße */
  --wrap: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(61, 21, 72, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(61, 21, 72, 0.28);
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--plum { background: var(--plum-900); color: #f3e9f0; }
.section--soft { background: var(--paper); }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--magenta-500); }
.section--plum .eyebrow { color: var(--pink-400); }
.section--plum .eyebrow::before { background: var(--pink-400); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h2.title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 20px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.section--plum .lead { color: #d8c7d4; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 30px -10px rgba(192,31,124,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(192,31,124,.65); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--magenta-500); color: var(--magenta-500); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--plum-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 247, 249, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 46px; width: auto; border-radius: 6px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; }
.brand__name em { font-style: italic; color: var(--magenta-500); }
.brand__sub { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  padding: 9px 15px; border-radius: 999px; position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav a:not(.btn):hover { color: var(--magenta-500); }
.nav a.active { color: var(--magenta-500); }
.nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--grad-brand); border-radius: 2px;
}
.nav .btn { margin-left: 10px; padding: 11px 22px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(42,15,51,.86) 0%, rgba(61,21,72,.62) 42%, rgba(192,31,124,.28) 100%);
}
.hero__inner { position: relative; z-index: 2; color: #fff; padding: 90px 0; max-width: 720px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--pink-200); }
.hero__tag { font-size: 1.2rem; color: #f0dded; max-width: 54ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__badge b { font-family: var(--serif); font-size: 2rem; display: block; }
.hero__badge span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #e3cede; }

/* page hero (Unterseiten) */
.pagehero { position: relative; padding: 96px 0 72px; background: var(--grad-brand); color: #fff; overflow: hidden; }
.pagehero::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); border-radius: 50%;
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 14px; }
.pagehero p { font-size: 1.12rem; color: #f3e0ee; max-width: 60ch; }
.crumbs { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #eecbe3; margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.split__media .stamp {
  position: absolute; bottom: -26px; left: -26px; background: var(--grad-brand); color: #fff;
  padding: 22px 26px; border-radius: var(--radius-sm); box-shadow: var(--shadow); max-width: 210px;
}
.split__media .stamp b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; display: block; }
.split__media .stamp span { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.prose p + p { margin-top: 18px; }
.prose .lead { color: var(--ink-soft); }

/* ---------- Feature row ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--magenta-500); margin-bottom: 20px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.5rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Kurse ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.course {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course:hover .course__media img { transform: scale(1.06); }
.course__media--grad { background: var(--grad-brand); display: grid; place-items: center; }
.course__media--grad svg { width: 78px; height: 78px; opacity: .9; }
.course__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92);
  color: var(--magenta-600); font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.course__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.course__age { font-size: .85rem; font-weight: 600; color: var(--violet-600); letter-spacing: .04em; margin-bottom: 12px; }
.course__body p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__avatar {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-family: var(--serif); font-size: 1.8rem; font-weight: 600;
  margin-bottom: 20px;
}
.member h3 { font-size: 1.5rem; margin-bottom: 4px; }
.member__role { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta-500); margin-bottom: 16px; }
.member ul li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .96rem; margin-bottom: 6px; }
.member ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink-400); }

/* ---------- Stundenplan ---------- */
.plan { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.plan table { width: 100%; border-collapse: collapse; min-width: 640px; }
.plan th, .plan td { text-align: left; padding: 14px 18px; font-size: .95rem; border-bottom: 1px solid var(--line); }
.plan thead th { background: var(--plum-900); color: #fff; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; }
.plan tbody th { font-family: var(--serif); font-size: 1.25rem; background: var(--grad-brand-soft); color: var(--plum-800); white-space: nowrap; width: 130px; vertical-align: top; }
.plan .time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--violet-600); white-space: nowrap; }
.plan tbody tr:hover td { background: #faf2f7; }
.pill { display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--pink-200); color: var(--magenta-600); margin-left: 6px; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.price-card--feature { background: var(--grad-brand); color: #fff; border: none; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-list { margin-top: 18px; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-card--feature .price-list li { border-color: rgba(255,255,255,.22); }
.price-list li b { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.price-note { font-size: .85rem; color: var(--ink-soft); margin-top: 16px; }
.price-card--feature .price-note { color: #eddaea; }

/* ---------- Galerie ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; position: relative; }
.gallery img { width: 100%; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,15,51,.35), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.gallery figure:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,8,25,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 22px; right: 28px; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; cursor: pointer; transition: background .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.28); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--grad-brand); color: #fff; border-radius: 28px; padding: 64px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; left: -60px; bottom: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); border-radius: 50%; }
.cta__inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.cta p { color: #f2ddec; }
.cta__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-brand-soft); color: var(--magenta-500); display: grid; place-items: center; }
.info-item__icon svg { width: 24px; height: 24px; }
.info-item h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; font-weight: 600; }
.info-item p { font-size: 1.05rem; }
.info-item a:hover { color: var(--magenta-500); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Form */
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: .98rem;
  background: var(--cream); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta-500); box-shadow: 0 0 0 4px rgba(214,36,126,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form small { color: var(--ink-soft); font-size: .82rem; }

/* ---------- Footer ---------- */
.footer { background: var(--plum-900); color: #d9c8d5; padding: 72px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer a { color: #d9c8d5; transition: color .2s; }
.footer a:hover { color: var(--pink-400); }
.footer li { margin-bottom: 10px; font-size: .96rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 16px; color: #b79fb2; font-size: .95rem; max-width: 34ch; }
.footer__logo { height: 60px; border-radius: 8px; margin-bottom: 18px; }
.footer__bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #a88fa4; }
.footer__bottom a { color: #a88fa4; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .35s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 12px; border-radius: 12px; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--grad-brand-soft); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .features, .courses, .team { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta__actions { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .features, .courses, .team { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .split__media .stamp { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .cta { padding: 44px 26px; }
}
