/* Öffentlicher Footer — portiert aus dem Footer-Abschnitt von docs/design-docs/campus-apero-landingpage.html
   (.footer / .footer-inner dort → .public-footer / .public-footer__inner hier). */
.public-footer {
  color: rgba(255, 255, 255, 0.8);
  background: var(--campus-night);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.public-footer__inner {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.55fr) minmax(180px, 0.55fr);
  gap: 34px;
}

.public-footer h3 {
  color: var(--white);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.public-footer__logo {
  width: 160px;
  height: auto;
  filter: invert(1) brightness(1.9);
}

.public-footer p,
.public-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.public-footer p {
  margin-top: 12px;
}

.public-footer a {
  text-decoration: none;
}

.public-footer a:hover {
  text-decoration: underline;
}

.public-footer ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
}

@media (max-width: 900px) {
  .public-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .public-footer__inner {
    width: min(100vw - 28px, 460px);
  }
}

/* Statische Seiten (Abmeldung, Einwilligung, 404): gleiche Bühne wie die
   Rückmeldungsseite — Verlaufs-Hintergrund, Logo-Header, Inhalt in Karte. */
body.page-static-body {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 81, 87, 0.15), transparent 22rem),
    linear-gradient(180deg, var(--apero-cream) 0%, var(--apero-paper) 62%, #edf6f8 100%);
}

.public-nav {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
}

.public-nav__brand {
  display: inline-flex;
  align-items: center;
}

.public-nav__logo {
  width: 158px;
  height: auto;
  display: block;
}

.static-main {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 36px 0 88px;
  display: grid;
  justify-items: center;
}

.static-page {
  width: 100%;
  max-width: 40rem;
  padding: 54px 48px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.static-page h1 {
  font-family: var(--font-highlight);
  font-variation-settings: "opsz" 72;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.static-page p {
  color: var(--campus-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
}

/* Rechtstexte (Datenschutz) — lange, linksbündige Fließtexte. */
.static-page.legal {
  max-width: 52rem;
  text-align: left;
}

.static-page.legal h1 {
  text-align: center;
}

.static-page.legal h2 {
  font-family: var(--font-highlight);
  font-variation-settings: "opsz" 40;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--campus-ink);
  margin: 40px 0 10px;
}

.static-page.legal p,
.static-page.legal li {
  color: var(--campus-ink);
  font-size: 16px;
  line-height: 1.6;
}

.static-page.legal .legal-intro {
  color: var(--campus-muted);
}

.static-page.legal address {
  font-style: normal;
  margin-top: 12px;
  line-height: 1.6;
}

.static-page.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.static-page.legal li {
  margin-top: 6px;
}

.static-page.legal a {
  color: var(--apero-coral);
  font-weight: 700;
}

.static-page.legal .legal-meta {
  margin-top: 40px;
  color: var(--campus-muted);
  font-size: 14px;
}

.static-page form {
  margin: 28px 0 0;
}

.static-page-button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--apero-coral);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-coral);
}

/* Längere Textseiten (Einwilligung): linksbündig mit Zwischenüberschriften. */
.static-page--prose {
  text-align: left;
}

.static-page--prose h2 {
  margin: 32px 0 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
}

.static-page--prose ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--campus-muted);
  font-size: 16px;
  line-height: 1.6;
  display: grid;
  gap: 8px;
}

.static-page--prose a {
  text-decoration: underline;
}

/* Termin-Vorschau auf der DOI-Bestätigungsseite — Optik wie die
   Event-Box der Rückmeldeseite (invitation.css). */
.static-page .event-box {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.static-page .event-item {
  padding: 18px;
  border-radius: 16px;
  background: #f4f9fb;
  border: 1px solid var(--line);
}

.static-page .event-item span {
  display: block;
  color: var(--campus-muted);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.static-page .event-item strong {
  display: block;
  margin-top: 8px;
  color: var(--campus-ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 840;
}

@media (max-width: 560px) {
  .public-nav,
  .static-main {
    width: min(100vw - 28px, 460px);
  }

  .static-main {
    padding: 16px 0 58px;
  }

  .static-page {
    padding: 34px 22px;
  }

  .static-page .event-box {
    grid-template-columns: 1fr;
  }
}

/* Formulare auf statischen Karten-Seiten (z. B. /abmelden): gleiche Optik
   wie das Signup-Formular der Landingpage (.page-landing .form-card & Co,
   landing.css), aber ohne eigene Kartenoptik — die Karte ist hier schon
   .static-page selbst, das Formular nutzt nur deren volle Breite. */
.static-page .form-card {
  width: 100%;
  text-align: left;
}

.static-page .field-grid {
  display: grid;
  gap: 12px;
}

.static-page .field {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(7, 53, 84, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f6f9fb;
  color: var(--campus-ink);
  font-size: 14px;
  font-family: inherit;
}

.static-page .field::placeholder {
  color: #8393a0;
}

.static-page .field:focus {
  outline: 2px solid var(--apero-coral);
  outline-offset: 1px;
}

.static-page .form-button {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--apero-coral);
  color: var(--white);
  font-size: 15px;
  font-weight: 830;
  font-family: inherit;
  box-shadow: var(--shadow-coral);
  cursor: pointer;
}

/* Fehlerbox wie .page-landing .form-errors — das generische .form-errors
   aus editorial.css gilt nur im Editorial-Layout und greift hier nicht. */
.static-page .form-errors {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--apero-cream);
  color: var(--apero-coral-deep);
  font-size: 13px;
  text-align: left;
}

.static-page .form-errors ul {
  margin: 0;
  padding-left: 18px;
}
