body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/*Header*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.header-holder {
    background-color: #1a1a1a; /* Dunkler Hintergrund */
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    padding: 0 20px;
    height: 50px; /* Erhöhte Höhe */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 20px;
    margin: 10px 5px 0 5px;

}

.language-switcher {
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #333;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}

.language-switcher a {
    color: #bbb;
    text-decoration: none;
    margin: 0 5px;
    cursor: pointer;
    transition: color 0.3s;
}

.language-switcher a:hover {
    color: #fff;
}

.language-switcher a.active {
    color: red;
    font-weight: bold;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

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

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

nav ul li a:hover {
    color: #ff6b6b;
}

nav ul li::after {
    content: " +";
    color: #888;
    font-size: 0.8em;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.9em;
    color: white;
}

.contact-info span {
    font-weight: bold;
}

.contact-info span.languages {
    color: #888;
    cursor: pointer;
}

.contact-info span.languages:hover {
    color: #ff6b6b;
}





/*Section Hero*/
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: radial-gradient(circle, rgba(35, 35, 40, 1) 0%, rgba(20, 20, 25, 1) 60%, rgba(10, 10, 15, 1) 100%);
    color: white;
    height: 83vh;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5), inset 0 0 100px rgba(12, 12, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    gap: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.062) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.02) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    opacity: 0.1;
    z-index: 1;
}

.hero-text, .hero-image {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 5px;
    font-weight: 700;
}

.hero-text h3 {
 	margin-top: 0px;
  	font-size: 0.75rem;
}

.hero-text h1 span {
    color: #ff6b6b;
}

.hero-text p {
    font-size: 1.2em;
    margin: 20px 0;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-container textarea{
    font-family: Arial, sans-serif;
}

.form-container h2 {
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 10px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
}

form input, form textarea {
    background: #fff;
    border: 1px solid #ccc;
}

form textarea {
    min-height: 100px;
}

form button {
    background: #ff6b6b;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background: #e05555;
}

.hero-image img {
    max-width: 470px;
    border-radius: 10px;
    transform: scale(1.1) scaleX(-1);
  	margin-left: 50px;
}





/* Expertise Section */
.expertise {
    background-color: #f9f9f9;
    text-align: center;
    /*height: 100vh;*/
    align-items: center;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin-bottom: 30px;
}

.expertise-holder {
    width: 100%;
}

.expertise h2 {
    font-size: 4em;
    margin-bottom: 30px;
}

.expertise h2 span {
    color: #ff6b6b;
}

.expertise-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    flex: 1 1 30%;
    max-width: 500px;
    height: auto;
    overflow: hidden;
 	margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 800px;
    justify-content: space-between;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    height: 60%;
    object-fit: cover;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.9em;
    color: #333;
}

.card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.card button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
}

.card button:hover {
    background-color: #e05555;
}


/* About Section */
#about {
    padding: 50px 20px;
    background-color: #fff;
    color: #333;
    text-align: center;
    margin: 50px 0 50px 0;
}

.section-title {
    font-size: 4em; 
    text-align: center; 
    color: #333; 
    margin: 0 0 30px 0;
}

.section-title span {
    color: #ff6b6b;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.about-image img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.about-text {
    max-width: 600px;
    text-align: left;
    height: auto;
}

.about-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #e05555;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat-card {
    background-color: #f4f4f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 300px;
    height: 100px;    
}

.stat-card h3 {
    font-size: 30px;
    color: #ff6b6b;
    margin-bottom: 10px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.stat-card p {
    font-size: 1em;
    color: #666;
    margin: 0;
}


/* Kontakt Section */
#contact {
    position: relative;
    padding: 50px 20px;
    color: white;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hintergrundbild stylen */
.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#contact::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Formular-Styling */
.contact-form-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    text-align: center;
}


