/* =========================================================================
   HUMAN FACES – shared stylesheet
   Values measured from the original site (computed styles) so the rebuild
   renders identically. Breakpoints: <=767 phone, <=980 tablet,
   981–1349 small desktop, >=1350 desktop.
   ========================================================================= */

:root {
  --sand: #e8e0d5;
  --gold: #c7b299;
  --ink: #282828;
  --grey: #666;
  --font: "Open Sans", Arial, sans-serif;

  /* outer spacing (tablet / phone defaults) */
  --section-pad: 50px;
  --row-pad: 30px;
}
@media (min-width: 981px) {
  :root { --section-pad: 4%; --row-pad: 2%; }
}
@media (min-width: 1350px) {
  :root { --section-pad: 54px; --row-pad: 27px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7em;            /* = 23.8px, inherited as a fixed value */
  font-weight: 500;
  color: var(--grey);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, figure { margin: 0; padding: 0; font: inherit; }
p { padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
strong { font-weight: 700; }
b { font-weight: bolder; }
a { color: #2ea3f2; text-decoration: none; }
img { max-width: 100%; height: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20000;
  background: #000; color: #fff; padding: .5rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Layout primitives ---------- */
.section {
  position: relative;
  background-color: #fff;
  padding: var(--section-pad) 0;
}
.section--dark { background-color: var(--ink); }

.row {
  position: relative;
  width: 80%;
  max-width: 1080px;
  margin: auto;
  padding: var(--row-pad) 0;
}
.row--story { margin-top: 100px; margin-bottom: 120px; }
.row--person { margin-top: 100px; margin-bottom: 100px; }

.col { position: relative; display: flow-root; }
.mod { position: relative; margin-bottom: 30px; overflow-wrap: break-word; }
.col > .mod:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .col { width: 100%; margin-bottom: 30px; }
  .col:last-child { margin-bottom: 0; }
}

@media (min-width: 981px) {
  .row--cols { display: flex; align-items: flex-start; }
  .col { margin-right: 5.5%; }
  .col:last-child { margin-right: 0; }
  .col--2-5 { width: 36.7%; }
  .col--3-5 { width: 57.8%; }
  .col--2-3 { width: 64.833%; }
  .col--1-3 { width: 29.6667%; }
  .col--full { width: 100%; }
  /* module spacing as percentage of the column width (equals ~29.7px at 1080px) */
  .col--2-5 > .mod { margin-bottom: 7.493%; }
  .col--3-5 > .mod { margin-bottom: 4.758%; }
  .col--2-3 > .mod { margin-bottom: 4.242%; }
  .col--1-3 > .mod { margin-bottom: 9.27%; }
  .col--full > .mod { margin-bottom: 2.75%; }
  .col > .mod:last-child { margin-bottom: 0; }
}

/* ---------- Text styles ---------- */
.t-title {
  color: var(--gold);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.col > .t-title,
.col > .mod.t-title { margin-bottom: 60px; }
@media (max-width: 767px) {
  .t-title { font-size: 30px; }
  .t-title--tight { line-height: 1.2em; }
}

/* two-line title on the home page (line-height .3em, as in the original) */
.t-title--stack { line-height: .3em; }
.t-title--stack .line { display: block; }
.t-title--stack .line:first-child { padding-bottom: 1em; }
.pb-4 { padding-bottom: 4px; }
.pb-3 { padding-bottom: 3px; }
.pb-2 { padding-bottom: 2px; }

.t-body {
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
}
.t-chapter {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.col > .mod.mb-48 { margin-bottom: 48px; }
.col > .mod.mb-120 { margin-bottom: 120px; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 2;
  min-height: 121px;
  padding: 0 0 6px;
  background-color: var(--sand);
}
.site-header .row {
  min-height: 47px;
  padding-top: var(--row-pad);
  padding-bottom: 4px;
  z-index: 3;
}
.menu {
  position: relative;
  padding-bottom: 3px;
  text-align: right;
}
.menu.is-stuck {
  position: fixed;
  top: 0;
  z-index: 10010;
}
@media (max-width: 767px) {
  .menu-holder { margin-bottom: 25px; }
}

.menu-inner {
  position: relative;
  display: flex;
  align-items: stretch;
}
.logo-wrap {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  width: 9%;
  max-width: 100%;
}
.logo {
  display: block;
  overflow: hidden;
  margin-right: 30px;
}
.logo img { display: block; width: 100%; height: auto; }

.menu-wrap {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-wrap: wrap;
}
.main-nav { display: flex; align-items: stretch; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  list-style: none;
  margin: 0 -11px;
  line-height: 1.7em;
}
.main-nav li {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0 11px;
  font-size: 14px;
  line-height: 1em;
}
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 31px 0;
  white-space: nowrap;
  color: #000;
  font-weight: 800;
  letter-spacing: 2px;
  transition: all .4s ease-in-out;
}
.main-nav a:hover { opacity: .7; }

/* mobile menu (tablet + phone) */
.menu-toggle {
  display: none;
  align-items: center;
  margin: -1px 6px 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: #000;
}
.menu-toggle svg { display: block; width: 32px; height: 32px; }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  width: 100%;
  display: none;
  overflow: hidden;
  padding: 5%;
  list-style: none;
  text-align: left;
  line-height: 26px;
  background: transparent;
  border-top: 3px solid #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 10px 5%;
  border-bottom: 1px solid rgba(0, 0, 0, .03);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
}
.mobile-menu a:hover { background-color: rgba(0, 0, 0, .03); opacity: .7; }

@media (max-width: 980px) {
  .menu-inner { align-items: center; }
  .logo-wrap { width: 13%; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 767px) {
  .logo-wrap { width: 25%; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  min-height: 120px;
  margin-bottom: -37px;
  padding: 38px 0 3px;
  background-color: #000;
}
.site-footer p { padding-bottom: 0; color: var(--grey); font-size: 14px; text-align: left; }
.site-footer .footer-legal { margin-top: 6px; }
.site-footer .footer-legal a { color: var(--grey); text-decoration: none; transition: color .3s ease; }
.site-footer .footer-legal a:hover,
.site-footer .footer-legal a:focus-visible { color: var(--gold); }

/* ---------- Impressum / Datenschutz ---------- */
.legal { line-height: 1.7; letter-spacing: 1px; }
.legal h2 {
  margin: 2.2em 0 .6em;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--gold); overflow-wrap: anywhere; }

/* ---------- Home: hero with background video ---------- */
.hero {
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #222;
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero .row { z-index: 1; }
.hero .col > .mod.hero-title {
  margin-top: 822px;
  margin-bottom: 27px;
  color: var(--gold);
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1em;
}
@media (max-width: 980px) {
  .hero { height: 413px; min-height: 100px; }
  .hero .col > .mod.hero-title { margin-top: 520px; }
}
@media (max-width: 767px) {
  .hero { height: 100px; min-height: 215px; }
  .hero .col > .mod.hero-title { margin-top: 392px; font-size: 44px; }
}

/* ---------- Home: fixed ("parallax") picture bands ---------- */
/* The picture stays put in the viewport while the page scrolls over it.
   Instead of background-attachment: fixed (ignored by iOS Safari) the image
   sits on a position: fixed layer; clip-path on the band clips that layer to
   the band's box. Same result as "fixed" on desktop, and it also works on
   iPhone/iPad and Android. */
.band {
  min-height: 668px;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}
.band-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  pointer-events: none;
}
.band-bg--titel   { background-image: url("../img/titelbild.png"); }
.band-bg--mauro   { background-image: url("../img/story-drogenrausch.png"); }
.band-bg--lukas   { background-image: url("../img/story-profisport.jpeg"); }
.band-bg--meron   { background-image: url("../img/story-flucht.jpg"); }

/* ---------- Button "GO TO" ---------- */
.button {
  position: relative;
  display: inline-block;
  padding: .3em 1em;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7em;
  letter-spacing: 2px;
  color: var(--gold);
  background-color: transparent;
  border: 1px solid var(--gold);
  border-radius: 3px;
  transition: all 300ms;
}
.button::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  margin-left: -1em;
  font-size: 1.6em;
  line-height: 1em;
  opacity: 0;
  background-color: currentColor;
  -webkit-mask: url("../img/icon-chevron.svg") no-repeat 0 0 / 100% 100%;
          mask: url("../img/icon-chevron.svg") no-repeat 0 0 / 100% 100%;
  transition: all .2s;
}
.button:hover {
  padding: .3em 2em .3em .7em;
  border-color: transparent;
  background-color: rgba(0, 0, 0, .05);
}
.button:hover::after { opacity: 1; margin-left: 0; }

/* ---------- Story page ---------- */
.section--story { min-height: 935.9px; }
.mod--link { cursor: pointer; }
.mod--link a, .mod--link a b { color: #fff; }

/* ---------- About page ---------- */
.person-img img { display: block; width: 100%; }
@media (max-width: 980px) {
  .person-img img { width: auto; }
}

/* ---------- Video modules (story pages) ---------- */
.video { position: relative; }
.video-box { position: relative; padding-top: 56.2963%; } /* 1080 × 608, as the original embed */
.video-box iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.video-overlay-hover {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: transparent;
  transition: all .5s ease-in-out;
}
.video-overlay:hover .video-overlay-hover { background-color: rgba(0, 0, 0, .6); }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 100;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  color: var(--gold);
}
.video-play svg { display: block; width: 100%; height: 100%; }
@media (max-width: 768px) {
  .video-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}
.video-overlay:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Home page: the original clips the last pixels of the footer
   (overflow hidden + negative footer margin) – reproduced here. */
.page--clip { overflow-y: hidden; }
.page--clip .site-footer { margin-bottom: -31px; }
@media (max-width: 767px) { .page--clip .site-footer { margin-bottom: -33px; } }
