/* Funk Kajüte, "Bühne": dark like a club, brass gold as the accent. A theme on top of
   Bootstrap 5.3 (its CSS variables), no build step. */

@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url(../fonts/bebas-neue-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300; font-display: swap; src: url(../fonts/open-sans-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url(../fonts/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url(../fonts/open-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url(../fonts/open-sans-latin-700-normal.woff2) format("woff2"); }

:root, [data-bs-theme="dark"] {
  --brass: #d4a72c;
  --brass-light: #f0c75e;
  --brass-dark: #a67c12;
  --brass-rgb: 212, 167, 44;
  --stage: #0e0d0b;
  --stage-2: #17150f;
  --stage-3: #211e16;
  --bs-body-bg: var(--stage);
  --bs-body-color: #e9e4d8;
  --bs-secondary-color: rgba(233, 228, 216, 0.62);
  --bs-body-font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.7;
  --bs-link-color: var(--brass-light);
  --bs-link-color-rgb: 240, 199, 94;
  --bs-link-hover-color: #fff;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-border-color: rgba(233, 228, 216, 0.14);
  --bs-card-bg: var(--stage-2);
  --bs-focus-ring-color: rgba(var(--brass-rgb), 0.45);
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --nav-h: 4.25rem;
}

html { scroll-padding-top: var(--nav-h); }
body { background: var(--stage); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.skip { position: absolute; z-index: 2000; top: 0.5rem; left: 0.5rem; background: #fff; color: #000; padding: 0.5rem 1rem; }
img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------ type */

.display-title, .hero-title, .navbar-brand, .footer-brand, .kicker, .date-stub {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase;
}
.display-title { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: #fff; margin-bottom: 0.6em; }
h2.display-title.h2 { font-size: clamp(1.9rem, 3.5vw, 2.4rem); }
.kicker { color: var(--brass); font-size: 1.15rem; letter-spacing: 0.2em; margin-bottom: 0.35rem; }
.text-brass { color: var(--brass) !important; }
.narrow { max-width: 52rem; }
.intro p:first-child { font-size: 1.2rem; color: #fff; }

/* ------------------------------------------------------------ buttons */

.btn { --bs-btn-font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; padding: 0.7rem 1.4rem; border-radius: 2px; }
.btn-lg { font-size: 0.95rem; padding: 0.9rem 1.8rem; }
.btn-sm { font-size: 0.75rem; padding: 0.45rem 0.9rem; }
.btn-brass {
  --bs-btn-color: #17130a; --bs-btn-bg: var(--brass); --bs-btn-border-color: var(--brass);
  --bs-btn-hover-color: #17130a; --bs-btn-hover-bg: var(--brass-light); --bs-btn-hover-border-color: var(--brass-light);
  --bs-btn-active-color: #17130a; --bs-btn-active-bg: var(--brass-dark); --bs-btn-active-border-color: var(--brass-dark);
  --bs-btn-disabled-bg: var(--brass); --bs-btn-disabled-border-color: var(--brass); --bs-btn-disabled-color: #17130a;
  --bs-btn-focus-shadow-rgb: var(--brass-rgb);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.08));
}
.btn-outline-brass {
  --bs-btn-color: var(--brass-light); --bs-btn-border-color: var(--brass);
  --bs-btn-hover-color: #17130a; --bs-btn-hover-bg: var(--brass); --bs-btn-hover-border-color: var(--brass);
  --bs-btn-active-color: #17130a; --bs-btn-active-bg: var(--brass-dark); --bs-btn-active-border-color: var(--brass-dark);
  --bs-btn-focus-shadow-rgb: var(--brass-rgb);
}
.btn-icon { padding: 0.55rem; line-height: 0; }
.btn-icon svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ------------------------------------------------------------ navigation */

.navbar { --bs-navbar-color: rgba(255, 255, 255, 0.82); --bs-navbar-hover-color: #fff; --bs-navbar-active-color: var(--brass-light);
  min-height: var(--nav-h); transition: background-color 0.35s ease, box-shadow 0.35s ease; }
.navbar.solid, .navbar.scrolled, .navbar:has(.navbar-collapse.show), .navbar:has(.collapsing) {
  background: rgba(14, 13, 11, 0.94); box-shadow: 0 1px 0 rgba(var(--brass-rgb), 0.35); backdrop-filter: blur(6px);
}
.navbar-brand { color: #fff !important; font-size: 1.9rem; line-height: 1; }
.navbar .nav-link { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 0.9rem !important; }
.navbar .nav-link.active { box-shadow: inset 0 -2px 0 var(--brass); }
.navbar-toggler { border-color: rgba(var(--brass-rgb), 0.6); }
@media (max-width: 991.98px) { .navbar .nav-link.active { box-shadow: none; } .navbar-collapse { padding-bottom: 1rem; } }

/* ------------------------------------------------------------ hero (home) */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 32rem; overflow: hidden; background: #000; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.78) 80%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 25%, transparent 65%, var(--stage) 100%);
}
.hero-text { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
/* the logo: the porthole (SVG) with the name in its middle, the same size relation as the
   original artwork; it scales with the screen as one piece */
.hero-logo { --logo-w: min(90vw, 40rem, 64vh); position: relative; width: var(--logo-w); aspect-ratio: 750 / 810;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.porthole { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0.4rem 1.2rem rgba(0, 0, 0, 0.45)); }
.hero-title {
  position: relative; font-size: calc(var(--logo-w) * 0.2); line-height: 1; color: #fff; margin: 0;
  white-space: nowrap; text-shadow: 0 0.04em 0 var(--brass-dark), 0 0.08em 0.4em rgba(0, 0, 0, 0.6);
}
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: #f4ead2; margin-bottom: 1.25rem; }
.hero .kicker { font-size: clamp(1rem, 2vw, 1.4rem); }
.hero-more { position: absolute; z-index: 3; display: none; left: 50%; bottom: 1.5rem; transform: translateX(-50%); width: 2.4rem; height: 3.6rem;
  border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 2rem; }
.hero-more span { position: absolute; left: 50%; top: 0.6rem; width: 4px; height: 0.7rem; margin-left: -2px; border-radius: 2px;
  background: var(--brass); animation: scroll-hint 1.8s ease-in-out infinite; }
@media (min-height: 1000px) { .hero-more { display: block; } }
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(1.2rem); } }

/* entrance: while loading the text waits, then rises in (site.js removes is-loading) */
.hero-text > * { transition: opacity 1s ease, transform 1s ease; }
.hero-text > :nth-child(2) { transition-delay: 0.15s; }
.hero-text > :nth-child(3) { transition-delay: 0.35s; }
.is-loading .hero-text .porthole { opacity: 0; transform: scale(0.9) rotate(-8deg); }
.hero-text .porthole { transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.is-loading .hero-text > * { opacity: 0; transform: translateY(1.5rem) scale(0.98); }

/* ------------------------------------------------------------ sub page heads */

.page-head { position: relative; min-height: 22rem; height: 48vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35) 40%, var(--stage)); }
.page-head-text { position: relative; z-index: 1; padding-bottom: 2.5rem; }
.page-head h1 { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: 0.1em; }
.page-head .lead { color: var(--brass-light); }

/* ------------------------------------------------------------ sections */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--stage-2); }
.section-gig { background: linear-gradient(90deg, var(--stage-3), var(--stage-2)); border-top: 1px solid rgba(var(--brass-rgb), 0.3); border-bottom: 1px solid rgba(var(--brass-rgb), 0.3); padding: 3rem 0; }

.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; position: relative; z-index: 1; }
.framed::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 2px solid var(--brass); }

