:root {
  --bg: #edf3fb;
  --panel: #ffffff;
  --panel-soft: #f7faff;
  --line: #d7e4f6;
  --text: #163b69;
  --text-soft: #4c678d;
  --blue-900: #0b3f7f;
  --blue-800: #114e9a;
  --blue-700: #1865bf;
  --blue-500: #1d7de8;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(13, 52, 108, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(13, 52, 108, 0.045);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.65rem;
  color: var(--blue-900);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
  line-height: 1.2;
}

.brand-copy strong {
  color: var(--blue-900);
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  object-position: center;
}

.brand-mark {
  display: none;
}

.menu-toggle {
  display: flex;
  width: auto;
  min-width: 82px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf4fd;
  cursor: pointer;
}

.menu-toggle span {
  display: none;
}

.menu-toggle::before {
  width: 20px;
  height: 14px;
  flex: 0 0 20px;
  background: linear-gradient(
    to bottom,
    var(--blue-900) 0 2px,
    transparent 2px 6px,
    var(--blue-900) 6px 8px,
    transparent 8px 12px,
    var(--blue-900) 12px 14px
  );
  content: '';
}

.menu-toggle::after {
  color: var(--blue-900);
  content: 'Men\00FC';
  font-size: 0.82rem;
  font-weight: 750;
}

.main-nav a {
  font-weight: 700;
  text-decoration: none;
}

.main-nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 20;
  display: none;
  width: min(46rem, calc(100vw - 2rem));
  max-height: min(75vh, 34rem);
  overflow-y: auto;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(13, 52, 108, 0.2);
}

.main-nav.open {
  display: block;
}

.main-nav > a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.65rem 0.8rem;
  border-radius: 0.55rem;
  color: var(--blue-800);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav > .nav-home {
  display: none;
}

.nav-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.nav-group {
  min-width: 0;
  padding: 0.3rem;
  border-radius: 0.65rem;
  background: #f8fbff;
}

.nav-group a,
.nav-resources a {
  display: flex;
  min-height: 32px;
  align-items: center;
  padding: 0.4rem 0.5rem;
  border-radius: 0.45rem;
  color: var(--blue-900);
  font-size: 0.81rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.nav-group a:hover,
.nav-group a.active,
.nav-resources a:hover,
.nav-resources a.active {
  color: var(--blue-800);
  background: #eaf2fc;
}

.nav-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-900);
  background: #eaf2fc;
}

.nav-section {
  display: block;
  margin: 0 0 0.2rem;
  padding: 0.2rem 0.5rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-toggle[aria-expanded='true'] {
  background: #dfeafa;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue-800), var(--blue-500));
  box-shadow: 0 8px 20px rgba(17, 78, 154, 0.2);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 26px rgba(17, 78, 154, 0.27);
}

.btn-secondary {
  color: var(--blue-900);
  border-color: var(--line);
  background: #fff;
}

.btn-secondary:hover {
  background: var(--panel-soft);
}

.section {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
}

.hero-home {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  color: #fff;
  background-color: #071d46;
  background-image:
    linear-gradient(rgba(5, 27, 64, 0.58), rgba(5, 27, 64, 0.58)),
    url('assets/original/konfetti-hintergrund.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  padding: 1rem 0 1.5rem;
}

.eyebrow,
.section-tag {
  margin: 0 0 0.8rem;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  display: grid;
  max-width: none;
  color: #fff;
  font-size: clamp(3.2rem, 6.1vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}
.hero-copy h1 span {
  display: block;
}

.hero-copy h1 .headline-accent {
  color: #b9d8ff;
}

.hero-copy .eyebrow {
  color: #b9d8ff;
}

.hero-hashtag {
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: clamp(0.5rem, 1.5vw, 0.9rem) auto 0;
  padding: 0.25rem 1.2rem 0.35rem;
  color: #b9d8ff;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 12, 36, 0.24);
}

.hero-copy .lead {
  max-width: 44ch;
  color: rgba(239, 246, 255, 0.83);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
}

.hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.45rem;
  color: rgba(239, 246, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9d8ff;
  box-shadow: 0 0 0 4px rgba(185, 216, 255, 0.16);
}

.hero-photo {
  position: relative;
  margin: 0;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 52, 108, 0.17);
  transform: rotate(0.7deg);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center 48%;
}

.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.35rem 0.2rem;
  color: var(--blue-900);
  font-size: 0.76rem;
  font-weight: 750;
}

.hero-photo figcaption span:last-child {
  color: var(--text-soft);
  font-weight: 550;
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(2.7rem, 5vw, 4.2rem);
  padding: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 28px rgba(13, 52, 108, 0.06);
}

.hero-stats > div {
  display: grid;
  gap: 0.1rem;
  padding: 0.2rem 1.4rem;
}

.hero-stats > div + div {
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  color: var(--blue-900);
  font-size: 1rem;
}

.hero-stats span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.section h2 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

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

.info-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 52, 108, 0.06);
}

