/* ========== Hero Über mich ========== */

.about-hero {
    min-height: 30rem;

    position: relative;

    display: flex;
    align-items: center;

    color: var(--color-white);
    background-color: var(--color-dark-blue);

    overflow: hidden;
}


/* ---------- Container ---------- */

.about-hero-container {
    width: min(calc(100% - 3rem), 80rem);
    margin-inline: auto;

    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(7rem, 11vw, 10rem);
}


/* ---------- Hero-Inhalt ---------- */

.about-hero-content {
    max-width: 47rem;
}


/* ---------- Eyebrow ---------- */

.about-hero-eyebrow {
    margin: 0 0 1.5rem;

    display: flex;
    align-items: center;
    gap: 0.75rem;

    color: var(--color-light-blue);

    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-hero-eyebrow::before {
    content: "";

    width: 1.5rem;
    height: 1px;

    flex-shrink: 0;

    background-color: currentColor;
}


/* ---------- Überschrift ---------- */

.about-hero-title {
    margin: 0;

    color: var(--color-white);

    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.050em;
    line-height: 1.08;
}

.about-hero-title span {
    display: block;

    color: var(--color-light-blue);
}


/* ---------- Beschreibung ---------- */

.about-hero-description {
    max-width: 39rem;
    margin: 1.5rem 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
}


/* ---------- Dekorative Welle ---------- */

.about-hero-wave {
    width: 100%;
    height: clamp(3rem, 6vw, 5rem);

    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    display: block;
}

.about-hero-wave path {
    fill: var(--color-bg);
}


/* ========== Hero Über mich – Tablet ========== */

@media (max-width: 62rem) {
    .about-hero {
        min-height: 28rem;
    }

    .about-hero-container {
        padding-top: 5rem;
        padding-bottom: 8rem;
    }
}


/* ========== Hero Über mich – Smartphone ========== */

@media (max-width: 42rem) {
    .about-hero {
        min-height: auto;
    }

    .about-hero-container {
        width: min(calc(100% - 2rem), 80rem);

        padding-top: 4.5rem;
        padding-bottom: 7rem;
    }

    .about-hero-title {
        font-size: clamp(2.7rem, 13vw, 3.8rem);
    }

    .about-hero-description {
        font-size: 0.95rem;
    }

    .about-hero-wave {
        height: 3.5rem;
    }
}

/* ========== Vorstellung ========== */

.about-introduction {
  padding-block: clamp(5rem, 8vw, 8rem);

  background-color: var(--color-bg);
}


/* ---------- Container ---------- */

.about-introduction-container {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;

  display: grid;
  grid-template-columns:
    minmax(18rem, 0.8fr)
    minmax(0, 1.2fr);

  align-items: center;
  gap: clamp(4rem, 8vw, 8rem);
}


/* ========== Bildbereich ========== */

.about-introduction-image-wrapper {
  width: min(100%, 25rem);
  margin-inline: auto;

  position: relative;
}


/* ---------- Hintere Fläche ---------- */

.about-introduction-image-wrapper::before {
  content: "";

  position: absolute;
  top: 0.5rem;
  right: -0.5rem;
  bottom: -0.5rem;
  left: 0.5rem;

  background-color: var(--color-surface);

  border-radius: 1rem;
}


/* ---------- Äußerer Rahmen ---------- */

.about-introduction-image-wrapper::after {
  content: "";

  position: absolute;
  top: 0.5rem;
  right: -0.5rem;
  bottom: -0.5rem;
  left: 0.5rem;

  pointer-events: none;

  border: 2px solid rgba(120, 154, 196, 0.35);
  border-radius: 1rem;
}


/* ---------- Bild ---------- */

.about-introduction-image {
  position: relative;
  z-index: 1;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  background-color: var(--color-surface);

  border-radius: 0.9rem;
}

.about-introduction-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;
}


/* ---------- Namensschild ---------- */

.about-introduction-badge {
  min-width: 12rem;
  padding: 1rem 1.25rem;

  position: absolute;
  right: auto;
  bottom: -1.25rem;
  left: 1.5rem;
  z-index: 3;

  display: flex;
  flex-direction: column;
  gap: 0.3rem;

  background-color: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: 0.75rem;

  box-shadow: 0 0.75rem 1.5rem rgba(21, 51, 73, 0.12);
}

