/* ============================================================
   About.html — page-specific styles
   Shared tokens, nav, footer, language toggle, reveal/stagger and
   cursive-pop animations live in css/site.css.
   ============================================================ */

/* ── HERO ────────────────────────────────────────────── */
section.hero {
  position: relative;
  padding: 96px 56px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rost);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--schwarzbraun);
  margin-bottom: 24px;
}
.hero h1 .accent {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 300;
  color: var(--rost);
}
.hero .lead {
  font-size: 19px;
  color: var(--erdbraun);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 24px;
}
.hero .role {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: var(--schwarzbraun);
  font-style: italic;
}
.hero .role b {
  font-family: 'Geologica', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--rost);
}
.hero .portrait-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ── POLAROID ───────────────────────────────────────── */
.polaroid {
  background: #fff;
  padding: 14px 14px 60px 14px;
  box-shadow: 0 8px 28px rgba(55, 50, 60, 0.13), 0 2px 4px rgba(55, 50, 60, 0.06);
  display: inline-block;
  position: relative;
  border-radius: 2px;
}
.polaroid > img {
  display: block;
  width: 100%;
  height: auto;
}
.polaroid .caption {
  position: absolute;
  bottom: 18px;
  left: 14px;
  right: 14px;
  text-align: center;
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--schwarzbraun);
  line-height: 1.2;
}
.polaroid .caption .year {
  display: block;
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rost);
  margin-bottom: 4px;
}
/* Tape strip decoration */
.polaroid.with-tape::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 88px; height: 22px;
  background: rgba(205,155,80,0.35);
  border-left: 1px dashed rgba(0,0,0,0.06);
  border-right: 1px dashed rgba(0,0,0,0.06);
}

/* Rotations */
.tilt-l1 { transform: rotate(-3deg); }
.tilt-l2 { transform: rotate(-5.5deg); }
.tilt-r1 { transform: rotate(2.5deg); }
.tilt-r2 { transform: rotate(4.5deg); }
.tilt-r3 { transform: rotate(7deg); }

/* Hero portrait polaroid sizing */
.hero .polaroid { width: 440px; }

/* ── STORY CHAPTERS ─────────────────────────────────── */
section.chapter {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
section.chapter.media-left .text-col { order: 2; }
section.chapter.media-left .media-col { order: 1; }

.chapter .marker {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.chapter .marker .year-big {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: var(--rost);
  line-height: 1;
  letter-spacing: -0.01em;
}
.chapter .marker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rost);
  display: inline-block;
}
.chapter .marker .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warmgrau);
}
.chapter h2 {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--schwarzbraun);
  margin-bottom: 20px;
}
.chapter h2 .accent {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 300;
  color: var(--rost);
}
.chapter p {
  font-size: 17px;
  color: var(--erdbraun);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}
.chapter p strong { color: var(--schwarzbraun); font-weight: 600; }

/* Polaroid cluster — multiple polaroids overlapping */
.polaroid-cluster {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.polaroid-cluster .polaroid {
  position: absolute;
}
.polaroid-cluster .polaroid.primary { width: 420px; z-index: 2; }
.polaroid-cluster .polaroid.secondary { width: 260px; }

/* Position helpers within cluster */
.pos-center { left: 50%; top: 50%; transform-origin: center; }

/* Combined transforms for absolute polaroids */
.polaroid-cluster .polaroid.primary.tilt-l1 { transform: translate(-50%, -50%) rotate(-3deg); }
.polaroid-cluster .polaroid.primary.tilt-r1 { transform: translate(-50%, -50%) rotate(2.5deg); }
.polaroid-cluster .polaroid.primary.tilt-r2 { transform: translate(-50%, -50%) rotate(4deg); }
.polaroid-cluster .polaroid.primary.tilt-l2 { transform: translate(-50%, -50%) rotate(-4.5deg); }

/* Section divider with a soft band */
.chapter-divider {
  max-width: 200px;
  margin: 0 auto;
  padding: 24px 56px;
}
.chapter-divider .line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rosegrau), transparent);
}

/* ── CREDENTIALS STRIP ──────────────────────────────── */
section.credentials {
  background: var(--sand);
  padding: 80px 56px;
  margin-top: 56px;
}
.cred-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cred-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rost);
  margin-bottom: 16px;
}
.cred-inner h2 {
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.015em;
  color: var(--schwarzbraun);
  margin-bottom: 36px;
  max-width: 600px;
}
.cred-inner h2 .accent {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 300;
  color: var(--rost);
}
.cred-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 14px 56px;
}
.cred-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--schwarzbraun);
  padding: 13px 0;
  border-bottom: 1px solid rgba(193, 183, 185, 0.4);
}
.cred-list li .bullet {
  color: var(--rost);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── HOBBIES STRIP ──────────────────────────────────── */
section.hobbies {
  padding: 96px 56px 120px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.hobbies .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rost);
  margin-bottom: 14px;
}
.hobbies h2 {
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--schwarzbraun);
  margin-bottom: 12px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.hobbies h2 .intro {
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  color: var(--erdbraun);
}
.hobbies h2 .accent {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 300;
  color: var(--rost);
}
.hobbies .sub {
  font-family: 'Geologica Cursive', sans-serif;
  font-size: 20px;
  color: var(--erdbraun);
  margin-bottom: 56px;
  font-style: italic;
}
.hobby-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hobby-row .polaroid { width: 300px; }

/* ── CTA BANNER ─────────────────────────────────────── */
section.cta-banner {
  background: var(--sand);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  font-family: 'Geologica Cursive', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  color: var(--schwarzbraun);
  margin-bottom: 28px;
}
.cta-banner h2 .accent {
  color: var(--rost);
  font-style: normal;
}
.cta-banner .btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--rost);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Geologica', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 200ms, transform 200ms;
}
.cta-banner .btn:hover {
  background: var(--rost-hover);
  transform: translateY(-2px);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,100,65,0.10), transparent 70%);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  section.hero, section.chapter, section.credentials, section.hobbies {
    padding-left: 24px; padding-right: 24px;
  }
  section.hero { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  section.chapter { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  section.chapter.media-left .text-col, section.chapter.media-left .media-col { order: initial; }
  .polaroid-cluster { min-height: 0; flex-direction: column; gap: 22px; }
  .polaroid-cluster .polaroid {
    position: relative !important;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    width: min(240px, 66vw) !important;
    transform: none !important;
  }
  /* "Systemik und Positive Psychologie": beide Bilder nebeneinander */
  .polaroid-cluster.pair { flex-direction: row; flex-wrap: nowrap; gap: 12px; justify-content: center; align-items: center; }
  .polaroid-cluster.pair .polaroid { width: 44vw !important; max-width: 200px; }
  .hero .polaroid { width: min(240px, 66vw); }
  /* Hobbybilder nebeneinander statt gestapelt (drei in einer Reihe) */
  .hobby-row { flex-wrap: nowrap; gap: 8px; }
  .hobby-row .polaroid { width: 30vw; max-width: 160px; padding: 6px 6px 22px 6px; }
  .hobby-row .polaroid .caption { font-size: 11px; bottom: 7px; }
  .cred-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 4px; }
}
