:root {
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f1e6;
  --muted: #c9c0b2;
  --gold: #d7b46a;
  --gold-soft: #f0d88d;
  --gold-deep: #a87b2c;
  --accent: #d7b46a;
  --red: #c66a4a;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #000;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(215, 180, 106, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(168, 123, 44, 0.18), transparent 25rem),
    linear-gradient(145deg, #080808 0%, #15100c 48%, #090b0b 100%);
  background-color: #000;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overscroll-behavior: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 18px 20px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 11, 11, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 260ms ease, opacity 260ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 11, 11, 0.82);
  border-color: rgba(215, 180, 106, 0.34);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: none;
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a,
.search-trigger,
.button {
  min-height: 44px;
  border-radius: 13px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.search-trigger,
.menu-toggle {
  border: 0;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.search-trigger {
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(240, 216, 141, 0.98), rgba(168, 123, 44, 0.94));
  color: #15110b;
  font-weight: 800;
}

.search-trigger:hover,
.button:hover,
.mini-card:hover,
.feature-card:hover {
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 28px;
  padding: 160px clamp(20px, 6vw, 84px) 64px;
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 150px clamp(20px, 6vw, 84px) 58px;
  overflow: hidden;
}

.home-page .page-hero {
  min-height: 100svh;
  align-items: center;
  padding-bottom: 84px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  width: min(920px, 100%);
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 12, 10, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  text-align: center;
}

.page-hero-inner.reveal {
  opacity: 1;
  transform: none;
}

.home-page .page-hero-inner {
  grid-template-columns: 1fr;
  justify-self: center;
  width: min(780px, 100%);
  padding: clamp(34px, 6vw, 70px);
  border-color: rgba(215, 180, 106, 0.34);
  background:
    linear-gradient(135deg, rgba(12, 10, 7, 0.72), rgba(16, 14, 10, 0.5)),
    rgba(255, 255, 255, 0.045);
  text-align: left;
}

.hero-title-block {
  min-width: 0;
}

.home-page .hero-title-block h1 {
  max-width: 100%;
  font-size: clamp(40px, 7vw, 82px);
  white-space: nowrap;
}

.home-eyebrow {
  font-size: clamp(11px, 1.8vw, 14px);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.typing-caret::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.88em;
  margin-left: 0.08em;
  background: var(--gold-soft);
  transform: translateY(0.08em);
  animation: caretBlink 720ms steps(2, end) infinite;
}

.hero-ball-stage {
  position: absolute;
  z-index: 0;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: clamp(34px, 9vw, 120px);
  width: clamp(170px, 28vw, 390px);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.58));
  transform: translate3d(var(--ball-x, 0px), var(--ball-y, 0px), 0) rotate(var(--ball-rotate, 0deg)) scale(var(--ball-scale, 1));
  transition: transform 120ms linear;
}

.hero-ball-stage::before {
  content: "";
  position: absolute;
  inset: 16% 10% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 180, 106, 0.25), transparent 66%);
  filter: blur(24px);
  animation: ballGlow 4.8s ease-in-out infinite alternate;
}

.gold-ball {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: goldBallFloat 7s ease-in-out infinite, ballIntro 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 11, 0.95) 0%, rgba(10, 11, 11, 0.54) 48%, rgba(10, 11, 11, 0.82) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.08);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content,
.hero-card,
.quick-search,
.glass-panel,
.contact-card,
.modern-form {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-content {
  max-width: 820px;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 92px);
}

h2 {
  font-size: clamp(32px, 4.7vw, 60px);
}

h3 {
  font-size: 22px;
}

.hero-copy,
.section-copy p,
.feature-card p,
.contact-card p,
.form-note {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-hero-inner .hero-actions {
  justify-content: center;
}

.home-page .page-hero-inner .hero-actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(240, 216, 141, 0.65);
  background: linear-gradient(135deg, rgba(240, 216, 141, 1), rgba(215, 180, 106, 0.96) 54%, rgba(168, 123, 44, 0.98));
  color: #17120a;
  box-shadow: 0 14px 30px rgba(215, 180, 106, 0.2);
}

.button.ghost {
  border-color: rgba(240, 216, 141, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 18px;
}

.hero-card p {
  margin: 12px 0;
  color: var(--muted);
}

.hero-card strong {
  font-size: 24px;
}

.status-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(215, 180, 106, 0.16);
}