.about-introduction-badge strong {
  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.about-introduction-badge span {
  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.4;
}


/* ========== Textbereich ========== */

.about-introduction-content {
  max-width: 42rem;
}


/* ---------- Überschrift ---------- */

.about-introduction-title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}


/* ---------- Fließtext ---------- */

.about-introduction-text {
  margin-top: 1.75rem;
}

.about-introduction-text p {
  margin: 0;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
}

.about-introduction-text p + p {
  margin-top: 1.25rem;
}


/* ========== Vorstellung – Tablet ========== */

@media (max-width: 62rem) {
  .about-introduction-container {
    grid-template-columns:
      minmax(16rem, 0.75fr)
      minmax(0, 1.25fr);

    gap: 4rem;
  }

  .about-introduction-image-wrapper {
    width: min(100%, 21rem);
  }
}


/* ========== Vorstellung – Smartphone ========== */

@media (max-width: 44rem) {
  .about-introduction-container {
    width: min(calc(100% - 2rem), 80rem);

    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .about-introduction-image-wrapper {
    width: min(88%, 23rem);
  }

  .about-introduction-content {
    max-width: none;
  }

  .about-introduction-badge {
    right: 1rem;
    left: 1rem;

    min-width: 0;
  }
}

/* ========== Meine Werte ========== */

.about-values {
  padding-block: clamp(5rem, 8vw, 7rem);

  background-color: var(--color-white);
}


/* ---------- Container ---------- */

.about-values-container {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;
}


/* ========== Überschriftenbereich ========== */

.about-values-header {
  max-width: 42rem;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}


/* ---------- Eyebrow ---------- */

.about-values-eyebrow {
  margin: 0 0 0.75rem;

  color: var(--color-blue);

  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}


/* ---------- Überschrift ---------- */

.about-values-title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}


/* ========== Wertekarten ========== */

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}


/* ---------- Einzelne Karte ---------- */

