:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #eef5f3;
  --text: #10232d;
  --muted: #65737f;
  --brand: #0b6670;
  --brand-2: #0f9b83;
  --brand-soft: #d9f2ec;
  --line: #dce5e7;
  --shadow: 0 20px 50px rgba(10, 38, 51, 0.10);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.topbar {
  background: #071e26;
  color: #d8eeee;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 42px;
}
.topbar a { color: #fff; opacity: .92; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,229,231,.85);
}
.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { display: flex; align-items: center; min-width: 215px; }
.logo img { width: 210px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #233844;
  font-weight: 700;
  font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { background: var(--brand-soft); color: var(--brand); }
.nav-links .cta {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11,102,112,.22);
}
.nav-links .cta:hover { background: #084f57; color: #fff; }
.mobile-toggle { display: none; }
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(70,200,155,.28), transparent 30%), linear-gradient(135deg, #092934 0%, #0b6670 52%, #0f9b83 100%);
  color: #fff;
}
.hero .container {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  padding: 76px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 6vw, 82px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.035em; }
h3 { font-size: 23px; letter-spacing: -.02em; }
p { margin: 0 0 16px; }
.hero p { max-width: 600px; font-size: 19px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}
.button.secondary { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.button.secondary.dark { background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(11,102,112,.14); }
.button.light { background: #fff; color: var(--brand); }
.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-image {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
}
.court-visual {
  min-height: 410px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.8) 0 8px, transparent 9px),
    linear-gradient(155deg, rgba(255,255,255,.86), rgba(255,255,255,.18) 35%, rgba(255,255,255,.05)),
    repeating-linear-gradient(115deg, rgba(255,255,255,.14) 0 2px, transparent 2px 68px),
    linear-gradient(135deg, #143943, #0b6670 58%, #0f9b83);
  position: relative;
  overflow: hidden;
}
.court-visual:before,
.court-visual:after {
  content: "";
  position: absolute;
  inset: auto 28px 46px 28px;
  height: 3px;
  background: rgba(255,255,255,.8);
  transform: perspective(300px) rotateX(30deg);
}
.court-visual:after {
  inset: 54px auto auto 55px;
  width: 3px;
  height: 310px;
  background: rgba(255,255,255,.6);
}
.ball {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  right: 74px;
  top: 98px;
  box-shadow: 0 0 0 10px rgba(255,255,255,.12);
}
.racket {
  position: absolute;
  width: 120px;
  height: 170px;
  border: 8px solid rgba(255,255,255,.86);
  border-radius: 58% 58% 48% 48%;
  left: 72px;
  bottom: 72px;
  transform: rotate(-22deg);
}
.racket:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 130px;
  background: rgba(255,255,255,.86);
  left: 52px;
  bottom: -126px;
  border-radius: 999px;
}
.section { padding: 82px 0; }
.section.compact { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head p { max-width: 660px; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.house-layout {
  align-items: start;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(10,38,51,.06);
  overflow: hidden;
}
.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card p, .muted { color: var(--muted); }
.news-card { display: flex; flex-direction: column; min-height: 100%; }
.news-image, .mini-image {
  height: 185px;
  background: linear-gradient(135deg, #d9f2ec, #0b6670);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.news-image.has-photo {
  margin: 16px 16px 0;
  height: 180px;
  border: 1px solid rgba(11,102,112,.16);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(217,242,236,.65), rgba(11,102,112,.18));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.74),
    0 10px 24px rgba(10,38,51,.08);
}
.news-image.has-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(9,41,52,.10));
  pointer-events: none;
}
.news-image:before, .mini-image:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255,255,255,.52);
  border-radius: 16px;
}
.news-image:after, .mini-image:after {
  content: "";
  position: absolute;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  right: 28px;
  top: 28px;
  background: rgba(255,255,255,.32);
}
.news-image.has-photo:after,
.news-image:not(.has-photo).olympia:before,
.news-image:not(.has-photo).olympia:after,
.news-image:not(.has-photo).winter:before,
.news-image:not(.has-photo).winter:after,
.news-image:not(.has-photo).junioren:before,
.news-image:not(.has-photo).junioren:after,
.news-image:not(.has-photo).interclub:before,
.news-image:not(.has-photo).interclub:after,
.news-image:not(.has-photo).sport:before,
.news-image:not(.has-photo).sport:after,
.news-image:not(.has-photo).team:before,
.news-image:not(.has-photo).team:after {
  display: none;
}
.news-image.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 19px;
}
.news-card .card-body {
  padding: 26px 28px 28px;
}
.news-card h3 {
  margin-bottom: 14px;
}
.news-card p {
  margin-bottom: 22px;
}
.news-image.olympia { background-image: url("images/news-david-olympia.jpg"); }
.news-image.winter { background-image: url("images/news-winterferien-2025.png"); }
.news-image.junioren { background-image: url("images/news-squash-it-vaduz.jpg"); }
.news-image.interclub { background-image: url("images/news-ecc-graz.jpg"); }
.news-image.sport { background-image: url("images/news-squash-health.png"); }
.news-image.team { background-image: url("images/news-llb-nacht-des-sportes.jpg"); }
.news-image.olympia img { object-position: center 42%; }
.news-image.winter img { object-position: center 48%; }
.news-image.junioren img { object-position: center 50%; }
.news-image.interclub img { object-position: center 42%; }
.news-image.sport img { object-position: center 50%; }
.news-image.team img { object-position: center 38%; }
.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 850;
}
.link { color: var(--brand); font-weight: 850; }
.split {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 28px;
  align-items: start;
}
.info-panel {
  background: #0b2d3a;
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.info-panel p, .info-panel .muted { color: rgba(255,255,255,.76); }
.event-list { display: grid; gap: 14px; margin-top: 20px; }
.event-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 14px;
}
.datebox {
  display: grid;
  place-items: center;
  background: #fff;
  color: #0b2d3a;
  border-radius: 14px;
  padding: 9px 4px;
  font-weight: 900;
  line-height: 1;
}
.datebox span { font-size: 13px; color: var(--brand); margin-top: 4px; }
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.feature strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 8px;
}
.countdown-year {
  font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 7vw, 72px) !important;
  letter-spacing: -.06em;
  text-shadow: 0 12px 28px rgba(11,102,112,.14);
}
.association-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.association-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(10,38,51,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.association-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11,102,112,.26);
  box-shadow: 0 18px 42px rgba(10,38,51,.10);
}
.association-card img {
  max-width: 220px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.instagram-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(15,155,131,.22), transparent 30%),
    linear-gradient(135deg, #092934, #0b6670 55%, #0f9b83);
  color: #fff;
}
.instagram-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 34px;
}
.instagram-card p {
  max-width: 640px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}