.card { --bs-card-border-color: rgba(var(--brass-rgb), 0.2); border-radius: 2px; }
.news-img { width: 100%; height: 100%; min-height: 16rem; object-fit: cover; object-position: top; }

/* gigs */
.gig-card { display: flex; gap: 1.5rem; align-items: center; padding: 1.25rem; background: var(--stage-2);
  border-left: 4px solid var(--brass); margin-bottom: 1rem; }
.date-stub { flex: 0 0 5.5rem; text-align: center; line-height: 1; color: var(--stage); background: var(--brass);
  padding: 0.7rem 0.4rem; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent); }
.date-stub .d { display: block; font-size: 2.8rem; }
.date-stub .m { display: block; font-size: 1.3rem; }
.date-stub .y { display: block; font-size: 0.95rem; opacity: 0.75; }
.gig-section + .gig-section { margin-top: 3rem; }
.gig-list { list-style: none; padding: 0; margin: 0; }
.gig-row { display: flex; gap: 1.25rem; align-items: center; padding: 0.9rem 1rem; margin-bottom: 0.6rem;
  background: var(--stage-2); border-left: 4px solid var(--brass); }
.gig-row .date-stub { flex-basis: 4.5rem; padding: 0.5rem 0.3rem; }
.gig-row .date-stub .d { font-size: 2.1rem; }
.gig-row .date-stub .m { font-size: 1.05rem; }
.gig-row .date-stub .y { font-size: 0.8rem; }
.gig-row.is-today { box-shadow: 0 0 0 1px var(--brass), 0 0 1.5rem rgba(var(--brass-rgb), 0.25); }
.gig-row.is-past, .gig-section-past .gig-row { filter: grayscale(1); opacity: 0.5; border-left-color: #5a5650; }
.gig-row.is-past .date-stub, .gig-section-past .date-stub { background: #5a5650; color: #1a1915; }
.gig-section-past .gig-row:hover { opacity: 0.8; }
.gig-more summary { cursor: pointer; color: var(--brass-light); margin: 0.5rem 0 0.75rem; }
.gig-empty { color: var(--bs-secondary-color); padding: 1rem; border: 1px dashed var(--bs-border-color); }
@media (max-width: 479.98px) { .gig-row { gap: 0.9rem; padding: 0.75rem; } }

/* band: everyone on one page, a grid of cards */
/* band: spotlight carousel. The centred card is lit, the others stand back in the dark. */
.stage-carousel { position: relative; }
.players { list-style: none; margin: 0; padding: 2rem calc(50% - 8rem); display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.players::-webkit-scrollbar { display: none; }
.players > li { flex: 0 0 16rem; scroll-snap-align: center; transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease; }
.js .players > li { transform: scale(0.82); opacity: 0.45; filter: saturate(0.4); }
.js .players > li.lit { transform: scale(1.08); opacity: 1; filter: none; }
.players.jump > li { transition: none; }
.players > li.lit .player { box-shadow: 0 0 2.5rem rgba(212, 167, 44, 0.35); }
.stage-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--brass); background: rgba(0, 0, 0, 0.6); color: var(--brass); font-size: 2rem; line-height: 1; padding: 0 0 0.25rem; }
.stage-arrow:hover:not(:disabled) { background: var(--brass); color: #000; }
.stage-arrow.prev { left: 0; } .stage-arrow.next { right: 0; }
.stage-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.stage-dots a { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stage-3);
  color: var(--bs-secondary-color); transition: all 0.2s; }
.stage-dots a svg { width: 1.3rem; height: 1.3rem; }
.stage-dots a:hover, .stage-dots a.lit { color: var(--brass); border-color: var(--brass); }
.stage-dots a.lit { background: rgba(212, 167, 44, 0.15); }
@media (max-width: 575.98px) {
  .players { padding-inline: calc(50% - 6.5rem); gap: 0.75rem; }
  .players > li { flex-basis: 13rem; }
  .stage-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.6rem; }
}
.players > li { display: flex; }
.players .player { flex: 1; }
.player { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.25rem;
  padding: 2rem 1rem 1.6rem; background: linear-gradient(180deg, var(--stage-3), var(--stage-2));
  border-bottom: 3px solid var(--brass); color: inherit; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.player:hover { transform: translateY(-4px); box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.45); }
