:root {
  --wvf-navy: #013384;
  --wvf-navy-deep: #021933;
  --wvf-blue: #0c54a1;
  --wvf-ice: #e6f1ff;
  --wvf-soft: #f4f8fc;
  --wvf-brass: #c4a574;
  --wvf-brass-deep: #a8844d;
  --wvf-foam: #7eb8d4;
  --wvf-text: #1e293b;
  --wvf-muted: #5a6d82;
  --font-display: "Barlow Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --space-xs: 0.35rem;
  --space-sm: 0.5rem;
  --space-md: 0.85rem;
  --space-lg: 1.25rem;
  --space-xl: 1.75rem;
  --space-2xl: 2.25rem;
  --space-3xl: 3rem;
  --radius-sm: 0.2rem;
  --radius-md: 0.35rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--wvf-ice);
  /* wie Startseite „Wer wir sind“ */
  background:
    radial-gradient(ellipse 55% 50% at 90% 10%, rgba(196, 165, 116, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(126, 184, 212, 0.14), transparent 50%),
    linear-gradient(160deg, #021933 0%, #013384 48%, #0a3d7a 100%);
  background-attachment: fixed;
}

a {
  color: #9ec5ef;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--wvf-navy);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header (wie Startseite) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--wvf-ice);
  background: rgba(1, 51, 132, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(2, 25, 51, 0.28);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin-inline: auto;
  padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding-block: 1rem;
  }
}

.site-header__brand {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__logo {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-header__logo {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.site-header__toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 241, 255, 0.4);
  border-radius: 0.2rem;
  background: transparent;
  color: var(--wvf-ice);
  cursor: pointer;
}

@media (min-width: 768px) {
  .site-header__toggle {
    display: none;
  }
}

.site-header__burger {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-header__burger span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--wvf-ice);
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--wvf-navy);
}

.site-nav.is-open {
  display: flex;
}

@media (min-width: 768px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
}

.site-nav__link {
  border-radius: 0.2rem;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(230, 241, 255, 0.9);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.site-nav__link--active {
  font-weight: 600;
  color: var(--wvf-ice);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(196, 165, 116, 0.55);
}

.site-nav__link--logout {
  font-weight: 600;
  color: #c4a574;
}

.site-nav__link--logout:hover {
  color: #e6f1ff;
  background: rgba(196, 165, 116, 0.22);
}

/* —— Main —— */
.member-main {
  position: relative;
  flex: 1;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 3.5rem;
  min-height: 50vh;
}

.member-shell,
.member-shell-wide {
  position: relative;
  margin-inline: auto;
  padding-inline: 1rem;
  animation: member-rise 0.65s var(--ease-out) both;
}

.member-shell {
  max-width: 28rem;
}

.member-shell-wide {
  max-width: 54rem;
}

@keyframes member-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Contact-style dialog —— */
.member-dialog {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  color: #1e293b;
  box-shadow: 0 24px 80px rgba(2, 25, 51, 0.45);
}

.member-dialog__hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 2.5rem;
  color: var(--wvf-ice);
  background: linear-gradient(145deg, #021933 0%, #013384 48%, #0a4f8c 100%);
}

@media (min-width: 640px) {
  .member-dialog__hero {
    padding: 2rem 2rem 2.75rem;
  }
}

.member-dialog__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 90% -10%, rgba(196, 165, 116, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(230, 241, 255, 0.12), transparent 50%),
    url("/bilder/hero-hafen.jpg") center 40% / cover;
  opacity: 0.28;
  mix-blend-mode: soft-light;
}

.member-dialog__compass {
  position: absolute;
  right: -1.5rem;
  top: -1.25rem;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 241, 255, 0.18);
  box-shadow: inset 0 0 0 10px rgba(230, 241, 255, 0.04);
  pointer-events: none;
}

.member-dialog__compass::before,
.member-dialog__compass::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  transform: translate(-50%, -50%);
}

.member-dialog__compass::before {
  width: 62%;
  height: 62%;
}

.member-dialog__compass::after {
  width: 28%;
  height: 28%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.45), transparent 70%);
}