.instagram-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px;
  gap: 12px;
  padding: 12px;
  border-radius: 30px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.instagram-highlight {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background: #073946;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.instagram-highlight.large {
  grid-row: span 2;
}
.instagram-highlight.wide {
  grid-column: span 2;
}
.instagram-highlight img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}
.instagram-highlight.crop-david img {
  object-position: 54% 42%;
}
.instagram-highlight.crop-ecc img {
  object-position: 50% 34%;
}
.instagram-highlight.crop-hero img {
  object-position: 50% 48%;
}
.instagram-highlight.crop-llb img {
  object-position: 50% 38%;
}
.instagram-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,22,29,.02), rgba(5,22,29,.68));
}
.instagram-highlight span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
}
.instagram-highlight:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}
.page-hero {
  padding: 70px 0 46px;
  background: linear-gradient(135deg, #092934, #0b6670);
  color: #fff;
}
.page-hero.sport-hero {
  background: linear-gradient(135deg, rgba(9,41,52,.92), rgba(11,102,112,.78)), url("images/squash-hero.jpg") center 58% / cover;
}
.page-hero.club-hero,
.page-hero.house-hero,
.page-hero.contact-hero {
  background: linear-gradient(135deg, rgba(9,41,52,.94), rgba(11,102,112,.78)), url("images/category-equipment.jpg") center 62% / cover;
}
.page-hero.membership-hero {
  background: linear-gradient(135deg, rgba(9,41,52,.94), rgba(11,102,112,.74)), url("images/category-junioren.jpg") center 78% / cover;
}
.page-hero p { color: rgba(255,255,255,.82); max-width: 760px; font-size: 18px; }
.content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
}
.side-nav {
  position: sticky;
  top: 112px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 12px 32px rgba(10,38,51,.05);
}
.side-nav a {
  display: block;
  padding: 11px 13px;
  border-radius: 14px;
  font-weight: 800;
  color: #29414d;
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.side-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.side-nav a.active-topic {
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: inset 4px 0 0 var(--brand-2);
  transform: translateX(4px);
}
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 12px 32px rgba(10,38,51,.06);
}
.prose h2 { font-size: 34px; margin-top: 8px; }
.prose h3 { margin-top: 32px; }
.prose ul { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin: 8px 0; }
.timeline { display: grid; gap: 10px; margin-top: 18px; }
.timeline-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item strong { color: var(--brand); }
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.person {
  padding: 22px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}
