/* ========================================
   ABOUT US PAGE STYLES
   ======================================== */

/* Hero Section - About Us Specific */
.hero-section-about {
  position: relative;
  background-color: transparent !important;
  padding-top: calc(var(--spacing-xxl) + 100px);
  padding-bottom: var(--spacing-xxl);
  min-height: auto !important; /* Nur so hoch wie nötig - überschreibt globale min-height: 100vh */
  display: block; /* Überschreibt display: flex */
  align-items: normal; /* Überschreibt align-items: center */
  overflow: hidden; /* Für Hintergrundbild */
  color: var(--color-white); /* Weißer Text */
}

.hero-section-about .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-section-about .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dunkler Overlay für bessere Lesbarkeit */
  z-index: 1;
}

.hero-section-about .container {
  position: relative;
  z-index: 2;
}

.hero-content-about {
  text-align: center; /* Zentriert auf Desktop */
  max-width: 900px;
  margin: 0 auto;
}

.hero-section-about .hero-title {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.hero-section-about .hero-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 0.6vw + 0.625rem, var(--fs-h4));
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  text-align: center; /* Explizit zentriert */
  max-width: 100%; /* Überschreibt globale max-width: 500px */
}

.hero-section-about .hero-text {
  font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section-about .key-phrase {
  color: var(--color-blue);
}

/* Hero Placeholder for Team Photo */
.hero-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-light-gray);
  background-image: var(--dot-pattern);
  background-size: var(--dot-pattern-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-medium-gray);
}

.hero-placeholder span {
  font-size: clamp(1.25rem, 0.6vw + 0.625rem, var(--fs-h4));
  font-weight: var(--font-weight-medium);
  color: var(--color-medium-gray);
  text-align: center;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
}

/* Responsive adjustments for hero text */
@media (max-width: 768px) {
  .hero-section-about {
    padding-top: calc(var(--spacing-xl) + 80px);
    padding-bottom: var(--spacing-xl);
  }
  
  .hero-content-about {
    text-align: left; /* Linksbündig auf Mobile */
  }
  
  .hero-section-about .hero-subtitle {
    font-size: clamp(1.125rem, 0.4vw + 0.5rem, var(--fs-h5));
    text-align: left !important; /* Explizit linksbündig auf Mobile */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero-section-about .hero-text {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-section-about .hero-title {
    text-align: left !important; /* Auch Title linksbündig auf Mobile */
  }
}

@media (max-width: 576px) {
  .hero-section-about {
    padding-top: calc(var(--spacing-lg) + 70px);
    padding-bottom: var(--spacing-lg);
  }
  
  .hero-section-about .hero-subtitle {
    font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
    text-align: left !important; /* Explizit linksbündig auf Mobile */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero-section-about .hero-text {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
  }
  
  .hero-section-about .hero-title {
    text-align: left !important; /* Auch Title linksbündig auf Mobile */
  }
}

/* ========================================
   QUOTE SECTION - ABOUT US SPECIFIC
   ======================================== */

/* Override quote section padding for about us page */
.quote-section {
  padding: 128px 0 !important;
  background-color: #1A2830 !important;
}

.quote-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.quote-subheader {
  font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  font-weight: var(--font-weight-medium);
  color: var(--color-white) !important;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.quote-text {
  color: var(--color-white) !important;
}


.quote-description {
  font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
  line-height: 1.6;
  color: var(--color-white) !important;
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Responsive adjustments */
/* Überschreibt globale quote-section Styles aus styles.css */
@media (max-width: 992px) {
  .quote-section {
    padding: 128px 0 !important;
  }
}

@media (max-width: 768px) {
  .quote-section {
    padding: 128px 0 !important;
  }
  
  .quote-subheader {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
    margin-bottom: 16px;
  }
  
  .quote-description {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
    margin-top: 24px;
  }
}

@media (max-width: 576px) {
  .quote-section {
    padding: 128px 0 !important;
  }
  
  .quote-subheader {
    font-size: clamp(0.75rem, 0.3vw + 0.7rem, var(--fs-body-small));
    margin-bottom: 12px;
  }
  
  .quote-description {
    font-size: clamp(0.8rem, 0.35vw + 0.65rem, 0.9rem);
    margin-top: 20px;
  }
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-white);
  background-image: var(--dot-pattern);
  background-size: var(--dot-pattern-size);
}

.team-title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 1vw + 0.875rem, var(--fs-h2));
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-xxl);
}

/* Team Member Image */
.team-member-image {
  margin-bottom: var(--spacing-lg);
}

.team-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  object-fit: cover;
  display: block;
  max-height: none; /* Desktop: keine max-height */
}

