:root {
  --snow: #ffffff;
  --ice: #eaf6ff;
  --glacier: #0b7fc3;
  --alpine: #0b1f3a;
  --red: #c81e3a;
  --graphite: #1f2937;
  --muted: #506176;
  --light: #f3f6f8;
  --line: rgba(11, 31, 58, 0.12);
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.14);
  --radius: 8px;
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--graphite);
  background: var(--snow);
  font-family: Inter, "Source Sans 3", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--snow);
  background: var(--alpine);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(0, 20, 50, 0.08);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(270px, auto) 1fr;
  align-items: center;
  gap: 20px;
  min-height: 86px;
}

.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: stretch;
  text-decoration: none;
}

.brand img {
  width: 106px;
  height: 106px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(11, 31, 58, 0.2));
  transform: translateY(24px);
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.06;
}

.brand strong {
  display: block;
  color: var(--alpine);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.brand small {
  display: block;
  color: #31516f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 3px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  padding: 0 10px;
  color: var(--alpine);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 4px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--red);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  background: var(--red);
}
.main-nav a.nav-cta {
  min-height: 42px;
  align-self: center;
  margin-left: 8px;
  padding: 0 16px;
  color: var(--snow);
  background: var(--red);
  border-radius: 4px;
  box-shadow: 0 14px 24px rgba(203, 31, 61, 0.22);
}

.main-nav a.nav-cta:hover,
.main-nav a.nav-cta:focus-visible {
  color: var(--snow);
  background: #b91735;
}

.main-nav a.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--alpine);
}

.nav-icon,
.nav-arrow,
.offcanvas-brand,
.offcanvas-follow {
  display: none;
}

.nav-icon svg,
.nav-arrow svg,
.offcanvas-social svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.offcanvas-social a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.08;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary,
.btn-secondary {
  color: var(--snow);
  background: #0878c9;
  box-shadow: 0 16px 30px rgba(8, 120, 201, 0.2);
}

.btn-secondary {
  background: #0b73b7;
}

.btn-outline {
  color: var(--alpine);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(11, 31, 58, 0.28);
}

.btn-light {
  color: var(--alpine);
  background: var(--snow);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 760px);
  overflow: hidden;
  color: var(--snow);
  background: var(--alpine);
}

.subpage-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  color: var(--snow);
  background: var(--alpine);
}

.subpage-hero::before,
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.subpage-hero::before {
  background: var(--hero-image) center center / cover no-repeat;
}

.subpage-hero::after {
  background: linear-gradient(90deg, rgba(2, 11, 27, 0.88), rgba(2, 11, 27, 0.46));
}

.chronik-hero {
  --hero-image: url("../img/hero-sv-wenns-2.webp");
}

.chronik-hero::after {
  background: linear-gradient(90deg, rgba(2, 11, 27, 0.78), rgba(2, 11, 27, 0.34) 52%, rgba(2, 11, 27, 0.1));
}

.legal-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #0a5590 0%, var(--alpine) 46%, #062f5e 100%);
}

.legal-hero::before {
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(255, 255, 255, 0.1) 58% 61%, transparent 61% 100%),
    linear-gradient(118deg, transparent 0 69%, rgba(255, 255, 255, 0.06) 69% 70%, transparent 70% 100%);
  pointer-events: none;
}

.legal-hero::after {
  display: none;
}

.legal-hero .section-label {
  color: rgba(255, 255, 255, 0.82);
}


.subpage-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: 112px 0 86px;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  color: var(--snow);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  overflow-wrap: break-word;
}

.subpage-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.results-hero {
  --hero-image: url(../img/ergebnisse-hero-20260720.webp);
}

.subpage-hero.results-hero h1 {
  max-width: 1040px;
}

.hero-slides,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, center top);
  opacity: 0;
  transform: none;
  transition: opacity 800ms ease;
}

.hero-bg.is-active {
  opacity: 1;
  transform: none;
}

.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 11, 27, 0.78), rgba(2, 11, 27, 0.34) 52%, rgba(2, 11, 27, 0.1));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 84vh, 760px);
  padding-top: 52px;
  padding-bottom: 96px;
}

