body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.main-header {
    background-color: black;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative; /* wichtig für das mobile Menü */
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 150px;
    margin-right: 20px;
}

.company-name {
    font-size: 1.8em;
    color: red;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: red;
}

/* HERO bleibt wie es ist */
.hero {
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* 🔽 Responsive Styles */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 20px;
        background-color: black;
        border: 1px solid #444;
        padding: 10px 20px;
        display: none;
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}

.hero .hero-content p:last-child { /* Selektiert das letzte <p>-Element im .hero-content */
    font-size: 1.2em;
    margin-bottom: 15px;
    text-shadow: 4px 3px 6px black; /* Schwarzer Schatten */
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 4px 0px 6px black; /* Schwarzer Schatten: horizontaler Versatz, vertikaler Versatz, Weichzeichner, Farbe */
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.phone-number {
    font-size: 1.8em;
    margin-top: 20px;
	text-shadow: 3px 0px 6px black; /* Gleicher Schatten wie oben */
display: inline-block; /* Sorgt dafür, dass das Element nur so breit wie sein Inhalt ist */
}

.phone-number a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
	text-shadow: inherit; /* Schatten vom übergeordneten <p>-Element erben */
}

.phone-number:hover {
  transform: scale(1.3); /* Leicht vergrößern */
  transition: transform 0.3s ease-in-out;
}

.phone-number i {
    margin-right: 10px;
}

.leistungen-uebersicht {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.leistung {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.2s ease-in-out;
}

.leistung:hover {
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.3);
    transform: translateY(-5px);
	
}

.leistung i {
    font-size: 2em;
    color: red;
    margin-bottom: 15px;
}

.leistung h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.goldschmitt-partner {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Übergang für Farbe und Schatten */
}

.goldschmitt-partner:hover {
    background-color: #eee; /* Eine etwas hellere Hintergrundfarbe beim Hover */
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3); /* Roter Schatten beim Hover */
}

.goldschmitt-content {
    max-width: 800px;
    margin: 0 auto;
}

.goldschmitt-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

.goldschmitt-content h2 {
    color: red;
    margin-bottom: 15px;
}

.goldschmitt-content a {
    color: #ccc; /* Hellgrau */
    text-decoration: underline; /* Optional: Unterstreichung beibehalten */
    transition: color 0.3s ease; /* Optional: Sanfter Übergang bei Hover */
}

.goldschmitt-content a:hover {
    color: white; /* Farbe beim Hover (können Sie anpassen) */
}

.goldschmitt-content p {
    font-size: 1.1em;
	color: white;
}

.galerie-bereich {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.galerie-bild {
    width: 80%;
    height: auto;
	
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease-in-out; /* Übergang für Schatten und Transformation */
}

.galerie-bild:hover {
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.3); /* Intensiverer roter Schatten */
    
}

.kontakt-bereich {
    padding: 60px 0px 0 0px;
    text-align: center;
    background-color: #f9f9f9;
}

.kontakt-bereich h2 {
    color: red;
    margin-bottom: 20px;
}

.kontakt-bereich p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.big-phone {
    font-size: 2em;
    margin-top: 20px;
}

.phone-numberbottom.big-phone a {
    color: #37383b; /* Setzt die Textfarbe auf Schwarz */
    text-decoration: none; /* Entfernt die Unterstreichung (optional) */
    /* Alle anderen Stile, die Sie für diesen Link haben möchten */
}

.phone-numberbottom.big-phone a:hover {
    color: red; /* Farbe beim Hover (behalten oder ändern Sie dies nach Bedarf) */
    text-decoration: none; /* Unterstreichung beim Hover (optional) */
}