.info-card h3 {
  margin: 0 0 0.4rem;
}

.info-card p {
  margin: 0 0 0.8rem;
}

.info-card a {
  display: inline-block;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 750;
}

.card-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 0.6rem;
  border-radius: 12px;
  background: #edf4fd;
  font-size: 1.35rem;
}

.split-layout,
.page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
}

.feature-list > div,
.page-shell,
.list-block {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.feature-list p,
.page-shell p:last-child {
  margin-bottom: 0;
}

.privacy-content h2 {
  margin: 0 0 1rem;
  color: var(--blue-900);
}

.privacy-content h3 {
  margin: 1.8rem 0 0.5rem;
  color: var(--blue-900);
  font-size: 1.15rem;
  line-height: 1.3;
}

.privacy-content address {
  color: var(--text-soft);
  font-style: normal;
  line-height: 1.8;
}

.privacy-review-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #c47a12;
  border-radius: 0.35rem;
  background: #fff7e8;
  color: #66420b;
}

.list-block {
  background: var(--panel-soft);
}

.list-block ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-block li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.list-block li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-hero {
  padding: 2.7rem 0 0.5rem;
}

.page-hero h1 {
  margin-bottom: 0;
  color: var(--blue-900);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: -0.05em;
}

.page-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 52, 108, 0.12);
}

.page-visual img {
  width: 100%;
  height: auto;
}

.dance-container {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.dance-intro {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.dance-intro h2,
.dance-join h2 {
  margin: 0 auto 0.8rem;
  color: var(--blue-900);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.dance-intro > p:last-child,
.dance-card-copy p,
.dance-join p:last-child {
  color: var(--text-soft);
}

.dance-intro > p:last-child {
  margin-bottom: 0;
}

.dance-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 1.25rem;
}

.dance-card {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 52, 108, 0.08);
}

.dance-card-image {
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  align-self: center;
  place-items: center;
  overflow: hidden;
  background: #edf3fb;
}

.dance-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dance-card-copy {
  padding: 1.35rem 1.5rem 1.5rem;
}

.dance-card-copy h3 {
  margin: 0.25rem 0 0.7rem;
  color: var(--blue-900);
  font-size: 1.45rem;
  line-height: 1.2;
}

.dance-card-copy p:last-child {
  margin-bottom: 0;
}

.dance-card-lead {
  color: var(--blue-800) !important;
  font-size: 1.05rem;
  font-weight: 700;
}

.dance-label {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dance-schedule {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.dance-join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.2rem;
  background: #e8f1fc;
}

.dance-join h2 {
  margin-left: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
}

.dance-join p:last-child {
  max-width: 58ch;
  margin-bottom: 0;
}

.dance-join .btn {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .dance-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .dance-card-image {
    aspect-ratio: 16 / 9;
  }

  .dance-join {
    align-items: flex-start;
    flex-direction: column;
  }
}

.bpm-container {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.bpm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.bpm-copy h2,
.bpm-community h2,
.bpm-join h2 {
  margin: 0 0 1rem;
  color: var(--blue-900);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.bpm-copy p:not(.section-tag),
.bpm-community p:not(.section-tag),
.bpm-join p:not(.section-tag) {
  color: var(--text-soft);
}

.bpm-copy .bpm-lead {
  color: var(--blue-800) !important;
  font-size: 1.12rem;
  font-weight: 650;
}

.bpm-feature-photo {
  overflow: hidden;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 16px 38px rgba(13, 52, 108, 0.12);
}

.bpm-feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.8rem;
  object-fit: cover;
}

.bpm-feature-photo figcaption {
  padding: 0.7rem 0.5rem 0.25rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 650;
}

.bpm-community {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-soft);
}

.bpm-community h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.bpm-community p:last-child {
  margin-bottom: 0;
}

.bpm-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.bpm-photo-grid img {
  width: 100%;
  height: 11rem;
  border-radius: 0.8rem;
  object-fit: cover;
}

.bpm-photo-grid img:first-child {
  grid-column: 1 / -1;
  height: 15rem;
}

.bpm-join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.2rem;
  background: #e8f1fc;
}

.bpm-join h2 {
  margin-bottom: 0.6rem;
}

.bpm-join p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
}