.hero-copy {
  max-width: 920px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .section-label {
  color: #9fe1ff;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  overflow-wrap: break-word;
  text-transform: none;
}

.hero-subline {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 750;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-facts {
  position: relative;
  z-index: 3;
  margin-top: -58px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fact-card,
.value-card,
.profile-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: var(--shadow);
}

.fact-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 24px;
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--snow);
  background: var(--red);
  border-radius: 999px;
}

.fact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-card h2,
.value-card h3,
.profile-card h3,
.info-panel h3 {
  margin: 0;
  color: var(--alpine);
  font-size: 1.25rem;
}

.fact-card p,
.value-card p,
.profile-card p,
.info-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 118px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}

.split-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
}

.about,
.history,
.sponsors {
  background: var(--light);
}

.about-media img,
.history-gallery img,
.photo-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.about-media img {
  aspect-ratio: 4 / 5;
}

.about-photo img {
  height: auto;
  aspect-ratio: 4 / 5;
}


.about-logo {
  display: grid;
  place-items: center;
  min-height: clamp(280px, 34vw, 430px);
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: var(--shadow);
}

.about-logo img {
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.section-copy h2,
.section-head h2 {
  margin: 0;
  color: var(--alpine);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  overflow-wrap: anywhere;
}

.section-copy p,
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-benefits {
  margin-top: 26px;
  padding: 22px;
  border-left: 5px solid var(--red);
  background: var(--snow);
}

.about-benefits h3 {
  margin: 0 0 12px;
  color: var(--alpine);
  font-size: 1.35rem;
}

.about-benefits ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: " ->";
  margin-left: 8px;
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.value-grid,
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-card {
  padding: 24px;
}

.value-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.value-card li + li {
  margin-top: 8px;
}

.values {
  position: relative;
  overflow: hidden;
  color: var(--snow);
  background: var(--alpine) url("../img/training-bg-20260717.webp") center center / cover no-repeat;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 11, 27, 0.82), rgba(2, 11, 27, 0.52));
}

.values .container {
  position: relative;
  z-index: 1;
}

.values .section-label {
  color: #9fe1ff;
}

.values .section-head h2,
.values .section-head p {
  color: var(--snow);
}

.values .value-card {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.92);
}

.values .value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.values .value-card:first-child {
  grid-column: 1 / -1;
}

.value-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.value-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--snow);
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(200, 30, 58, 0.22);
  font-size: 0.86rem;
  font-weight: 900;
}

.value-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.value-highlights span {
  display: grid;
  gap: 2px;
  min-height: 82px;
  padding: 16px;
  color: var(--alpine);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: var(--radius);
  background: #f6fbff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
}

.value-highlights strong {
  display: block;
  color: var(--red);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: 2.05rem;
  line-height: 1;
}

.value-card .value-check-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}

.value-card .value-check-list li {
  position: relative;
  margin-top: 0;
  padding-left: 32px;
}


.tg-contact-info {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
}

.tg-contact-info p {
  margin: 0;
}

.tg-contact-name {
  color: var(--alpine);
  font-size: 1.08rem;
  font-weight: 900;
}

.tg-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--alpine);
  font-weight: 800;
  text-decoration: none;
}

.tg-contact-link:hover {
  color: var(--red);
}

.tg-contact-link svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card .value-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.68);
}

.news {
  background: linear-gradient(180deg, #f5fbff 0%, var(--snow) 100%);
}

.news-head {
  max-width: 760px;
}

.instagram-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}

.news-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.08);
  transition: transform 220ms ease, border-color 180ms ease;
}

.news-card:hover,
.news-card:focus-within {
  border-color: rgba(200, 30, 58, 0.24);
  transform: translateY(-4px);
}

.news-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ice);
  text-decoration: none;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.news-card:hover .news-image img,
.news-card:focus-within .news-image img {
  transform: scale(1.025);
}

.news-media-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: var(--snow);
  background: rgba(11, 31, 58, 0.86);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.news-meta {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 10px;
  color: var(--alpine);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-card .text-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.78rem;
}

.news-profile-link {
  margin-top: 24px;
}

.news-card-placeholder {
  pointer-events: none;
}

.news-card-placeholder .news-image,
.news-loading-line {
  background: linear-gradient(90deg, #e7eef5, #f8fbff, #e7eef5);
  background-size: 200% 100%;
  animation: news-loading 1.4s ease-in-out infinite;
}

.news-loading-line {
  display: block;
  height: 15px;
  margin-bottom: 12px;
  border-radius: 999px;
}

.news-loading-line.short {
  width: 62%;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--snow);
}