.phone-numberbottom {
    font-size: 1.8em;
    margin-top: 20px;
	
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

/* Animationen */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Initialzustand (wichtig!) */
.animated-fade-in,
.animated-slide-in,
.animated-zoom-in {
    opacity: 0;
}

.animated-slide-in {
    transform: translateX(-50px);
}

.animated-zoom-in {
    transform: scale(0.9);
}

/* Animationen anwenden, wenn die Klasse 'animate' vorhanden ist */
.animated-fade-in.animate {
    animation: fadeIn 0.8s ease-out forwards;
}

.animated-slide-in.animate {
    animation: slideIn 1s ease-out forwards;
}

.animated-zoom-in.animate {
    animation: zoomIn 0.6s ease-out forwards;
}

.animated-phone.animate a {
    animation: pulse 1.5s infinite alternate;
}
.logo-background {
    background-color: #222; /* Dunkelgrau oder eine andere dunkle Farbe */
    padding: 10px; /* Optional: Innenabstand um das Logo */
    border-radius: 5px; /* Optional: Abgerundete Ecken */
    display: inline-block; /* Sorgt dafür, dass der Hintergrund nur so breit wie das Logo ist */
    margin-bottom: 15px; /* Abstand zum Text darunter */
}

.goldschmitt-logo {
    max-height: 80px; /* Behalten Sie die maximale Höhe bei */
    width: auto; /* Automatische Breite, um das Seitenverhältnis zu erhalten */
    display: block; /* Verhindert unnötigen Abstand unter dem Bild */
    margin: 0 auto; /* Zentriert das Logo innerhalb des Hintergrunds */
}
.cookie-banner-animated {
    position: fixed;
    bottom: 100px; /* Abstand vom unteren Rand */
    left: 50%;
    transform: translateX(-50%) translateY(20px); /* Zentrieren und initial leicht nach unten versetzt */
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    border-radius: 8px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    width: 300px; /* Quadratischer machen */
    display: none; /* Standardmäßig ausgeblendet */
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* Animation für Einblenden und Verschieben */
}

.cookie-banner-animated.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* Endposition ohne Versatz */
}

.cookie-banner-animated a {
    color: #fdd835;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px; /* Abstand zwischen den Buttons */
    margin-top: 15px; /* Abstand zum Text */
    justify-content: center; /* Zentriert die Buttons horizontal */
}

.cookie-banner-animated button {
    background-color: #fdd835;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.cookie-banner-animated button:hover {
    background-color: #e6be00;
}

/* Spezifisches Styling für den "Nicht akzeptieren"-Button */
#reject-cookies-animated {
    background-color: #dc3545; /* Rote Farbe für Ablehnen */
    color: white;
}

#reject-cookies-animated:hover {
    background-color: #c82333;
}

/* Anpassung für den "Akzeptieren"-Button, falls gewünscht */
#accept-cookies-animated {
    /* Hier kannst du spezifische Stile für den Akzeptieren-Button hinzufügen oder die Standardstile beibehalten */
}

    .content-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
	.google-map {
        margin-top: 20px; /* Fügt etwas Abstand zwischen Text und Karte ein */
    }
    .google-map iframe {
        width: 100%; /* Sorgt dafür, dass die Karte sich an die Breite des Containers anpasst */
        height: 300px; /* Legt eine Standardhöhe für die Karte fest */
    }
	
.site-footer {
    background-color: #111;
    color: #999;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.85em;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.site-footer a {
    color: #999;
    text-decoration: none;
}

.site-footer a:hover {
    color: red;
    text-decoration: underline;
}

.mini-logo {
    margin-top: 10px;
    opacity: 0.6;
    font-size: 0.75em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: black;
    color: white;
    border: none;
    outline: none;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: red;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#kontaktFormular {
  max-width: 95%; /* Nutzt einen größeren Teil der Bildschirmbreite */
  margin: 20px auto;
  padding: 20px;
  border: 3px solid #ccc;
  border-radius: 50px;
  background-color: #f1f1f1;
  text-align: center;
}

.form-gruppe {
  display: flex; /* Aktiviert Flexbox für die Gruppe */
  align-items: center; /* Vertikal zentrieren */
  margin-bottom: 10px; /* Reduzierter Abstand */
}

