/* ============================================================
   Dalia El Gowhary — Digitale Visitenkarte
   Editorial · White & Gold · Magazin-Anmutung
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-tint: #FAFAF7;          /* a whisper warmer than white, for inner cards if needed */
  --ink: #1C1C1C;
  --ink-soft: #3a3a3a;
  --ink-muted: #7a7a7a;
  --gold: #C9A84C;
  --gold-2: #b1903a;
  --champagne: #F5EDD6;
  --rule: #E8E8E2;             /* near-neutral hairline */
  --rule-gold: #ECE3C8;        /* very faint gold tint */

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
/* Browser geben <figure> standardmaessig margin: 1em 40px. Zusammen mit
   width:100% ergab das 100% + 80px und machte die Seite auf dem Handy
   breiter als den Viewport. */
figure { margin: 0; }
a { color: inherit; }

/* ----------- Typography ----------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}

h1 {
  font-size: clamp(52px, 9vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.028em;
  font-weight: 400;
}

h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 0.4em;
}

p { margin: 0 0 1em 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* ----------- Container & Sections ----------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
section.snug { padding-top: 0; }

/* ----------- Nav ----------- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  z-index: 50;
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand .dot {
  width: 5px; height: 5px;
  background: var(--gold);
  display: inline-block;
  transform: translateY(-2px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
}
.nav-links a {
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--gold-2); }

@media (max-width: 640px) {
  /* Marke und Links passen nebeneinander nicht in eine Zeile und haben
     vorher die ganze Seite breiter als den Viewport gemacht. Daher
     zweizeilig, beides zentriert. */
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 0;
    padding: 14px 0;
  }
  .brand {
    width: 100%;
    justify-content: center;
    font-size: 17px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 20px;
  }
  .nav-links a { font-size: 10px; letter-spacing: 0.1em; }
}

/* ============================================================
   HERO
   Magazine-style: oversized photo left, name + role right
   ============================================================ */
.hero {
  padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 130px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Hochformat 2:3 in einem 4:5-Rahmen — Ausschnitt leicht nach oben,
     damit Kopf und Gegenlicht im Bild bleiben und unten der Stuhl wegfaellt. */
  object-position: 50% 22%;
  background: #ededed;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.hero-text .meta-top {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-text .meta-top::before {
  content: "";
  width: 30px; height: 1px; background: var(--gold);
}
.hero-text h1 .firstline { display: block; }
.hero-text h1 .lastline { display: block; }
.hero-text h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-text .role {
  margin-top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.hero-text .meta-bottom {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.hero-text .meta-bottom span { display: inline-flex; align-items: center; gap: 10px; }
.hero-text .meta-bottom span + span::before {
  content: "";
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 6px;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Auf dem Handy standen zwischen der Sprachen-Zeile und der naechsten
     Trennlinie ~95px Leerraum (70px Hero-Polsterung + 24px Textblock).
     Das war reine Scrollstrecke ohne Inhalt. */
  .hero { padding-bottom: 34px; }
  .hero-text { padding-top: 0; padding-bottom: 0; }
}

/* ============================================================
   ABOUT — Editorial paragraph, large readable serif body
   ============================================================ */
.about-wrap { border-top: 1px solid var(--rule); }
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about .label-col { position: sticky; top: 100px; }
.about .label-col h2 { margin-top: 22px; max-width: 11ch; }

.about-body p {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.72;
  color: var(--ink);
  max-width: 58ch;
}
.about-body p + p { margin-top: 1em; }
.about-body p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: clamp(64px, 6.5vw, 96px);
  line-height: 0.85;
  padding: 6px 16px 0 0;
  color: var(--gold);
}
.about-body .signature {
  /* blockquote hat per Browser-Default margin: 1em 40px — das rueckte das
     Zitat gegenueber dem Fliesstext ein und kostete auf dem Handy 40px. */
  margin: 56px 0 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink);
  max-width: 42ch;
  line-height: 1.3;
}
.about-body .signature::before {
  content: "„";
  display: inline-block;
  font-size: 1.2em;
  line-height: 0;
  color: var(--gold);
  margin-right: 4px;
  vertical-align: -0.2em;
}
.about-body .sign-attrib {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.about-body .sign-attrib::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
}
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about .label-col { position: static; }
}

/* ============================================================
   STATIONEN — minimal, calm grid (no hover decoration)
   ============================================================ */
.section-wrap { border-top: 1px solid var(--rule); }

.refs-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 90px);
  margin-bottom: clamp(50px, 6vw, 90px);
  align-items: end;
}
.refs-head h2 { max-width: 13ch; }
.refs-head .intro {
  color: var(--ink-soft);
  max-width: 50ch;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.7;
  font-family: var(--serif);
  font-style: italic;
}
@media (max-width: 820px) {
  .refs-head { grid-template-columns: 1fr; gap: 18px; }
}

.stations-list {
  border-top: 1px solid var(--rule);
}
.station-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding .25s ease;
}
.station-row:hover { padding-left: 12px; }
.station-row .idx {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  color: var(--gold-2);
  letter-spacing: 0.06em;
}
.station-row .name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.station-row .desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 52ch;
}
@media (max-width: 720px) {
  .station-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .station-row .idx { font-size: 11px; }
}

/* ============================================================
   AUSGEWÄHLTE ARBEITEN — magazine-tile grid with placeholder images
   ============================================================ */
.work-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}
.work-head h2 { max-width: 18ch; }
.work-head .work-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.6vw, 56px) clamp(24px, 3vw, 44px);
}
.work-tile {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s ease;
}
.work-tile:hover { transform: translateY(-4px); }

.work-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 500;
}
.work-meta-line .dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
}
.work-meta-line .year { color: var(--ink-muted); }

.work-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 32ch;
}
.work-arrow {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--rule);
  transition: color .25s ease, border-color .25s ease;
}
.work-arrow::after { content: "↗"; font-size: 14px; color: var(--gold); }
.work-tile:hover .work-arrow { color: var(--ink); border-color: var(--gold); }

@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ============================================================
   KONTAKT — clean, restrained
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact .lead-col h2 { max-width: 12ch; }
.contact .lead-col .lead {
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.5vw, 22px);
  color: var(--ink-soft);
  max-width: 38ch;
  line-height: 1.45;
}

.contact-card {
  border-top: 1px solid var(--gold);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .lbl {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.contact-row a, .contact-row .val {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .2s ease;
}
.contact-row a:hover { color: var(--gold-2); }
.contact-row a::after {
  content: "↗";
  font-size: 13px;
  color: var(--gold);
}
@media (max-width: 720px) {
  .contact { grid-template-columns: 1fr; gap: 24px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  border-top: 1px solid var(--rule);
  background: #fff;
  padding: 40px 0;
}
footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
footer .footer-inner a {
  color: var(--ink-muted);
  text-decoration: none;
  margin-left: 24px;
  transition: color .2s ease;
}
footer .footer-inner a:hover { color: var(--gold-2); }

/* Reveal */
main { animation: fadein .6s ease both; }
@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------- Legal ----------- */
.legal { max-width: 720px; }
.legal h2 { font-size: clamp(20px, 2vw, 24px); margin-top: 44px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.legal .placeholder {
  background: var(--champagne);
  border: 1px dashed var(--gold);
  padding: 2px 8px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  color: var(--gold-2);
}
.legal-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.legal-head .meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-top: 1px solid var(--gold);
  padding-top: 18px;
  font-weight: 500;
}
@media (max-width: 720px) {
  .legal-head { grid-template-columns: 1fr; gap: 16px; }
}
