/* VÖFA – gemeinsame Darstellung */

.lang-switch {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.lang-switch button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 2px 8px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: #e9b44e;
  border-color: #e9b44e;
  color: #17191d;
}

.header-user {
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

* {
  box-sizing: border-box;
}

/* Öffentliche Website */
html.page-home {
  --ink: #17191d;
  --paper: #f4f1eb;
  --red: #d84b36;
  --muted: #6b6d70;
  --line: #dcd8d0;
  --max: 1220px;
}

html.page-home {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

html.page-home body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 system-ui,
    -apple-system,
    Segoe UI,
    Arial,
    sans-serif;
}

html.page-home a {
  color: inherit;
  text-decoration: none;
}

html.page-home button {
  font: inherit;
}

html.page-home img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.page-home h1,
html.page-home h2,
html.page-home h3,
html.page-home p {
  margin-top: 0;
}

html.page-home h1,
html.page-home h2,
html.page-home h3 {
  line-height: 1.07;
  letter-spacing: -0.045em;
}

html.page-home h1 {
  font-size: clamp(4rem, 10vw, 10rem);
  margin-bottom: 1.4rem;
}

html.page-home h2 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  margin-bottom: 1.4rem;
}

html.page-home h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

html.page-home p {
  max-width: 62ch;
}

html.page-home .wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
}

html.page-home .eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

html.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--red);
  color: #fff;
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 750;
  transition:
    background 0.2s,
    transform 0.2s;
}

html.page-home .btn:hover {
  background: #b93b29;
  transform: translateY(-2px);
}

html.page-home .btn.outline {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

html.page-home .btn.outline:hover {
  background: rgba(127, 127, 127, 0.12);
}

html.page-home .text-link {
  font-weight: 800;
  border-bottom: 2px solid var(--red);
  padding-bottom: 5px;
}

html.page-home .header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  color: white;
  background: rgba(17, 19, 23, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.page-home .nav {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 32px;
}

html.page-home .logo {
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
}

html.page-home .logo small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  font-weight: 650;
  margin-top: 7px;
}

html.page-home .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 145px;
}

html.page-home .logo img {
  width: auto;
  height: 58px;
  max-width: 190px;
  object-fit: contain;
}

html.page-home .logo-fallback[hidden] {
  display: none;
}

html.page-home .logo-fallback:not([hidden]) {
  display: block;
}

html.page-home .nav-links {
  display: flex;
  gap: 29px;
  margin-left: auto;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 750;
}

html.page-home .lang-switch {
  flex-shrink: 0;
}

html.page-home .nav-links a:hover {
  color: #ff9b8b;
}

html.page-home .portal {
  border: 1px solid #ffffff70;
  padding: 10px 15px;
}

html.page-home .menu-button {
  display: none;
  margin-left: auto;
  color: white;
  background: transparent;
  border: 1px solid #ffffff70;
  padding: 9px 13px;
  cursor: pointer;
}

html.page-home .hero {
  min-height: 760px;
  height: 100svh;
  max-height: 1100px;
  position: relative;
  background: #111;
  color: #fff;
  display: flex;
  align-items: end;
  overflow: hidden;
}

html.page-home .hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1) 80%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 65%);
  z-index: 1;
}

html.page-home .hero-image {
  position: absolute;
  inset: 0;
  background: url("../saubermacher.webp") center 45% / cover;
}

html.page-home .hero .content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 10vh, 135px);
}

html.page-home .hero .intro {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  max-width: 560px;
  margin-bottom: 32px;
}

html.page-home .hero-bottom {
  position: absolute;
  bottom: 28px;
  right: 4%;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

html.page-home .section {
  padding: clamp(90px, 11vw, 170px) 0;
}

html.page-home .lead {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.5;
}

html.page-home .section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

html.page-home .section-heading p {
  margin-bottom: 0;
}

html.page-home .dark {
  background: var(--ink);
  color: #fff;
}

html.page-home .film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

html.page-home .film-card {
  position: relative;
  aspect-ratio: 4/5;
  background: #333;
  overflow: hidden;
  display: flex;
  align-items: end;
}

html.page-home .film-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.5s;
}

html.page-home .film-card:hover img {
  transform: scale(1.06);
}

html.page-home .film-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.85));
}

html.page-home .film-card .info {
  position: relative;
  z-index: 1;
  padding: 26px;
}

html.page-home .film-card .info h3 {
  margin: 8px 0;
  overflow-wrap: break-word;
}

html.page-home .film-card .info p {
  margin: 0;
  color: #ddd;
  font-size: 0.9rem;
}

html.page-home .film-card .play {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  border: 1px solid #fff9;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #0004;
}

html.page-home .film-note {
  color: #aeb0b4;
  font-size: 0.82rem;
  margin-top: 25px;
}

html.page-home .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}

html.page-home .split-image {
  min-height: 500px;
}

html.page-home .split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 110px);
}

html.page-home .split-copy .lead {
  margin-bottom: 30px;
}

html.page-home .event-list {
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

html.page-home .event {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

html.page-home .date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--red);
}

html.page-home .event h3 {
  font-size: 1.25rem;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

html.page-home .event p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

html.page-home .event .arrow {
  font-size: 1.6rem;
}

html.page-home .community {
  background: #e6e1d7;
}

html.page-home .community-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

html.page-home .community-image {
  aspect-ratio: 4/5;
}

html.page-home .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 25px;
}

html.page-home .footer {
  background: #101215;
  color: white;
  padding: 90px 0 35px;
}

