/* ===================== */
/* Reset & Basis */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #000;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  height: 100%;
}

/* ===================== */
/* Menü */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0));
}

.menu nav {
  display: flex;
  align-items: center;
}

.menu a {
  margin-left: 32px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', Arial, sans-serif;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 51;
}

.menu a:hover {
  color: #FFD700;
  transform: scale(1.02);
}

/* ===================== */
/* Logo */
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ===================== */
/* Hero Bereich */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ===================== */
/* Hero Slider */
.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slides img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slides img.active {
  opacity: 1;
}

/* ===================== */
/* Formular über Slider */
.hero-contact {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* ===================== */
/* Logo Container */
.logo-form-wrapper {
  width: 420px;
  height: 360px;
  position: relative;
}

/* ===================== */
/* Formular Logo-Maske */
.hero-form.logo-shaped {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* oben mehr Platz für Felder */
  gap: 12px;
  padding: 32px 42px;
  background: rgba(0,0,0,0.55); /* halbtransparent, Logo sichtbar */
  border: 3px solid #FFD700;
  border-radius: 32px;
  backdrop-filter: blur(6px);

  /* Logo Maske sichtbar */
  -webkit-mask-image: url("images/tofoto_logo_nofonts.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("images/tofoto_logo_nofonts.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  overflow: hidden;
  position: relative;
}

/* ===================== */
/* Formular Titel */
.form-title {
  text-align: right;
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 6px;
}

/* ===================== */
/* Formularfelder */
.hero-form input,
.hero-form textarea {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 11px;
  color: #fff;
  padding: 4pt 6pt;
  outline: none;
  border-radius: 4px;
  box-sizing: border-box;
}

.hero-form textarea {
  resize: none;
  line-height: 1.1;
/*  height: 60px;*/
}

/* ===================== */
/* Checkbox */
.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr; /* Text immer rechts von Box */
  align-items: flex-start;
  gap: 6px;
  font-size: 9px;
  color: #fff;
  margin-top: 4px;
}

.checkbox-row input[type="checkbox"] {
  width: 12px;
  height: 12px;
  accent-color: #FFD700;
  cursor: pointer;
  margin: 0;
}

.checkbox-row label {
  margin: 0;
  line-height: 1.1;
}
.checkbox-row label a {
  color: #FFD700;
  text-decoration: underline;
}
.checkbox-row label a:hover {
  color: #fff;
}

/* ===================== */
/* Button rechtsbündig */
.hero-form button {
  align-self: flex-end; /* rechtsbündig */
  background: none;
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-form button:hover {
  background: #FFD700;
  color: #000;
}

/* ===================== */
/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
}

/* ===================== */
/* Footer */
.footer-links {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  z-index: 10;
}

.footer-links a {
  color: #ffd400;
  text-decoration: none;
  margin: 0 4px;
}

.footer-links span {
  color: #ffd400;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===================== */
/* Mobile Anpassungen */
@media (max-width: 768px) {
  .logo-form-wrapper {
    width: 90vw;
    height: 320px;
  }

  .form-title {
    font-size: 18px;
  }

  .hero-form input,
  .hero-form textarea {
    font-size: 13px;
    padding: 6px;
  }

  .checkbox-row {
    grid-template-columns: 18px 1fr;
    font-size: 11px;
    gap: 5px;
  }

  .checkbox-row input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }
}

/* ===================== */
/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 40;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background-color: #FFD700;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
  transition: width 0.25s ease, height 0.25s ease;
}

.cursor-dot.menu-hover {
  width: 58px;
  height: 58px;
  background-color: rgba(255, 215, 0, 0.9);
  animation: none;
  mix-blend-mode: difference;
}

.cursor-dot.logo-hover {
  width: 120px;
  height: 120px;
  background-color: rgba(255, 215, 0, 0.85);
  animation: none;
  mix-blend-mode: difference;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* ===================== */
/* Firefox Fallback */
@-moz-document url-prefix() {
  .menu a {
    color: #fff !important;
    transition: none !important;
    will-change: auto !important;
  }

  .menu a:hover {
    color: #FFD700 !important;
  }
}