.bpm-join .btn {
  flex: 0 0 auto;
}

.senat-container {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.senat-intro,
.senat-profile,
.senat-youth,
.senat-tradition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.senat-intro h2,
.senat-profile h2,
.senat-youth h2,
.senat-tradition h2,
.senat-thanks h2 {
  margin: 0 0 0.85rem;
  color: var(--blue-900);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.senat-intro p:not(.section-tag),
.senat-profile p:not(.section-tag),
.senat-youth p:not(.section-tag),
.senat-tradition p:not(.section-tag),
.senat-thanks > p:not(.section-tag) {
  color: var(--text-soft);
}

.senat-lead {
  color: var(--blue-800) !important;
  font-size: 1.08rem;
  font-weight: 650;
}

.senat-feature-image,
.senat-josef-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #edf3fb;
  box-shadow: 0 12px 30px rgba(13, 52, 108, 0.1);
}

.senat-feature-image {
  position: relative;
  display: block;
}

.senat-josef-image {
  position: relative;
  display: block;
}

.senat-feature-image img {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: calc(100% - 1.2rem);
  height: calc(100% - 2.5rem);
  object-fit: contain;
}

.senat-josef-image img {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: calc(100% - 1.2rem);
  height: calc(100% - 1.2rem);
  object-fit: contain;
}

.senat-feature-image figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.45rem;
  left: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
}

.senat-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.senat-facts > div {
  display: grid;
  min-height: 8rem;
  align-content: center;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel-soft);
  text-align: center;
}

.senat-facts strong {
  color: var(--blue-900);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.senat-facts span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.senat-profile {
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 52, 108, 0.07);
}

.senat-youth {
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
}

.senat-youth-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.senat-youth-gallery img,
.senat-order-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #edf3fb;
  object-fit: contain;
}

.senat-youth-gallery img {
  aspect-ratio: 4 / 3;
}

.senat-tradition {
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.2rem;
  background: var(--panel-soft);
}

.senat-order-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.65rem;
}

.senat-order-gallery img {
  aspect-ratio: 3 / 4;
}

.senat-thanks {
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 52, 108, 0.07);
}

.senat-signoff {
  margin-top: 1.5rem;
  color: var(--blue-900) !important;
}

.board-container {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
}