html.page-home .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 90px;
}

html.page-home .footer h2 {
  font-size: clamp(3rem, 7vw, 7rem);
  margin: 0;
}

html.page-home .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid #444;
  padding-top: 24px;
  color: #b8b9bc;
  font-size: 0.83rem;
}

html.page-home .footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

html.page-home .footer a:hover {
  text-decoration: underline;
}

html.page-home .note {
  font-size: 0.8rem;
  color: #76777a;
}

html.page-home .skip {
  position: absolute;
  left: -999px;
}

html.page-home .skip:focus {
  left: 20px;
  top: 20px;
  z-index: 100;
  background: white;
  color: black;
  padding: 10px;
}

html.page-home .modal {
  border: 0;
  padding: 0;
  max-width: min(700px, calc(100% - 30px));
  background: var(--paper);
  color: var(--ink);
}

html.page-home .modal::backdrop {
  background: #000b;
}

html.page-home .modal-inner {
  padding: 35px;
}

html.page-home .close {
  float: right;
  background: none;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
}

html.page-home .reveal {
  animation: fade 0.6s ease both;
}

@keyframes fade {
  from {
    opacity: 0.5;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 850px) {
  html.page-home .nav {
    height: 74px;
  }

  html.page-home .logo img {
    height: 49px;
    max-width: 150px;
  }

  html.page-home .menu-button {
    display: block;
  }

  html.page-home .lang-switch {
    margin-left: auto;
  }

  html.page-home .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #17191d;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  html.page-home .nav-links.open {
    display: flex;
  }

  html.page-home .hero {
    min-height: 650px;
  }

  html.page-home .section-heading,
  html.page-home .split,
  html.page-home .community-layout {
    grid-template-columns: 1fr;
  }

  html.page-home .split-image {
    min-height: 360px;
  }

  html.page-home .split-copy {
    padding: 70px 24px;
  }

  html.page-home .community-layout {
    gap: 35px;
  }

  html.page-home .community-image {
    aspect-ratio: 16/10;
  }

  html.page-home .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.page-home .film-card:last-child {
    display: flex;
  }

  html.page-home .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  html.page-home .wrap {
    width: min(calc(100% - 36px), var(--max));
  }

  html.page-home .hero {
    min-height: 610px;
    height: 90svh;
  }

  html.page-home .hero .content {
    padding-bottom: 90px;
  }

  html.page-home h1 {
    font-size: clamp(3.6rem, 16vw, 5.5rem);
  }

  html.page-home .film-grid {
    grid-template-columns: 1fr;
  }

  html.page-home .film-card {
    aspect-ratio: 5/4;
  }

  html.page-home .film-card:last-child {
    display: flex;
  }

  html.page-home .event {
    grid-template-columns: 65px 1fr 20px;
    gap: 12px;
  }

  html.page-home .event h3 {
    font-size: 1.05rem;
  }

  html.page-home .footer {
    padding-top: 70px;
  }

  html.page-home .footer-top {
    padding-bottom: 60px;
  }
}

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

  html.page-home *,
  html.page-home *:before,
  html.page-home *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Full-width layout: content uses the entire viewport with responsive gutters. */

html.page-home {
  --gutter: clamp(18px, 3.5vw, 72px);
}

html.page-home .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

html.page-home .section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 100px);
}

html.page-home .film-grid {
  gap: clamp(12px, 1.6vw, 32px);
}

html.page-home .split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
}

html.page-home .split-copy {
  min-width: 0;
  padding: clamp(40px, 5vw, 110px) clamp(24px, 5vw, 110px);
}

html.page-home .split-image {
  min-width: 0;
  overflow: hidden;
}

html.page-home .community-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 120px);
}

html.page-home .footer-top {
  width: 100%;
}

@media (max-width: 850px) {
  html.page-home .section-heading,
  html.page-home .split,
  html.page-home .community-layout {
    grid-template-columns: 1fr;
  }

  html.page-home .split-copy {
    padding: clamp(50px, 8vw, 90px) var(--gutter);
  }

  html.page-home .split-image {
    min-height: 360px;
  }

  html.page-home .community-layout {
    gap: 35px;
  }
}

@media (max-width: 540px) {
  html.page-home {
    --gutter: 18px;
  }

  html.page-home .wrap {
    width: 100%;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  html.page-home .film-grid {
    gap: 18px;
  }
}

html.page-home .film-card {
  aspect-ratio: 3/4;
}

html.page-home .film-card img {
  object-position: center;
}

html.page-home .film-card .info h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.9rem);
}

@media (max-width: 850px) {
  html.page-home .film-card {
    aspect-ratio: 4/5;
  }
}

@media (max-width: 540px) {
  html.page-home .film-card {
    aspect-ratio: 16/10;
  }
}

/* Film-Detailansicht */

html.page-home .film-card {
  cursor: pointer;
}

html.page-home .film-card:focus-visible {
  outline: 3px solid #e9b44e;
  outline-offset: 4px;
}

:is(html.page-home, html.page-mitglieder) .film-detail {
  width: min(1080px, calc(100vw - 28px));
  max-width: 1080px;
  max-height: calc(100dvh - 24px);
  border: 1px solid #454a54;
  border-radius: 12px;
  background: #17191d;
  color: #f8f8f8;
  overflow: auto;
  box-shadow: 0 24px 90px #0009;
}

:is(html.page-home, html.page-mitglieder) .film-detail::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(5px);
}

