/* Allgemein */
* {
    padding: 0;
    margin: 0;
    font-family: "Markazi Text", serif;
    font-weight: 400;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
   
}

/* Sektionen */
section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1b1b1b;
    padding: 10px 0;
    z-index: 1000;
}

.navigation-items {
  display: flex;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}
@media (max-width: 768px) {
  .navigation-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 58px;
    right: 20px;
    width: 220px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transform: scale(0.95);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }

  .navigation-items.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .navigation-items a {
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    transition: background 0.3s;
  }

  .navigation-items a:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #111;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: white;
  }

  .menu {
    justify-content: space-between;
    align-items: center;
  }
}

.menu {
    width: auto;;
    margin: 0 10px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 0;
}

.logo {
    display: flex; /* Aktiviert Flexbox für die Logo-Sektion */
    align-items: center; /* Zentriert Logo und Text vertikal */
    gap: 10px; /* Abstand zwischen Icon und Text */
}
.logo h1{
    color: white;
}

.menu .logo a {
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.menu ul {
    display: flex;
    gap: 15px;
}

.menu ul li {
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 1.4rem;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.menu ul li a:hover {
    background: white;
    color: black;
}

/* WILLKOMMEN */
#Start {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('kaufmann-mercantile-a7Woj8W6J0s-.jpg');
    color: white;
    text-align: center;
}

.ContainerWillkommen {
    background: rgba(0, 0, 0, 0.4);
    padding: 50px;
    border-radius: 15px;
}

.ContainerWillkommen h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.ContainerWillkommen h2 {
    font-size: 2.0rem;
    margin-bottom: 30px;
}

.ContainerWillkommen .button-28 {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: black;
    background-color: white;
    border: 2px solid black;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.ContainerWillkommen .button-28:hover {
    background-color: black;
    color: white;
    transform: translateY(-2px);
}

/* ÜBER UNS */
#ueberUns {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('pexels-muffin-2203683.jpg');
    background-size: cover;
    color: white;
    text-align: center;
}

.ÜberUns {
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.6);
    padding: 50px;
    border-radius: 15px;
}

.ÜberUns h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.ÜberUns p {
    font-size: 2.0rem;
    line-height: 1.6;
}

/* LEISTUNGEN */
#Leistungen {
    flex-direction: column;
    text-align: center;
    background-image: url('neatly-manicured-lawn-stretches-modern-wooden-barrier-casting-soft-shadows-warm-glow-peaceful-sunset.jpg');
    background-size: cover;
}

.HeadLeistungen {
    margin-bottom: 30px;
}

.HeadLeistungen h1 {
    word-wrap: break-word;
    font-size: 2.5rem;
    background-color: #1b1b1b;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(30% - 40px);
    max-width: calc(30% - 40px);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}


.card .material-symbols-outlined{
    color: black;
}
.card span {
    font-size: 3rem;
    color: #555;
}

.card h2 {
    word-wrap: break-word;
    margin-top: 20px;
    font-size: 1.7rem;
    color: #333;
    min-height: 60px; /* Setze eine Mindesthöhe für Überschriften */
    display: flex; 
    align-items: center; /* Zentriert den Text vertikal */
    justify-content: center; /* Zentriert den Text horizontal */
    text-align: center; 
}

.card p {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #666;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}



/* KONTAKT */
#Kontakt {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)), url('daniel-watson-8vBpYpTGo90-unsplash\ \(1\).jpg');
    background-size: cover;
    color: white;
    padding: 50px 20px;
  /*  min-height: auto;  Hebt die Mindesthöhe auf 
    display: block; /* Ändert das Layout von Flexbox auf Block 
    justify-content: unset; /* Entfernt zentrierende Ausrichtung
    align-items: unset; /* Hebt die vertikale Zentrierung auf 
    padding: 10px; /* Setzt einen spezifischen Padding-Wert */ 
    
}


.contact-container{

    gap: 5px;
}

.contact-info{
    text-align: center;
    padding: 50px;
    border-radius: 15px;
}

.contact-info h1 {
    font-size: 2.5rem;
}

.contact-info h2 {
    font-size: 1.7rem;
    text-align: center;
}

.contact-info li{
    text-decoration: none;
    font-size: 1.5rem;
    list-style: none;
}

/* Kontaktformular */
.contact-form {
    text-align: center;
    max-width: 60%; /* Maximale Breite des Formulars */
    margin: 0 auto; /* Zentriert das Formular */
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-sizing: border-box; /* Verhindert Breite außerhalb des Containers */
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.5rem;
}

.contact-form button {
    padding: 10px 20px;
    border: none;
    background: white;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1.3rem;
}

.contact-form button:hover {
    background: black;
    color: white;
}

/* Medienabfrage für kleinere Geräte */
@media (max-width: 768px) {
    #Kontakt {
        padding: 30px 15px; /* Weniger Padding für kleinere Bildschirme */
    }
    .contact-info,
    .contact-form {
        flex: 1 1 100%;  /* Beide Elemente erhalten jeweils 100% der Breite */
        max-width: 100%; /* Verhindert Überschreiten der Container-Breite */
        padding: 20px; /* Weniger Padding auf kleinen Bildschirmen */
    }
}

    #Kontakt h1 {
        font-size: 1.8rem; /* Kleinere Schriftgröße */
    }

    .contact-form {
        padding: 20px; /* Weniger Innenabstand */
    }

    .contact-form label {
        font-size: 1.2rem; /* Kleinere Schriftgröße */
    }

  
    

    .contact-form button 


/* Footer */
.footer{
    background-color: black;
}

.site-footer a {
     text-decoration: underline;
     color: white;
}

.site-footer {
    background-color: #1b1b1b;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid #444;
}

.site-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.site-footer .footer-nav {
    display: flex;
    gap: 20px;
}

.site-footer .footer-nav a {
    all: unset; /* entfernt Browser-Standardstyles */
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.site-footer .footer-nav a:hover {
    color: #bbb;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 600px) {
    .site-footer .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .site-footer .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
  section {
    background-attachment: scroll !important;
    background-position: center top;
  }
}

/* Direkter Kontakt Block (über dem Formular) */
.contact-direct {
    max-width: 60%;
    margin: 0 auto 20px auto;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.contact-list li {
    display: grid;
    grid-template-columns: 28px auto 1fr;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
}

.contact-list .material-symbols-outlined {
    font-size: 1.6rem;
    line-height: 1;
    color: white;
}

.contact-list .label {
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
}

.contact-list a {
    color: #fff;
    text-decoration: underline;
    word-break: break-word;
}

.contact-list a:hover,
.contact-list a:focus {
    text-decoration: none;
    outline: none;
}

/* Mobile Anpassung: gleiche Breite wie Formular */
@media (max-width: 768px) {
  .contact-direct {
    max-width: 100%;
    padding: 16px;
  }
  .contact-list li {
    grid-template-columns: 24px auto 1fr;
    font-size: 1.2rem;
  }
}
