/* Seitenbezogene Gestaltung fuer Daniels Geschichte und Koh-Phangan-Galerie.
   Bewusst getrennt von site.css, weil am zentralen Stylesheet parallel gearbeitet wird. */

/* ---------- Design-Paritaet mit Startseite und Newsletter ---------- */

.about-page .about-origin,
.about-page .about-method {
  border-top: 0;
}

.about-page .about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 5.5vw, 96px) 0 clamp(84px, 6vw, 96px);
  background:
    radial-gradient(ellipse 54% 66% at 16% 34%, rgba(53, 212, 232, 0.075), transparent 70%),
    radial-gradient(ellipse 42% 54% at 84% 28%, rgba(255, 77, 157, 0.045), transparent 72%),
    linear-gradient(180deg, rgba(16, 22, 44, 0.2), rgba(9, 13, 28, 0));
}

.about-page .about-hero .wrap {
  position: relative;
  z-index: 1;
}

.about-page .about-hero .fx-beams {
  opacity: 0.52;
  transform: scaleX(-1);
  transform-origin: 50% 50%;
}

.about-page .about-heading h1 {
  font-size: clamp(3.4rem, 5vw, 4.8rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.about-page .about-heading {
  padding-top: 0;
}

.about-page .about-heading .kicker {
  margin-bottom: 18px;
}

.about-fact-accent {
  display: inline-block;
  color: var(--neon);
  background: linear-gradient(
    100deg,
    var(--neon) 0%,
    #7fe9f4 28%,
    var(--pink-soft) 58%,
    var(--pink) 78%,
    var(--neon) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accent-shimmer 9s ease-in-out infinite;
}

.about-page .about-intro {
  max-width: 38ch;
  margin-top: 20px;
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}

.about-page .about-visual {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--night-panel), var(--night-panel)) padding-box,
    linear-gradient(145deg, rgba(53, 212, 232, 0.66), rgba(255, 77, 157, 0.46)) border-box;
  box-shadow:
    0 34px 70px -30px rgba(0, 0, 0, 0.86),
    0 20px 58px -42px rgba(53, 212, 232, 0.75),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.about-page .about-facts {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(53, 212, 232, 0.09), transparent 48%) padding-box,
    linear-gradient(160deg, rgba(21, 29, 56, 0.74), rgba(12, 18, 38, 0.72)) padding-box,
    linear-gradient(120deg, rgba(53, 212, 232, 0.38), rgba(255, 77, 157, 0.22)) border-box;
  box-shadow: 0 18px 42px -32px rgba(0, 0, 0, 0.9), inset 0 1px rgba(255, 255, 255, 0.035);
}

.about-page .about-story > p {
  line-height: 1.7;
}

.about-page .about-story-panel {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: clamp(26px, 2.4vw, 32px);
  border: 1px solid rgba(184, 183, 198, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(53, 212, 232, 0.055), transparent 32%),
    linear-gradient(155deg, rgba(21, 29, 56, 0.66), rgba(9, 13, 28, 0.74));
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.17), inset 0 1px rgba(255, 255, 255, 0.025);
}

.about-page .about-story-panel::before,
.about-page .about-origin-chapter--panel::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 212, 232, 0.4), rgba(255, 77, 157, 0.14), transparent);
  pointer-events: none;
}

.about-page .about-story-panel > *,
.about-page .about-origin-chapter--panel > * {
  position: relative;
  z-index: 1;
}

.about-page .about-story-panel > :last-child {
  margin-bottom: 0 !important;
}

.about-page .about-origin {
  padding-top: clamp(80px, 7vw, 104px);
  background:
    radial-gradient(ellipse 58% 50% at 92% 22%, rgba(255, 77, 157, 0.09), transparent 72%),
    radial-gradient(ellipse 46% 42% at 4% 70%, rgba(53, 212, 232, 0.07), transparent 74%),
    linear-gradient(180deg, rgba(16, 22, 44, 0.3), rgba(9, 13, 28, 0.04));
}

.about-page .about-origin-heading h2,
.about-page .about-method-heading h2 {
  font-size: clamp(2.15rem, 3.45vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  scroll-margin-top: 100px;
}

.about-page .about-origin-heading > p {
  line-height: 1.68;
}

.about-page .about-origin-facts {
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(21, 29, 56, 0.62), rgba(12, 18, 38, 0.6)) padding-box,
    linear-gradient(130deg, rgba(53, 212, 232, 0.3), rgba(255, 77, 157, 0.18)) border-box;
  box-shadow: 0 18px 42px -34px rgba(0, 0, 0, 0.92), inset 0 1px rgba(255, 255, 255, 0.03);
}

