/* ==========================================================================
   VP4: About Section
   ========================================================================== */

.about {
  min-height: 100vh;
  width: 100%;
  background-color: #000000;
  position: relative;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

/* Background Cloud Overlay */
.about__bg {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -10%;
  height: 170%;
  background: url('../img/bg_cloud_purple_alpha.png') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Main Box - Eine zusammenhängende Box
   ========================================================================== */

.about__container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 1;
  border: 5px solid var(--color-navy);
}

/* ==========================================================================
   Left Side - Black with Content
   ========================================================================== */

.about__card {
  background: var(--color-black);
  padding: var(--space-lg) var(--space-lg) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
}

/* Intro Text - Magenta */
.about__intro {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-magenta);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-align: left;
}

/* Skills List - Magenta */
.about__skills {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-magenta);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-align: left;
}

/* ==========================================================================
   Photo Row - Image + Text Side by Side
   ========================================================================== */

.about__photo-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: end;
  margin-bottom: 0;
  padding-bottom: 0;
}

.about__photo {
  width: clamp(188px, 25vw, 355px);
  height: auto;
  margin-bottom: calc(-1 * var(--space-lg));
  margin-left: calc(-1 * var(--space-lg));
  display: block;
  border-top: 5px solid var(--color-navy);
  border-right: 5px solid var(--color-navy);
  border-bottom: none;
  border-left: none;
  position: relative;
  z-index: 1;
}

/* Photo Content - rechte Spalte neben Foto */
.about__photo-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-self: start;
}

/* Highlight Text - Magenta, next to photo */
.about__highlight {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-magenta);
  line-height: 1.2;
  text-align: left;
}

/* ==========================================================================
   Name & Button
   ========================================================================== */

.about__name {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-gold);
}

.about__button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-gold);
  background: transparent;
  border: 2px solid var(--color-gold);
  padding: var(--space-sm) var(--space-lg);
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.about__button:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.about__button--solid {
  background: var(--color-gold);
  color: var(--color-black);
}

.about__button--solid:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

/* Mobile-only button (hidden on desktop) */
.about__button--mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .about__button--mobile-only {
    display: inline-block;
    margin-top: var(--space-sm);
  }
}

/* ==========================================================================
   Footer Bar - Barcode + Title (separated by navy line)
   ========================================================================== */

.about__footer {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  margin-left: calc(-1 * var(--space-lg) - 5px);
  margin-right: calc(-1 * var(--space-lg) - 5px);
  margin-bottom: -5px;
  padding: var(--space-md) var(--space-lg);
  border: 5px solid var(--color-navy);
}

.about__barcode {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: var(--color-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   Right Side - Navy with Logo
   ========================================================================== */

.about__logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-navy);
  padding: var(--space-5xl);
  margin: -5px -5px -5px 0;
}

.about__circle-logo {
  width: clamp(200px, 60%, 350px);
  height: auto;
}

/* ==========================================================================
   Responsive - Tablet
   ========================================================================== */

@media (max-width: 1200px) {
  .about {
    padding: var(--space-2xl);
  }

  .about__card {
    padding: var(--space-xl);
  }

  .about__logo-wrapper {
    padding: var(--space-2xl);
  }
}

/* ==========================================================================
   Responsive - Mobile (Logo oben, Card unten - vertikal gestapelt)
   ========================================================================== */

@media (max-width: 1024px) {
  .about {
    padding: var(--space-xl);
    align-items: flex-start;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }

  .about__container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow: hidden;
  }

  /* Logo zuerst (oben) */
  .about__logo-wrapper {
    order: -1;
    padding: var(--space-2xl);
    margin: 0;
  }

  .about__circle-logo {
    width: clamp(180px, 50vw, 280px);
  }

  .about__card {
    padding: var(--space-xl);
    padding-bottom: var(--space-2xl);
  }

  /* Photo Row wird vertikal */
  .about__photo-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about__photo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border: 5px solid var(--color-navy);
  }

  .about__footer {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .about__container {
    margin-bottom: var(--space-2xl);
  }
}

/* ==========================================================================
   Responsive - Small Mobile
   ========================================================================== */

@media (max-width: 768px) {
  .about {
    padding: var(--space-lg);
    padding-top: var(--space-4xl);
  }

  .about__card {
    padding: var(--space-xl);
  }

  .about__logo-wrapper {
    padding: var(--space-xl);
  }

  .about__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .about__barcode {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: var(--space-md);
    padding-top: var(--space-4xl);
  }

  .about__card {
    padding: var(--space-lg);
  }

  .about__logo-wrapper {
    padding: var(--space-lg);
  }

  .about__circle-logo {
    width: clamp(150px, 60vw, 200px);
  }

  .about__button {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
  }

  .about__container {
    border-width: 3px;
  }

  .about__footer {
    border-width: 3px;
  }
}

/* ==========================================================================
   Animation States (for GSAP)
   ========================================================================== */

.about__container {
  opacity: 0;
}

/* ==========================================================================
   About Page Overrides - Clients & Vita
   Different background pattern than Startpage
   ========================================================================== */

/* Clients on About: Transparent (show fixed global bg) */
.about-page .clients {
  background-color: transparent;
}

.about-page .clients__bg {
  display: none;
}