.board-intro {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.board-intro h2 {
  margin: 0 auto 0.8rem;
  color: var(--blue-900);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.board-intro > p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.board-group {
  display: grid;
  gap: 1rem;
}

.board-group > h3 {
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-900);
  font-size: 1.35rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.board-card {
  display: flex;
  min-width: 0;
  min-height: 8rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 52, 108, 0.06);
}

.board-card > span {
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.board-card h4 {
  margin: 0.35rem 0;
  color: var(--blue-900);
  font-size: 1.05rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.board-card a {
  max-width: 100%;
  color: var(--text-soft);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .bpm-intro,
  .bpm-community,
  .senat-intro,
  .senat-profile,
  .senat-youth,
  .senat-tradition {
    grid-template-columns: 1fr;
  }

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

  .bpm-join {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .bpm-photo-grid img,
  .bpm-photo-grid img:first-child {
    height: 9rem;
  }
}

.clothing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.clothing-order {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 52, 108, 0.08);
}

.clothing-order h2 {
  margin: 0 0 1rem;
  color: var(--blue-900);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.clothing-order p:not(.section-tag) {
  color: var(--text-soft);
}

.clothing-order-button {
  margin-top: 0.65rem;
}

.clothing-side {
  display: grid;
  gap: 1.25rem;
}

.clothing-qr {
  display: block;
  overflow: hidden;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 52, 108, 0.08);
}

.clothing-qr img {
  width: 100%;
  max-height: 28rem;
  border-radius: 0.7rem;
  object-fit: contain;
}

.clothing-contacts {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--panel-soft);
}

.clothing-contacts h2,
.clothing-contacts h3,
.clothing-contacts p {
  margin: 0;
}

.clothing-contacts h2 {
  color: var(--blue-900);
  font-size: 1.35rem;
}

.clothing-contacts h3 {
  color: var(--blue-800);
  font-size: 0.9rem;
}

.clothing-contacts p,
.clothing-contacts a {
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .clothing-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .clothing-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 520px) {
  .board-grid {
    grid-template-columns: 1fr;
  }

  .senat-facts {
    grid-template-columns: 1fr;
  }

  .senat-facts > div {
    min-height: 5.5rem;
  }

  .clothing-side {
    grid-template-columns: 1fr;
  }
}

.downloads-container {
  max-width: 1040px;
}

.downloads-intro {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.downloads-intro h2 {
  margin: 0 auto 0.75rem;
  color: var(--blue-900);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.downloads-intro > p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}

.download-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 52, 108, 0.09);
}

.download-preview {
  position: relative;
  height: 21rem;
  overflow: hidden;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(145deg, #eaf2fc, #f8fbff);
}

.download-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(13, 52, 108, 0.12);
}

.preview-label {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card-content {
  padding: 1.35rem 1.5rem 1.5rem;
}

.document-type {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card-content h3 {
  margin: 0.25rem 0 0.4rem;
  color: var(--blue-900);
  font-size: 1.35rem;
}

.download-card-content p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.download-card-content .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 640px) {
  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-preview {
    height: 18rem;
  }
}

.events-container {
  max-width: 900px;
}

.events-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.events-intro h2 {
  margin: 0 auto 0.65rem;
  color: var(--blue-900);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.events-intro > p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.event-list {
  display: grid;
  gap: 0.85rem;
}

.event-card {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 52, 108, 0.06);
}

.event-date {
  display: grid;
  min-height: 4.5rem;
  align-content: center;
  justify-items: center;
  border-radius: 0.75rem;
  background: #edf4fd;
  color: var(--blue-900);
  font-weight: 800;
  line-height: 1.25;
}

.event-date span:first-child {
  font-size: 1.15rem;
}

.event-date span:last-child {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.event-details {
  min-width: 0;
}

.event-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
}

.event-title-row h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.15rem;
}

.event-details p {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
}

.event-details address {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-style: normal;
}

.event-status {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #fff0ef;
  color: #a82e25;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.events-note {
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-align: center;
}

.cta-band {
  padding-top: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, var(--blue-800), var(--blue-900));
}

.cta-box h2,
.cta-box .section-tag {
  color: #fff;
}

.cta-box .btn-primary {
  color: var(--blue-900);
  background: #fff;
  box-shadow: none;
}

.site-footer {
  padding: 2.5rem 0 0;
  color: #fff;
  background: #0b2d56;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.7rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.footer-bottom div {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-home {
    padding-top: 2.6rem;
  }

  .hero-home-grid,
  .split-layout,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-home-grid {
    gap: 2.2rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(3.2rem, 14vw, 4.6rem);
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.15rem, 14vw, 4.6rem);
  }

  .hero-photo {
    margin: 0 0.45rem 0 0;
    transform: rotate(0.5deg);
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 520px) {
  .menu-toggle {
    min-width: 78px;
    margin-left: auto;
  }

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

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

  .main-nav {
    width: min(24rem, calc(100vw - 2rem));
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-copy strong {
    font-size: 0.76rem;
  }

  .brand-copy small {
    font-size: 0.59rem;
  }

  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .hero-stats > div + div {
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-stats > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 0.65rem;
  }

  .cta-box,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