:is(html.page-home, html.page-mitglieder) .film-detail .close-film {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 4;
  margin: 12px 12px -58px 0;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff65;
  border-radius: 50%;
  background: #14171be8;
  color: white;
  font-size: 27px;
  cursor: pointer;
}

:is(html.page-home, html.page-mitglieder) .film-media {
  position: relative;
  aspect-ratio: 16/9;
  background: #090a0c;
  display: grid;
  place-items: center;
  overflow: hidden;
  clear: both;
}

:is(html.page-home, html.page-mitglieder) .film-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  background: #000;
}

:is(html.page-home, html.page-mitglieder) .film-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

:is(html.page-home, html.page-mitglieder) .film-media .film-unavailable {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #090a0cf2);
  padding: 48px 25px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #eee;
}

:is(html.page-home, html.page-mitglieder) .film-media .fullscreen-poster {
  position: absolute;
  top: 16px;
  left: 16px;
  border: 1px solid #ffffff8a;
  background: #17191ddc;
  color: white;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
}

:is(html.page-home, html.page-mitglieder) .film-media:fullscreen {
  background: black;
}

:is(html.page-home, html.page-mitglieder) .film-media:fullscreen img,
:is(html.page-home, html.page-mitglieder) .film-media:fullscreen video {
  object-fit: contain;
}

:is(html.page-home, html.page-mitglieder) .film-detail-body {
  padding: clamp(22px, 4vw, 46px);
}

:is(html.page-home, html.page-mitglieder) .film-detail-body h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 10px 0 20px;
}

:is(html.page-home, html.page-mitglieder) .film-meta {
  display: flex;
  gap: 18px 30px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid #3b3e45;
  border-bottom: 1px solid #3b3e45;
  margin-bottom: 26px;
}

:is(html.page-home, html.page-mitglieder) .film-meta div {
  min-width: 120px;
}

:is(html.page-home, html.page-mitglieder) .film-meta dt {
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b3b5ba;
}

:is(html.page-home, html.page-mitglieder) .film-meta dd {
  margin: 3px 0 0;
  font-weight: 650;
}

:is(html.page-home, html.page-mitglieder) .film-detail-body h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
  margin: 24px 0 10px;
}

:is(html.page-home, html.page-mitglieder) .film-detail-body p {
  color: #ddd;
  max-width: 75ch;
}

:is(html.page-home, html.page-mitglieder) .film-awards {
  list-style: none;
  margin: 0;
  padding: 0;
}

:is(html.page-home, html.page-mitglieder) .film-awards li {
  border-left: 3px solid #e9b44e;
  padding: 9px 14px;
  background: #ffffff0b;
  margin-bottom: 8px;
}

:is(html.page-home, html.page-mitglieder) .film-detail .placeholder {
  color: #b8bac0;
  font-style: italic;
}

:is(html.page-home, html.page-mitglieder) body.film-dialog-open {
  overflow: hidden;
}

@media (max-width: 540px) {
  :is(html.page-home, html.page-mitglieder) .film-detail {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  :is(html.page-home, html.page-mitglieder) .film-detail-body {
    padding: 22px;
  }

  :is(html.page-home, html.page-mitglieder) .film-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Anmeldung */
html.page-login {
  color-scheme: dark;
  --bg: #11151b;
  --panel: #1c222c;
  --panel2: #252c38;
  --line: #39414d;
  --text: #f3f4f5;
  --muted: #aeb8c5;
  --gold: #e6b452;
}

html.page-login {
  scroll-behavior: smooth;
}

html.page-login body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
}

html.page-login a {
  color: inherit;
}

html.page-login button,
html.page-login input,
html.page-login select {
  font: inherit;
}

html.page-login button {
  cursor: pointer;
}

html.page-login header {
  height: 82px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(17, 21, 27, 0.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 70px);
}

html.page-login header img {
  height: 59px;
  width: auto;
}

html.page-login header a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}

html.page-login header a:hover {
  color: var(--gold);
}

html.page-login main {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 70px) 20px 90px;
}

html.page-login .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

html.page-login h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 12px 0;
}

html.page-login p {
  color: var(--muted);
  line-height: 1.6;
}

html.page-login .intro {
  max-width: 670px;
  margin-bottom: 30px;
}

html.page-login .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

html.page-login .panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 17px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 18px 55px #0002;
}

html.page-login .panel h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

