/* ueberuns.css - Stil mit Hover-Effekten und spezifizierter Farbpalette, zentrierte Design-Philosophie */
:root {
  /* Farbpalette */
  --color-primary: #4f46e5;           /* Indigo */
  --color-primary-hover: #4338ca;
  --color-secondary: #2563eb;         /* Blau-Akzent */
  --color-bg-light: #ffffff;          /* Weißer Hintergrund */
  --color-bg-muted: #f3f4f6;          /* Hellgrau */
  --color-text-dark: #111827;         /* Dunkler Text */
  --color-text-light: #ffffff;        /* Weißer Text */
  --color-border: #d1d5db;            /* Linienfarbe */

  /* Hero-Background (als Fallback-Farbe, falls Bild nicht lädt) */
  --color-hero-bg: #94b3df;           /* sanftes Blaugrau */
  --color-hero-text: var(--color-text-light);
}

/* Reset & Typografie */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--color-primary-hover);
}

/* Überschriften */
h1 { font-size: 2.75rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; font-weight: 500; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
p, li { margin-bottom: 1rem; color: var(--color-text-dark); }
ul { list-style: none; }

/* Hero-Section (Variante A: Hintergrundbild) */
:root {
  /* Default-Fälle, können pro Seite überschrieben werden */
  --hero-bg: url('/assets/images/startseite.jpg') center/cover no-repeat;
  --hero-overlay: rgba(0, 0, 0, 0.4);
}

.hero {
  background: var(--hero-bg);
  position: relative;
  padding: 6rem 0;
  text-align: center;
  color: var(--color-hero-text);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.hero p {
  color: var(--color-hero-text) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .hero {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
    max-width: none;
  }
}

/* Team-Section */
.team-section {
  background-color: var(--color-bg-light);
  padding: 4rem 0;
}

.team-section h2 {
  text-align: center;
  color: var(--color-text-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  transition: transform 0.3s ease;
}
.team-member:hover {
  transform: translateY(-8px);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--color-primary);
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}
.team-member img:hover {
  border-color: var(--color-primary-hover);
}

/* Team-Namen in Lila mit Hover-Effekt */
.team-member h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: color 0.3s ease;
}
.team-member h3:hover {
  color: var(--color-primary-hover);
}

.team-member p {
  font-size: 1.125rem;
  color: var(--color-text-dark);
}


/* Kompetenzen-Section */
.kompetenzen-section { background-color: var(--color-bg-light); padding: 4rem 0; }
.kompetenzen-section h2 { text-align: center; color: var(--color-text-dark); }
.kompetenzen-section p { text-align: center; max-width: 800px; margin: 0 auto 2rem; }
.kompetenzen-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.kompetenzen-list li {
  background-color: var(--color-bg-muted);
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.kompetenzen-list li:hover {
  background-color: var(--color-border);
}

/* Stats-Section */
.stats-section { background-color: var(--color-bg-light); padding: 4rem 0; }
.stats-section h2 { text-align: center; color: var(--color-text-dark); }
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}
.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: scale(1.05);
}
.stat-item h3 { color: var(--color-primary); font-size: 2.5rem; }
.stat-item p { font-size: 1rem; color: var(--color-text-dark); }

/* Werte-Section */
.values-section { background-color: var(--color-bg-muted); padding: 4rem 0; }
.values-section h2 { text-align: center; color: var(--color-text-dark); }
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.value-item {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.value-item:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.value-item h4 { color: var(--color-primary); margin-bottom: 0.5rem; }
.value-item p { font-size: 1rem; color: var(--color-text-dark); }

/* Clients-Section */
.clients-section { background-color: var(--color-bg-light); padding: 4rem 0; }
.clients-section h2 { text-align: center; color: var(--color-text-dark); }
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.clients-logos img {
  max-height: 64px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.clients-logos img:hover { filter: none; }

/* Design-Philosophie Section */
.design-philosophie-section .design-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center; /* zentriert Text+Bild */
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.design-philosophie-section .design-text {
  flex: 1 1 auto;
}
.design-philosophie-section .design-image {
  flex: 0 0 250px;  /* Bild-Container jetzt breiter */
  margin-top: 1rem; /* Bild etwas weiter unten */
}
.design-philosophie-section .design-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem; /* Ecken größer */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.design-philosophie-section .design-image img:hover {
  transform: translateY(-5px);
}

/* CTA-Section */
.cta-section { background-color: var(--color-bg-muted); color: var(--color-text-dark); text-align: center; padding: 5rem 0; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.cta-section .btn-primary { background-color: var(--color-primary); color: var(--color-text-light); padding: 1rem 2rem; font-size: 1.125rem; transition: background-color 0.3s ease, transform 0.3s ease; }
.cta-section .btn-primary:hover { background-color: var(--color-primary-hover); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    /* Hintergrund-Einstellungen bleiben erhalten */
    padding: 3rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  .hero p {
    font-size: 1rem;
    max-width: none;
  }

  /* Team Section */
  .team-section {
    padding: 2.5rem 1rem;
  }
  .team-section .team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  .team-member img {
    width: 150px;
    height: 150px;
    margin: 0 auto 0.75rem;
  }
  .team-member h3 {
    font-size: 1.25rem;
  }
  .team-member p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  /* Kompetenzen */
  .kompetenzen-section {
    padding: 2.5rem 1rem;
  }
  .kompetenzen-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .kompetenzen-list li {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  /* Design-Philosophie */
  .design-philosophie-section {
    padding: 2.5rem 1rem;
  }
  .design-philosophie-section .design-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .design-philosophie-section .design-text {
    text-align: center;
  }
  .design-philosophie-section .design-image {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Werte & Arbeitsweise */
  .values-section {
    padding: 2.5rem 1rem;
  }
  .values-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .value-item {
    padding: 1rem;
  }
  .value-item h4 {
    font-size: 1.1rem;
  }
  .value-item p {
    font-size: 0.95rem;
  }

  /* Call-to-Action */
  .cta-section {
    padding: 2frem 1rem;
  }
  .cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .cta-section .btn-primary {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 0.75rem;
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
  }
}