.about-page .about-origin-facts dd {
  display: grid;
  gap: 4px;
}

.about-page .about-origin-facts dd strong {
  color: var(--star);
  font-weight: 700;
}

.about-page .about-origin-facts dd > span {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.about-page .about-origin-chapter h3 {
  max-width: 25ch;
  font-size: clamp(1.45rem, 2.15vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-page .about-origin-chapter p {
  max-width: 59ch;
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  line-height: 1.72;
}

.about-page .about-origin-chapter > p:first-of-type {
  color: var(--text);
}

.about-page .about-origin-chapter--panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.7vw, 38px);
  border: 1px solid rgba(184, 183, 198, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(53, 212, 232, 0.05), transparent 34%),
    linear-gradient(155deg, rgba(21, 29, 56, 0.64), rgba(9, 13, 28, 0.72));
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.16), inset 0 1px rgba(255, 255, 255, 0.025);
}

.about-page .about-origin-chapter--panel:last-child {
  background:
    radial-gradient(circle at 94% 4%, rgba(255, 77, 157, 0.05), transparent 34%),
    linear-gradient(155deg, rgba(21, 29, 56, 0.64), rgba(9, 13, 28, 0.72));
}

.about-page .about-origin-chapter + .about-origin-chapter--panel {
  margin-top: clamp(34px, 5vw, 54px);
}

.about-page .about-origin-chapter .about-origin-emphasis {
  max-width: 47ch;
  padding: 13px 18px 14px 22px;
  border-left-color: var(--neon);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(53, 212, 232, 0.085), rgba(53, 212, 232, 0));
  font-size: clamp(1.16rem, 1.75vw, 1.38rem);
  line-height: 1.45;
}

.about-page .about-origin-quote > p {
  max-width: none;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.about-page .about-method {
  background:
    radial-gradient(ellipse 52% 70% at 8% 36%, rgba(53, 212, 232, 0.09), transparent 72%),
    radial-gradient(ellipse 46% 65% at 94% 58%, rgba(255, 77, 157, 0.075), transparent 74%),
    linear-gradient(180deg, rgba(16, 22, 44, 0.34), rgba(9, 13, 28, 0.02));
}

.about-method-panel {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(38px, 5.5vw, 58px);
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(53, 212, 232, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 96% 100%, rgba(255, 77, 157, 0.1), transparent 38%) padding-box,
    linear-gradient(160deg, rgba(21, 29, 56, 0.88), rgba(12, 18, 38, 0.84)) padding-box,
    linear-gradient(120deg, rgba(53, 212, 232, 0.66), rgba(255, 77, 157, 0.52)) border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.04);
}

.about-method-panel::before {
  content: "";
  position: absolute;
  top: -112px;
  right: -92px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(53, 212, 232, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(53, 212, 232, 0.03),
    0 0 0 68px rgba(255, 77, 157, 0.022);
  pointer-events: none;
}

.about-method-panel > * {
  position: relative;
  z-index: 1;
}

.about-page .about-method-heading h2 {
  max-width: 18ch;
}

.about-page .about-method-heading p {
  max-width: 68ch;
  font-size: 1.04rem;
  line-height: 1.72;
}

.about-page .about-principles {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr) minmax(0, 1.14fr);
  gap: 18px;
  margin-top: clamp(34px, 5vw, 56px);
  border-top: 0;
}

.about-page .about-principles article,
.about-page .about-principles article + article {
  min-height: 180px;
  padding: 30px 28px;
  border-left: 1px solid rgba(53, 212, 232, 0.18);
}

.about-page .about-principles article:nth-child(1) {
  background:
    radial-gradient(circle at 0% 0%, rgba(53, 212, 232, 0.1), transparent 46%),
    rgba(21, 29, 56, 0.42);
}

.about-page .about-principles article:nth-child(2) {
  background:
    radial-gradient(circle at 100% 100%, rgba(53, 212, 232, 0.075), transparent 48%),
    rgba(21, 29, 56, 0.42);
}

.about-page .about-principles article:nth-child(3) {
  border-color: rgba(255, 77, 157, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 77, 157, 0.09), transparent 46%),
    rgba(21, 29, 56, 0.42);
}

.about-page .about-principles article::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon), var(--pink));
}

.about-page .about-principles h3 {
  color: var(--star);
  font-size: 1.08rem;
  line-height: 1.3;
}

.about-page .about-principles > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.about-page .about-principles > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }

.about-island-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 14px);
  margin: 36px 0 32px;
}

