/* Global */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
  overflow-y: hidden;
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.fade-out {
  opacity: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  z-index: 10;
}

.brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.est {
  font-size: 12px;
  color: #777;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 20px 96px;
}

.content {
  max-width: 720px;
  width: 100%;
  padding: 0 20px;
  animation: scrollUp 6.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

h1 {
  font-size: 52px;
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
  word-break: break-word;
  line-height: 1.2;
}

p {
  margin: 0;
  color: #aaa;
  font-size: 19px;
  line-height: 1.6;
}

footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 12px;
  color: #777;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 3s;
  z-index: 10;
}

footer a {
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  animation: auroraGlow 12s ease-in-out infinite;
}

footer a:nth-child(1) {
  animation-delay: 7s;
}

footer a:nth-child(2) {
  animation-delay: 0s;
}

footer a:hover {
  color: #fff;
  transform: scale(1.05);
}

footer a::after {
  background: #aaa;
}

a {
  position: relative;
  color: #777;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease, transform 0.2s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #777;
  transition: width 0.3s ease;
}

a:hover {
  color: #fff;
  transform: scale(1.05);
}

a:hover::after {
  width: 100%;
}

@keyframes scrollUp {
  from {
    transform: translateY(120vh);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes auroraGlow {
  0% {
    color: #aaa;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
  }

  25% {
    color: #cfe3ff;
    text-shadow: 0 0 6px rgba(200, 220, 255, 0.6), 0 0 20px rgba(200, 220, 255, 0.4);
  }

  50% {
    color: #b8ffd8;
    text-shadow: 0 0 6px rgba(180, 255, 220, 0.6), 0 0 18px rgba(180, 255, 220, 0.4);
  }

  75% {
    color: #e0c8ff;
    text-shadow: 0 0 6px rgba(220, 200, 255, 0.6), 0 0 18px rgba(220, 200, 255, 0.4);
  }

  100% {
    color: #aaa;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
  }
}

/* Contact Desktop */
body.contact-page {
  overflow: hidden;
}

.contact-page .contact-content {
  opacity: 1;
  display: flex;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 96px 40px 88px;
  animation: none;
}

.contact-page .form-grid {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.contact-page .form-grid {
  display: block;
}

.contact-page .inner {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.contact-page form {
  width: min(100%, 760px);
  margin: 0 auto;
}

.contact-page .form-group,
.contact-page .submit-wrap,
.contact-page #turnstile-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.contact-page .inner h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 28px;
  text-align: center;
}

.contact-page .form-group {
  margin: 13px 0;
  text-align: left;
}

.contact-page label {
  font-size: 12px;
  color: #777;
  display: block;
  margin-bottom: 6px;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  outline: none;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0.2px;
  border-radius: 0;
}

.contact-page input:focus,
.contact-page textarea:focus {
  border-bottom-color: #888;
}

.contact-page ::placeholder {
  color: #555;
  opacity: 1;
}

.contact-page input:focus::placeholder {
  color: #333;
}

.contact-page textarea {
  min-height: 68px;
  resize: none;
}

.contact-page .submit-wrap {
  text-align: center;
  margin-top: 18px;
}

.contact-page .gate,
.imprint-page .gate {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1000;
}

.contact-page .gate-content,
.imprint-page .gate-content {
  max-width: 500px;
  padding: 20px;
}

.contact-page .gate h1,
.imprint-page .gate h1 {
  font-size: 32px;
  margin: 0 0 20px;
}

.contact-page .gate p,
.imprint-page .gate p {
  color: #aaa;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.6;
}

.contact-page .gate button,
.imprint-page .gate button {
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  padding: 10px 28px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, opacity 0.25s ease;
}

.contact-page .gate button:hover,
.imprint-page .gate button:hover {
  border-color: #888;
}

.contact-page #turnstile-container {
  min-height: 1px;
}

@keyframes buttonFlash {
  0% {
    filter: brightness(1);
  }

  25% {
    filter: brightness(2);
  }

  50% {
    filter: brightness(1.2);
  }

  100% {
    filter: brightness(1);
  }
}

/* Legal Desktop */
body.legal-page {
  overflow: hidden;
}

.legal-page .legal-shell {
  position: fixed;
  inset: 0;
  padding: 110px 20px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.legal-page .legal-shell > h1 {
  flex: 0 0 auto;
  margin: 0;
  width: min(100%, 760px);
  text-align: left;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.legal-page .legal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  width: min(100%, 760px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.legal-page .legal-content {
  width: 100%;
  margin-inline: auto;
  text-align: left;
  padding-right: 0;
  padding-bottom: 180px;
}

.legal-page .legal-content h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 34px 0 14px;
  color: #f2f2f2;
}

.legal-page .legal-content p,
.legal-page .legal-content li {
  color: #b5b5b5;
  font-size: 16px;
  line-height: 1.75;
}

.legal-page .legal-content p {
  margin: 0 0 16px;
  max-width: 75ch;
}

.legal-page .legal-content ul {
  margin: 0 0 20px 18px;
  padding: 0;
}

.legal-page .legal-content li {
  margin: 0 0 8px;
}

.legal-page .legal-content strong {
  color: #fff;
  font-weight: 600;
}

.legal-page .legal-content .legal-note {
  color: #8f8f8f;
  font-size: 14px;
}

.legal-page footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 40px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0));
  z-index: 10;
}

body.imprint-page {
  overflow: hidden;
}

.imprint-page .imprint-shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 110px;
}

