/*
Theme Name: Andrea Gartenbach
Theme URI:
Author:
Description: One-page bio/landing theme for Dr. med. Andrea Gartenbach — physician, entrepreneur and longevity expert. Deliberately built without a header nav or menu: a single scrolling page with hero, selected engagements, about, featured-in press logos, and contact sections.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andrea-gartenbach
*/

:root {
  --ag-ink: #1b1813;
  --ag-black: #111111;
  --ag-border: #dddddd;
  --ag-border-light: #e2e2e2;
  --ag-muted: #666666;
  --ag-muted-2: #999999;
  --ag-body: #444444;
  --ag-body-dark: #bbbbbb;
  --ag-text: #222222;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #ffffff; -webkit-font-smoothing: antialiased; font-family: 'Hanken Grotesk', system-ui, sans-serif; color: var(--ag-ink); }
a { color: var(--ag-ink); text-decoration: none; }
a:hover { color: var(--ag-black); }
::selection { background: #dddddd; }
img { max-width: 100%; }

.ag-page {
  min-height: 100vh;
  background: #ffffff;
  color: var(--ag-ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  padding: clamp(20px, 4vw, 56px);
}

/* Work-in-progress banner */
.ag-banner {
  max-width: 1280px;
  margin: 0 auto clamp(16px, 2vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f4f4f4;
  border: 1px solid var(--ag-border);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #555555;
  text-align: center;
}
.ag-banner__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ag-black); display: inline-block; flex: none; }
.ag-banner__label { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.ag-banner__text { color: #666666; }

/* Hero */
.ag-hero {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: clamp(24px, 5vw, 64px) 0;
}
.ag-hero__content { min-width: 0; }
.ag-hero__title {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  text-wrap: balance;
}
.ag-hero__title em { font-style: italic; color: var(--ag-black); }
.ag-hero__subtitle {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--ag-body);
  max-width: 46ch;
  margin: 0 0 clamp(26px, 3vw, 38px);
}
.ag-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ag-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
}
.ag-btn--primary { background: var(--ag-ink); color: #ffffff; }
.ag-btn--secondary { background: transparent; color: var(--ag-ink); border: 1px solid var(--ag-border); }
.ag-btn__arrow { font-size: 17px; line-height: 1; }

.ag-hero__portrait { position: relative; min-width: 0; }
.ag-hero__portrait-frame { border-radius: 16px; overflow: hidden; background: #e5e5e5; aspect-ratio: 508 / 620; }
.ag-hero__portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }

/* Selected engagements */
.ag-engagements {
  max-width: 1280px;
  margin: 25px auto;
  border-top: 1px solid var(--ag-border-light);
  padding: clamp(26px, 3.5vw, 40px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.ag-engagements__label-group { display: flex; align-items: center; gap: 16px; }
.ag-engagements__divider { width: 1px; height: 26px; background: var(--ag-border); }
.ag-engagements__logos { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(20px, 3vw, 48px); flex: 1; min-width: 0; }
.ag-engagements__logos img { flex: 1 1 0; min-width: 0; height: auto; object-fit: contain; display: block; }
.ag-engagements__logos img.ag-logo--ff { max-height: 110px; object-position: left center; }
.ag-engagements__logos img.ag-logo--mb,
.ag-engagements__logos img.ag-logo--db { max-height: 112px; }
.ag-engagements__logos img.ag-logo--doc { max-height: 80px; }
.ag-engagements__logos img.ag-logo--jb { max-height: 70px; }

/* Eyebrow label used above About / Featured in / Contact */
.ag-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ag-muted); margin-bottom: 18px; }
.ag-engagements .ag-eyebrow { margin-bottom: 0; white-space: nowrap; }

/* About */
.ag-about {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(25px, 7vw, 104px) 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.ag-about__profile { min-width: 0; }
.ag-about__name {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.ag-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; list-style: none; padding: 0; }
.ag-tag { font-size: 13px; font-weight: 600; padding: 7px 13px; border: 1px solid var(--ag-border); border-radius: 999px; }
.ag-credentials { border-top: 1px solid var(--ag-border-light); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ag-body); list-style: none; margin: 0; }

.ag-about__bio { min-width: 0; display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 22px); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--ag-text); }
.ag-about__bio p { margin: 0; }
.ag-about__quote { font-family: 'Newsreader', serif; font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--ag-ink); padding-top: 8px; }

/* Featured in */
.ag-featured { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--ag-border-light); padding: clamp(40px, 5vw, 64px) 0; text-align: center; }
.ag-featured .ag-eyebrow { margin-bottom: clamp(22px, 3vw, 32px); }
.ag-featured__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(34px, 6vw, 84px); }
.ag-featured__logos img { width: auto; display: block; }
.ag-featured__logos img.ag-logo--elle { height: 52px; }
.ag-featured__logos img.ag-logo--vogue { height: 46px; }
.ag-featured__logos img.ag-logo--tagesschau { height: 66px; }
.ag-featured__logos img.ag-logo--handelsblatt { height: 70px; }

/* Contact */
.ag-contact {
  max-width: 1280px;
  margin: clamp(24px, 4vw, 40px) auto 0;
  background: var(--ag-ink);
  color: #f5f5f5;
  border-radius: 20px;
  padding: clamp(40px, 6vw, 84px) clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.ag-contact__content { min-width: 0; }
.ag-contact .ag-eyebrow { color: var(--ag-muted-2); }
.ag-contact__title { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 20px; text-wrap: balance; }
.ag-contact__title em { font-style: italic; color: #cccccc; }
.ag-contact__text { font-size: 16px; line-height: 1.6; color: var(--ag-body-dark); max-width: 46ch; margin: 0; }
.ag-contact__actions { min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ag-contact .ag-btn--primary { background: #f5f5f5; color: var(--ag-ink); }

/* Stack the two-column sections on narrow viewports */
@media (max-width: 860px) {
  .ag-hero,
  .ag-about,
  .ag-contact {
    grid-template-columns: 1fr;
  }
  .ag-engagements {
    flex-direction: column;
    align-items: flex-start;
  }
  .ag-engagements__logos {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .ag-engagements__logos img {
    flex: 0 1 auto;
    max-height: 56px !important;
  }
  .ag-contact__actions {
    align-items: flex-start;
  }
}