/* Farbvariablen */
:root {
  --light-beige: #E4D0BA;
  --brown: #714E3A;
}

/* Grundstil */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Birthstone', sans-serif;
    height: 100%;
    background-color: #ece2d6;
}

/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding: 0 1rem;
    z-index: 1000;
    font-size: 2rem;
    background-color: #ece2d6;
    width: 100%;          
    height: 100px;
}

.navbar a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

/* Alle Links standardmäßig sichtbar auf Desktop */
.navbar > a {
    display: inline-block;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

/* Logo Größe */
.navbar .logo {
    width: 150px;
    height: auto;
}

/* ----------- BURGER BUTTON ----------- */
.burger {
    display: none; /* Desktop: unsichtbar */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 2px;
}
/* HERO */
.contact-hero {
  height: 90vh;
  background: url("../media/contact/Website_mittwoch108.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero h1 {
  font-family: 'Birthstone', cursive;
  font-weight: 400;
  font-size: 15rem;
  color: #6b1f2b; /* Weinrot */
}

/* INTRO */
.contact-intro {
  max-width: 900px;
  margin: 2rem auto;
  text-align: left;
  
}

.contact-intro h2 {
  font-family: 'Birthstone', cursive;
  font-size: 3rem;
  color: #27466A; /* Dunkelblau */
  margin-bottom: 1rem;
  font-weight: 400;
}

.contact-intro p {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
}

/* FORM */
.contact-form-section {
  max-width: 900px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background-color: #714E3A;
  border: none;
  padding: 1rem;
  color: #E4D0BA;
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.3rem;
}

.contact-form textarea {
  min-height: 220px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #E4D0BA;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.3rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Button */
.contact-form button {
  background-color: #714E3A;
  color: #E4D0BA;
  border: none;
  padding: 1rem;
  font-family: 'Alumni Sans', sans-serif;
  cursor: pointer;
  font-size: 1.3rem;
}

.mail-button {
  display: block;
  text-align: center;
  background-color: #714E3A;
  color: #E4D0BA;
  padding: 1rem;
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.mail-button:hover {
  opacity: 0.85;
}




/* =========  FOOTER  ========= */
.footer {
  background-color:  #ece2d6;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 40px; /* Abstand fein steuerbar */
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 1rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-family: 'Birthstone', cursive;
  color: #642226;
}

.footer-nav.left {
  justify-content: flex-start;
}

.footer-nav.right {
  justify-content: flex-end;
}

.footer-nav a {
  text-decoration: none;
  color: var(--red);
  font-size: 1.7rem;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* Social Logos */
.socials {
  display: flex;
  gap: 18px;
}

.socials img {
  width: 88px;
  transition: transform 0.3s ease;
}

.socials a:hover img {
  transform: translateY(-3px);
}

/* Copyright */
.footer .copyright {
  font-family: 'Birthstone', cursive;
  color: var(--red);
  font-size: 1.1rem;
}

/* =========  RESPONSIVE  ========= */

/*Header*/

@media (max-width: 768px) {

    /* Navbar vertikal, linksbündig */
    .navbar {
        flex-direction: column;
        align-items: flex-start; /* alles linksbündig */
        padding: 1rem;
        gap: 0.5rem;
        justify-content: flex-start; /* Burger oben links */
    }

    /* Burger sichtbar */
    .burger {
        display: flex;
        order: -1;       /* zuerst im Flex */
        margin-bottom: 1rem;
        cursor: pointer;
    }

    /* Logo zentriert unter Burger */
    .navbar .logo {
        margin: 0 auto 1rem auto;
        width: 120px;
    }

    /* Alle Links außer Logo ausblenden, wenn Menü geschlossen */
    .navbar > a:not(.logo) {
        display: none;
    }

    /* Menü offen: Links erscheinen alle linksbündig */
    .navbar.menu-open > a {
        display: block !important; /* wichtig: überschreibt display:none */
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        background-color: #ece2d6;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 60vh;
    padding-top: 100px; /* Platz für fixe Navbar */
  }

  .contact-hero h1 {
    font-size: 5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-intro {
    padding: 0 1.5rem;
    text-align: left;
  }

  .contact-intro h2 {
    font-size: 2.2rem;
  }

  .contact-intro p {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .mail-button {
    font-size: 1.2rem;
    padding: 1.2rem;
    border-radius: 6px;
  }
}

@media (max-width: 1024px) {
  .contact-hero h1 {
    font-size: 9rem;
  }
}



/* Footer */
@media (max-width: 768px) {

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center; /* alles zentriert */
        gap: 1rem;
        padding: 1rem;
    }

    /* Footer-Navigation ausblenden */
    .footer-nav {
        display: none;
    }

    /* Social-Icons zentrieren */
    .socials {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    /* Copyright zentriert */
    .footer .copyright {
        text-align: center;
        margin-top: 0.5rem;
    }
}