/* Team Member Info (Name & Title) */
.team-member-info {
  margin-bottom: var(--spacing-lg);
}

.team-member-name {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 0.5vw + 0.625rem, var(--fs-h4));
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin: 0 0 var(--spacing-xs) 0;
  line-height: 1.3;
}

.team-member-title {
  font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

/* Team Member Info (Right Column) */
.team-member-info-right {
  margin-bottom: var(--spacing-lg);
}

.team-member-info-right .team-member-name {
  margin-bottom: var(--spacing-xs);
}

.team-member-info-right .team-member-title {
  margin-bottom: 0;
}

/* Team Member Text */
.team-member-text {
  color: var(--color-text);
}

.team-text {
  font-size: clamp(0.95rem, 0.5vw + 0.75rem, var(--fs-body));
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.team-text:last-child {
  margin-bottom: 0;
}

/* Second Team Member Row - Spacing */
.row.align-items-start + .row.align-items-start {
  margin-top: var(--spacing-xxl);
}

/* Responsive Design */
@media (max-width: 992px) {
  .team-section {
    padding: var(--spacing-xl) 0;
  }
  
  .team-title {
    margin-bottom: var(--spacing-xl);
  }
  
  .team-member-image {
    margin-bottom: var(--spacing-md);
  }
  
  .team-member-info {
    margin-bottom: var(--spacing-lg);
  }
  
  .team-member-text {
    margin-top: var(--spacing-lg);
  }
  
  /* Tablet: Bild proportional skaliert mit max-height */
  .team-image {
    max-height: 560px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: var(--spacing-xl) 0;
  }
  
  .team-title {
    font-size: clamp(1.5rem, 0.8vw + 0.75rem, 2rem);
    margin-bottom: var(--spacing-lg);
  }
  
  .team-member-image {
    margin-bottom: var(--spacing-md);
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .team-member-info {
    margin-bottom: var(--spacing-md);
  }
  
  .team-member-name {
    font-size: clamp(1.125rem, 0.4vw + 0.5rem, var(--fs-h5));
  }
  
  .team-member-title {
    font-size: clamp(0.9rem, 0.4vw + 0.7rem, var(--fs-body));
  }
  
  .team-text {
    font-size: clamp(0.9rem, 0.4vw + 0.7rem, var(--fs-body));
  }
  
  /* Mobile: Bild volle Viewport-Breite mit max-height */
  .team-image {
    max-height: 560px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* Keine abgerundeten Ecken bei vollem Viewport */
    display: block;
  }
}

@media (max-width: 576px) {
  .team-section {
    padding: var(--spacing-lg) 0;
  }
  
  .team-title {
    margin-bottom: var(--spacing-md);
  }
  
  .team-member-image {
    margin-bottom: var(--spacing-sm);
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .team-member-info {
    margin-bottom: var(--spacing-md);
  }
  
  .team-member-name {
    font-size: clamp(1rem, 0.6vw + 0.8rem, var(--fs-body-large));
  }
  
  .team-member-title {
    font-size: clamp(0.875rem, 0.35vw + 0.65rem, 0.95rem);
  }
  
  .team-text {
    font-size: clamp(0.875rem, 0.35vw + 0.65rem, 0.95rem);
    margin-bottom: var(--spacing-sm);
  }
}

/* ========================================
   CTA SECTION - ABOUT US SPECIFIC
   ======================================== */

/* CTA Section mit weißem Hintergrund und schwarzer Schrift */
.cta-section {
  background-color: var(--color-white) !important;
}

.cta-section .cta-background,
.cta-section .cta-pattern {
  display: none; /* Pattern ausblenden */
}

.cta-section .cta-title {
  color: var(--color-text-dark) !important;
}

.cta-section .cta-text {
  color: var(--color-text) !important;
}

.cta-section .key-phrase-dark {
  color: var(--color-blue) !important; /* Affeldt-Blau für key-phrase */
}
