:root {
  --navy: #073d78;
  --blue: #0b76b7;
  --cyan: #2db9d6;
  --light: #eaf8fc;
  --lighter: #f8fdff;
  --text: #17324d;
  --white: #ffffff;
  --red: #e5252a;
  --border: rgba(7, 61, 120, 0.14);
  --shadow: 0 18px 45px rgba(7, 61, 120, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #f8fdff 0%, #e9f7fb 100%);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  padding: 28px 18px 18px;
}

.header-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  justify-self: center;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--navy);
  background: var(--light);
  border: 1px solid rgba(11, 118, 183, 0.22);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(7, 61, 120, 0.14);
}

.instagram-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-text h1 {
  margin: 4px 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1.08;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.under-construction {
  max-width: 790px;
  margin: 0;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.actions.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 10px 25px rgba(7, 61, 120, 0.22);
}

.secondary {
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--blue);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.donation-section,
.flyer-section,
.contact-section {
  margin: 18px 0 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.section-heading {
  text-align: center;
  margin-bottom: 22px;
}

.section-heading h2,
.contact-section h2 {
  margin: 4px 0 10px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.donation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.donation-flyer-column {
  min-width: 0;
}

.donation-flyer-link,
.flyer-link,
.girocode-link {
  display: block;
  text-decoration: none;
}

.donation-flyer {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(7, 61, 120, 0.14);
}

.donation-info {
  min-width: 0;
}

.donation-intro {
  margin: 0 0 20px;
  font-size: 1.06rem;
}

.donation-notice {
  margin-bottom: 20px;
  padding: 20px;
  background: var(--light);
  border-left: 5px solid var(--cyan);
  border-radius: 12px;
}

.donation-notice h3,
.bank-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.22rem;
}

.donation-notice p {
  margin: 0 0 10px;
}

.donation-notice p:last-child {
  margin-bottom: 0;
}

.bank-card {
  padding: 22px;
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.bank-details {
  margin: 0;
}

.bank-details > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(7, 61, 120, 0.1);
}

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

.bank-details dt {
  color: var(--blue);
  font-weight: 700;
}

.bank-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.girocode-block {
  margin-top: 22px;
  padding-top: 22px;
  text-align: center;
  border-top: 1px solid rgba(7, 61, 120, 0.14);
}

.girocode {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 auto;
  background: var(--white);
  border: 10px solid var(--white);
  box-shadow: 0 8px 24px rgba(7, 61, 120, 0.12);
}

.girocode-block p {
  margin: 12px 0 0;
  color: #49677c;
}

.flyer {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(7, 61, 120, 0.12);
}

.flyer-note {
  margin: 12px 0 0;
  text-align: center;
  color: #61788c;
  font-size: 0.92rem;
}

.contact-section {
  text-align: center;
}

.contact-section p {
  max-width: 790px;
  margin: 0 auto;
  font-size: 1.05rem;
}

footer {
  padding: 20px 18px 28px;
  text-align: center;
  color: #587184;
  font-size: 0.9rem;
}

footer p {
  margin: 4px 0;
}

footer a {
  color: var(--navy);
  font-weight: 700;
}

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

  .donation-flyer {
    width: min(620px, 100%);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 14px;
  }

  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }

  .logo {
    max-width: 135px;
  }

  .header-meta {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .actions {
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .donation-section,
  .flyer-section,
  .contact-section {
    padding: 20px 14px;
  }

  .donation-notice,
  .bank-card {
    padding: 17px;
  }

  .bank-details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .flyer {
    max-height: none;
  }
}

/* Ergänzungen September 2026: Facebook, Datenschutz, Impressum, Downloadbereich */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--navy);
  background: var(--light);
  border: 1px solid rgba(11, 118, 183, 0.22);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(7, 61, 120, 0.14);
}

.download-actions {
  width: min(820px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.download-actions .button {
  width: 100%;
}

.contact-mail {
  margin-top: 18px !important;
  font-size: 0.98rem !important;
}

.contact-mail a {
  color: var(--navy);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-nav a[aria-current="page"] {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-header {
  padding: 24px 18px 10px;
}

.legal-brand {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-weight: 700;
  text-decoration: none;
}

.legal-logo {
  width: 92px;
  height: auto;
  flex: 0 0 auto;
}

.legal-main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
}

.legal-card {
  margin: 18px 0 28px;
  padding: clamp(24px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 4px 0 26px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.legal-card h2 {
  margin: 30px 0 10px;
  color: var(--blue);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  font-size: 1rem;
}

.legal-card a:not(.button) {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.legal-card code {
  padding: 2px 5px;
  background: var(--light);
  border-radius: 4px;
}

.legal-notice {
  margin: 26px 0;
  padding: 22px;
  background: var(--light);
  border-left: 5px solid var(--cyan);
  border-radius: 14px;
}

.legal-notice h2 {
  margin-top: 0;
}

.legal-back {
  margin-top: 34px;
}

@media (max-width: 760px) {
  .social-links {
    justify-content: center;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .legal-brand {
    justify-content: center;
    padding: 16px;
  }

  .legal-logo {
    width: 76px;
  }

  .legal-card {
    padding: 22px 17px;
  }
}