html.page-login .field {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

html.page-login .field label {
  font-size: 0.9rem;
  font-weight: 650;
}

html.page-login .field input,
html.page-login .field select {
  width: 100%;
  background: #10151c;
  color: var(--text);
  border: 1px solid #4a5361;
  border-radius: 9px;
  padding: 13px 14px;
  outline-offset: 3px;
}

html.page-login .field input:focus,
html.page-login .field select:focus {
  border-color: var(--gold);
  outline: 2px solid #e6b45240;
}

html.page-login .primary {
  border: 0;
  border-radius: 9px;
  background: var(--gold);
  color: #15191f;
  padding: 14px 20px;
  font-weight: 750;
  width: 100%;
}

html.page-login .primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

html.page-login .secondary {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 9px;
}

html.page-login .demo {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

html.page-login .demo button {
  text-align: left;
}

html.page-login .demo button small,
html.page-login .demo p small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

html.page-login .notice {
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  background: #e6b4520b;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 20px;
}

html.page-login .error {
  color: #ffadad;
  font-size: 0.9rem;
  min-height: 22px;
  margin-top: 10px;
}

html.page-login .hidden {
  display: none !important;
}

html.page-login .topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

html.page-login .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

html.page-login .portal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

html.page-login .portal svg {
  color: var(--gold);
}

html.page-login .portal h3 {
  margin: 20px 0 5px;
}

html.page-login .portal p {
  font-size: 0.9rem;
  flex: 1;
}

html.page-login .portal a {
  display: block;
  background: var(--gold);
  color: #11151b;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 750;
}

html.page-login .portal a:hover,
html.page-login .primary:hover {
  filter: brightness(1.09);
}

html.page-login .tag {
  color: var(--gold);
  font-size: 0.85rem;
}

html.page-login .muted {
  font-size: 0.87rem;
}

html.page-login footer {
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  html.page-login .layout {
    grid-template-columns: 1fr;
  }

  html.page-login .cards {
    grid-template-columns: 1fr;
  }

  html.page-login header {
    height: 72px;
  }

  html.page-login header img {
    height: 50px;
  }

  html.page-login .portal {
    min-height: 0;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  html.page-login .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mitgliederportal */
html.page-mitglieder {
  --bg: #11151b;
  --panel: #1c222c;
  --panel2: #252c38;
  --line: #343c48;
  --text: #f3f4f5;
  --muted: #aeb8c5;
  --gold: #e6b452;
  --blue: #0096bd;
  --green: #7bcca7;
  --red: #f29a8e;
}

html.page-mitglieder {
  scroll-behavior: smooth;
}

html.page-mitglieder body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.5 system-ui,
    -apple-system,
    Segoe UI,
    Arial,
    sans-serif;
}

html.page-mitglieder button,
html.page-mitglieder input,
html.page-mitglieder select,
html.page-mitglieder textarea {
  font: inherit;
}

html.page-mitglieder button {
  cursor: pointer;
}

html.page-mitglieder a {
  color: inherit;
  text-decoration: none;
}

html.page-mitglieder header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #11151bf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

html.page-mitglieder .head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px clamp(16px, 3vw, 54px);
}

html.page-mitglieder .brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

html.page-mitglieder .brand img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

html.page-mitglieder .brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
}

html.page-mitglieder .brand small {
  color: var(--muted);
  letter-spacing: 0.13em;
  font-size: 10px;
}

html.page-mitglieder .headright {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

html.page-mitglieder .chip {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 12px;
}

html.page-mitglieder .layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

html.page-mitglieder aside {
  border-right: 1px solid var(--line);
  padding: 27px 14px;
  background: #151a22;
}

html.page-mitglieder .aside-label {
  color: #8793a3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  padding: 0 15px;
  margin: 0 0 14px;
}

html.page-mitglieder .nav {
  width: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  border-radius: 10px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 5px;
}

html.page-mitglieder .nav:hover,
html.page-mitglieder .nav.active {
  background: var(--panel2);
  color: white;
}

html.page-mitglieder .nav.active {
  box-shadow: inset 3px 0 var(--gold);
}

html.page-mitglieder .nav span {
  font-size: 19px;
  width: 22px;
  text-align: center;
}

html.page-mitglieder .side-note {
  margin: 35px 10px 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

html.page-mitglieder main {
  min-width: 0;
  padding: clamp(20px, 3vw, 48px);
  max-width: 1800px;
  width: 100%;
  margin: auto;
}

html.page-mitglieder .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}

html.page-mitglieder .heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

html.page-mitglieder h1 {
  font-size: clamp(29px, 3.4vw, 48px);
  line-height: 1.1;
  margin: 8px 0 9px;
  letter-spacing: -0.035em;
}

html.page-mitglieder h2 {
  font-size: 21px;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}

html.page-mitglieder h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

html.page-mitglieder p {
  margin: 0;
  color: var(--muted);
}

html.page-mitglieder .btn {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 650;
}

html.page-mitglieder .btn:hover {
  filter: brightness(1.13);
}

html.page-mitglieder .btn.primary {
  background: var(--gold);
  color: #17191d;
  border-color: var(--gold);
}

html.page-mitglieder .btn.ghost {
  background: transparent;
}

html.page-mitglieder .btn.sm {
  padding: 7px 10px;
  font-size: 12px;
}

html.page-mitglieder .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

html.page-mitglieder .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

html.page-mitglieder .stat,
html.page-mitglieder .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

html.page-mitglieder .stat {
  padding: 22px;
}

html.page-mitglieder .stat strong {
  display: block;
  color: var(--gold);
  font-size: 35px;
  line-height: 1.15;
}

html.page-mitglieder .stat span {
  color: var(--muted);
  font-size: 13px;
}

html.page-mitglieder .panel {
  padding: 22px;
  margin-bottom: 20px;
}

html.page-mitglieder .split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 20px;
}

html.page-mitglieder .films {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

html.page-mitglieder .film-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #333;
  color: #fff;
}

html.page-mitglieder .film-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

html.page-mitglieder .film-card:hover img {
  transform: scale(1.06);
}

html.page-mitglieder .film-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 28%, rgba(0, 0, 0, 0.88));
  pointer-events: none;
}