.player-icon { width: 7.5rem; height: 7.5rem; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem;
  color: var(--brass-light); background: radial-gradient(circle, rgba(var(--brass-rgb), 0.16) 0%, rgba(var(--brass-rgb), 0.04) 70%);
  box-shadow: inset 0 0 0 5px rgba(var(--brass-rgb), 0.55), inset 0 0 0 10px var(--stage-2), inset 0 0 0 12px rgba(var(--brass-rgb), 0.3); }
.player-icon svg { width: 3.6rem; height: 3.6rem; }
.player .role { font-family: var(--display); color: var(--brass); font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; }
.player .name { color: #fff; font-weight: 600; font-size: 1.15rem; }
.player-open { background: repeating-linear-gradient(135deg, var(--stage-2) 0 12px, var(--stage-3) 12px 24px); border-bottom-style: dashed; }
.player-open .player-icon { color: var(--bs-secondary-color); }
.player-open .name { color: var(--brass-light); }
.player .cta { color: var(--bs-secondary-color); }

/* music */
.songs { list-style: none; padding: 0; counter-reset: song; }
.songs li { counter-increment: song; display: grid; grid-template-columns: 3rem 1fr; padding: 0.9rem 0; border-bottom: 1px solid var(--bs-border-color); }
.songs li::before { content: counter(song, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-size: 1.6rem; color: var(--brass); line-height: 1.2; }
.songs .song { color: #fff; font-weight: 600; font-size: 1.1rem; }
.songs .artist { color: var(--bs-secondary-color); }

/* quote */
.quote-band { position: relative; padding: clamp(5rem, 12vw, 9rem) 0; overflow: hidden; text-align: center; }
.quote-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.68); }
.quote-band .container { position: relative; z-index: 1; }
.quote-band p { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; }
.quote-band .quote-title { font-family: var(--bs-body-font-family); font-size: 1rem; text-transform: none; color: var(--brass-light); letter-spacing: 0; }
.quote-band footer { color: var(--brass); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.quote-band footer::before { content: "— "; }

/* gallery and lightbox */
.thumb { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stage-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; filter: saturate(0.85); }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.06); filter: saturate(1.1); }
#lightbox .modal-content { background: rgba(0, 0, 0, 0.96); }
#lightbox .carousel-item { text-align: center; }
#lightbox .carousel-item img { max-width: 100%; max-height: calc(100vh - 4rem); max-height: calc(100svh - 4rem); object-fit: contain; margin-top: 1rem; }
#lightbox figcaption { color: #fff; padding: 0.6rem 1rem; }
.lightbox-close { position: absolute; z-index: 5; top: 1rem; right: 1rem; }