@keyframes news-loading {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: -200% 50%;
  }
}

.team {
  background: linear-gradient(180deg, #fff, #eef7ff);
}

.team-photo {
  max-width: 980px;
  margin: 0 0 26px;
}

.team-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.team-layout .team-photo {
  max-width: none;
  margin: 0;
}

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

.team-layout .profile-card {
  min-width: 0;
}

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

.profile-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
}

.profile-placeholder {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--snow);
  background: var(--alpine);
  border-radius: 999px;
  font-weight: 900;
}

.profile-card span:not(.profile-placeholder) {
  display: block;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #0a5590 0%, var(--alpine) 46%, #062f5e 100%);
  color: var(--snow);
}

.member::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(255, 255, 255, 0.1) 58% 61%, transparent 61% 100%),
    linear-gradient(118deg, transparent 0 69%, rgba(255, 255, 255, 0.06) 69% 70%, transparent 70% 100%);
  pointer-events: none;
}

.member .container {
  position: relative;
  z-index: 1;
}

.member .section-copy h2,
.member .info-panel h3 {
  color: var(--snow);
}

.member .section-copy p,
.member .info-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.info-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.chronicle-section {
  background: linear-gradient(180deg, #f5fbff 0%, var(--snow) 100%);
}

.chronicle-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  min-width: 0;
}

.chronicle-intro {
  position: sticky;
  top: 120px;
}

.chronicle-intro h2 {
  margin: 0 0 18px;
  color: var(--alpine);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.chronicle-intro p {
  color: var(--muted);
}

.chronicle-timeline {
  display: grid;
  gap: 28px;
}

.chronicle-entry {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.chronicle-year {
  position: sticky;
  top: 118px;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--snow);
  background: var(--red);
  border-radius: var(--radius);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.chronicle-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(11, 31, 58, 0.08);
  min-width: 0;
}

.chronicle-card h3 {
  margin: 0 0 14px;
  color: var(--alpine);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  overflow-wrap: anywhere;
}

.chronicle-card p,
.chronicle-card li,
.chronicle-card dd {
  color: var(--muted);
  font-size: 1rem;
}

.chronicle-card p {
  margin: 0 0 14px;
}

.chronicle-card p:last-child,
.chronicle-card ol:last-child {
  margin-bottom: 0;
}

.chronicle-card ol {
  margin: 0;
  padding-left: 22px;
}

.chronicle-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.chronicle-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
}

.chronicle-list dt {
  color: var(--alpine);
  font-weight: 900;
}

.chronicle-list dd {
  margin: 0;
}

.chronicle-card.with-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 28px;
  align-items: center;
}

.chronicle-card figure {
  margin: 0;
}

.chronicle-card:not(.with-media) > figure {
  margin-top: 28px;
}

.chronicle-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.14);
}

.chronicle-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.chronicle-gallery img:only-child {
  grid-column: 1 / -1;
}

.results-section {
  background: linear-gradient(180deg, #f5fbff 0%, var(--snow) 100%);
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  min-width: 0;
}

.results-intro {
  position: sticky;
  top: 120px;
}

.results-intro h2 {
  margin: 0 0 18px;
  color: var(--alpine);
  font-size: clamp(2.35rem, 3vw, 2.8rem);
  overflow-wrap: anywhere;
}

.results-intro p {
  color: var(--muted);
}

.results-year-list {
  display: grid;
  gap: 22px;
}

.results-year-card {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(11, 31, 58, 0.08);
}

.results-year-card h3 {
  margin: 0 0 18px;
  color: var(--alpine);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
}

.results-link-list {
  display: grid;
  gap: 10px;
}

.results-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--alpine);
  background: var(--snow);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.results-link-list a span {
  min-width: 0;
  overflow-wrap: anywhere;
}


.results-link-list a::after {
  content: "PDF";
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--snow);
  background: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
}

.results-link-list a:hover,
.results-link-list a:focus-visible {
  border-color: rgba(200, 30, 58, 0.45);
  color: var(--red);
}
.history-gallery {
  display: grid;
  gap: 16px;
}

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