html.page-mitglieder .film-card .still {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

html.page-mitglieder .film-card .still:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

html.page-mitglieder .film-card .play {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #0004;
  pointer-events: none;
}

html.page-mitglieder .film-card .info {
  position: relative;
  z-index: 2;
  padding: 18px 16px 8px;
  pointer-events: none;
}

html.page-mitglieder .film-card .eyebrow {
  color: #f08b7b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.page-mitglieder .film-card h3 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

html.page-mitglieder .film-card .actions {
  position: relative;
  z-index: 3;
  padding: 0 16px 16px;
}

html.page-mitglieder .film-card .btn {
  background: #000a;
  color: #fff;
  border-color: #ffffff55;
}

html.page-mitglieder .film-card .btn.ghost {
  background: transparent;
}

html.page-mitglieder .video-player {
  width: 100%;
  max-height: 360px;
  background: #000;
  border-radius: 8px;
}

html.page-mitglieder #videoFileLink {
  color: var(--gold);
  font-weight: 650;
}

html.page-mitglieder .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html.page-mitglieder .badge {
  display: inline-block;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #354052;
  color: #dce3ed;
}

html.page-mitglieder .badge.green {
  background: #214b3e;
  color: #a6e7c8;
}

html.page-mitglieder .badge.gold {
  background: #584622;
  color: #f6d17b;
}

html.page-mitglieder .badge.blue {
  background: #193f53;
  color: #9bd9f4;
}

html.page-mitglieder .badge.red {
  background: #583734;
  color: #ffc1b8;
}

html.page-mitglieder .listrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

html.page-mitglieder .listrow:last-child {
  border-bottom: 0;
}

html.page-mitglieder .listrow small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

html.page-mitglieder .tablewrap {
  overflow: auto;
}

html.page-mitglieder .table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

html.page-mitglieder .table th {
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}

html.page-mitglieder .table td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
}

html.page-mitglieder .table tr:last-child td {
  border-bottom: 0;
}

html.page-mitglieder .toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

html.page-mitglieder .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

html.page-mitglieder .field label {
  font-size: 12px;
  color: #d3dae3;
  font-weight: 600;
}

html.page-mitglieder .field input,
html.page-mitglieder .field select,
html.page-mitglieder .field textarea {
  width: 100%;
  background: #121820;
  border: 1px solid #455061;
  color: white;
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 43px;
}

html.page-mitglieder .field textarea {
  min-height: 92px;
  resize: vertical;
}

html.page-mitglieder .field select[multiple] {
  min-height: 150px;
}

html.page-mitglieder .field input[readonly] {
  color: #c5ccd6;
}

html.page-mitglieder .field input:focus,
html.page-mitglieder .field select:focus,
html.page-mitglieder .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

html.page-mitglieder .formgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 17px;
}

html.page-mitglieder .full {
  grid-column: 1/-1;
}

html.page-mitglieder .empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
}

html.page-mitglieder .view {
  display: none;
}

html.page-mitglieder .view.active {
  display: block;
}

html.page-mitglieder .notice {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}

html.page-mitglieder .award {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

html.page-mitglieder .award:last-child {
  border: 0;
}

html.page-mitglieder .trophy {
  font-size: 28px;
}

html.page-mitglieder .modal {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

html.page-mitglieder .modal.show {
  display: flex;
}

html.page-mitglieder .dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  width: min(650px, 100%);
  max-height: 90vh;
  overflow: auto;
}

html.page-mitglieder .dialoghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

html.page-mitglieder .dialoghead h2 {
  margin: 0;
}

html.page-mitglieder .toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #254637;
  border: 1px solid #5a997a;
  padding: 14px 18px;
  border-radius: 10px;
  z-index: 40;
  display: none;
  max-width: 360px;
}

html.page-mitglieder .toast.show {
  display: block;
}

html.page-mitglieder .hamb {
  display: none;
}

html.page-mitglieder .muted {
  color: var(--muted);
}

html.page-mitglieder .banner {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #26303a;
  margin-bottom: 25px;
  min-height: 185px;
  display: flex;
  align-items: center;
}

html.page-mitglieder .banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #131923 10%, #131923bd 58%, #13192333),
    url("../voefa-mitgliederportal/assets/film4.webp") center 44% / cover;
}

html.page-mitglieder .banner > div {
  position: relative;
  padding: 26px 32px;
}

html.page-mitglieder .banner h2 {
  font-size: 29px;
  margin: 4px 0 7px;
}

html.page-mitglieder .filter {
  max-width: 260px;
}

html.page-mitglieder .demo {
  color: #eac680;
  font-size: 11px;
  border: 1px solid #765e36;
  padding: 4px 8px;
  border-radius: 20px;
}

@media (max-width: 1050px) {
  html.page-mitglieder .split {
    grid-template-columns: 1fr;
  }

  html.page-mitglieder .films {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 760px) {
  html.page-mitglieder .layout {
    display: block;
  }

  html.page-mitglieder aside {
    display: none;
    position: fixed;
    z-index: 19;
    top: 78px;
    bottom: 0;
    width: min(290px, 85vw);
    box-shadow: 15px 0 40px #0009;
    overflow: auto;
  }

  html.page-mitglieder aside.open {
    display: block;
  }

  html.page-mitglieder .hamb {
    display: inline-block;
  }

  html.page-mitglieder .head {
    min-height: 72px;
  }

  html.page-mitglieder .brand img {
    width: 47px;
    height: 47px;
  }

  html.page-mitglieder .brand strong {
    font-size: 14px;
  }

  html.page-mitglieder .chip {
    display: none;
  }

  html.page-mitglieder .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  html.page-mitglieder .stat {
    padding: 13px;
  }

  html.page-mitglieder .stat strong {
    font-size: 27px;
  }

  html.page-mitglieder .stat span {
    font-size: 11px;
  }

  html.page-mitglieder .films {
    grid-template-columns: 1fr;
  }

  html.page-mitglieder .film-card {
    aspect-ratio: 4/5;
  }

  html.page-mitglieder .formgrid {
    grid-template-columns: 1fr;
  }

  html.page-mitglieder .heading {
    align-items: start;
  }

  html.page-mitglieder .banner h2 {
    font-size: 24px;
  }

  html.page-mitglieder .panel {
    padding: 16px;
  }
}

html.page-mitglieder .film-registration {
  align-items: start;
}

html.page-mitglieder .film-registration .field {
  min-width: 0;
}

html.page-mitglieder .film-registration .field small {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}

html.page-mitglieder .checkboxline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500 !important;
  margin: 10px 0;
}

