:root {
  --rot: #e63946;
  --gruen: #2a9d8f;
  --hell: #fdfbf6;
  --dunkel: #1f2f3a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--hell);
  color: var(--dunkel);
  line-height: 1.8;

  display: flex;
  flex-direction: column;
}

.navbar {
  background: white;
  border-bottom: 3px solid var(--rot);
  position: sticky;
  top: 0;
  z-index: 1000; /* ⬅️ WICHTIG */
}


.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--rot);
  text-decoration: none;

  white-space: nowrap;      /* ⬅️ VERHINDERT ZEILENUMBRUCH */
  flex-shrink: 0;           /* ⬅️ LOGO DARF NICHT SCHRUMPFEN */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dunkel);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--gruen);
  color: #fff;
}

.hero {
  position: relative;
  height: 65vh;
  z-index: 1;
}

.hero.small {
  height: 45vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 30px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  margin-bottom: 15px;
}

.container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 30px;
  flex: 1;
}

.section h2 {
  font-family: 'Cinzel', serif;
  color: var(--rot);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.btn {
  margin-top: 25px;
  background: var(--rot);
  color: #fff;
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
}

/* ============================= */
/* KONTAKT – FORMULAR */
/* ============================= */

.contact-section {
  max-width: 720px;
  margin: 0 auto;
}

.contact-intro {
  max-width: 520px;
  margin-bottom: 40px;
  color: #555;
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group span {
  color: var(--rot);
}

.contact-form input,
.contact-form textarea {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #cfcfcf;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rot);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.btn-full {
  width: 100%;
  margin-top: 20px;
}


.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.site-footer {
  background: #1f2f3a;
  color: #cfd8dc;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: #cfd8dc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links .divider {
  opacity: 0.5;
}

/* Responsive Footer */
@media (max-width: 900px) {

  .nav-links {
    z-index: 999;
  }

}

  
/* ============================= */
/* MOBILE OPTIMIERUNG */
/* ============================= */

@media (max-width: 1100px) {

  /* Logo kleiner & einzeilig */
  .logo {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-right: 80px;
  }

  /* Navigation kompakter */
  .nav-container {
    padding: 14px 20px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .nav-links a {
    padding: 8px 12px;
  }

  /* Hero */
  .hero {
    height: 55vh;
  }

  .hero-content {
    padding: 20px;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Button */
  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* Inhalt */
  .container {
    padding: 0 20px;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .section p {
    font-size: 1rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
/* ============================= */
/* MOBILE NAVIGATION */
/* ============================= */

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dunkel);

  position: relative;
  z-index: 1001; /* ⬅️ WICHTIG */
}

/* ============================= */
/* MOBILE NAVIGATION – CLEAN */
/* ============================= */

@media (max-width: 1024px) {

  .menu-toggle {
    display: block;
    font-size: 1.9rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    border-bottom: 3px solid var(--rot);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 30px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-links a.active {
    background: var(--gruen);
    color: #ffffff;
  }
}