.photos {
  background: var(--snow);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.photo-grid img {
  aspect-ratio: 4 / 3;
}

.compact {
  margin-bottom: 20px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sponsor-grid a {
  display: block;
  text-decoration: none;
}

.sponsor-grid img {
  width: 100%;
  height: 96px;
  padding: 18px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
}

.sponsor-grid a:hover img,
.sponsor-grid a:focus-visible img {
  border-color: rgba(11, 127, 195, 0.55);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.12);
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--snow);
  background-color: #06162b;
  background-image: linear-gradient(180deg, rgba(4, 14, 31, 0.76), rgba(4, 14, 31, 0.84)), url("../img/footer-alpine-bg-20260729.webp");
  background-position: center bottom;
  background-size: cover;
}

.footer-main {
  padding: 78px 0 66px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 142px;
  height: auto;
  margin: 0 auto 22px;
}

.footer-claim {
  margin: 0;
  color: var(--snow);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-rule,
.site-footer h2::after {
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 18px;
  background: #4aa3ef;
}

.footer-rule {
  margin-inline: auto;
  margin-bottom: 26px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  color: var(--snow);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-1px);
}

.footer-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-footer h2 {
  margin: 0 0 32px;
  color: var(--snow);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.site-footer h2::after {
  content: "";
}

.site-footer p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer a {
  color: var(--snow);
}

.footer-contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.footer-contact-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--snow);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  flex: 0 0 auto;
}

.footer-contact-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: var(--snow);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-social a:first-child svg {
  fill: currentColor;
  stroke: none;
}

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

.footer-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-menu a {
  position: relative;
  display: block;
  padding: 12px 0 12px 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-decoration: none;
}

.footer-menu a::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--snow);
  font-weight: 900;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--snow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 14, 31, 0.48);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--snow);
}