/* Vita on About: Solid Navy */
.about-page .vita {
  background-color: var(--color-navy);
}

.about-page .vita__bg {
  display: none;
}

/* ==========================================================================
   Awards Section (Shared - About & Startseite)
   ========================================================================== */

.awards {
  min-height: 100vh;
  background: var(--color-black);  /* Default: black for Startseite */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  z-index: 11;  /* Higher than Skills (10) for layered pinning */
}

/* Awards Background - Topology pattern like Clients */
.awards__bg {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 0;
  height: 120%;
  background: url('../img/bg_topology_purple_alpha.png') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* About Page: Awards with box grid bg instead of topology */
.about-page .awards__bg {
  background: url('../img/bg_box_purple_alpha.png') no-repeat center center;
  background-size: cover;
}

.awards__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 1200px;
  width: 100%;
}

.awards__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.awards__logo {
  width: clamp(60px, 8vw, 100px);
}

.awards__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--color-purple);
  -webkit-text-stroke: 2px var(--color-magenta);
  text-stroke: 2px var(--color-magenta);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.awards__image {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.awards__image img {
  max-width: 100%;
  height: auto;
}

.awards__footer {
  margin-top: var(--space-xl);
}

.awards__barcode {
  height: 40px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .awards {
    padding: var(--space-5xl) var(--space-2xl);
    min-height: auto;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .awards {
    padding: var(--space-5xl) var(--space-xl);
  }

  .awards__title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    -webkit-text-stroke: 1.5px var(--color-magenta);
    text-stroke: 1.5px var(--color-magenta);
  }
}

@media (max-width: 480px) {
  .awards {
    padding: var(--space-5xl) var(--space-lg);
  }
}

/* ==========================================================================
   About Page: Services Section (VP2)
   Clean 3-column text layout without box
   ========================================================================== */

.about-services {
  min-height: 100vh;
  width: 100%;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
}

/* BG removed - uses global fixed detail-bg */
.about-services__bg {
  display: none;
}

.about-services__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.about-services__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.about-services__logo {
  width: clamp(60px, 8vw, 100px);
  height: auto;
}

.about-services__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--color-purple);
  -webkit-text-stroke: 2px var(--color-magenta);
  text-stroke: 2px var(--color-magenta);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* 3-Column Text Grid */
.about-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  width: 100%;
}

.about-services__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-services__column h3 {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-gold);
  text-transform: uppercase;
  margin: 0;
}

.about-services__column p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--color-white);
  line-height: 1.4;
  text-align: justify;
  margin: 0;
}

/* Services Tags Grid */
.about-services__tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md) var(--space-lg);
  width: 100%;
  margin-top: var(--space-xl);
  text-align: center;
}

.about-services__tag {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  color: var(--color-magenta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.about-services__footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.about-services__footer img {
  height: 40px;
  width: auto;
}

/* Services Responsive */
@media (max-width: 1024px) {
  .about-services {
    padding: var(--space-4xl) var(--space-lg);
  }

  .about-services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-services__tags {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .about-services {
    padding: var(--space-4xl) var(--space-xl);
  }

  .about-services__tags {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .about-services__title {
    -webkit-text-stroke: 1.5px var(--color-magenta);
    text-stroke: 1.5px var(--color-magenta);
  }
}

@media (max-width: 480px) {
  .about-services {
    padding: var(--space-4xl) var(--space-lg);
  }
}

/* ==========================================================================
   About Page: Values Section (VP3)
   2-column top + 3-column bottom
   ========================================================================== */

.about-values {
  min-height: 100vh;
  width: 100%;
  background-color: var(--color-navy);
  position: relative;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
}

.about-values__bg {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 0;
  height: 150%;
  background: url('../img/bg_topology_purple_alpha.png') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.about-values__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.about-values__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.about-values__logo {
  width: clamp(60px, 8vw, 100px);
  height: auto;
}

.about-values__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--color-purple);
  -webkit-text-stroke: 2px var(--color-magenta);
  text-stroke: 2px var(--color-magenta);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* 2-Column Top Grid (Quality, Creativity) */
.about-values__top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  width: 100%;
}

/* 3-Column Bottom Grid (Teamwork, Communication, Entertain) */
.about-values__bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  width: 100%;
}

.about-values__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-values__column h3 {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--color-gold);
  text-transform: uppercase;
  margin: 0;
}

.about-values__column p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--color-white);
  line-height: 1.4;
  text-align: justify;
  margin: 0;
}

.about-values__footer {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.about-values__footer img {
  height: 40px;
  width: auto;
}

/* Values Responsive */
@media (max-width: 1024px) {
  .about-values {
    padding: var(--space-4xl) var(--space-lg);
  }

  .about-values__top,
  .about-values__bottom {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .about-values {
    padding: var(--space-4xl) var(--space-xl);
  }

  .about-values__title {
    -webkit-text-stroke: 1.5px var(--color-magenta);
    text-stroke: 1.5px var(--color-magenta);
  }
}

@media (max-width: 480px) {
  .about-values {
    padding: var(--space-4xl) var(--space-lg);
  }
}

/* ==========================================================================
   About Page: Animation States (for GSAP)
   ========================================================================== */

.about-services__content,
.about-values__content {
  opacity: 0;
}
