/* ============================================================
   IDCF Homepage (Nachbau der Base44-Vorlage) — H4
   Tokens aus base44_referenz/_tokens.json + css_0.css:
   Brand hsl(356 100% 65%) · Ink #1a1a1a · System-Font-Stack (KEIN Webfont,
   Optik = weight 900 + uppercase + letter-spacing -0.05em)
   ============================================================ */
:root {
  --brand: hsl(356, 100%, 65%);
  --brand-dark: hsl(356, 80%, 55%);
  --ink: #1a1a1a;
  --ink-soft: #666;
  --ink-faint: #999;
  --line: #e5e7eb;
  --bg-soft: #f8fafc;
  --dark: #1a1a1a;
  --radius-card: 20px;
  --font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.hp-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typo ---------- */
.hp-h1 {
  font-size: clamp(56px, 11.4vw, 164px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-transform: uppercase;
}
.hp-h2 {
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
}
.hp-h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}
.hp-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.hp-lead { color: var(--ink-soft); font-size: 17px; max-width: 640px; }

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn .arr { transition: transform 0.15s ease; }
.hp-btn:hover .arr { transform: translateX(3px); }
.hp-btn--brand { background: var(--brand); color: #fff; }
.hp-btn--brand:hover { background: var(--brand-dark); }
.hp-btn--dark { background: var(--dark); color: #fff; }
.hp-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.85); }
.hp-btn--ghost:hover { background: #fff; color: var(--ink); }
.hp-btn--upper { text-transform: uppercase; }

/* ---------- Header ---------- */
.hp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.hp-header__in {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hp-logo img { height: 44px; width: auto; transition: filter 0.25s ease; }
.hp-nav { display: flex; align-items: center; gap: 26px; }
.hp-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}
.hp-nav a:hover { color: var(--brand); }
.hp-nav .hp-btn { color: #fff; }

/* transparente Variante auf dunklem Hero (bis zum Scrollen) */
.hp-header--overlay:not(.is-solid) { background: transparent; box-shadow: none; }
.hp-header--overlay:not(.is-solid) .hp-logo img { filter: brightness(0) invert(1); }
.hp-header--overlay:not(.is-solid) .hp-nav a { color: #fff; }
.hp-header--overlay:not(.is-solid) .hp-nav a:hover { color: rgba(255, 255, 255, 0.75); }
.hp-header--overlay:not(.is-solid) .hp-nav .hp-cta { background: #fff; color: var(--ink) !important; }
.hp-header--overlay:not(.is-solid) .hp-nav .hp-cta:hover { background: rgba(255, 255, 255, 0.88); }
.hp-cta { background: var(--brand); color: #fff !important; text-transform: uppercase; padding: 11px 24px; font-size: 13px; }

/* Dropdown "Dance Camps" */
.hp-drop { position: relative; }
.hp-drop > a::after { content: " ▾"; font-size: 11px; }
.hp-drop__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 200px;
  display: none;
}
.hp-drop:hover .hp-drop__menu, .hp-drop:focus-within .hp-drop__menu { display: block; }
.hp-drop__menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.hp-drop__menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink) !important; }
.hp-drop__menu a:hover { background: var(--bg-soft); color: var(--ink) !important; }
.hp-drop__menu .soon { color: var(--ink-faint) !important; font-size: 12px; }

/* Burger (mobil) */
.hp-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.hp-burger span { display: block; height: 2px; margin: 5px 8px; background: var(--ink); transition: 0.2s; }
.hp-header--overlay:not(.is-solid) .hp-burger span { background: #fff; }

@media (max-width: 900px) {
  .hp-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
  .hp-nav.open { display: flex; }
  .hp-nav a { padding: 12px 4px; font-size: 16px; color: var(--ink) !important; }
  .hp-drop__menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .hp-burger { display: block; }
}

/* ---------- Hero ---------- */
.hp-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hp-hero__media, .hp-hero__media img, .hp-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.62) 0%, rgba(10, 10, 12, 0.48) 40%, rgba(10, 10, 12, 0.82) 100%);
}
.hp-hero__in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 140px 32px 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hp-hero__in .hp-h1 { flex: 0 1 auto; }
/* Datum-Block: bewusste Abweichung (Andy): KLEIN, WEISS, gesperrt, buendig ueber der Stadt.
   inline-block => Blockbreite = Stadtwort; das Datum wird darauf gesperrt (justify). */
.hp-hero__event { text-align: left; display: inline-block; margin-left: auto; }
.hp-hero__date {
  display: block;
  font-size: clamp(15px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-align: justify;
  text-align-last: justify;
  margin-bottom: 6px;
}
.hp-hero__city {
  display: block;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

/* kleiner Seiten-Hero (FAQ / Ueber uns) */
.hp-hero--page { min-height: 46vh; align-items: center; text-align: center; }
.hp-hero--page .hp-hero__in { justify-content: center; padding: 140px 24px 64px; }

/* ---------- Sektionen ---------- */
.hp-section { padding: 96px 0; }
.hp-section--soft { background: var(--bg-soft); }
.hp-section--dark { background: var(--dark); color: #fff; }
.hp-section__head { margin-bottom: 48px; }

/* leichte Schraegkante (Vorlage) */
.hp-skew { transform: skewY(-1.6deg); }
.hp-skew > .hp-unskew { transform: skewY(1.6deg); }

/* ---------- Karten ---------- */
.hp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .hp-grid-3, .hp-grid-2 { grid-template-columns: 1fr; } }

.hp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}
.hp-card--flat { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); border: 0; }

/* Event-Karte (Foto, unten Text) */
.hp-eventcard {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  display: block;
  background: var(--dark);
  color: #fff;
}
.hp-eventcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; opacity: 0.92; }
.hp-eventcard:hover img { transform: scale(1.04); }
.hp-eventcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%); }
.hp-eventcard__txt { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.hp-eventcard__date { font-size: 12.5px; font-weight: 600; opacity: 0.85; }
.hp-eventcard__city { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.hp-eventcard__more { font-size: 13.5px; font-weight: 700; margin-top: 6px; display: inline-block; }
.hp-eventcard__more .arr { display: inline-block; transition: transform 0.15s; }
.hp-eventcard:hover .hp-eventcard__more .arr { transform: translateX(3px); }

/* Dozenten-Fotokachel (Event-Seite / Uebersicht) */
.hp-dzcard {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--dark);
  color: #fff;
  display: block;
}
.hp-dzcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.hp-dzcard:hover img { transform: scale(1.05); }
.hp-dzcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.75) 100%); }
.hp-dzcard__txt { position: absolute; z-index: 2; left: 20px; bottom: 16px; right: 20px; }
.hp-dzcard__name { font-weight: 800; font-size: 19px; }
.hp-dzcard__style { font-size: 12.5px; opacity: 0.8; }