.member-dialog__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.member-dialog__burgee img {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

@media (min-width: 640px) {
  .member-dialog__burgee img {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.member-dialog__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wvf-brass);
}

.member-dialog__title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
}

.member-dialog__lead {
  margin: 0.55rem 0 0;
  max-width: 22rem;
  font-size: 0.925rem;
  line-height: 1.55;
  color: rgba(230, 241, 255, 0.9);
}

.member-dialog__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #f3f7fb;
}

.member-dialog__body {
  background: #f3f7fb;
  padding: 1.25rem 1.5rem 1.75rem;
}

@media (min-width: 640px) {
  .member-dialog__body {
    padding: 1.35rem 2rem 2rem;
  }
}

.member-dialog__body .member-alert {
  margin-top: 0.25rem;
}

.member-dialog__body .member-actions {
  margin-top: 0.25rem;
}

.member-dialog__body .member-link-row {
  margin-top: 1.1rem;
  color: #64748b;
}

.member-dialog__body .member-link-row a {
  color: var(--wvf-navy);
  font-weight: 600;
  border-bottom: 1px solid rgba(1, 51, 132, 0.22);
  text-decoration: none;
}

.member-dialog__body .member-link-row a:hover {
  border-bottom-color: var(--wvf-brass);
  text-decoration: none;
}

.member-dialog__body .member-admin-link {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(1, 51, 132, 0.1);
  text-align: right;
}

.member-dialog__body .member-admin-link a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(1, 51, 132, 0.4);
  text-decoration: none;
}

.member-dialog__body .member-admin-link a:hover {
  color: var(--wvf-navy);
}

.member-dialog__body .member-deck-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(1, 51, 132, 0.07);
  color: var(--wvf-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.member-dialog__body .member-deck-line::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--wvf-brass);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.25);
}

/* —— Content panels (Logbuch / Admin) —— */
.member-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(230, 241, 255, 0.94) 55%, rgba(244, 248, 252, 0.97) 100%);
  box-shadow: 0 16px 40px rgba(1, 20, 40, 0.28);
  color: var(--wvf-navy);
}

.member-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.18), transparent 68%);
  pointer-events: none;
}

.member-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #c4a574, transparent 55%);
  opacity: 0.55;
}

.member-card + .member-card {
  margin-top: var(--space-xl);
}

.member-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wvf-brass-deep);
}

.member-card h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--wvf-navy);
}

.member-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--wvf-navy);
}

.member-title-rule {
  position: relative;
  z-index: 1;
  width: 4.5rem;
  height: 3px;
  margin: 0.9rem 0 1.1rem;
  border: 0;
  background: linear-gradient(90deg, #c4a574, #7eb8d4, transparent);
}

.member-card .lead {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-xl);
  color: rgba(1, 51, 132, 0.78);
  line-height: 1.65;
  font-size: 1.05rem;
}

.member-deck-line {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--space-lg);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(1, 51, 132, 0.07);
  color: var(--wvf-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.member-deck-line::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--wvf-brass);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.25);
}

/* —— Forms —— */
.member-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
}

.member-field label,
.member-field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wvf-navy);
}

.member-field input,
.member-field select,
.member-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(1, 51, 132, 0.15);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--wvf-navy);
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.member-field input:focus,
.member-field select:focus,
.member-field textarea:focus {
  outline: none;
  border-color: var(--wvf-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 84, 161, 0.15);
}

.member-field small {
  display: block;
  margin-top: var(--space-xs);
  color: #64748b;
  font-size: 0.85rem;
}

.member-password {
  position: relative;
  display: flex;
  align-items: stretch;
}

.member-password input {
  padding-right: 5.75rem;
}

.member-password__toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--wvf-navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.member-password__toggle:hover,
.member-password__toggle:focus-visible {
  opacity: 1;
  background: rgba(1, 51, 132, 0.08);
  outline: none;
}

.member-field.is-hidden {
  display: none;
}

.member-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.member-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--wvf-text);
  cursor: pointer;
}