.stage-note {
  font-size: 0.86rem;
}

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

  .brand img {
    width: 82px;
    height: 82px;
    transform: translateY(10px);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    position: fixed;
    inset: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.menu-open .header-inner {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
  }

  body.menu-open .brand {
    visibility: hidden;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 120;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 24px;
    right: 24px;
    border-color: transparent;
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] span {
    width: 26px;
    background: var(--snow);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    justify-content: center;
    min-height: 100dvh;
    padding: clamp(18px, 5.6vh, 70px) min(15vw, 58px) clamp(16px, 4vh, 48px);
    color: var(--snow);
    background: radial-gradient(circle at 50% 10%, rgba(38, 53, 88, 0.62), rgba(8, 18, 39, 0.98) 56%), #101a31;
    box-shadow: none;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    visibility: hidden;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .offcanvas-brand {
    display: grid;
    justify-items: center;
    margin-bottom: clamp(12px, 3vh, 36px);
    text-align: center;
  }

  .offcanvas-brand img {
    width: clamp(68px, 13.5vh, 112px);
    height: clamp(68px, 13.5vh, 112px);
    object-fit: contain;
    margin-bottom: clamp(6px, 1.4vh, 14px);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
  }

  .offcanvas-brand strong {
    color: var(--snow);
    font-size: clamp(1.2rem, 3.4vh, 1.7rem);
    line-height: 1;
  }

  .offcanvas-rule {
    width: 42px;
    height: 3px;
    margin: clamp(7px, 1.7vh, 18px) 0;
    background: #c85845;
  }

  .offcanvas-brand small,
  .offcanvas-follow strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.64rem, 1.7vh, 0.75rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .main-nav a {
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    align-items: center;
    gap: 14px;
    min-height: clamp(36px, 5.1vh, 48px);
    padding: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    font-weight: 850;
    text-transform: none;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.is-active {
    color: var(--snow);
  }

  .nav-icon,
  .nav-arrow {
    display: inline-grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.82);
  }

  .nav-icon {
    position: relative;
    width: clamp(32px, 5.1vh, 42px);
    height: clamp(32px, 5.1vh, 42px);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(14px, 2.15vh, 17px);
    height: clamp(14px, 2.15vh, 17px);
    transform: translate(-50%, -50%);
  }

  .nav-arrow {
    width: 20px;
    height: 20px;
    justify-self: end;
  }

  .main-nav a.nav-cta {
    display: flex;
    justify-content: center;
    min-height: clamp(42px, 6vh, 54px);
    margin: clamp(12px, 2.8vh, 34px) 0 clamp(14px, 3.8vh, 58px);
    padding: 0 20px;
    color: var(--snow);
    background: #bd4c40;
    border-radius: 4px;
    box-shadow: none;
    font-size: 0.82rem;
    text-transform: uppercase;
  }

  .main-nav a.nav-cta .nav-label {
    display: inline;
  }

  .offcanvas-follow {
    display: grid;
    justify-items: center;
    gap: clamp(10px, 2.4vh, 20px);
    margin-top: auto;
  }

  .offcanvas-social {
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .offcanvas-social a {
    display: inline-grid;
    place-items: center;
    width: clamp(38px, 5.6vh, 46px);
    height: clamp(38px, 5.6vh, 46px);
    color: var(--snow);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    text-decoration: none;
  }

  .offcanvas-social svg {
    width: 20px;
    height: 20px;
  }


  .value-grid,
  .instagram-news-grid,
  .profile-grid,
  .photo-grid,
  .sponsor-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .values .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values .value-card:last-child {
    grid-column: 1 / -1;
  }

  .value-highlights {
    grid-template-columns: 1fr;
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }

  .chronicle-layout,
  .results-layout,
  .chronicle-card.with-media {
    grid-template-columns: 1fr;
  }

  .chronicle-intro,
  .results-intro,
  .chronicle-year {
    position: static;
  }
}


@media (max-width: 980px) and (max-height: 700px) {
  .main-nav {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .offcanvas-brand {
    margin-bottom: 8px;
  }

  .offcanvas-brand small {
    display: none;
  }

  .offcanvas-rule {
    margin: 6px 0 0;
  }

  .main-nav a {
    min-height: 34px;
  }

  .main-nav a.nav-cta {
    margin-top: 10px;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .brand {
    gap: 10px;
  }

  .brand strong {
    font-size: 1.25rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero-grid {
    min-height: 650px;
    align-items: center;
    padding-top: 112px;
    padding-bottom: 86px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.08;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(2, 11, 27, 0.36), rgba(2, 11, 27, 0.82));
  }

  .quick-facts {
    margin-top: -76px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .value-grid,
  .instagram-news-grid,
  .profile-grid,
  .photo-grid,
  .sponsor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .values .value-grid {
    grid-template-columns: 1fr;
  }

  .fact-card,
  .profile-card {
    grid-template-columns: 44px 1fr;
  }

  .profile-placeholder {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 70px 0;
  }

  .section-copy h2,
  .section-head h2 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .subpage-hero {
    min-height: 500px;
  }

  .subpage-hero-inner {
    padding: 112px 0 72px;
  }

  .subpage-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 122px;
  }

  .footer-bottom p {
    white-space: nowrap;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer-bottom nav span {
    display: none;
  }

  .chronicle-entry {
    grid-template-columns: 1fr;
  }

  .chronicle-list div,
  .chronicle-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .team-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team .section-head h2 {
    font-size: clamp(2.05rem, 9.8vw, 2.45rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .team-layout {
    gap: 20px;
  }

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

.team-layout .profile-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.team-layout .profile-card {
  height: 100%;
}

@media (min-width: 981px) {
  .team-layout {
    align-items: stretch;
  }

  .team-layout .team-photo {
    height: 100%;
  }

  .team-layout .team-photo img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 980px) {
  .team-layout .team-photo img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

.team-layout .profile-card {
  align-items: center;
}

.team-layout .profile-card > div {
  align-self: center;
  text-align: left;
}

@media (max-width: 760px) {
  .subpage-hero.results-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

/* Fotos-Unterseite */
.photos-hero {
  --hero-image: url(../img/fotos-hero-20260729.webp);
}

.photos-hero::before {
  background-position: center 56%;
}

.photos-section {
  background: linear-gradient(180deg, #f5fbff 0%, var(--snow) 100%);
}

.photos-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  min-width: 0;
}

.photos-intro {
  position: sticky;
  top: 120px;
}

.photos-intro h2 {
  margin: 0 0 18px;
  color: var(--alpine);
  font-size: clamp(2.35rem, 3vw, 2.8rem);
  overflow-wrap: anywhere;
}

.photos-intro p {
  color: var(--muted);
}

.photo-year-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.photo-year-card {
  display: grid;
  min-height: 148px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--alpine);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(11, 31, 58, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.photo-year-card span {
  align-self: end;
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.photo-year-card small {
  align-self: start;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-year-card:hover,
.photo-year-card:focus-visible {
  border-color: rgba(200, 30, 58, 0.45);
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.13);
  transform: translateY(-3px);
}

.photo-year-card:hover span,
.photo-year-card:focus-visible span {
  color: var(--red);
}

@media (max-width: 980px) {
  .photos-layout {
    grid-template-columns: 1fr;
  }

  .photos-intro {
    position: static;
  }

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

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

  .photo-year-card {
    min-height: 118px;
  }
}

/* Durchklickbare Fotogalerie */
.photo-year-card {
  width: 100%;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.gallery-open {
  overflow: hidden;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 27, 0.9);
}

.gallery-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  height: min(780px, 100%);
  max-height: calc(100vh - 24px);
  color: var(--snow);
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-bottom: 12px;
}

.gallery-toolbar .section-label,
.gallery-count,
.gallery-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.gallery-count {
  margin-top: 6px;
  font-weight: 800;
}

.gallery-close,
.gallery-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--snow);
  background: rgba(11, 31, 58, 0.72);
  cursor: pointer;
}

.gallery-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 64px;
  border-radius: var(--radius);
  font-size: 3rem;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

.gallery-close:hover,
.gallery-close:focus-visible,
.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: var(--red);
}

.gallery-caption {
  min-height: 28px;
  padding-top: 12px;
  text-align: center;
}

@media (max-width: 640px) {
  .gallery-modal {
    padding: 10px;
  }

  .gallery-dialog {
    height: calc(100vh - 20px);
  }

  .gallery-nav {
    width: 42px;
    height: 56px;
    font-size: 2.5rem;
  }

  .gallery-toolbar {
    align-items: center;
  }
}

/* Foto-Unterordner in Jahreskacheln */
.photo-year-card-group {
  gap: 20px;
  cursor: default;
}

.photo-year-head {
  display: grid;
  gap: 10px;
}

.photo-album-list {
  display: grid;
  gap: 10px;
}

.photo-album-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--alpine);
  background: var(--snow);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.photo-album-button strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  line-height: 1.25;
}

.photo-album-button small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.photo-album-button:hover,
.photo-album-button:focus-visible {
  border-color: rgba(200, 30, 58, 0.45);
  color: var(--red);
}

@media (max-width: 640px) {
  .photo-album-button {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .photo-album-button small {
    white-space: normal;
  }
}

/* Ruhigere Foto-Jahresliste */
.photo-year-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.photo-year-card-group {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 0;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.photo-year-card-group:hover,
.photo-year-card-group:focus-within {
  border-color: rgba(11, 31, 58, 0.18);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
  transform: none;
}

.photo-year-card-group:hover .photo-year-head span,
.photo-year-card-group:focus-within .photo-year-head span {
  color: var(--alpine);
}

.photo-year-head span {
  font-size: clamp(2rem, 3vw, 2.55rem);
}

.photo-year-head small {
  color: var(--muted);
  line-height: 1.35;
}

.photo-album-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.photo-album-button {
  min-height: 0;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.photo-album-button strong {
  font-weight: 850;
}

.photo-album-button small {
  color: #64748b;
}

.photo-album-button:hover,
.photo-album-button:focus-visible {
  color: var(--red);
  border-color: var(--line);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .photo-year-card-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Jahreszahlen ohne Zusatztext */
.photo-year-head small {
  display: none;
}

/* Roter Akzent unter Jahreszahlen */
.photo-year-head span {
  display: inline-block;
}

.photo-year-head span::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 12px;
  background: var(--red);
}

/* Miniaturen unter geöffnetem Galeriebild */
.gallery-dialog {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 12px 0 6px;
  scrollbar-color: rgba(255, 255, 255, 0.36) transparent;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  opacity: 0.72;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  border-color: var(--red);
  opacity: 1;
}

@media (max-width: 640px) {
  .gallery-thumbs {
    gap: 6px;
    padding-top: 10px;
  }

  .gallery-thumb {
    width: 58px;
    height: 44px;
  }
}

/* Miniaturleiste klar unter dem Galeriebild */
.gallery-stage {
  overflow: hidden;
}

.gallery-stage img {
  max-height: calc(100vh - 230px);
}

@media (max-width: 640px) {
  .gallery-stage img {
    max-height: calc(100vh - 210px);
  }
}

.contact-hero::before {
  background-image: linear-gradient(90deg, rgba(2, 11, 27, 0.28), rgba(2, 11, 27, 0.08)), url("../img/kontakt-hero-20260729.webp");
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-section {
  background: #eef5f8;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: 48px;
  align-items: start;
}

.contact-info-panel {
  position: sticky;
  top: 116px;
}

.contact-info-panel h2 {
  margin: 8px 0 18px;
  color: var(--alpine);
  font-size: clamp(1.75rem, 2.25vw, 2.15rem);
  line-height: 1.08;
}

.contact-info-panel p {
  max-width: 32rem;
  color: var(--muted);
}

.contact-direct {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-direct h3 {
  margin: 0 0 8px;
  color: var(--alpine);
  font-size: 1rem;
}

.contact-form-card {
  padding: clamp(22px, 4vw, 38px);
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

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

.form-field label {
  color: var(--alpine);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--alpine);
  background: #f8fbfd;
  border: 1px solid rgba(11, 31, 58, 0.18);
  border-radius: 4px;
  font: inherit;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(8, 120, 201, 0.18);
  border-color: #0878c9;
  background: var(--snow);
}

.math-field {
  max-width: 340px;
}

.form-grid .math-field {
  max-width: none;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  justify-self: start;
  margin-top: 4px;
}

.form-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 4px;
  font-weight: 700;
}

.form-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.form-alert-success {
  color: #0f5132;
  background: #d8f3e5;
  border: 1px solid #badbcc;
}

.form-alert-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

@media (max-width: 900px) {
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    position: static;
  }
}
.consent-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.consent-field span,
.consent-field a {
  grid-column: 2;
}

.consent-list {
  position: relative;
  padding-left: 16px;
}

.consent-list::before {
  content: "-";
  position: absolute;
  left: 0;
}
.contact-direct-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-direct-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--alpine);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
}

.contact-direct-item:hover,
.contact-direct-item:focus-visible {
  border-color: rgba(203, 31, 61, 0.34);
  box-shadow: 0 14px 28px rgba(203, 31, 61, 0.12);
}

.contact-direct-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--snow);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.contact-direct-item small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-direct-item strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.contact-direct-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-bank {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-bank h3 {
  margin: 0 0 12px;
  color: var(--alpine);
  font-size: 1rem;
}

.contact-bank dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-bank div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 6px;
}

.contact-bank dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-bank dd {
  margin: 0;
  color: var(--alpine);
  font-weight: 850;
}


/* Footer responsive: keine 2+1-Anordnung */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-contact,
  .footer-menu {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 460px;
    text-align: center;
  }

  .site-footer h2::after {
    margin-inline: auto;
  }

  .footer-contact-links {
    justify-items: center;
  }

  .footer-contact-links a,
  .footer-cta,
  .footer-menu a,
  .footer-bottom a {
    white-space: nowrap;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-menu ul {
    width: min(100%, 300px);
  }

  .footer-menu a {
    display: inline-block;
    padding-left: 0;
  }

  .footer-menu a::before {
    position: static;
    display: inline-block;
    margin-right: 8px;
  }

  .footer-bottom-inner {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom nav {
    justify-content: center;
  }
}


/* Website motion system */
@keyframes page-soft-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-media-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

.site-header {
  animation: page-soft-enter 520ms ease both;
}

.hero-image.is-active,
.hero::before,
.subpage-hero::before {
  transform-origin: center;
  animation: hero-media-breathe 14s ease-in-out infinite alternate;
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

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

.motion-ready .motion-reveal.motion-from-left {
  transform: translateX(-24px);
}

.motion-ready .motion-reveal.motion-from-right {
  transform: translateX(24px);
}

.motion-ready .motion-reveal.motion-from-left.is-visible,
.motion-ready .motion-reveal.motion-from-right.is-visible {
  transform: translateX(0);
}

.motion-card {
  transition: transform 220ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.motion-card:hover,
.motion-card:focus-within {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .motion-reveal,
  .motion-ready .motion-reveal.motion-from-left,
  .motion-ready .motion-reveal.motion-from-right {
    opacity: 1;
    transform: none;
  }
}
/* End website motion system */
