
:root {
  --navy: #031259;
  --navy-2: #071a66;
  --brand-blue: #325098;
  --light-blue: #cfdeff;
  --accent-blue: #7197ee;
  --orange: #e8622a;
  --yellow: #f2c500;
  --black: #080808;
  --white: #ffffff;
  --muted: rgba(232, 239, 255, .74);
  --line: rgba(207, 222, 255, .20);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 76% 15%, rgba(45, 104, 218, .24), transparent 36rem),
    linear-gradient(135deg, var(--navy) 0%, #061658 48%, #02083c 100%);
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1220px, calc(100% - 3.5rem));
  margin-inline: auto;
}

/* Wartungs-/Absperrband an beiden Bildschirmrändern */
.maintenance-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1000;
  width: 14px;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--yellow) 0 12px,
      var(--black) 12px 24px
    );
  box-shadow: 0 0 18px rgba(0, 0, 0, .28);
}

.maintenance-rail-left { left: 0; }
.maintenance-rail-right { right: 0; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  animation: intro-hide 1.55s var(--ease) forwards;
}

.intro span {
  position: absolute;
  inset: 0;
  transform: translateX(-103%);
}

.intro span:nth-child(1) {
  background: var(--navy);
  animation: wipe 1s var(--ease) forwards;
}

.intro span:nth-child(2) {
  background: var(--brand-blue);
  animation: wipe 1s .10s var(--ease) forwards;
}

.intro span:nth-child(3) {
  width: 24%;
  background: var(--light-blue);
  animation: accent-wipe 1.15s .18s var(--ease) forwards;
}

.topbar {
  position: absolute;
  z-index: 50;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-1rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.7rem;
  padding: .58rem .72rem .58rem .8rem;
  border: 1px solid rgba(207, 222, 255, .28);
  border-radius: 1.25rem;
  background: rgba(3, 18, 89, .74);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 50px rgba(0, 4, 43, .26);
  opacity: 0;
  animation: topbar-in .75s .90s var(--ease) forwards;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand img {
  width: 3.45rem;
  height: 3.45rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .25));
}

.brand span {
  font-size: clamp(.92rem, 2vw, 1.08rem);
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-left: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: rgba(232, 239, 255, .76);
  font-size: .82rem;
  font-weight: 650;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  white-space: nowrap;
}

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

.contact-icon {
  color: #9cb8ff;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.1rem;
  padding: 0 1.15rem;
  border-radius: .9rem;
  font-size: .92rem;
  font-weight: 760;
  transition:
    transform .25s var(--ease),
    filter .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--orange);
  box-shadow: 0 12px 34px rgba(232, 98, 42, .22);
}

.button-primary:hover { filter: brightness(1.05); }

.button-secondary {
  border: 1px solid rgba(207, 222, 255, .42);
  background: rgba(207, 222, 255, .06);
}

.button-secondary:hover {
  border-color: rgba(207, 222, 255, .65);
  background: rgba(207, 222, 255, .11);
}

/* Vollflächiger Hero */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transform: scale(1.02);
  animation: breathe 14s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      90deg,
      rgba(3, 18, 89, .98) 0%,
      rgba(3, 18, 89, .95) 22%,
      rgba(3, 18, 89, .78) 42%,
      rgba(3, 18, 89, .24) 66%,
      rgba(3, 18, 89, .08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(2, 8, 60, .48) 0%,
      transparent 38%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .16;
  background-image:
    linear-gradient(rgba(207, 222, 255, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 222, 255, .10) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0 52%, transparent 78%);
}

.hero-inner {
  width: min(1600px, calc(100% - 7rem));
  margin-inline: auto;
  padding: 9rem 0 7rem;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: #9cb8ff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  opacity: 0;
  animation: rise .7s 1.02s var(--ease) forwards;
}

h1,
h2 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -.055em;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: .90;
}

h1 > span {
  display: block;
  opacity: 0;
  transform: translateY(1em);
  animation: title-in .85s var(--ease) forwards;
}

h1 > span:nth-child(1) { animation-delay: 1.07s; }
h1 > span:nth-child(2) { animation-delay: 1.14s; }

h1 strong {
  color: var(--accent-blue);
  font-weight: inherit;
}

.hero-lead {
  max-width: 42rem;
  margin: 1.65rem 0 0;
  color: rgba(240, 245, 255, .84);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.72;
  opacity: 0;
  animation: rise .8s 1.30s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
  opacity: 0;
  animation: rise .8s 1.40s var(--ease) forwards;
}

.hero-compass {
  position: absolute;
  z-index: -1;
  right: 19%;
  top: 34%;
  width: min(25vw, 340px);
  aspect-ratio: 1;
  border: 1px solid rgba(207, 222, 255, .22);
  border-radius: 50%;
  opacity: .42;
  animation: spin 34s linear infinite;
}

.hero-compass::before,
.hero-compass::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 222, 255, .85), transparent);
  transform-origin: center;
}

.hero-compass::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-compass::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-compass span {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(207, 222, 255, .16);
  border-radius: 50%;
}

/* zusätzliche horizontale Wartungsmarkierung am Hero-Ende */
.maintenance-tag {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: .35rem 1rem;
  overflow: hidden;
  color: #0b0b0b;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--yellow) 0 18px,
      var(--black) 18px 36px
    );
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(0, 0, 0, .35);
}

.maintenance-tag span {
  padding: .15rem .55rem;
  background: var(--yellow);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  white-space: nowrap;
}

