/* ===== Allgemein ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Body füllt die volle Höhe */
  background-color: #f8f9fa; /* helles Grau */
  
}

/* ==== Nur auf contact.html und about.html: Kein Border unter dem Service-Block ==== */
.without_border .service-row1 {
  border-bottom: none !important;
}



main {
  flex: 1; /* Hauptinhalt dehnt sich aus */
}


/* ===== Header ===== */
.header {
  position: absolute; /* Header über Bild */
  top: -24px;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  z-index: 10;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  bottom: 0; /* direkt unter Header */
  left: 0;
  z-index: 11;
  top: 180px; /* Linie 80px unterhalb des Header-Anfangs */
}


.logo-img {
  width: 250px; /* gewünschte Breite */
  height: auto; /* Höhe passt sich an */
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  
}

.nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s ease;
  color: #ffffff
}

.nav a:hover {
  color: #0f172a;
}

/* ===== Hero / Banner ===== */
.hero {
  position: relative;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  height: 75vh; /* nur ein Drittel der Seitenhöhe */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Text vertikal zentrieren */
  overflow: hidden;
}


.hero_about {
  position: relative;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  height: 35vh; /* nur ein Drittel der Seitenhöhe */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Text vertikal zentrieren */
  overflow: hidden;
}


.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 6; /* über Overlay, unter Header */
 
}

.section-title .banner_title {
  font-size: 7rem;
  font-weight: 900;
  margin: 0;
  margin-top: 12rem;
}

.section-title .banner_subtitle {
  font-size: 2rem;
  margin-top: 0.5rem;
}



.btn-primary {
  background: #0f172a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1a1a1a;
}

.btn-outline {
  border: 1px solid #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  
  
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 5;
}

/* ===== Custom Cursor ===== */
#cursor, #follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  z-index: 10000;
}

/* Kleiner Punkt */
#cursor {
  width: 20px;
  height: 20px;
  background-color: #d1d1d6; /* dunkler Punkt */
}

/* Großer Follower-Kreis */
#follower {
  width: 75px;
  height: 75px;
  border: 2px solid #d1d1d6; /* Farbe wie Punkt */
  opacity: 0.2; /* transparent */
  background-color: #d1d1d6;
  
}

/* Footer */
.footer {
  background-color: #1f2937; /* dunkelgrau */
  color: #ffffff;
  padding: 1.5rem 0; /* größerer Footer */
  border-top: 0.25px solid #f1f5f9;
}


.footer-inner {
  width: 100%;
  background-color: #1f2937;

}

.footer-content {
  display: flex;
  justify-content: space-between; /* links/rechts ausrichten */
  align-items: center;            /* vertikal zentrieren */
  width: 100%;                    /* volle Breite */
  margin: 0;                      /* kein auto-Zentrieren */
  padding: 0 1rem;                /* optional kleiner Innenabstand */
  flex-wrap: nowrap;
  box-sizing: border-box;
}


.footer-left, .footer-right {
  margin: 0;                  /* Standard-Margin entfernen */
}

/* ===== Services ===== */


.services {
  position: relative;
  background: linear-gradient(10deg, #0f172a 0%, #00d084 200%);
  padding: 6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  color: #f1f5f9;
  overflow: hidden;


}



/* Sanfter Glanz / Overlay passend zum Verlauf*/
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%; 
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.15) 100%);
  pointer-events: none;
  z-index: 1;
  transform: rotate(-10deg);
} 


/* Inhalt über Overlay */
.services > * {
  position: relative;
  z-index: 2;
}



.service-row1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem; /* mehr Abstand zwischen Icon und Text */
  padding: 0.1rem 0 5rem 0;
  border-bottom: 1px solid #f1f5f9;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%; 
  

}

.service-row2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem; /* mehr Abstand zwischen Icon und Text */
  padding: 0.1rem 0;
  
  max-width: 1000px;

  width: 100%; 

}




.service-row:last-child {
  border-bottom: none;
}



/* Icon links neben Text */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  font-size: 5rem !important; 
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}






/* Hover-Effekt */
.service-row1:hover .material-symbols-outlined,
.service-row2:hover .material-symbols-outlined {
  color: #f1f5f9;
  transform: scale(1.2);
  transition: transform 0.3s ease, filter 0.3s ease;
  
  
}


/* Textblock */
.service-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;

  
}

.service-text h3 {
  
  font-size: 2.5rem;      /* ähnlich wie Hero, aber etwas kleiner */
  font-weight: 800;     /* fett, harmonisch mit Hero */
  margin-bottom: 1rem;
  color: #f1f5f9;       /* helle Schrift passend zum Hintergrund */
  max-width: 600px;
}

.service-text p {
  flex: 1;
  font-size: 1.25rem;   /* etwas größer für bessere Lesbarkeit */
  font-weight: 400;     /* normal, elegant */
  line-height: 1.8;     /* mehr Luft zwischen Zeilen */
  color: #e0f2f1;       /* leicht hellere Farbe für Kontrast */
  max-width: 40rem;
}




/* ==== Kontaktformular-Stil ==== */
.contact-form-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 3rem 2rem;
  border-radius: 16px;
  color: #f1f5f9;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.contact-form-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-align: center;
}

.contact-form-section p {
  text-align: center;
  color: #e0f2f1;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #dbeafe;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00d084;
  background: rgba(255, 255, 255, 0.15);
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.form-privacy a {
  color: #00d084;
  text-decoration: underline;
}

.btn-submit {
  background: linear-gradient(90deg, #00d084 0%, #00b876 100%);
  color: #0f172a;
  border: none;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: linear-gradient(90deg, #00b876 0%, #00d084 100%);
  transform: scale(1.03);
}

.btn-contact {
  display: inline-block;
  text-align: center;
  width: 100%;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Links in der Datenschutzerklärung */
.contact-form-section a,
.privacy-content a {
  color: #f1f5f9;       /* gleiche Farbe wie normaler Text */
  text-decoration: underline;  /* optional, sichtbar klickbar */
  transition: color 0.2s ease;
}

.contact-form-section a:hover,
.privacy-content a:hover {
  color: lightgrey;       /* leicht helleres Weiß beim Hover */
}

/* Für fade-out / fade-in */
.cursor-hidden {
  opacity: 0 !important;     /* blendet das Element aus */
  transition: opacity 0.25s ease;
}


.form-message {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

/* Erfolgsmeldung */
.form-message.success {
  background-color: rgba(16, 185, 129, 0.2); /* smaragdgrün, leicht transparent */
  color: #10b981; /* grün passend zum Stil */
  border: 1px solid #10b981;
}

/* Fehlermeldung */
.form-message.error {
  background-color: rgba(239, 68, 68, 0.2); /* rot, leicht transparent */
  color: #ef4444; /* rot */
  border: 1px solid #ef4444;
}
