/* ============================================================
   GEWA Germany -- ABOUT US PAGE
   about-detail.css (about.html.twig)
   ============================================================ */

.about-hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; }
.about-hero-bg { position: absolute; inset: 0; will-change: transform; animation: seriesHeroZoom 14s ease-out forwards; }
.about-hero-bg picture, .about-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0.3) 50%, rgba(10,9,8,0.08) 100%); }
.about-hero-content { position: relative; z-index: 1; padding: 0 var(--side-pad) 80px; max-width: var(--max-w); width: 100%; margin: 0 auto; }
.about-hero-eyebrow { font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.about-hero-eyebrow::before { content: ''; display: block; width: 28px; height: 0.5px; background: var(--gold); }
.about-hero-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 6vw, 88px); line-height: 0.94; font-weight: 300; color: var(--cream); margin-bottom: 24px; }
.about-hero-headline em { font-style: italic; color: var(--gold); }
.about-hero-sub { font-size: 18px; line-height: 1.6; color: var(--w55); font-weight: 300; max-width: 520px; }
.about-hero-editzone { min-height: 480px; background: var(--ink-mid); border: 2px dashed var(--gold-dim); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; }

/* Page nav */
.about-page-nav { display: flex; align-items: center; justify-content: center; gap: 0; border-bottom: 0.5px solid var(--w06); background: var(--ink-mid); position: sticky; top: var(--nav-h); z-index: 50; overflow-x: auto; }
.pn-item { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--w40); padding: 16px 28px; border-bottom: 2px solid transparent; cursor: pointer; text-decoration: none; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.pn-item:hover, .pn-item.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Section helpers */
.about-anchor { position: relative; top: -80px; display: block; visibility: hidden; }
.about-ey { font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.about-ey::before { content: ''; display: block; width: 24px; height: 0.5px; background: var(--gold); }
.about-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4vw, 56px); font-weight: 300; line-height: 1.05; color: var(--cream); margin-bottom: 20px; }
.about-h2 em { font-style: italic; color: var(--gold); }
.about-body { font-size: 18px; line-height: 1.75; color: var(--w60); font-weight: 300; }
.about-editlabel { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }

/* Philosophie */
.philosophie { padding: 80px var(--side-pad); border-bottom: 0.5px solid var(--w06); }
.philo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: var(--max-w); margin: 0 auto; }
.philo-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3vw, 40px); font-weight: 300; font-style: italic; line-height: 1.25; color: var(--cream); position: relative; padding-left: 28px; }
.philo-quote::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1.5px; background: var(--gold); }
.philo-right { display: flex; flex-direction: column; gap: 36px; }
.philo-stats { display: grid; grid-template-columns: repeat(3,1fr); border: 0.5px solid var(--w06); }
.philo-stat { padding: 24px 16px; border-right: 0.5px solid var(--w06); text-align: center; }
.philo-stat:last-child { border-right: none; }
.philo-val { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.philo-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w55); line-height: 1.6; }

/* Heritage */
.heritage { background: var(--ink-mid); border-bottom: 0.5px solid var(--w06); }
.heritage-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.heritage-img-col { position: relative; overflow: hidden; min-height: 400px; background: var(--ink-soft); }
.heritage-img-col picture, .heritage-img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heritage-img-edit { width: 100%; height: 100%; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed var(--gold-dim); padding: 24px; }
.heritage-img-tag { position: absolute; bottom: 20px; left: 20px; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: rgba(14,13,11,0.85); padding: 6px 14px; border: 0.5px solid var(--gold-dim); }
.heritage-text-col { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.heritage-timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 0.5px solid var(--w06); }
.tl-item:last-child { border-bottom: none; }
.tl-year { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 300; color: var(--gold); min-width: 64px; padding-top: 2px; }
.tl-title { font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); margin-bottom: 4px; font-weight: 500; }
.tl-desc { font-size: 17px; color: var(--w55); line-height: 1.6; font-weight: 300; }

/* People
   .person-card / .person-photo / .person-name / .person-quote / .person-role /
   .person-title now live in global.css (shared with artists.html.twig).
   Only this page's own layout (.people, .people-grid) and its distinct
   -label variants stay here. */
