/* ===================== */
/* Reset & Grundfarben */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #000;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
}

/* Links & Buttons */
a, button {
  outline: none;
  text-decoration: none;
  color: inherit;
}

a:focus, button:focus {
  outline: none;
  box-shadow: none;
}

/* ===================== */
/* 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;
  padding: 6px 4px;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 51;
}

.menu a:hover {
  color: #000;
  transform: scale(1.02);
}

/* ===================== */
/* Logo */
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ===================== */
/* Hero Text Werkschau */
.hero-text {
  position: absolute;
  top: 50%;
  left: 140px;
  max-width: 900px;
  color: #fff;
  z-index: 10;
}

.hero-text h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 4rem;
  letter-spacing: -1px;
  line-height: 1.2;
  transition: color 0.3s ease, transform 0.2s ease;
}.hero-arbeiten {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Text links, Bilder rechts */
  min-height: 100vh;
  gap: 60px;
  padding: 6rem 6%;
  position: relative;
}

.hero-text_oben {
  position: relative;
  z-index: 10;
  max-width: 900px;
  color: #fff;
}

.hero-text_oben h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 3rem;
  line-height: 1.2;
}

.hero-text_oben h1 .yellow { color: #FFD700; font-style: italic; }
.hero-text_oben h1 .gray   { color: #555; font-style: italic; }

.hero-text_oben p {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  margin-top: 1rem;
}

.hero-text_oben .quote {
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: #f5c400;
  margin-bottom: 1.5rem;
}

/* ===================== */
/* Kategorien rechts */
.kategorien-arbeiten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
}

.kategorie-item {
  position: relative;
  cursor: pointer;
  text-align: center;
}

.kategorie-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.kategorie-item h3 {
  margin-top: 10px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}

.kategorie-item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.kategorie-item:hover h3 {
  color: #FFD700;
}

/* ===================== */
/* Preview Overlay über Text */
.preview-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 20; /* über Text */
}

.hero-text_oben.preview-active h1,
.hero-text_oben.preview-active p {
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

/* ===================== */
/* Kontaktformular */
.hero-form {
  width: 100%;
  max-width: 420px;
  padding: 30px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border: 3px solid #FFD700;
  border-radius: 32px;
}

.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form textarea {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 12px;
  padding: 6px;
  color: #fff;
  background: rgba(0,0,0,0.3);
  border: 1px solid #FFD700;
  border-radius: 2px;
  width: 100%;
  box-sizing: border-box;
}

.hero-form textarea {
  resize: none;
  line-height: 1.2;
}

.hero-form .checkbox-row {
  display: grid;
  grid-template-columns: 15px 1fr;
  align-items: flex-start;
  gap: 4px;
  font-size: 10px;
  color: #fff;
  margin-top: 6px;
}

.hero-form .checkbox-row input[type="checkbox"] {
  width: 12px;
  height: 12px;
  accent-color: #FFD700;
  cursor: pointer;
}

.hero-form .checkbox-row label a {
  color: #FFD700;
  text-decoration: underline;
}

.hero-form .checkbox-row label a:hover {
  color: #fff;
}

.hero-form button {
  align-self: flex-end;
  background: none;
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-form button:hover {
  background: #FFD700;
  color: #000;
}

/* Unsichtbares Honeypot-Feld */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ===================== */
/* 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; }

/* ===================== */
/* Custom 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; }
}

/* ===================== */
/* Responsive */
@media (max-width: 768px) {

  .hero-arbeiten {
    grid-template-columns: 1fr;
    padding: 3rem 2%;
  }

  .kategorien-arbeiten {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .kategorie-item img {
    height: 150px;
  }

  .hero-text_oben h1 { font-size: 2rem; }
  .hero-text_oben p  { font-size: 1rem; }

  .hero-form input[type="text"],
  .hero-form input[type="email"],
  .hero-form textarea {
    font-size: 12px;
    padding: 6px;
  }

  .hero-form .checkbox-row {
    grid-template-columns: 18px 1fr;
    font-size: 10px;
  }
}

/* ===================== */
/* Firefox Men-Hover Fallback */
@-moz-document url-prefix() {
  .menu a {
    color: #fff !important;
    transition: none !important;
    will-change: auto !important;
  }
  .menu a:hover {
    color: #000 !important;
  }
}