html.page-mitglieder .checkboxline input {
  width: auto !important;
  accent-color: var(--gold);
}

html.page-mitglieder .film-registration input[readonly] {
  opacity: 0.8;
  background: #252c38;
}

@media (min-width: 900px) {
  html.page-mitglieder .dialog {
    max-width: 960px !important;
  }
}

@media (max-width: 650px) {
  html.page-mitglieder .film-registration {
    grid-template-columns: 1fr !important;
  }

  html.page-mitglieder .film-registration .field {
    grid-column: 1/-1;
  }
}

html.page-mitglieder .festival-registration {
  align-items: stretch;
}

html.page-mitglieder .festival-registration > .field {
  padding: 16px;
  background: #1c2430;
  border: 1px solid #3a4554;
  border-radius: 10px;
}

html.page-mitglieder .festival-registration .field.required {
  border-color: #8c7442;
}

html.page-mitglieder .festival-registration .field > label:first-child {
  font-weight: 700;
}

html.page-mitglieder .festival-registration .field small {
  display: block;
  line-height: 1.6;
  margin-top: 8px;
}

html.page-mitglieder .festival-registration .checkboxline {
  align-items: flex-start;
}

html.page-mitglieder .festival-registration .checkboxline input {
  margin-top: 3px;
  flex: none;
}

html.page-mitglieder .festival-registration .ai-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

html.page-mitglieder .festival-registration .ai-fields[hidden] {
  display: none;
}

html.page-mitglieder .festival-registration .ai-fields .field {
  padding: 16px;
  border: 1px solid #8c7442;
  border-radius: 10px;
  background: #262819;
}

html.page-mitglieder .festival-registration textarea {
  resize: vertical;
}

@media (max-width: 650px) {
  html.page-mitglieder .festival-registration .ai-fields {
    grid-template-columns: 1fr;
  }
}

html.page-mitglieder .public-link,
html.page-klub .public-link,
html.page-admin .public-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--gold);
  border: 1px solid #6c5935;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

html.page-mitglieder .public-link:hover,
html.page-mitglieder .public-link:focus-visible,
html.page-klub .public-link:hover,
html.page-klub .public-link:focus-visible,
html.page-admin .public-link:hover,
html.page-admin .public-link:focus-visible {
  background: #343020;
  color: #fff;
}

html.page-mitglieder .public-link:focus-visible,
html.page-klub .public-link:focus-visible,
html.page-admin .public-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  html.page-mitglieder .public-link,
  html.page-klub .public-link,
  html.page-admin .public-link {
    padding: 8px;
    font-size: 12px;
  }

  html.page-mitglieder .headright,
  html.page-klub .headright,
  html.page-admin .headright {
    gap: 7px;
  }
}

/* Klubportal */
html.page-klub {
  --bg: #11151b;
  --panel: #1c222c;
  --panel2: #252c38;
  --line: #343c48;
  --text: #f3f4f5;
  --muted: #aeb8c5;
  --gold: #e6b452;
  --green: #7bcca7;
  --red: #f29a8e;
}

html.page-klub body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.5 system-ui,
    Segoe UI,
    Arial,
    sans-serif;
}

html.page-klub button,
html.page-klub input,
html.page-klub select,
html.page-klub textarea {
  font: inherit;
}

html.page-klub button {
  cursor: pointer;
}

html.page-klub a {
  color: inherit;
  text-decoration: none;
}

html.page-klub header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #11151bf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

html.page-klub .head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(16px, 3vw, 54px);
}

html.page-klub .brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

html.page-klub .brand img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

html.page-klub .brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
}

html.page-klub .brand small {
  color: var(--muted);
  letter-spacing: 0.13em;
  font-size: 10px;
}

html.page-klub .headright {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

html.page-klub .chip {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 12px;
}

html.page-klub .layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

html.page-klub aside {
  border-right: 1px solid var(--line);
  padding: 25px 13px;
  background: #151a22;
}

html.page-klub .aside-label {
  color: #8793a3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  padding: 0 15px;
  margin: 0 0 14px;
}

html.page-klub .nav {
  width: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

html.page-klub .nav:hover,
html.page-klub .nav.active {
  background: var(--panel2);
  color: white;
}

html.page-klub .nav.active {
  box-shadow: inset 3px 0 var(--gold);
}

html.page-klub .nav i {
  font-style: normal;
  font-size: 19px;
  width: 23px;
  text-align: center;
}

html.page-klub .side-note {
  margin: 30px 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

html.page-klub main {
  min-width: 0;
  padding: clamp(20px, 3vw, 48px);
  max-width: 1800px;
  width: 100%;
  margin: auto;
}

html.page-klub .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}

html.page-klub h1 {
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.12;
  margin: 8px 0 9px;
  letter-spacing: -0.035em;
}

html.page-klub h2 {
  font-size: 21px;
  margin: 0 0 16px;
}

html.page-klub h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

html.page-klub p {
  margin: 0;
  color: var(--muted);
}

html.page-klub .heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

html.page-klub .btn {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 650;
}

html.page-klub .btn:hover {
  filter: brightness(1.16);
}

html.page-klub .btn.primary {
  background: var(--gold);
  color: #17191d;
  border-color: var(--gold);
}

html.page-klub .btn.sm {
  padding: 7px 10px;
  font-size: 12px;
}

html.page-klub .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 24px;
}

html.page-klub .stat,
html.page-klub .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

html.page-klub .stat {
  padding: 22px;
}

html.page-klub .stat strong {
  display: block;
  color: var(--gold);
  font-size: 35px;
  line-height: 1.15;
}

html.page-klub .stat span {
  color: var(--muted);
  font-size: 13px;
}

html.page-klub .panel {
  padding: 22px;
  margin-bottom: 20px;
}

html.page-klub .split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 20px;
}