.form-card {
  display: grid;
  gap: 14px;
}
.input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
.footer {
  background: #071e26;
  color: #d9ebef;
  padding: 54px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer h3 { font-size: 16px; color: #fff; margin-bottom: 14px; }
.footer p, .footer a { color: #b8cbd1; }
.footer img[src$="logo-srcv.png"] {
  padding: 7px;
  border-radius: 10px;
  background: #fff;
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #8faab3;
  font-size: 14px;
}
.news-detail { display: none; }
.news-detail.active { display: block; }
.news-list.hidden { display: none; }
.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  padding: 16px 18px;
  border-radius: 18px;
  margin: 18px 0;
}
.reservation-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}
.reservation-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.reservation-step > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.reservation-step strong {
  display: block;
  margin-bottom: 4px;
}
.reservation-step p {
  margin: 0;
  color: var(--muted);
}
.reservation-actions {
  margin: 0 0 8px;
}
.beginner-box {
  margin: 24px 0;
  padding: 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(15,155,131,.18), transparent 28%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.beginner-box h3 {
  margin-top: 18px;
}
.beginner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.beginner-item {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11,102,112,.12);
}
.beginner-item strong {
  display: block;
  color: var(--brand);
  margin-bottom: 5px;
}
.beginner-item span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 32px rgba(10,38,51,.06);
  overflow: hidden;
}
.map-card .section-head {
  margin: 6px 6px 22px;
}
.map-card iframe {
  width: 100%;
  height: 430px;
  display: block;
  border: 0;
  border-radius: 18px;
  background: var(--surface-2);
}
.compact-map {
  margin-top: 24px;
  padding: 10px;
}
.compact-map iframe {
  height: 280px;
}
@media (max-width: 980px) {
  .hero .container, .split, .content-layout, .grid.three, .grid.two, .footer-grid, .association-grid, .beginner-grid, .instagram-card { grid-template-columns: 1fr; }
  .hero .container { min-height: auto; }
  .side-nav {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x proximity;
  }
  .side-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .side-nav a.active-topic {
    transform: none;
    box-shadow: inset 0 -3px 0 var(--brand-2);
  }
  .board-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 20px;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
  }
  .navbar { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .topbar { font-size: 12px; line-height: 1.35; }
  .topbar .container { align-items: flex-start; flex-direction: column; min-height: 0; padding: 7px 0; gap: 2px; }
  .navbar { min-height: 72px; gap: 14px; }
  .logo { min-width: 0; max-width: calc(100% - 92px); }
  .logo img { width: min(220px, 100%); }
  .nav-links a { padding: 12px 14px; }
  .hero .container { padding: 48px 0; }
  .hero-card { padding: 12px; border-radius: 24px; }
  .hero-image { height: 280px; border-radius: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 48px; }
  .section { padding: 54px 0; }
  .section.compact { padding: 42px 0; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head p { font-size: 16px; }
  h1 { font-size: clamp(40px, 15vw, 58px); }
  h2 { font-size: clamp(28px, 10vw, 38px); }
  .info-panel { padding: 22px; }
  .event-item { grid-template-columns: 64px 1fr; padding: 12px; }
  .datebox { min-height: 58px; }
  .card-image, .news-image.has-photo { height: 170px; }
  .news-card .card-body { padding: 22px; }
  .prose { padding: 24px; }
  .map-card { padding: 10px; }
  .map-card iframe { height: 300px; border-radius: 14px; }
  .compact-map iframe { height: 230px; }
  .reservation-step { grid-template-columns: 40px 1fr; padding: 14px; }
  .reservation-step > span { width: 38px; height: 38px; }
  .beginner-box { padding: 20px; }
  .instagram-highlight-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px;
    padding: 10px;
    border-radius: 24px;
  }
  .instagram-highlight.large,
  .instagram-highlight.wide {
    grid-row: auto;
    grid-column: auto;
  }
  .board-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 2px; }
}
