/* Dezenter Link in der oberen Ecke – die Startseite bleibt unverändert. */
.home-about-link {
  position: absolute;
  top: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 34px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 17px;
  border: 1px solid rgba(217, 191, 123, 0.55);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.035);
  font: 600 0.88rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}

.home-about-link:hover,
.home-about-link:focus-visible {
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(217, 191, 123, 0.9);
}

@media (max-width: 740px) {
  /* Den Link unter der grossen Ueberschrift platzieren, damit auf schmalen
     Handys weder SAVE THE DATE noch das Logo ueberdeckt werden. */
  .home-about-link {
    top: 68px;
    right: 14px;
    min-height: 34px;
    padding: 7px 13px;
    font-size: 0.8rem;
  }
}

/* Über uns: ruhiges Vereinslayout mit sparsam eingesetzten Goldakzenten. */
.about-page {
  min-height: 100svh;
  font-family: Georgia, "Times New Roman", serif;
}

.about-topbar {
  max-width: 810px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.about-brand {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.about-home {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.about-brand:hover,
.about-home:hover,
.about-brand:focus-visible,
.about-home:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about-main {
  max-width: 810px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 65px) 0 clamp(48px, 8vw, 90px);
}

.about-main h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 28px;
}

.about-copy {
  max-width: 740px;
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.75;
}

.about-copy p {
  margin: 0 0 18px;
}

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

.about-info {
  margin-top: clamp(38px, 5vw, 52px);
}

.about-info h2 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  margin: 0 0 20px;
}

.about-details {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.about-details > div {
  display: grid;
  grid-template-columns: minmax(135px, 32%) 1fr;
  column-gap: 20px;
  row-gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.about-details dt {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.5;
}

.about-details dd {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.about-info a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.65);
  text-underline-offset: 3px;
}

.about-info a:hover,
.about-info a:focus-visible {
  text-decoration-color: var(--white);
}

.about-domain-note {
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.7;
}

@media (max-width: 560px) {
  .about-topbar,
  .about-main {
    width: calc(100% - 36px);
  }

  .about-topbar {
    padding-top: 20px;
  }

  .about-brand {
    font-size: 1.06rem;
  }

  .about-main h1 {
    margin-bottom: 24px;
  }

  .about-details > div {
    grid-template-columns: 1fr;
  }
}


/* Über uns: zentrierte Gliederung, ohne Kasten um die Vereinsdaten. */
.about-topbar {
  border-bottom-color: rgba(212, 181, 107, 0.4);
}

.about-main h1 {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 46px);
}

.about-main h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 20px auto 0;
  background: #c7aa68;
}

.about-copy {
  margin-inline: auto;
}

.about-info {
  max-width: 715px;
  margin: clamp(36px, 5vw, 54px) auto 0;
}

.about-info h2 {
  text-align: center;
  margin-bottom: 22px;
}

.about-details {
  max-width: 660px;
  margin: 0 auto;
}

.about-details > div {
  border-bottom-color: rgba(211, 179, 107, 0.32);
}

.about-details > div:first-child {
  border-top: 1px solid rgba(211, 179, 107, 0.32);
}

.about-details dt {
  color: #ddc98f;
  font-weight: 500;
}

.about-domain-note {
  max-width: 690px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--text-soft);
}

@media (max-width: 560px) {
  .about-main h1 {
    margin-bottom: 30px;
  }

  .about-main h1::after {
    margin-top: 15px;
  }

  .about-info h2 {
    font-size: 1.42rem;
  }

  .about-details > div {
    padding: 12px 0;
  }

  .about-domain-note {
    margin-top: 28px;
  }
}

/* -------- Kompakte Navigation nur auf dem Handy -------- */
.mobile-menu {
  display: none;
}

@media (max-width: 740px) {
  /* Desktop-Link ausblenden; das Menü bekommt einen eigenen Platz rechts oben. */
  .home-about-link {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    z-index: 20;
    top: 12px;
    right: 16px;
    font-family: Arial, Helvetica, sans-serif;
  }

  .mobile-menu summary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 181, 107, 0.48);
    border-radius: 11px;
    background: rgba(112, 2, 5, 0.95);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary {
    position: relative;
    z-index: 1;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary:focus-visible {
    outline: 2px solid #f0d796;
    outline-offset: 3px;
  }

  .menu-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 21px;
    height: 16px;
  }

  .menu-lines > span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 3px;
    background: var(--white);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu[open] .menu-lines > span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu[open] .menu-lines > span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu[open] .menu-lines > span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100dvh;
    padding: 94px 26px 30px;
    background: #650104;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
  }

  .mobile-menu-panel a {
    display: block;
    width: 100%;
    padding: 13px 2px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: #c7aa68;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }

  .mobile-menu-panel::before {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 74px;
    height: 1px;
    background: rgba(212, 181, 107, 0.42);
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus-visible {
    color: #e8d3a0;
  }

  /* Überschrift ein Stück nach unten, ohne Logo und Buttons umzubauen. */
  .page .eyebrow {
    transform: translateY(48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-lines > span {
    transition: none;
  }
}