html.page-klub .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html.page-klub .badge {
  display: inline-block;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #354052;
  color: #dce3ed;
}

html.page-klub .badge.green {
  background: #214b3e;
  color: #a6e7c8;
}

html.page-klub .badge.gold {
  background: #584622;
  color: #f6d17b;
}

html.page-klub .badge.red {
  background: #583734;
  color: #ffc1b8;
}

html.page-klub .listrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

html.page-klub .listrow:last-child {
  border-bottom: 0;
}

html.page-klub .listrow small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

html.page-klub .tablewrap {
  overflow: auto;
}

html.page-klub table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}

html.page-klub th,
html.page-klub td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

html.page-klub th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

html.page-klub td {
  font-size: 14px;
}

html.page-klub .formgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

html.page-klub .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

html.page-klub .field.full {
  grid-column: 1/-1;
}

html.page-klub label {
  font-size: 13px;
  font-weight: 650;
}

html.page-klub input:not([type="checkbox"]),
html.page-klub select,
html.page-klub textarea {
  width: 100%;
  background: #11161e;
  color: var(--text);
  border: 1px solid #46505e;
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 43px;
}

html.page-klub textarea {
  min-height: 95px;
  resize: vertical;
}

html.page-klub textarea.tall {
  min-height: 180px;
}

html.page-klub .field.span {
  grid-row: span 2;
}

html.page-klub input:focus,
html.page-klub select:focus,
html.page-klub textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

html.page-klub .hint {
  font-size: 12px;
  color: var(--muted);
}

html.page-klub .check {
  display: flex;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

html.page-klub .check input {
  accent-color: var(--gold);
  margin-top: 4px;
}

html.page-klub .filmthumb {
  width: 90px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

html.page-klub .muted {
  color: var(--muted);
}

html.page-klub .notice {
  border-left: 3px solid var(--gold);
  background: #2c2922;
  padding: 14px 16px;
  border-radius: 5px;
  color: #f2e5c8;
  margin: 15px 0;
}

html.page-klub .view {
  display: none;
}

html.page-klub .view.active {
  display: block;
}

html.page-klub .toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #294838;
  color: #d8f8e6;
  padding: 13px 20px;
  border: 1px solid #5a9c7b;
  border-radius: 10px;
  z-index: 100;
  display: none;
}

html.page-klub .menu-toggle {
  display: none;
}

@media (max-width: 1000px) {
  html.page-klub .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  html.page-klub .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html.page-klub .head {
    min-height: 70px;
  }

  html.page-klub .brand img {
    width: 45px;
    height: 45px;
  }

  html.page-klub .headright .chip {
    display: none;
  }

  html.page-klub .menu-toggle {
    display: inline-block;
  }

  html.page-klub .layout {
    display: block;
  }

  html.page-klub aside {
    display: none;
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    width: min(290px, 85vw);
    z-index: 25;
    overflow: auto;
    box-shadow: 12px 0 30px #0008;
  }

  html.page-klub aside.open {
    display: block;
  }

  html.page-klub main {
    padding: 22px 16px;
  }

  html.page-klub .formgrid {
    grid-template-columns: 1fr;
  }

  html.page-klub .field.span {
    grid-row: auto;
  }

  html.page-klub .stats {
    gap: 9px;
  }

  html.page-klub .stat {
    padding: 15px;
  }

  html.page-klub .stat strong {
    font-size: 27px;
  }

  html.page-klub .panel {
    padding: 16px;
  }

  html.page-klub .listrow {
    align-items: start;
  }

  html.page-klub .heading {
    align-items: start;
  }
}

/* Verbandsadministration */
html.page-admin {
  --bg: #11151b;
  --panel: #1c222c;
  --panel2: #252c38;
  --line: #343c48;
  --text: #f3f4f5;
  --muted: #aeb8c5;
  --gold: #e6b452;
  --green: #7bcca7;
  --red: #f29a8e;
}

html.page-admin body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.5 system-ui,
    Segoe UI,
    Arial,
    sans-serif;
}

html.page-admin button,
html.page-admin input,
html.page-admin select,
html.page-admin textarea {
  font: inherit;
}

html.page-admin button {
  cursor: pointer;
}

html.page-admin a {
  color: inherit;
  text-decoration: none;
}

html.page-admin header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #11151bf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

html.page-admin .head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(16px, 3vw, 54px);
}

html.page-admin .brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

html.page-admin .brand img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

html.page-admin .brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
}

html.page-admin .brand small {
  color: var(--muted);
  letter-spacing: 0.13em;
  font-size: 10px;
}

html.page-admin .headright {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}

html.page-admin .chip {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 12px;
}

html.page-admin .layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

html.page-admin aside {
  border-right: 1px solid var(--line);
  padding: 25px 13px;
  background: #151a22;
}