.about-value-card {
  min-width: 0;
  min-height: 13rem;
  padding: 1.75rem;

  background-color: var(--color-bg);

  border: 1px solid var(--color-border);
  border-radius: 0.9rem;

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.about-value-card:hover {
  border-color: rgba(0, 81, 138, 0.22);

  box-shadow: 0 0.75rem 1.75rem rgba(21, 51, 73, 0.07);

  transform: translateY(-3px);
}


/* ---------- Blauer Akzent ---------- */

.about-value-accent {
  width: 0.4rem;
  height: 1.6rem;

  display: block;

  background-color: var(--color-light-blue);

  border-radius: 999px;
}


/* ---------- Kartentitel ---------- */

.about-value-title {
  margin: 1.4rem 0 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}


/* ---------- Beschreibung ---------- */

.about-value-description {
  margin: 0.75rem 0 0;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ========== Meine Werte – Tablet ========== */

@media (max-width: 64rem) {
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ========== Meine Werte – Smartphone ========== */

@media (max-width: 42rem) {
  .about-values-container {
    width: min(calc(100% - 2rem), 80rem);
  }

  .about-values-header {
    margin-bottom: 2.5rem;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-value-card {
    min-height: 0;
    padding: 1.5rem;
  }
}


/* ========== Reduzierte Animationen ========== */

@media (prefers-reduced-motion: reduce) {
  .about-value-card {
    transition: none;
  }
}

/* ========== Mein Fokus ========== */

.about-focus {
  padding-block: clamp(5rem, 8vw, 8rem);

  background-color: var(--color-bg);
}


/* ---------- Container ---------- */

.about-focus-container {
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(23rem, 0.9fr);

  align-items: center;
  gap: clamp(4rem, 8vw, 8rem);
}


/* ========== Textbereich ========== */

.about-focus-content {
  max-width: 43rem;
}


/* ---------- Eyebrow ---------- */

.about-focus-eyebrow {
  margin: 0 0 0.75rem;

  color: var(--color-blue);

  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}


/* ---------- Überschrift ---------- */

.about-focus-title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}


/* ---------- Fließtext ---------- */

.about-focus-text {
  margin-top: 1.75rem;
}

.about-focus-text p {
  margin: 0;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
}

.about-focus-text p + p {
  margin-top: 1.25rem;
}

.about-focus-text strong {
  color: var(--color-text);

  font-weight: 700;
}


/* ========== Werkzeugkarte ========== */

.about-tools-card {
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);

  background-color: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: 1rem;

  box-shadow: 0 1rem 2.5rem rgba(21, 51, 73, 0.06);
}


/* ---------- Überschrift ---------- */

.about-tools-title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
}


/* ========== Technologie-Tags ========== */

.about-tools-tags {
  padding: 0;
  margin: 1.5rem 0 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;

  list-style: none;
}

.about-tools-tags li {
  padding: 0.55rem 0.9rem;

  color: var(--color-dark-blue);
  background-color: var(--color-surface);

  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;

  border-radius: 0.55rem;
}


/* ========== Kenntnisse ========== */

.about-skills {
  margin-top: 2rem;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* ---------- Einzelner Bereich ---------- */

.about-skill {
  min-width: 0;
}


/* ---------- Name und Status ---------- */

.about-skill-header {
  margin-bottom: 0.6rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.about-skill-name {
  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.about-skill-status {
  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.4;
}


/* ---------- Fortschrittsleiste ---------- */

.about-skill-track {
  width: 100%;
  height: 0.4rem;

  overflow: hidden;

  background-color: var(--color-surface);

  border-radius: 999px;
}

.about-skill-bar {
  height: 100%;

  display: block;

  background: linear-gradient(
    90deg,
    var(--color-dark-blue),
    var(--color-light-blue)
  );

  border-radius: inherit;
}


/* ---------- Unterschiedliche Breiten ---------- */

.about-skill-bar--html {
  width: 90%;
}

.about-skill-bar--responsive {
  width: 88%;
}

.about-skill-bar--javascript {
  width: 63%;
}

.about-skill-bar--seo {
  width: 60%;
}


/* ========== Mein Fokus – Tablet ========== */

@media (max-width: 62rem) {
  .about-focus-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-focus-content {
    max-width: 48rem;
  }

  .about-tools-card {
    width: min(100%, 48rem);
  }
}


/* ========== Mein Fokus – Smartphone ========== */

@media (max-width: 42rem) {
  .about-focus-container {
    width: min(calc(100% - 2rem), 80rem);
    gap: 3rem;
  }

  .about-focus-title br {
    display: none;
  }

  .about-tools-card {
    padding: 1.5rem;
  }

  .about-skill-header {
    align-items: flex-start;
  }
}

/* ========== Abschluss-CTA Über mich ========== */

.about-cta {
  padding-block: clamp(5rem, 8vw, 7rem);

  color: var(--color-white);
  background-color: var(--color-dark-blue);

  text-align: center;
}


/* ---------- Container ---------- */

.about-cta-container {
  width: min(calc(100% - 3rem), 48rem);
  margin-inline: auto;
}


/* ---------- Überschrift ---------- */

.about-cta-title {
  margin: 0;

  color: var(--color-white);

  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}


/* ---------- Beschreibung ---------- */

.about-cta-description {
  max-width: 40rem;
  margin: 1.5rem auto 0;

  color: rgba(255, 255, 255, 0.65);

  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}


/* ---------- Button ---------- */

.about-cta-button {
  min-height: 3.5rem;
  margin-top: 2rem;
  padding-inline: 1.75rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  color: var(--color-dark-blue);
  background-color: var(--color-white);

  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  border: 1px solid var(--color-white);
  border-radius: 0.55rem;

  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.about-cta-button span {
  transition: transform 180ms ease;
}


/* ---------- Button Hover ---------- */

.about-cta-button:hover,
.about-cta-button:focus-visible {
  color: var(--color-white);
  background-color: transparent;

  transform: translateY(-2px);
}

.about-cta-button:hover span,
.about-cta-button:focus-visible span {
  transform: translateX(0.25rem);
}


/* ========== Abschluss-CTA – Smartphone ========== */

@media (max-width: 42rem) {
  .about-cta {
    padding-block: 4.5rem;
  }

  .about-cta-container {
    width: min(calc(100% - 2rem), 48rem);
  }

  .about-cta-title br {
    display: none;
  }

  .about-cta-description {
    font-size: 0.95rem;
  }

  .about-cta-button {
    width: 100%;
  }
}


/* ========== Reduzierte Animationen ========== */

@media (prefers-reduced-motion: reduce) {
  .about-cta-button,
  .about-cta-button span {
    transition: none;
  }
}