.membership,
.donation {
  position: relative;
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  border: 1px solid rgba(207, 222, 255, .20);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 8% 8%, rgba(50, 80, 152, .24), transparent 22rem),
    linear-gradient(145deg, rgba(15, 38, 117, .96), rgba(6, 20, 80, .94));
  box-shadow: 0 24px 70px rgba(0, 5, 44, .30);
}

.membership {
  margin-top: 3.3rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading h2,
.donation h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: .98;
}

.section-heading > p:last-child,
.donation-copy > p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-frame {
  overflow: hidden;
  border: 1px solid rgba(207, 222, 255, .18);
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 4, 43, .22);
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 1500px;
  border: 0;
  background: #fff;
}

.donation {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: 1.2rem;
}

.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.bank {
  display: grid;
  gap: .15rem;
  margin: 0;
}

.bank > div {
  display: grid;
  grid-template-columns: minmax(160px, 32%) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(207, 222, 255, .13);
}

.bank > div:last-child {
  border-bottom: 0;
}

.bank dt {
  min-width: 0;
  color: rgba(207, 222, 255, .60);
  font-size: .80rem;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1.4;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bank dd {
  min-width: 0;
  margin: 0;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.legal {
  padding: 2rem 0 4rem;
}

.legal details {
  border-bottom: 1px solid rgba(207, 222, 255, .12);
}

.legal summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 760;
}

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

.legal summary::after {
  content: "+";
  color: #9cb8ff;
  font-size: 1.25rem;
}

.legal details[open] summary::after { content: "–"; }

.legal-content {
  max-width: 54rem;
  padding: .2rem 0 1.8rem;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.65;
}

.legal-content h3 {
  margin: 1.5rem 0 .5rem;
  color: #fff;
  font-size: 1rem;
}

.legal-content address { font-style: normal; }

footer {
  padding: 1.8rem 0 3rem;
  color: rgba(231, 238, 255, .55);
  font-size: .86rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: .7rem;
}

.footer-links a:hover { color: #fff; }

/* Tablet */
@media (max-width: 1050px) {
  .header-contact { gap: .55rem; }

  .hero-inner {
    width: min(100% - 4.5rem, 1100px);
  }

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

  .hero-background {
    object-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(3, 18, 89, .98) 0%,
        rgba(3, 18, 89, .92) 36%,
        rgba(3, 18, 89, .42) 67%,
        rgba(3, 18, 89, .12) 100%
      ),
      linear-gradient(0deg, rgba(2, 8, 60, .5), transparent 45%);
  }

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

/* Mobile */
@media (max-width: 760px) {
  .maintenance-rail {
    width: 8px;
    background:
      repeating-linear-gradient(
        -45deg,
        var(--yellow) 0 8px,
        var(--black) 8px 16px
      );
  }

  .shell {
    width: min(100% - 2rem, 1220px);
  }

  .topbar {
    top: .65rem;
    width: min(100% - 2rem, 1220px);
    min-height: 4rem;
    border-radius: 1rem;
    padding: .45rem .55rem;
  }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .brand span {
    max-width: 10rem;
    overflow: hidden;
    font-size: .85rem;
    text-overflow: ellipsis;
  }

  .header-contact {
    display: none;
  }

  .topbar .button {
    min-height: 2.7rem;
    padding-inline: .85rem;
    font-size: .82rem;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
  }

  .hero-background {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(3, 18, 89, .98) 0%,
        rgba(3, 18, 89, .94) 35%,
        rgba(3, 18, 89, .52) 65%,
        rgba(3, 18, 89, .18) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 18, 89, .45),
        rgba(3, 18, 89, .10)
      );
  }

  .hero-grid {
    mask-image: linear-gradient(to top, #000 0 55%, transparent 90%);
  }

  .hero-inner {
    width: min(100% - 2.4rem, 720px);
    margin-inline: auto;
    padding: 8rem 0 5.7rem;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 5.1rem);
  }

  .hero-lead {
    max-width: 36rem;
    font-size: .98rem;
  }

  .hero-compass {
    right: 8%;
    top: 22%;
    width: 52vw;
  }

  .maintenance-tag {
    gap: .8rem;
  }

  .membership,
  .donation {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .form-frame iframe {
    min-height: 1700px;
  }

  .bank > div {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .bank dt {
    font-size: .73rem;
  }
}

@media (max-width: 520px) {
  .brand span {
    max-width: 8.3rem;
  }

  .hero-actions,
  .donation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .donation-actions .button {
    width: 100%;
  }

  .hero-inner {
    width: min(100% - 1.7rem, 720px);
  }

  .form-frame {
    margin-inline: -.4rem;
  }

  .form-frame iframe {
    min-height: 1850px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .intro { display: none; }

  .topbar,
  .hero .eyebrow,
  h1 > span,
  .hero-lead,
  .hero-actions {
    opacity: 1;
    transform: none;
  }

  .hero-background { transform: none; }
}

@keyframes wipe {
  0% { transform: translateX(-103%); }
  48% { transform: translateX(0); }
  100% { transform: translateX(103%); }
}

@keyframes accent-wipe {
  0% { transform: translateX(-120%); }
  42% { transform: translateX(205%); }
  100% { transform: translateX(430%); }
}

@keyframes intro-hide {
  0%, 88% { visibility: visible; }
  100% { visibility: hidden; }
}

@keyframes topbar-in {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes title-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
