/* --- GRUNDEINSTELLUNGEN & FARBPALETTE --- */
:root {
  --text-color: #333333;
  --background-color: #ffffff;
  --border-color: #eaeaea;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

/* --- ALLGEMEINE HELFER --- */
.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #222;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
p {
  font-size: 1rem;
}
.intro-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- HEADER & NAVIGATION --- */
.main-header {
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: inline-block;
}
.logo img {
  height: 65px;
  width: auto;
  display: block;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: var(--text-color);
  margin: 0 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.nav-left a:hover,
.nav-right a:hover {
  color: #888;
}
.burger {
  display: none;
}

.mobile-nav {
  display: none;
}

/* --- HERO SEKTION --- */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("meer.jpg");
  background-size: cover;
  background-position: center;
}
.video-background {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: -1;
}
.hero-text {
  color: #ffffff;
}
.hero-text h1 {
  color: #ffffff;
}

/* --- FEATURE GRID (Angebote) --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  text-align: center;
}

/* FIX: Einheitliches Styling für Bild und Video */
.feature-item img,
.feature-item video {
  width: 100%;
  aspect-ratio: 4 / 5; /* Sorgt für einheitliche Höhe */
  object-fit: cover; /* Verhindert Verzerrungen */
  margin-bottom: 1.5rem;
  border-radius: 4px; /* Leichte Abrundung für schöneren Look */
}

.text-button {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 2px;
  transition: color 0.3s, border-bottom-color 0.3s;
}
.text-button:hover {
  color: #888;
  border-bottom-color: #888;
}

/* --- GALERIE --- */
.gallery-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- KONTAKT SEKTION & FORMULAR --- */
.contact-section {
  background-color: #f9f9f9;
  padding: 6rem 2rem;
}
.contact-wrapper-new {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.contact-info-new,
.contact-form-new {
  flex: 1;
  min-width: 300px;
}
.contact-info-new h3 {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

/* FIX: Korrekte Ausrichtung für Instagram Icon und Text */
.social-links {
  margin-top: 1.5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #888;
}
.social-links a i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}
.social-links a span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
}

.contact-form-new input,
.contact-form-new textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  font-family: var(--font-body);
  font-size: 1rem;
}
.submit-button {
  width: 100%;
  padding: 1rem;
  background-color: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  transition: background-color 0.3s;
}
.submit-button:hover {
  background-color: #555;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
}
.main-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

/* --- NEU: Styling für Footer Links & Rechtstexte-Seiten --- */
.footer-links {
  margin-bottom: 1.5rem;
  text-transform: none; /* Macht den Text wieder normal */
  letter-spacing: normal;
}
.footer-links a {
  color: #888;
  text-decoration: none;
  margin: 0 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.footer-links a:hover {
  text-decoration: underline;
}

.legal-page {
  text-align: left; /* Richtet den Text linksbündig aus */
}
.legal-page h1 {
  text-align: center;
  margin-bottom: 3rem;
}
.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
/* --- ENDE DER NEUEN STILE --- */

/* --- MOBIL-ANSICHT (Responsive) --- */
@media (max-width: 900px) {
  .hero {
    background-image: none;
  }
  .video-background {
    display: block;
  }
  .hero::after {
    background-color: rgba(0, 0, 0, 0.4);
  }
  .nav-left,
  .nav-right {
    display: none;
  }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    cursor: pointer;
  }
  .burger .line {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
  }

  /* FIX: Korrekte Burger-Animation für 3 Linien */
  .burger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.active .line:nth-child(2) {
    opacity: 0;
  }
  .burger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
  }
  .mobile-nav.active {
    transform: translateY(0);
  }
  .mobile-nav a {
    padding: 1.5rem 0;
    text-decoration: none;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .content-section {
    padding: 4rem 1.5rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
