.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 36px;
  padding-top: clamp(36px, 7vw, 88px);
  padding-bottom: clamp(44px, 7vw, 96px);
}

.hero__news { align-self: center; }

.hero__title {
  font-size: var(--step-5);
  font-stretch: 64%;
  line-height: 0.98;
  max-width: 16ch;
}

.hero__text {
  margin-top: 22px;
  font-size: var(--step-1);
  color: #d9e4f6;
}

.hero__text p { max-width: 54ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }

.hero__media { width: 100%; margin: 0; }

.hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

@media (min-width: 56em) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 48px;
  }
}

.carousel [hidden],
.lb-btn[hidden] { display: none; }

.carousel__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.carousel__frame {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(52vw, 70vh, 620px);
  touch-action: pan-y;
}

.carousel__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 4px solid var(--blue-deep);
  border-radius: var(--radius-s);
  user-select: none;
  -webkit-user-drag: none;
  animation: lb-in 0.25s ease;
}

.carousel__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue-night);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.carousel__btn:hover { background: var(--orange-strong); }
.carousel__btn svg { width: 20px; height: 20px; }

.carousel__prev { grid-column: 1; grid-row: 1 / -1; }
.carousel__next { grid-column: 3; grid-row: 1 / -1; }
.carousel__zoom { grid-column: 3; grid-row: 1; align-self: start; }

.carousel__caption {
  min-height: 1.5em;
  margin: 12px auto 0;
  text-align: center;
  color: var(--ink-muted);
}

.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  margin-top: 12px;
}

.carousel__dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel__dots button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.carousel__dots button:hover::before { background: var(--ink-muted); }
.carousel__dots button[aria-current="true"]::before { background: var(--orange); transform: scale(1.3); }

@media (min-width: 48em) {
  .carousel__stage { column-gap: 24px; }
  .carousel__btn { width: 52px; height: 52px; }
  .carousel__btn svg { width: 24px; height: 24px; }
  .carousel__dots button { width: 28px; }
}

.home-split {
  display: grid;
  gap: 56px;
}

@media (min-width: 64em) {
  .home-split { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 48px; }
}

.mini-week { list-style: none; display: grid; gap: 10px; }

.mini-week__day {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
}

.mini-week__name {
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 70%;
  font-style: italic;
  color: var(--blue-ink);
  line-height: 1;
}

.mini-week__slots { list-style: none; display: grid; gap: 6px; }

.mini-week__slots li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  font-size: var(--step--1);
  line-height: 1.35;
}

.mini-week__slots b { font-variant-numeric: tabular-nums; font-stretch: 85%; }

.places {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px 32px;
}