.form-gruppe label {
  flex-basis: 30%; /* Nimmt einen Teil der Breite für das Label */
  margin-right: 10px;
  text-align: left; /* Linksbündiger Text im Label */
}

.form-gruppe input[type="text"],
.form-gruppe input[type="email"],
.form-gruppe input[type="tel"],
.form-gruppe input[type="number"],
.form-gruppe textarea,
.form-gruppe input[type="file"] {
  flex-grow: 1; /* Lässt das Eingabefeld den restlichen Platz einnehmen */
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-sizing: border-box;
}

.form-gruppe textarea {
  flex-basis: 100%; /* Nimmt die volle Breite */
  resize: vertical;
  margin-top: 5px; /* Etwas Abstand zum Label */
}

.form-gruppe input[type="file"] {
  flex-grow: 1;
  margin-top: 5px;
}

.captcha-container {
  margin-bottom: 15px;
  display: inline-block; /* Stelle sicher, dass dies vorhanden ist */
}

.datenschutz-gruppe {
  display: flex;
  align-items: center; /* Sollte bereits vorhanden sein */
  justify-content: center; /* Füge diese Zeile hinzu */
}

.datenschutz-gruppe input[type="checkbox"] {
  margin-right: 5px; /* Sollte bereits vorhanden sein */
}

.absende-button {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
  width: 10%; /* Button über die volle Breite */
}

.absende-button:hover {
  background-color: #0056b3;
}

.bestaetigung-meldung {
  margin-top: 20px;
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 3px;
  text-align: center;
}

.form-hinweis {
    display: block;
    font-size: 0.8em;
    color: #777;
    margin-top: 3px;
}

.inline-label {
    margin-left: 5px;
    margin-right: 5px;
}


.anrufzeit-gruppe {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen dem Hauptlabel und den Feldern */
}

.anrufzeit-feld {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Erlaubt den Feldern zu wachsen */
}

.anrufzeit-feld input[type="text"] {
    flex-grow: 1;
}

/* Optional: Für kleinere Bildschirme wieder untereinander */
@media (max-width: 600px) {
    .anrufzeit-gruppe {
        flex-direction: column;
        align-items: flex-start;
    }

    .anrufzeit-feld {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .anrufzeit-feld label {
        width: auto;
        margin-bottom: 2px;
        margin-right: 0;
    }

    .anrufzeit-feld input[type="text"] {
        width: 100%;
    }
}


/* Mobile Optimierung */
@media (max-width: 600px) {
  #kontaktFormular {
    margin: 10px;
    padding: 15px;
  }

  .form-gruppe {
    flex-direction: column; /* Stapelt Label und Feld untereinander auf kleinen Bildschirmen */
    align-items: flex-start;
  }

  .form-gruppe label {
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
  }

  .form-gruppe input[type="text"],
  .form-gruppe input[type="email"],
  .form-gruppe input[type="tel"],
  .form-gruppe input[type="number"],
  .form-gruppe textarea,
  .form-gruppe input[type="file"] {
    width: calc(100% - 12px);
  }

  .absende-button {
    width: 100%;
  }
}

.laufschrift-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0; /* Optional: etwas Abstand oben und unten */
  background-color: rgba(0, 0, 0, 0.0); /* Fast transparent schwarz (Alpha-Wert: 0.1) */
  color: #ff0000; /* Optionale Textfarbe */
}

.laufschrift-text {
  display: inline-block;
  padding-left: 100%; /* Startet außerhalb des sichtbaren Bereichs */
  animation: laufschrift 15s linear infinite; /* Anpassen der Geschwindigkeit durch Änderung von 15s */
}

@keyframes laufschrift {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.pflicht-hinweis {
  font-size: 0.9em;
  color: #666;
}

.pflicht-hinweis .sternchen {
  color: red;
  font-weight: bold;
}
.sternchen {
  color: red;
  font-weight: bold;
}
