/**
 * ABOUT.CSS
 * Über uns Sektion mit Team-Informationen - Optimales Layout
 */

.about-section {
  position: relative;
  background: linear-gradient(to bottom, var(--color-white), var(--color-gray-100));
  overflow: visible;
}



.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.about-text {
  color: var(--color-gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

/* Quality Badge */
.quality-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background-color: var(--color-white);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 217, 192, 0.2);
  margin-top: 0;
}

.quality-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(
    to bottom right,
    rgba(0, 217, 192, 0.2),
    rgba(0, 217, 192, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--color-accent);
}

.quality-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.quality-subtitle {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

/* Team Section */
.team-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  border: 1px solid rgba(125, 196, 232, 0.1);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
  text-align: center;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 217, 192, 0.25);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.125rem;
  font-size: 0.9375rem;
}

.team-role {
  color: var(--color-accent);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  font-size: 0.8125rem;
  transition: color var(--transition-base);
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-link svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.375rem;
}

/* Address Card - Modern Design */
.address-card {
  background: linear-gradient(135deg, rgba(23, 33, 59, 0.95) 0%, rgba(38, 49, 78, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.25rem;
  color: var(--color-white);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(125, 196, 232, 0.1);
  position: relative;
  overflow: hidden;
}

.address-card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.address-logo {
  width: 130px;
  height: auto;
  opacity: 0.95;
}

.address-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .address-content {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }
}

.address-info-block,
.address-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.address-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.address-line {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0;
}

.address-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 196, 232, 0.25), transparent);
  margin: 0.5rem 0;
}

.address-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.address-link:hover {
  color: var(--color-primary);
}

.address-link svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--color-primary);
}

.address-website {
  display: block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.address-website:hover {
  color: var(--color-primary-light);
}

/* Team Photo Wrapper - Links an der Section-Grenze */
.team-photo-wrapper {
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
  left: 5%;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
}

@media (min-width: 768px) {
  .team-photo-wrapper {
    margin-bottom: 0;
  }
}

/* Glow Effekt hinter dem Team Portrait - gleiches Zentrum wie Bild */
.team-photo-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(125, 196, 232, 0.5) 0%, rgba(125, 196, 232, 0.25) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  transform: translate(-20%, 20%);
}

@media (min-width: 768px) {
  .team-photo-glow {
    width: 600px;
    height: 600px;
    filter: blur(100px);
  }
}

.team-photo-img {
  width: auto;
  max-width: none;
  height: auto;
  max-height: 400px;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  vertical-align: bottom;
  margin-left: -6rem;
  margin-bottom: 0;
  pointer-events: auto;
}

/* Alte Klassen für Kompatibilität */
.team-photo-fullwidth,
.team-photo {
  display: none;
}
