/* Alle Überschriften zentrieren */
h1, h2, h3 {
  text-align: center;
}

/* Überschriften innerhalb von Sections */
section h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Hero bleibt separat */
.hero-content h1 {
  text-align: center;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  border-radius: 2px;
}


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

.logo{
  height: 40px;
  width: 120px;
}

/* Glass */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  margin: 20px;
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content p {
  margin: 20px 0;
  opacity: 0.8;
}

.cta {
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  border: none;
  color: white;
  cursor: pointer;
}

/* Sections */
section {
  padding: 60px 20px;
}

/* Cards */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.card {
  padding: 30px;
  width: 380px;
  text-align: center;
}

/* About */
.content-box {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  text-align: center;
}

.about img
{
    width: 240px;
    border-radius: 80px;
}

.about img:hover
{
  transform: scale(1.05);
}

/* Kunden */
.kunden {
justify-content: center;

display: flex;
}

/* Contact */
.form-box {
  max-width: 400px;
  margin: auto;
  padding: 20px;
}

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

input, textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
}

/* Footer */
footer {
  margin: 20px;
  padding:20px;
  padding-top: 0px;
  text-align: center;
}

.footerlogo img
{
  margin-bottom: -50px;
  padding: 0%;
  height: 80px;
  width: 240px;
}

/* Bilder allgemein */
img {
  max-width: 100%;
  border-radius: 12px;
}

/* Hero Bild */
.hero-img {
  max-width: 500px;
  margin-bottom: 20px;
}

.card img {
  margin-bottom: 15px;
}
  .card img {
  width: 200px;
  height: 200px;           /* feste Höhe */
  object-fit: cover;       /* verhindert Verzerrung */
  border-radius: 10px;
}

/* Logo Reihe */
.logo-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  width: auto;
  
}

.logo-row img {
  opacity: 0.7;
  transition: 0.3s;
}

.logo-row img:hover {
  opacity: 1;
}

/* About Bild */
.content-box img {
  margin-bottom: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  width: 90%;
  padding: 20px;
  z-index: 999;
  text-align: center;
}

.cookie-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cookie-banner button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: white;
}

.cookie-banner .secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Footer Layout */
.footer {
  margin: 20px;
  padding: 30px 20px;
  text-align: center;
}

/* Social Icons */
.socials {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.socials img {
  width: 28px;
  height: 28px;
 /*<!-- filter: brightness(5) invert(0); /* weiß auf dunklem Hintergrund */
  transition: 0.3s;
}

/* Hover Effekt */
.socials img:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Container */
.social-bar {
  position: fixed;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

/* Buttons */
.social-bar a {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);

  transition: 0.3s;
}

/* Icons */
.social-bar img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

/* Instagram Hover */
.social-bar a.instagram:hover {
  background: radial-gradient(circle at 30% 30%, 
    #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.social-bar a.instagram:hover img {
  filter: none;
}

/* LinkedIn Hover */
.social-bar a.linkedin:hover {
  background: #0077b5;
}

.social-bar a.linkedin:hover img {
  filter: none;
}

/* Animation */
.social-bar a:hover {
  transform: translateX(5px) scale(1.1);
}

/* Navbar Links */
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

/* Hover Effekt (optional, aber empfehlenswert) */
.nav-links a:hover {
  opacity: 0.7;
}

a {
  color: white;
  text-decoration: none;
}

/* 📱 Mobile: unten statt seitlich */
@media (max-width: 768px) {
  .social-bar {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
  }

  .social-bar a:hover {
    transform: scale(1.1);
  }
}

/* ========================= */
/* 📱 RESPONSIVE DESIGN */
/* ========================= */

@media (max-width: 768px) {
	.hero-img {
    width: 100%;
    height: 220px;              
    object-fit: cover;          
    object-position: center;    
  }
  
  }
  .hero-content h1 {
    font-size: 2rem;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
    border-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}