html.page-admin .aside-label {
  color: #8793a3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  padding: 0 15px;
  margin: 0 0 14px;
}

html.page-admin .nav {
  width: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

html.page-admin .nav:hover,
html.page-admin .nav.active {
  background: var(--panel2);
  color: white;
}

html.page-admin .nav.active {
  box-shadow: inset 3px 0 var(--gold);
}

html.page-admin .nav i {
  font-style: normal;
  font-size: 19px;
  width: 23px;
  text-align: center;
}

html.page-admin .side-note {
  margin: 30px 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

html.page-admin main {
  min-width: 0;
  padding: clamp(20px, 3vw, 48px);
  max-width: 1900px;
  width: 100%;
  margin: auto;
}

html.page-admin .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}

html.page-admin h1 {
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.12;
  margin: 8px 0 9px;
  letter-spacing: -0.035em;
}

html.page-admin h2 {
  font-size: 21px;
  margin: 0 0 16px;
}

html.page-admin h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

html.page-admin p {
  margin: 0;
  color: var(--muted);
}

html.page-admin .heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

html.page-admin .btn {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 650;
}

html.page-admin .btn:hover {
  filter: brightness(1.16);
}

html.page-admin .btn.primary {
  background: var(--gold);
  color: #17191d;
  border-color: var(--gold);
}

html.page-admin .btn.sm {
  padding: 7px 10px;
  font-size: 12px;
}

html.page-admin .btn.danger {
  color: var(--red);
}

html.page-admin .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

html.page-admin .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
}

html.page-admin .stat .number {
  font-size: 34px;
  font-weight: 750;
  color: var(--gold);
}

html.page-admin .stat small {
  display: block;
  color: var(--muted);
}

html.page-admin .columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

html.page-admin .quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

html.page-admin .quick button {
  text-align: left;
  min-height: 80px;
}

html.page-admin .quick span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

html.page-admin .toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

html.page-admin .toolbar input {
  flex: 1;
  min-width: 190px;
}

html.page-admin .field,
html.page-admin input,
html.page-admin select,
html.page-admin textarea {
  background: #121820;
  color: var(--text);
  border: 1px solid #47515f;
  border-radius: 7px;
  padding: 10px 12px;
  min-width: 0;
}

html.page-admin select[size] {
  width: 100%;
  min-height: 180px;
}

html.page-admin input:focus,
html.page-admin select:focus,
html.page-admin textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

html.page-admin textarea {
  resize: vertical;
  min-height: 90px;
}

html.page-admin .tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

html.page-admin table {
  width: 100%;
  border-collapse: collapse;
  min-width: 670px;
}

html.page-admin th,
html.page-admin td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

html.page-admin th {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #222935;
}

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

html.page-admin tr:hover td {
  background: #252c38;
}

html.page-admin .pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 20px;
  background: #394437;
  color: #bce6bd;
  font-size: 12px;
  white-space: nowrap;
}

html.page-admin .pill.wait {
  background: #483d2a;
  color: #f4d38c;
}

html.page-admin .pill.off {
  background: #443039;
  color: #f1b4b6;
}

html.page-admin .muted {
  color: var(--muted);
}

html.page-admin .actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

html.page-admin .notice {
  padding: 13px 17px;
  border: 1px solid #6b5630;
  background: #2c261a;
  border-radius: 9px;
  color: #e8d2a2;
  font-size: 13px;
  margin-bottom: 22px;
}

html.page-admin .modal {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

html.page-admin .modal.show {
  display: flex;
}

html.page-admin .dialog {
  background: #1d242e;
  border: 1px solid #4b5664;
  border-radius: 15px;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
}

html.page-admin .formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

html.page-admin .formgrid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

html.page-admin .formgrid .wide {
  grid-column: 1/-1;
}

html.page-admin .dialogfoot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

html.page-admin .toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #283b30;
  border: 1px solid #5a916a;
  padding: 13px 18px;
  border-radius: 10px;
  display: none;
  z-index: 100;
}

html.page-admin .toast.show {
  display: block;
}

html.page-admin .menu-toggle {
  display: none;
}

html.page-admin .audit {
  display: grid;
  gap: 11px;
}

html.page-admin .audititem {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

html.page-admin .audititem small {
  display: block;
  color: var(--muted);
}

@media (max-width: 950px) {
  html.page-admin .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  html.page-admin .columns {
    grid-template-columns: 1fr;
  }

  html.page-admin .layout {
    grid-template-columns: 1fr;
  }

  html.page-admin .menu-toggle {
    display: inline-block;
  }

  html.page-admin aside {
    display: none;
    position: fixed;
    top: 78px;
    bottom: 0;
    left: 0;
    width: 270px;
    z-index: 35;
    overflow: auto;
    box-shadow: 15px 0 50px #0009;
  }

  html.page-admin aside.open {
    display: block;
  }

  html.page-admin .headright .chip {
    display: none;
  }
}

@media (max-width: 580px) {
  html.page-admin .stats,
  html.page-admin .quick,
  html.page-admin .formgrid {
    grid-template-columns: 1fr;
  }

  html.page-admin .head {
    padding: 8px 14px;
  }

  html.page-admin .brand img {
    width: 46px;
    height: 46px;
  }

  html.page-admin .brand strong {
    font-size: 13px;
  }

  html.page-admin .headright a {
    display: none;
  }

  html.page-admin main {
    padding: 20px 14px;
  }

  html.page-admin .dialog {
    padding: 18px;
  }
}