.member-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.member-link-row {
  position: relative;
  z-index: 1;
  margin-top: var(--space-lg);
  font-size: 0.9375rem;
  color: rgba(230, 241, 255, 0.75);
  line-height: 1.5;
}

.member-card .member-link-row {
  color: rgba(1, 51, 132, 0.7);
}

.member-admin-link {
  position: relative;
  z-index: 1;
  margin: var(--space-xl) 0 0;
  text-align: right;
}

.member-admin-link a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(1, 51, 132, 0.4);
  text-decoration: none;
}

.member-admin-link a:hover {
  color: var(--wvf-navy);
  text-decoration: none;
}

/* —— Alerts —— */
.member-alert {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1.45;
}

.member-shell > .member-alert {
  margin-bottom: 1rem;
  background: rgba(230, 241, 255, 0.12);
  border-color: rgba(230, 241, 255, 0.22);
  color: var(--wvf-ice);
}

.member-alert-success {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.45);
  color: #065f46;
}

.member-alert-error {
  background: #fef2f2;
  border-color: rgba(248, 113, 113, 0.55);
  color: #991b1b;
}

.member-alert-info {
  background: #eff6ff;
  border-color: rgba(147, 197, 253, 0.7);
  color: #1e40af;
}

.member-shell > .member-alert-success,
.member-shell > .member-alert-error,
.member-shell > .member-alert-info {
  /* keep tinted variants readable above dark page */
}

/* —— Buttons —— */
.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--wvf-navy);
  color: #fff;
}

.member-dialog__body .member-form > .btn-primary,
.member-dialog__body .member-actions:not(:has(.btn-secondary)) .btn-primary {
  width: 100%;
}

.btn-primary::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--wvf-brass);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.25);
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--wvf-blue);
  color: #fff;
}

.btn-primary:hover::before {
  transform: scale(1.15);
}

.btn-secondary {
  background: rgba(230, 241, 255, 0.9);
  color: var(--wvf-navy);
  border-color: rgba(1, 51, 132, 0.15);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--wvf-foam);
  color: var(--wvf-navy);
}

.btn-danger {
  background: #b91c1c;
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: #991b1b;
  color: #fff;
}

/* —— Documents —— */
.doc-section {
  position: relative;
  z-index: 1;
  margin-top: var(--space-2xl);
}

.doc-section h2 {
  margin: 0 0 var(--space-md);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(1, 51, 132, 0.12);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--wvf-navy);
}

.doc-list {
  display: grid;
  gap: 0.75rem;
}

.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(1, 51, 132, 0.12);
  border-left: 3px solid var(--wvf-brass);
  background: linear-gradient(110deg, rgba(230, 241, 255, 0.65) 0%, rgba(255, 255, 255, 0.95) 55%);
  transition:
    transform 0.25s var(--ease-out),
    border-color 0.2s ease,
    box-shadow 0.25s var(--ease-out);
}

.doc-item:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 165, 116, 0.55);
  box-shadow: 0 12px 28px rgba(1, 51, 132, 0.1);
}

.doc-item-main {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
  flex: 1;
}

.doc-item-icon {
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(1, 51, 132, 0.1);
  padding: 0.2rem;
}

.doc-item-meta strong {
  display: block;
  font-size: 1.05rem;
  color: var(--wvf-navy);
}

.doc-item-meta span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: var(--wvf-muted);
  line-height: 1.4;
}

.member-hint {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-sm);
  font-size: 0.875rem;
  color: var(--wvf-muted);
}

.doc-icon-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.65rem;
}

.doc-icon-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(1, 51, 132, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(230, 241, 255, 0.45);
  cursor: pointer;
  text-align: center;
  font-size: 0.78rem;
  color: var(--wvf-navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.2s var(--ease-out);
}

.doc-icon-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.doc-icon-option img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.doc-icon-option__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  font-weight: 600;
}

.doc-icon-option:hover,
.doc-icon-option.is-selected,
.doc-icon-option:has(input:checked) {
  border-color: var(--wvf-navy);
  box-shadow: 0 0 0 1px var(--wvf-navy);
  transform: translateY(-2px);
  background: #fff;
}

.admin-table__icon {
  width: 3rem;
}