.quick-search,
.section {
  max-width: 1180px;
  margin: 0 auto;
}

.quick-search {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  transform: translateY(-32px);
}

.search-box {
  display: grid;
  gap: 7px;
}

.search-box span,
.modern-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

input {
  min-height: 54px;
  padding: 0 18px;
}

textarea {
  resize: vertical;
  padding: 15px 18px;
}

input:focus,
textarea:focus {
  border-color: rgba(215, 180, 106, 0.78);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.14);
}

.search-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.result-item small {
  color: var(--muted);
}

.section {
  padding: 74px 20px;
}

.top-info-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 46px;
}

.top-info-section.compact-hours {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.hours-feature,
.external-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.074);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hours-feature {
  border-color: rgba(215, 180, 106, 0.34);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.07);
}

.hours-feature h2 {
  max-width: 780px;
  font-size: clamp(24px, 3.2vw, 42px);
}

.featured-hours {
  margin-top: 20px;
  font-size: 15px;
}

.featured-hours strong {
  color: var(--text);
}

.special-hours {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(215, 180, 106, 0.28);
}

.special-hours-list {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1fr;
  gap: 12px 18px;
  margin-top: 14px;
}

.special-hours-list span {
  color: var(--gold-soft);
  font-weight: 800;
}

.special-hours-list strong {
  color: var(--text);
}

.external-links {
  display: grid;
  gap: 14px;
}

.external-card {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 116px;
  border-radius: 14px;
  padding: 22px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.external-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.52);
  background: rgba(215, 180, 106, 0.12);
}

.external-card span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.external-card strong {
  font-size: 20px;
}

.intro-grid,
.split-panel,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.content-shell,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.content-shell.full-width-content {
  grid-template-columns: 1fr;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.content-prose {
  padding: clamp(24px, 4vw, 46px);
}

.content-prose :first-child {
  margin-top: 0;
}

.content-prose p,
.content-prose li,
.content-prose td {
  color: var(--muted);
}

.content-prose strong {
  color: var(--gold);
}

.content-prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(215, 180, 106, 0.65);
  text-underline-offset: 4px;
}

.content-prose ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.content-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 12px;
}

.content-prose td,
.content-prose th {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
}

.content-prose img {
  max-width: min(100%, 520px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.content-prose .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0 4px;
}

.content-prose .row > [class*="col-"] {
  min-width: 0;
}

.content-prose .row > .col-xs-12 {
  display: none;
}

.content-prose .row img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.content-prose .row a:hover img {
  transform: translateY(-3px);
  border-color: rgba(215, 180, 106, 0.5);
  filter: saturate(1.1) contrast(1.04);
}

.content-prose a[href*="Mitgliederbeitrag"] img {
  width: min(100%, 340px);
  padding: 12px;
  background: rgba(0, 0, 0, 0.26);
  object-fit: contain;
}

.content-prose a[href*="billardhandel_b"] img {
  display: none;
}

.team-intro,
.gallery-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.team-intro p:last-child,
.gallery-intro p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.team-member {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.team-member:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.team-member span,
.photo-card span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-member h3 {
  margin: 8px 0 10px;
}

.team-member p {
  margin: 0;
}

.member-photo,
.member-fallback {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: 12px;
}

.member-photo {
  object-fit: cover;
}

.member-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: var(--gold-soft);
  font-size: 34px;
  font-weight: 800;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, border-color 220ms ease;
}

.photo-card.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 210px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 520ms ease, filter 220ms ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.photo-card span {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.46);
}

.photo-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.05);
}

.content-prose .form-group {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.content-prose label {
  color: var(--muted);
  font-weight: 800;
}

.content-prose .btn,
.content-prose button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  background: var(--gold);
  color: #17120a;
  font: inherit;
  font-weight: 800;
}

.page-gallery {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.page-gallery.home-gallery-row {
  position: static;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.page-gallery img:nth-child(2) {
  transform: translateX(-20px);
}

.page-gallery.home-gallery-row img:nth-child(2) {
  transform: none;
}

.sitemap-section {
  padding: 54px 20px 68px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sitemap-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  padding: 20px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.sitemap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.4);
  background: rgba(255, 255, 255, 0.095);
}

.sitemap-card h3 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 16px;
}

