/* ===== Reset & Basis ===== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f4f4;
  color: #111;
}

/* ===== HERO ===== */

/* =========================
   HERO (Stabile Endversion)
========================= */

.hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("hero_neu.jpg") no-repeat center center;
  background-size: cover;
}

/* Desktop Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0)
  );
}

.hero-box {
  max-width: 760px;
  width: 100%;
  margin-bottom: 4vh;
  padding: 1.5rem 1.7rem;
  background: rgba(28, 24, 20, 0.65);
  color: #f3f3f3;
  border-radius: 14px;
  text-align: center;
}

.hero-box h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #e6c89a;
}

.hero-box p {
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  line-height: 1.45;
}

.hero-box strong {
  color: #f1d7a6;
}

.hero-box small {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  opacity: 0.85;
}
.hero-box a:active {
  color: white !important;          /* oder #ffffff */
  text-decoration: underline;       /* optional: Unterstreichung für bessere Erkennbarkeit */
}

/* =========================
   MOBILE KORREKTUR
========================= */

@media (max-width: 768px) {
  .hero-image {
    background-size: 130% auto;
    background-position: center 25%;
  }

  .hero-box {
    margin-bottom: 3vh;
    padding: 1.3rem 1.3rem;
  }
}


/* ===== FORM ===== */

.form-section {
  background: #fff;
  padding: 3rem 1rem;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
}

.form-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

#leadForm {
  max-width: 520px;
  margin: 0 auto;
}

#leadForm input,
#leadForm textarea,
#leadForm button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
}

#leadForm input,
#leadForm textarea {
  border: 1px solid #aaa;
}

#leadForm textarea {
  resize: vertical;
  min-height: 90px;
}

#leadForm button {
  background: #b60000;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

#leadForm button:hover {
  background: #9f0000;
}

/* ===== Datenschutz ===== */

.privacy-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.consent-wrapper {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.consent {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.consent input {
  width: 18px;
  height: 18px;
}

/* ===== FOOTER ===== */

.site-footer {
  background: #111;
  color: #eee;
  padding: 1.5rem 1rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.2rem;
}

.footer-nav a {
  color: #eee;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