.places h3 { font-size: var(--step-1); color: #fff; }
.places p { color: #c9d6ec; margin: 2px 0 0; }

.places__route {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #fff;
  font-weight: 700;
  font-stretch: 90%;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.places__route:hover { color: #ffb796; }
.places__route svg { width: 18px; height: 18px; flex: none; }

.verein-layout { display: grid; gap: 40px; }

.verein-aside {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius-s);
}

.motto {
  margin: 0 0 20px;
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 64%;
  font-style: italic;
  line-height: 1;
  color: var(--orange-strong);
}

.motto span { color: var(--blue-ink); }

.verein-aside h3 { font-size: var(--step-0); margin-bottom: 6px; }

.memberships { list-style: none; }

.memberships li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.memberships li:first-child { border-top: 0; }

.memberships small { font-size: var(--step--1); font-weight: 400; color: var(--ink-muted); }

@media (min-width: 64em) {
  .verein-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; }
  .verein-aside { position: sticky; top: calc(var(--bar-h) + 32px); align-self: start; }
}

.board {
  list-style: none;
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.board__item {
  padding: 22px 20px 24px;
  background: var(--surface);
}

.board__role {
  color: var(--orange-ink);
  font-weight: 700;
  font-stretch: 90%;
}

.board__name {
  margin-top: 4px;
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 72%;
  font-style: italic;
  line-height: 1.1;
}

.board__contact { margin-top: 10px; font-size: var(--step--1); }
.board__contact p { margin: 0; }

.board__item--lead { background: var(--blue-deep); color: #fff; }
.board__item--lead .board__role { color: #ffb796; }
.board__item--lead a { color: #fff; }
.board__item--lead .placeholder { background: rgba(238, 68, 14, 0.12); border-color: #f08a65; color: #ffb796; }

@media (min-width: 40em) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.locations {
  list-style: none;
  display: grid;
  gap: 16px;
}

.location {
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  border-top: 5px solid var(--c, #8e9bb0);
}

.location h3 { margin-bottom: 6px; }
.location p { margin: 0; color: var(--ink-muted); }
.location .location__trainer { margin-top: 10px; color: var(--ink); font-weight: 600; }

@media (min-width: 56em) {
  .locations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.styles { display: grid; gap: 48px; }

@media (min-width: 56em) {
  .styles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}

.style h3 { font-size: var(--step-3); font-style: italic; font-stretch: 72%; margin-bottom: 12px; }

.dance-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}

.dance-list li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 600;
  font-size: var(--step--1);
}

.cta-band {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: var(--orange-strong);
  color: #fff;
  border-radius: var(--radius-m);
}

.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin-top: 8px; color: #ffe4d8; }
.cta-band .btn { background: #fff; color: var(--orange-ink); }
.cta-band .btn:hover { background: var(--blue-deep); color: #fff; }

@media (min-width: 48em) {
  .cta-band { grid-template-columns: 1fr auto; }
}

.fees {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  background: var(--surface);
  border: 2px solid var(--line);
}

.fees th,
.fees td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.fees th small { display: block; font-weight: 400; color: var(--ink-muted); }

.fees td {
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
  font-stretch: 80%;
  font-size: var(--step-2);
  font-variant-numeric: tabular-nums;
  color: var(--blue-ink);
}

.fees tfoot th,
.fees tfoot td { background: var(--paper); font-size: var(--step-0); color: var(--ink); border-bottom: 0; }

.member-grid { display: grid; gap: 48px; }

.member-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (min-width: 64em) {
  .member-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

.news-list { list-style: none; display: grid; gap: 24px; }

.news {
  display: grid;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
}

.news__date { color: var(--ink-muted); font-size: var(--step--1); font-weight: 600; margin-bottom: 6px; }
.news h3 { font-size: var(--step-3); font-style: italic; font-stretch: 72%; margin-bottom: 12px; }
.news__img { width: 100%; max-width: 260px; border: 1px solid var(--line); }

.news--placeholder { border-style: dashed; border-color: var(--orange-ink); }

@media (min-width: 48em) {
  .news--with-image { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; }
}

.aktuelles-layout { display: grid; gap: 56px; }

@media (min-width: 64em) {
  .aktuelles-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
}

.fixtures-group + .fixtures-group { margin-top: 40px; }
.fixtures-group h3 { margin-bottom: 14px; }

.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gallery-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--line);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-s);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid button:hover img { transform: scale(1.04); }

.gallery-grid__caption {
  margin: 6px 2px 0;
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--ink-muted);
}

@media (min-width: 48em) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 75em) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: #000;
  color: #fff;
  touch-action: pan-y;
}

.lightbox.is-open { display: block; }

.lightbox__stage {
  position: absolute;
  inset: 0;
  padding: 56px 0 0;
}

.lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  animation: lb-in 0.25s ease;
}

@keyframes lb-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

.lightbox__counter {
  font-weight: 700;
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}

.lightbox__caption { color: #c7cfdb; font-weight: 400; margin-left: 10px; }

.lightbox__tools { display: flex; gap: 4px; }

.lb-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-btn svg { width: 24px; height: 24px; }

.lb-btn--prev,
.lb-btn--next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
}

.lb-btn--prev { left: 8px; }
.lb-btn--next { right: 8px; }

.lightbox__strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 29, 64, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox__thumbs {
  list-style: none;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.lightbox__thumbs button {
  display: block;
  width: 84px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  background: #222;
  opacity: 0.6;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: center;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.lightbox__thumbs button:hover { opacity: 0.9; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--orange); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 48em) {
  .lightbox__stage { padding: 64px 80px 0; }
  .lb-btn--prev { left: 16px; }
  .lb-btn--next { right: 16px; }
  .lightbox__thumbs button { width: 110px; height: 74px; }
}

.contact-layout { display: grid; gap: 48px; }

.contact-form { display: grid; gap: 20px; max-width: 640px; }

.contact-form__send {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-form__hint { font-size: var(--step--1); color: var(--ink-muted); }

.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-aside h2 { font-size: var(--step-2); font-style: normal; font-stretch: 85%; margin-bottom: 8px; }
.contact-aside address { font-style: normal; }

@media (min-width: 64em) {
  .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; }
}
