/* Die persönliche Seite bekommt ihr eigenes Meeresmotiv. Bestehende
 * Startseiten- und Rechtstext-Gestaltungen bleiben davon unabhängig.
 * Das freigegebene Motiv bleibt statisch: Der Ausschnitt hält den kleinen
 * Windsurfer am rechten Horizont frei, statt ihn hinter der Textkarte zu
 * verstecken. Auf dem Handy hat das Meer deshalb einen eigenen Bildbereich.
 */
.about-page {
  --text: #17365a;
  --muted: #4e6885;
  position: relative;
  isolation: isolate;
  background: #fbfdff;
}

.about-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: max(64rem, 100vh);
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 86%, #fbfdff 100%),
    url("/assets/sea-about-windsurfer.png") 80% top / cover no-repeat;
}

.about-page header {
  padding-block: 1.35rem;
}

.about-page main {
  padding-top: 2.4rem;
}

.about-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.about-heading h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.15;
}

.about-scene {
  display: none;
}

.about-story {
  max-width: 42rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(215, 229, 240, .9);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 48px rgba(32, 81, 129, .1);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-story p {
  margin: 0 0 1.3rem;
  text-wrap: pretty;
}

.about-story .about-intro {
  font-size: 1.18rem;
  line-height: 1.65;
}

.about-author {
  display: flow-root;
  margin-bottom: 1.3rem;
}

.about-author img {
  float: left;
  width: 7rem;
  height: 7rem;
  margin: .15rem 1.25rem .45rem 0;
  border: 4px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(31, 71, 107, .12);
}

.about-author p,
.about-story p:last-child {
  margin-bottom: 0;
}

.about-page footer {
  border-top-color: #dfeaf3;
  background: rgba(251, 253, 255, .94);
}

/* Der Einstieg verwendet ausschließlich einen Auszug aus dem redigierten
 * Nutzertext. Das Porträt ist ein persönlicher Anker, kein zweites Hero-Bild.
 */
.about-teaser {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-block: 4rem 2.5rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid #dce9f2;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(32, 81, 129, .06);
}

.about-teaser img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
}

.about-teaser h2 {
  margin-top: 0;
}

.about-teaser p:last-child {
  margin-bottom: 0;
}

@media (max-width: 60rem) {
  .about-page::before {
    display: none;
  }

  .about-page main {
    max-width: 42rem;
    padding-top: 1.6rem;
  }

  .about-heading {
    margin-bottom: 1.5rem;
  }

  .about-scene {
    display: block;
    height: 17.5rem;
    margin-bottom: -1.25rem;
    border-radius: 1.35rem;
    background: url("/assets/sea-about-windsurfer.png") 88% top / cover no-repeat;
  }

  .about-story {
    position: relative;
  }
}

@media (max-width: 48rem) {
  .about-page header {
    gap: .8rem;
  }

  .about-page nav {
    width: 100%;
  }

  .about-page nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
  }

  .about-page nav li:last-child {
    grid-column: 1 / -1;
  }

  .about-page nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 30rem) {
  .about-page main {
    padding-top: 1rem;
  }

  .about-heading h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .about-story {
    padding: 1.35rem;
    border-radius: 1.2rem;
    font-size: 1.04rem;
  }

  .about-story .about-intro {
    font-size: 1.12rem;
  }

  .about-author img {
    width: 5rem;
    height: 5rem;
    margin-right: 1rem;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-teaser img {
    width: 5rem;
    height: 5rem;
  }
}