/* runder Avatar (Startseite) */
.hp-avatar { text-align: center; }
.hp-avatar__img {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 12px;
}
.hp-avatar__name { font-weight: 700; font-size: 14.5px; }
.hp-avatar__style { font-size: 12.5px; color: var(--ink-faint); }
.hp-avatars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media (max-width: 900px) { .hp-avatars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hp-avatars { grid-template-columns: repeat(2, 1fr); } }

/* Preis-Karte */
.hp-pricecard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.hp-pricecard--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.hp-pricecard__tag { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.hp-pricecard__price { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.hp-pricecard__old { font-size: 17px; font-weight: 600; color: var(--ink-faint); text-decoration: line-through; margin-left: 8px; }
.hp-pricecard ul { margin: 18px 0 26px; display: grid; gap: 10px; }
.hp-pricecard li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.hp-pricecard li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.hp-pricecard .hp-btn { margin-top: auto; justify-content: center; }
.hp-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
  width: fit-content;
}

/* Info-Kachel (klein, grau) */
.hp-tile { background: var(--bg-soft); border-radius: 14px; padding: 18px 12px; text-align: center; }
.hp-tile b { display: block; font-size: 19px; color: var(--brand); }
.hp-tile span { font-size: 12px; color: var(--ink-soft); }

/* ---------- Stats-Band ---------- */
.hp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .hp-stats { grid-template-columns: repeat(2, 1fr); } }
.hp-stat b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 900; color: var(--brand); letter-spacing: -0.02em; }
.hp-stat span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }

/* ---------- FAQ-Akkordeon ---------- */
.hp-faq { max-width: 720px; margin: 0 auto; }
.hp-faq details { border-bottom: 1px solid var(--line); }
.hp-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 16px;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-faint); transition: transform 0.2s; }
.hp-faq details[open] summary::after { transform: rotate(45deg); }
.hp-faq .a { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; white-space: pre-line; }

/* ---------- CTA-Block ---------- */
.hp-ctablock {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(48px, 7vw, 88px) 32px;
  text-align: center;
}
.hp-ctablock .hp-h2 { margin-bottom: 14px; }
.hp-ctablock p { color: rgba(255, 255, 255, 0.7); margin-bottom: 28px; }
.hp-ctablock .rot { color: var(--brand); }

/* ---------- Footer ---------- */
.hp-footer { position: relative; border-top: 1px solid var(--line); padding: 64px 0 40px; overflow: hidden; background: #fff; }
.hp-footer__wm {
  position: absolute;
  right: 4%; top: -8%;
  height: 130%;
  opacity: 0.05;
  pointer-events: none;
}
.hp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
@media (max-width: 800px) { .hp-footer__grid { grid-template-columns: 1fr; } }
.hp-footer__logo img { height: 46px; margin-bottom: 14px; }
.hp-footer p, .hp-footer a { font-size: 14px; color: var(--ink-soft); }
.hp-footer h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.hp-footer li { margin-bottom: 9px; }
.hp-footer a:hover { color: var(--brand); }
.hp-social { display: flex; gap: 10px; margin-top: 18px; }
.hp-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.hp-copy { position: relative; z-index: 2; margin-top: 44px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Diverses ---------- */
.hp-imgsplit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hp-imgsplit { grid-template-columns: 1fr; } }
.hp-imgsplit img { border-radius: var(--radius-card); aspect-ratio: 3 / 3.6; object-fit: cover; width: 100%; }

.hp-toggle { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 5px; gap: 4px; }
.hp-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font);
}
.hp-toggle button.active { background: var(--dark); color: #fff; }

.hp-note { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 28px; }
.hp-note .dot { color: var(--brand); }

.hp-backlink { display: inline-flex; gap: 8px; font-size: 14px; color: var(--ink-soft); margin: 96px 0 24px; }
.hp-backlink:hover { color: var(--brand); }

/* Galerie (Dozenten-Einzelseite) */
.hp-gallery { columns: 3; column-gap: 24px; }
@media (max-width: 800px) { .hp-gallery { columns: 2; } }
.hp-gallery > * { break-inside: avoid; margin-bottom: 24px; border-radius: var(--radius-card); overflow: hidden; }

/* Chips */
.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