.admin-table__icon img {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.doc-storage-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.doc-storage-badge--ok {
  color: #0b5a2a;
  background: rgba(34, 140, 78, 0.14);
}

.doc-storage-badge--missing {
  color: #8a1f1f;
  background: rgba(180, 40, 40, 0.12);
}

.doc-storage-status {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.doc-storage-status--ok {
  color: #0b5a2a;
  background: rgba(34, 140, 78, 0.12);
  border: 1px solid rgba(34, 140, 78, 0.28);
}

.doc-storage-status--missing {
  color: #8a1f1f;
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.28);
}

.admin-table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  border: 1px solid rgba(1, 51, 132, 0.1);
  background: rgba(255, 255, 255, 0.65);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(1, 51, 132, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wvf-navy);
  background: rgba(230, 241, 255, 0.55);
}

.admin-table__sort {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.admin-table__sort:hover {
  color: var(--wvf-blue, #0c54a1);
  text-decoration: underline;
}

.admin-table th[aria-sort] .admin-table__sort {
  color: var(--wvf-navy);
}

.admin-request-list {
  display: grid;
  gap: 1.25rem;
}

.admin-request-card {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(1, 51, 132, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.admin-request-card__meta {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(1, 51, 132, 0.72);
}

.admin-request-card__grid {
  display: grid;
  gap: 0.85rem 1rem;
}

@media (min-width: 768px) {
  .admin-request-card__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-reject-reasons {
  margin: 1.25rem 0 0;
  padding: 1rem 1rem 0.25rem;
  border: 1px solid rgba(1, 51, 132, 0.12);
  background: rgba(230, 241, 255, 0.35);
}

.admin-reject-reasons legend {
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wvf-navy);
}

.admin-reject-reasons__option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: rgba(1, 51, 132, 0.92);
  cursor: pointer;
}

.admin-reject-reasons__option input {
  margin-top: 0.2rem;
}

.admin-reject-reasons__custom {
  margin-top: 0.25rem;
}

.admin-request-card .admin-row-actions {
  margin-top: 1.25rem;
  justify-content: flex-start;
}

.admin-mail-meta {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(1, 51, 132, 0.1);
  background: rgba(230, 241, 255, 0.35);
  font-size: 0.95rem;
}

.admin-mail-meta div {
  display: grid;
  gap: 0.15rem;
}

@media (min-width: 768px) {
  .admin-mail-meta {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-mail-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(1, 51, 132, 0.7);
}

.admin-mail-meta dd {
  margin: 0;
  color: var(--wvf-navy);
  word-break: break-word;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table form {
  display: inline;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.admin-apex-toggle .btn {
  min-width: 4.5rem;
}

.member-apex-card {
  margin-bottom: 1.25rem;
}

.member-apex-card__title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--wvf-navy);
}

.member-apex-card .lead {
  margin-top: 0.65rem;
}

.member-apex-card .member-actions {
  margin-top: 1rem;
}

.status-pending {
  color: #b45309;
  font-weight: 700;
}

.status-approved {
  color: #047857;
  font-weight: 700;
}

.status-rejected {
  color: #b91c1c;
  font-weight: 700;
}

/* —— Footer (wie Startseite) —— */
.site-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  background: var(--wvf-navy);
  color: var(--wvf-ice);
  padding: 3rem 1rem;
}

.site-footer__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(196, 165, 116, 0.14), transparent 55%);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 72rem;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    text-align: left;
  }
}

.site-footer__copy {
  display: grid;
  gap: 0.5rem;
}

.site-footer__copy p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-footer__visitors {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(230, 241, 255, 0.7);
  text-decoration: none;
}

.site-footer__visitors a {
  color: inherit;
  text-decoration: none;
}

.site-footer__visitors a:hover,
a.site-footer__visitors:hover {
  color: #c4a574;
  text-decoration: underline;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.site-footer__nav a {
  color: var(--wvf-ice);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--wvf-brass);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .doc-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-item .btn {
    width: 100%;
  }

  .member-actions .btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-shell,
  .member-shell-wide,
  .doc-item,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