.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.contact-form-container h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-form-container h2 span {
    color: #ff6b6b;
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-container label {
    font-size: 0.9em;
    font-weight: bold;
}

.contact-form-container input,
.contact-form-container textarea {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-container textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form-container button {
    background-color: #ff6b6b;
    color: white;
    font-size: 1em;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form-container button:hover {
    background-color: #e05555;
}

.form-checkbox{
    display: flex;
    flex-direction: row;
}

.form-checkbox input{
    width: 20px;
}

.contact-form-container h3{
    margin: 0;
    text-align: left;
}

.contact-form-container textarea{
    font-family: Arial, sans-serif;
}

/*Footer*/

footer {
    text-align: center;
    padding: 10px;
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-form-container a{
    color: #e05555;
    text-decoration: underline;
}

.FooterDaten{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-right: 20px;
}

.FooterDaten a{
	text-decoration: none;
  	color: white;
  	align-content: center;
}

.contact h2 span {
 	 color: #ff6b6b;
}

.hero-image {
    position: relative; /* Wichtig, damit das Logo relativ dazu positioniert wird */
}

.hero-logo {
    position: absolute;
    bottom: 10px; /* Abstand nach unten */
    left: 10px; /* Abstand nach links */
    width: 80px; /* Standardgröße */
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-logo-bbh {
    position: absolute;
    bottom: 20px;
    right: 50px;
    width: 250px;
    height: auto;
}

.hero-logo-bbh img {
    width: 100%;
    height: auto;
}

/* --------------------- */
/* Responsive Media Queries */
/* --------------------- */

/* Für Bildschirme bis 1024px */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    gap: 40px;
  }
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
  .hero-image {
    margin: 0 auto;
    position: relative;
  }
  .hero-image img {
    max-width: 100%;
    margin-left: 0;
  }
  .hero-logo-bbh {
    width: 200px;
    bottom: 10px;
    right: 20px;
  }
  nav ul {
    gap: 15px;
  }
  .logo {
    font-size: 1em;
  }
  .hero-image {
    display: none;
  }
  .form-container {
    margin-bottom: 70px;
  }
  .expertise-container {
    display: flex;
    flex-direction: column; 
    gap: 20px;            
    align-items: center;  
  }
}

/* Für Bildschirme bis 768px (kleinere Tablets und größere Smartphones) */
@media (max-width: 768px) {
  .header-holder {
    padding: 0 10px;
  }
  
  .hero {
    flex-direction: column; 
    gap: 20px;           
    padding: 20px;       
    height: auto;       
  }

  .hero-text {
    max-width: 100%;     
    text-align: center;  
    margin: 0 auto;
  }
  
  .form-container {
    padding: 15px;
  }
  
  .expertise-container {
    display: flex;
    flex-direction: column; 
    gap: 20px;            
    align-items: center;  
  }
  .form-container {
    margin-bottom: 50px;
  }
  
  .expertise h2 {
    font-size: 3em;
  }
  
  .card {
    flex: 1 1 90%;
    max-width: 90%;
    padding: 20px 20px 30px 20px;
    height: auto;
    overflow: visible;
  }
  
  .stat-card h3 {
    font-size: 24px;
  }
  
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  
  .about-text {
    text-align: center;
  }
  
  .contact-form-container {
    max-width: 90%;
  }
  
  .FooterDaten {
    flex-direction: column;
    gap: 10px;
  }
  
   .hero-logo-bbh {
    width: 150px;      
    bottom: 5px;
    right: 10px;
  }
  
   .hero-image img {
    transform: none;     
    margin-left: 0;      
    width: 90%;       
    height: auto;        
    display: block;      
    margin: 0 auto;      
  }
  
  nav ul {
    display: none;
  }
  .hero-image {
    display: none;
  }
}

/* Für Smartphones (bis 480px) */
@media (max-width: 480px) {
  header{
    box-sizing: border-box;
	max-width: 100vw;
    margin: 10px 0 0 0; 
  }
  
  .header-holder {
    margin: 5px auto 0; /* Zentriert horizontal */
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .language-switcher {
    font-size: 14px;
    padding: 5px;
  }
  .hero-text h1 {
    font-size: 2em;
    margin-top: 50px;

  }
  .hero-text p {
    font-size: 0.9em;
  }
  .form-container {
    padding: 10px 10px 20px 10px;
    margin-bottom: 50px;
  }
  .form-container h2 {
    margin-top: 0;
  }
  .expertise h2 {
    font-size: 2.5em;
  }
  .card {
    height: auto;
  }
  
  .stat-card h3 {
    font-size: 20px;
  }
  
  .about-container {
    padding: 10px;
  }
  .contact-form-container {
    padding: 20px;
  }
  footer {
    flex-direction: column;
    gap: 10px;
  }
  .hero-text h4 {
  	font-size: 0.75em;
    margin: 0;
    padding: 0;
    font-weight: 300;
  }
  .hero-image {
    display: none;
  }
  .about-stats{
  	max-width: 100vw;
  }
  .about-stats h3{
	font-size: 1em;
  }
  .about-stats p{
	font-size: 0.6em;
  }
}

/* Für sehr kleine Geräte (bis 350px) */
@media (max-width: 350px) {
  /* Ausblenden des Hero-Bildbereichs, um Platz zu sparen */
  .hero-image {
    display: none;
  }
  /* Anpassen des Hero-Bereichs */
  .hero {
    height: auto;
    padding: 20px 10px;
    gap: 20px;
  }
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 1.8em;
  }
  .form-container {
    padding: 10px;
  }
  
  .hero-text h4 {
  	font-size: 0.75em;
  }
}