.about-island-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(53, 212, 232, 0.24);
  border-radius: 20px;
  background: var(--night-panel);
  box-shadow:
    0 24px 52px -30px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 16px 38px -34px rgba(53, 212, 232, 0.72);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.about-island-photo:first-child,
.about-island-photo:nth-child(4) {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.about-island-photo:nth-child(3) {
  border-color: rgba(255, 77, 157, 0.2);
}

.about-island-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 0%, rgba(53, 212, 232, 0.1), transparent 40%),
    linear-gradient(180deg, transparent 58%, rgba(9, 13, 28, 0.28));
}

.about-island-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.about-island-photo:first-child img { object-position: 50% 34%; }
.about-island-photo:nth-child(2) img { object-position: 50% 48%; }
.about-island-photo:nth-child(3) img { object-position: 50% 66%; }
.about-island-photo:nth-child(4) img { object-position: 50% 56%; }

.about-method-heading p + p {
  margin-top: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .about-island-photo:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 212, 232, 0.42);
  }

  .about-island-photo:hover img {
    transform: scale(1.025);
    filter: brightness(1.025) saturate(1.025);
  }

}

@media (min-width: 961px) {
  .about-page .about-portrait-column {
    padding-top: 38px;
  }
}

@media (max-width: 960px) {
  .about-page .about-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "portrait"
      "story";
    width: min(100%, 650px);
    margin-inline: auto;
    row-gap: 0;
  }

  .about-page .about-heading h1 {
    font-size: clamp(2.7rem, 6vw, 3.4rem);
  }

  .about-page .about-intro {
    margin-bottom: 32px;
  }

  .about-page .about-visual,
  .about-page .about-facts {
    max-width: 440px;
  }

  .about-page .about-story-panel {
    max-width: 650px;
  }
}

@media (max-width: 820px) {
  .about-page .about-hero .fx-beams {
    opacity: 0.34;
  }

  .about-method-panel {
    max-width: 680px;
    padding: clamp(34px, 7vw, 48px);
    border-radius: 22px;
  }

  .about-page .about-story-panel,
  .about-page .about-origin-chapter--panel {
    padding: 28px;
  }

  .about-page .about-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .about-origin-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .about-page .about-principles article,
  .about-page .about-principles article + article {
    min-height: 0;
    padding: 26px;
    border-left: 1px solid rgba(53, 212, 232, 0.18);
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .about-page .about-hero {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .about-page .about-heading .kicker {
    margin-bottom: 16px;
  }

  .about-page .about-intro {
    margin-bottom: 28px;
  }

  .about-page .about-origin {
    padding-top: 64px;
  }

  .about-page .about-story-panel {
    margin-top: 28px;
  }

  .about-island-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0 28px;
  }

  .about-island-photo {
    grid-column: auto;
    border-radius: 15px;
  }

  .about-island-photo:first-child,
  .about-island-photo:nth-child(4) {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .about-page .about-origin-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-method-panel {
    padding: 30px 22px 32px;
    border-radius: 18px;
  }

  .about-page .about-story-panel,
  .about-page .about-origin-chapter--panel {
    padding: 22px 20px 24px;
    border-radius: 18px;
  }

  .about-page .about-origin-chapter + .about-origin-chapter--panel {
    margin-top: 30px;
  }

  .about-method-panel::before {
    top: -88px;
    right: -84px;
    width: 180px;
    height: 180px;
  }

  .about-page .about-principles article,
  .about-page .about-principles article + article {
    padding: 24px 22px;
    border-radius: 15px;
  }
}

@media (min-width: 821px) and (max-height: 700px) {
  .about-page .about-origin-heading {
    position: static;
  }
}

@media (hover: none) {
  .about-page .about-principles .glass-tile:hover {
    transform: none;
    border-color: rgba(53, 212, 232, 0.18);
    box-shadow: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .about-page .about-facts,
  .about-page .about-origin-facts,
  .about-method-panel,
  .about-page .about-principles .glass-tile {
    backdrop-filter: none;
    background-color: var(--night-panel);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-fact-accent { animation: none; }
  .about-island-photo,
  .about-island-photo img { transition: none; }
  .about-island-photo:hover,
  .about-island-photo:hover img { transform: none; }
}

/* Schluss-Handlung nach den Prinzipien-Kacheln (Psychologie-Audit M3, 12.07.) */
.about-page .about-cta-lead {
  max-width: 46ch;
  margin: clamp(30px, 4vw, 44px) auto 0;
  text-align: center;
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 1.6;
  color: var(--text);
}
.about-story-cta { margin-top: 22px; display: flex; justify-content: center; }