/* forms */
.form-control, .form-select { background-color: var(--stage-2); border-color: rgba(233, 228, 216, 0.25); border-radius: 2px; padding: 0.7rem 0.9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brass); box-shadow: 0 0 0 0.2rem rgba(var(--brass-rgb), 0.25); background-color: var(--stage-3); }
.form-label { font-weight: 600; font-size: 0.9rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pow-status { font-size: 0.9rem; color: var(--bs-secondary-color); }
.legal-text h3 { font-size: 1.15rem; color: #fff; margin-top: 2rem; }
.legal-text h3:first-child { margin-top: 0; }

/* footer */
.site-footer { background: #080706; border-top: 1px solid rgba(var(--brass-rgb), 0.35); padding: 3rem 0 2rem; }
.site-footer hr { border-color: rgba(var(--brass-rgb), 0.25); opacity: 1; margin: 2rem 0 1.25rem; }
.footer-brand { font-size: 2.2rem; color: var(--brass); line-height: 1; }

/* notice banner */
.consent[hidden] { display: none; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; padding: 1.25rem 0;
  background: rgba(23, 21, 15, 0.98); border-top: 2px solid var(--brass); box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5);
  animation: slide-up 0.4s ease-out both; }
@keyframes slide-up { from { transform: translateY(100%); } }

/* gallery: albums per gig */
.album-list { --bs-list-group-bg: var(--stage-2); --bs-list-group-border-color: var(--bs-border-color);
  --bs-list-group-action-hover-bg: var(--stage-3); --bs-list-group-active-bg: rgba(var(--brass-rgb), 0.18);
  --bs-list-group-active-border-color: var(--brass); --bs-list-group-active-color: #fff; border-radius: 2px; }
.album-date { flex: 0 0 6.5rem; color: var(--brass); font-variant-numeric: tabular-nums; font-weight: 600; }
.link-brass { color: var(--brass-light); text-decoration: none; }