.people { padding: 80px var(--side-pad); border-bottom: 0.5px solid var(--w06); }
.people-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.people-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 0.5px solid var(--w06); max-width: var(--max-w); margin: 0 auto; }
.people-grid.three-col { grid-template-columns: repeat(3,1fr); }
.person-role-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.person-title-label { font-size: 14px; letter-spacing: 0.06em; color: var(--w45); margin-bottom: 16px; }

/* Made in Germany */
.made-in { border-bottom: 0.5px solid var(--w06); }
.made-in-hero { position: relative; height: 380px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink-soft); }
.made-in-hero picture, .made-in-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.made-in-hero-edit { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed var(--gold-dim); padding: 24px; }
.made-in-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0.6) 40%, transparent 65%),
    linear-gradient(to top, rgba(10,9,8,0.85) 0%, transparent 55%);
}
.made-in-hero-text { position: relative; z-index: 2; padding: 0 var(--side-pad) 48px; max-width: var(--max-w); }
.mih-label { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.mih-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(20px, 2.8vw, 32px); font-weight: 300; color: var(--cream); font-style: italic; max-width: 680px; line-height: 1.35; }
.mih-attr { font-size: 14px; letter-spacing: 0.1em; color: var(--w55); margin-top: 14px; }
.made-in-pillars { display: grid; grid-template-columns: repeat(4,1fr); border-top: 0.5px solid var(--w06); }
.mip { padding: 32px 24px; border-right: 0.5px solid var(--w06); }
.mip:last-child { border-right: none; }
.mip-num { font-family: 'Cormorant Garamond', serif; font-size: 46px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.mip-title { font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); margin-bottom: 10px; font-weight: 500; }
.mip-desc { font-size: 17px; color: var(--w55); line-height: 1.65; font-weight: 300; }
.made-in-process { display: grid; grid-template-columns: repeat(3,1fr); border-top: 0.5px solid var(--w06); }
.process-step { aspect-ratio: 4/3; background: var(--ink-soft); border-right: 0.5px solid var(--w06); position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.process-step:last-child { border-right: none; }
.process-step picture, .process-step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-edit { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--gold-dim); padding: 16px; }
.process-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,13,11,0.9) 0%, transparent 55%); }
.process-label { position: relative; z-index: 2; padding: 14px 18px; width: 100%; }
.psl-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--gold); opacity: 0.6; }
.psl-title { font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); }

/* Series (About page reuse) */
.about-series { padding: 80px var(--side-pad); border-bottom: 0.5px solid var(--w06); }
.about-series-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* ── Editmode: image-editable dropzones ──
   In editmode, replace each section's real (position:absolute / overflow:hidden /
   fixed-height) background-image layout with a plain, fully visible block so
   Pimcore's drag-and-drop image editable UI is never clipped or hard to hit.
   Applied via the .is-editmode modifier class the template adds alongside the
   section class when {{ editmode }} is true — never together with the "live"
   image markup, which only renders in the {% else %} branch. */
.about-hero.is-editmode { height: auto; min-height: 0; overflow: visible; display: block; }
.heritage-img-col.is-editmode { overflow: visible; min-height: 0; }
.made-in-hero.is-editmode { height: auto; overflow: visible; display: block; }
.process-step.is-editmode { aspect-ratio: auto; overflow: visible; display: block; }

/* Responsive */
@media (max-width: 960px) {
  .about-hero-content { padding: 0 24px 56px; }
  .about-page-nav { display: none; }
  .philosophie { padding: 56px 24px; }
  .philo-inner { grid-template-columns: 1fr; gap: 40px; }
  .heritage-inner { grid-template-columns: 1fr; }
  .heritage-text-col { padding: 40px 24px; }
  .people { padding: 56px 24px; }
  .people-intro { grid-template-columns: 1fr; gap: 28px; }
  .people-grid { grid-template-columns: repeat(2,1fr) !important; }
  .person-card:nth-child(even) { border-right: none; }
  .made-in-pillars { grid-template-columns: repeat(2,1fr); }
  .mip:nth-child(2) { border-right: none; }
  .made-in-process { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 0.5px solid var(--w06); }
  .about-series { padding: 56px 24px; }
  .about-series-intro { grid-template-columns: 1fr; gap: 28px; }
  .series-grid { grid-template-columns: 1fr !important; }
  .series-card { border-right: none !important; border-bottom: 0.5px solid var(--w06); }
}