html, body {
  font-family: "arial-nova-condensed", sans-serif;
  margin: 0;
  height: 100%;
  background: #ee4266;
  overflow-x: hidden;
  overflow-y: auto;
  color: #1b1464;
}

#app {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  display: block;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.site-title {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  max-width: min(68vw, 210px);
}

.site-title__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(27, 20, 100, 0.18));
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
}

.site-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 80vw);
  background: #1b1464;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  padding: 84px 24px 24px;
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.site-menu.open {
  transform: translateX(0);
}

.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: "montserrat", sans-serif;
  color: #ee4266;
  text-decoration: none;
  padding: 12px 0px;
  border-radius: 999px;
  border: 1px solid rgba(238, 66, 102, 0.75);
  background: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(238, 66, 102, 0.18);
  border-color: #ee4266;
  transform: translateY(-1px);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1250;
  background: rgba(0, 0, 0, 0.28);
}

.content-panel {
  position: relative;
  z-index: 1000;
  padding: 104px 24px 48px;
  max-width: 100%;
}

#saftkopf {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

#saftkopf_sub {
  margin-top: 10px;
  font-size: 18px;
  opacity: 0.9;
}

.content-links {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: absolute;
  bottom: 50px;
  left: 20px;
  z-index: 1007;
}

.content-links a {
  color: #1b1464;
}

.content-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(238, 66, 102, 0.75);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.content-link-button:hover,
.content-link-button:focus-visible {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(27, 20, 100, 0.2);
}

.site-footer {
  position: fixed;
  bottom: 12px;
  right: 14px;
  font-family: monospace;
  font-size: 10px;
  z-index: 1200;
  pointer-events: none;
}

.simple-section,
.admin-wrap {
  position: relative;
  z-index: 1001;
  max-width: 900px;
}

.simple-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.simple-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.simple-form input,
.simple-form select,
.simple-form button {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #000;
  background: #fff;
}

.simple-form button {
  width: fit-content;
  cursor: pointer;
  color: #1b1464;
}

.simple-form--inline {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.form-notice {
  border: 1px solid #000;
  padding: 12px;
  margin: 0 0 16px;
  background: #fff;
}

.form-notice--error {
  border-color: #9f1f1f;
}

.form-notice--success {
  border-color: #1f7d33;
}

.admin-panel {
  padding: 20px;
}

.admin-wrap--wide {
  max-width: none;
  width: 100%;
}

.admin-panel--flush {
  background: transparent;
  padding: 0;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: #fff;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.simple-table--applications {
  min-width: 720px;
}

.simple-table th,
.simple-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.simple-table th {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .admin-wrap {
  }

  .admin-panel {
    padding: 8px;
  }

  .admin-panel--flush {
    padding: 0;
  }

  .table-scroll {
    margin: 18px 0;
    padding: 0 0 6px;
  }
}

.apply-section {
  max-width: 760px;
}

.apply-form {
  /*background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9d9d9;*/
  padding: 24px;
  border-radius: 0px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.apply-form__title {
  margin: 0;
  font-size: 1.5rem;
}

.apply-form__intro {
  margin: 0 0 8px;
  line-height: 1.5;
}

.required-mark {
  color: #b82020;
  font-weight: 700;
}

.optional-mark {
  font-size: 0.9em;
  font-weight: 500;
  color: rgba(27, 20, 100, 0.75);
}

.apply-form input,
.apply-form select {
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-form input:focus,
.apply-form select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.apply-form__submit {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.apply-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

hr{
  border-color: #698f3f;
  width: 120px;
  margin-left: 0;
  margin-right: auto;
}

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

  .site-title {
    max-width: min(72vw, 180px);
  }

  .content-links {
    flex-direction: column;
    align-items: stretch;
  }

  .content-link-button {
    width: 100%;
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-sidebar {
  display: grid;
  gap: 18px;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.admin-list a {
  display: block;
  padding: 8px 10px;
  background: #fff;
  color: #1b1464;
  text-decoration: none;
  border: 1px solid #ddd;
}

.admin-list a.is-active {
  border-color: #1b1464;
  font-weight: 700;
}

.month-editor-form {
  max-width: none;
}

.admin-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.admin-card--nested {
  background: #fafafa;
}

.admin-grid {
  display: grid;
  gap: 12px;
}

.admin-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-section-header,
.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-subtitle {
  margin: 0;
  font-weight: 700;
}

.button-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #7a1020;
  padding: 0;
}

@media (max-width: 860px) {
  .admin-layout,
  .admin-grid--2,
  .admin-grid--3,
  .admin-actions,
  .admin-section-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

section.month-exhibition{
  border-top: solid 5px;
}