.imprint-page .imprint-content {
  width: min(100%, 520px);
  text-align: left;
}

.imprint-page .imprint-content h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 28px;
  color: #fff;
}

.imprint-page .legal-block p {
  margin: 0 0 28px;
  color: #b5b5b5;
  font-size: 16px;
  line-height: 1.75;
}

.imprint-page .legal-block strong {
  color: #fff;
  font-weight: 600;
}

.imprint-page .legal-note {
  color: #8f8f8f;
  font-size: 14px;
}

.imprint-page footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  padding: 0 40px;
  z-index: 10;
}

/* Media 600 */
@media (max-width: 600px) {
  header {
    padding: 15px 20px;
  }

  .brand {
    font-size: 18px;
  }

  .est {
    font-size: 11px;
  }

  .main {
    padding: 100px 20px 120px;
  }

  .content {
    max-width: 100%;
    padding: 0 8px;
  }

  h1 {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }

  footer {
    padding: 0 20px;
    bottom: 16px;
    gap: 16px;
  }

  .contact-page .contact-content {
    padding: 84px 20px 80px;
    align-items: center;
  }

  .contact-page .inner {
    max-width: 100%;
  }

  .contact-page .inner h2 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .contact-page .form-group {
    margin: 12px 0;
  }

  .contact-page input,
  .contact-page textarea {
    font-size: 16px;
  }

  .contact-page textarea {
    min-height: 74px;
  }

  .contact-page .submit-wrap {
    margin-top: 20px;
  }

  .contact-page .gate-content {
    padding: 20px 24px;
  }

  .contact-page .gate h1 {
    font-size: 28px;
  }

  .legal-page .legal-shell {
    padding: 96px 20px 84px;
  }

  .legal-page .legal-shell > h1 {
    width: 100%;
    font-size: 28px;
    text-align: left;
  }

  .legal-page .legal-scroll {
    width: 100%;
  }

  .legal-page .legal-content {
    padding-right: 0;
    padding-bottom: 180px;
  }

  .imprint-page .imprint-shell {
  padding: 100px 20px 96px;
  }

  .imprint-page .imprint-content {
    width: min(100%, 460px);
  }

  .imprint-page .imprint-content h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

}

/* Media 400 */
@media (max-width: 400px) {
  header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 16px;
  }

  .est {
    font-size: 10px;
  }

  .main {
    padding: 92px 16px 112px;
  }

  h1 {
    font-size: 26px;
  }

  p {
    font-size: 15px;
  }

  footer {
    padding: 0 16px;
    font-size: 11px;
  }

  .contact-page .contact-content {
    padding: 78px 16px 70px;
  }

  .contact-page .inner {
    width: 100%;
  }

  .contact-page .inner h2 {
    font-size: 20px;
  }

  .contact-page input,
  .contact-page textarea {
    font-size: 15px;
  }

  .contact-page .gate h1 {
    font-size: 24px;
  }

  .contact-page .gate p {
    font-size: 15px;
  }

  .contact-page .submit-btn,
  .contact-page button {
    width: 100%;
    max-width: 100%;
  }

  .legal-page .legal-shell {
    padding: 88px 16px 72px;
  }

  .legal-page .legal-shell > h1 {
    font-size: 24px;
  }

  .legal-page .legal-content p,
  .legal-page .legal-content li {
    font-size: 14px;
  }

  .imprint-page .imprint-shell {
  padding: 88px 16px 72px;
  }

  .imprint-page .imprint-content {
    width: 100%;
  }

  .imprint-page .imprint-content h1 {
    font-size: 24px;
  }

  .imprint-page .legal-block p {
    font-size: 14px;
  }
}