.sitemap-card div {
  display: grid;
  gap: 8px;
}

.sitemap-card a {
  color: var(--muted);
  font-weight: 700;
}

.sitemap-card a:hover,
.sitemap-card a[aria-current="page"] {
  color: var(--text);
}

.sitemap-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(215, 180, 106, 0.22);
  color: var(--muted);
  font-weight: 700;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-copy p {
  max-width: 570px;
  font-size: 18px;
}

.image-stack {
  position: relative;
  min-height: 460px;
}

.image-stack img {
  position: absolute;
  width: 72%;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack img:first-child {
  top: 0;
  right: 0;
}

.image-stack img:last-child {
  left: 0;
  bottom: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-divider {
  width: min(170px, 46vw);
  height: 3px;
  margin: 0 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep), transparent);
  box-shadow: 0 0 24px rgba(215, 180, 106, 0.22);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.072);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  border-color: rgba(215, 180, 106, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  padding: 20px;
}

.split-panel {
  align-items: stretch;
}

.glass-panel,
.contact-card,
.modern-form {
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.hours-list {
  display: grid;
  grid-template-columns: minmax(90px, 0.4fr) 1fr;
  gap: 12px 18px;
  margin-top: 26px;
}

.hours-list span {
  color: var(--muted);
}

.price-cards {
  display: grid;
  gap: 16px;
}

.mini-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.mini-card:hover {
  border-color: rgba(215, 180, 106, 0.5);
  background: rgba(215, 180, 106, 0.12);
}

.mini-card span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 14px;
}

.gallery-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.modern-form {
  display: grid;
  gap: 16px;
}

.modern-form label {
  display: grid;
  gap: 8px;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.search-dialog {
  width: min(720px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 13, 13, 0.9);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.dialog-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
}

.modal-results {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 680ms ease, transform 680ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes goldBallFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(-12px, -22px, 0) rotate(8deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
}

@keyframes ballIntro {
  from {
    opacity: 0;
    transform: translate3d(80px, -40px, 0) rotate(32deg) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }
}

@keyframes ballGlow {
  from {
    opacity: 0.45;
    transform: scale(0.95);
  }
  to {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes caretBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
    left: 10px;
    width: auto;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 11, 11, 0.92);
    padding: 10px;
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
  }

  .hero,
  .intro-grid,
  .split-panel,
  .contact-section,
  .top-info-section,
  .content-shell,
  .contact-band,
  .quick-search {
    grid-template-columns: 1fr;
  }

  .page-gallery {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-gallery.home-gallery-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-gallery img:nth-child(2) {
    transform: none;
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px 10px auto;
    gap: 8px;
    border-radius: 16px;
  }

  .brand span {
    display: inline;
  }

  .search-trigger {
    padding: 0 14px;
  }

  .hero {
    padding: 112px 14px 44px;
  }

  .page-hero {
    min-height: auto;
    padding: 112px 14px 44px;
  }

  .hero-content,
  .page-hero-inner,
  .hero-card,
  .quick-search,
  .glass-panel,
  .contact-card,
  .modern-form {
    border-radius: 16px;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .home-page .page-hero-inner {
    text-align: center;
  }

  .home-page .hero-title-block h1 {
    font-size: clamp(31px, 9.2vw, 42px);
  }

  .home-eyebrow {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .hero-ball-stage {
    right: -42px;
    bottom: auto;
    top: 86px;
    width: 190px;
    opacity: 0.72;
  }

  .page-hero-inner h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .page-hero-inner .hero-copy {
    font-size: 17px;
  }

  .page-hero-inner .hero-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .section {
    padding: 48px 14px;
  }

  .card-grid,
  .gallery-strip,
  .compact-grid,
  .sitemap-grid,
  .top-info-section,
  .page-gallery,
  .page-gallery.home-gallery-row,
  .team-grid,
  .photo-gallery,
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .special-hours-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .special-hours-list strong {
    margin-bottom: 10px;
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .member-photo,
  .member-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-card.is-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .external-card {
    min-height: 92px;
  }

  .gallery-strip img {
    height: 240px;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .image-stack img {
    position: static;
    width: 100%;
  }

  .hours-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-list strong {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
