/*
Theme Name: Bridge Leadership
Theme URI: https://bridge-leadership.com
Author: René Gudjons
Author URI: https://bridge-leadership.com
Description: Individuelles Theme für die Bridge Leadership Website (Senior Advisory & Interim Management). Enthält deutsche und englische Seiten mit Sprachumschalter.
Version: 1.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bridge-leadership
*/

:root {
  --navy: #16324A;
  --steel: #4C7C96;
  --steel-light: #DCE6EA;
  --ink: #454E57;
  --muted: #7A8791;
  --paper: #FDFDFC;
  --max: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Calibri Light", "Calibri", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--steel); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,253,252,0.96);
  backdrop-filter: blur(4px);
  border-bottom: 2px solid var(--navy);
}
header.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.wordmark { line-height: 1; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.wordmark img.logo-mark { height: 34px; width: auto; display: block; }
.wordmark .word { line-height: 1; }
.wordmark .name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.wordmark .tagline {
  font-size: 9.5px;
  letter-spacing: 2.5px;
  color: var(--steel);
  text-transform: uppercase;
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover { color: var(--navy); }
nav.main-nav a.active {
  color: var(--navy);
  font-weight: 700;
  border-bottom-color: var(--steel);
}
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 3px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--steel); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--steel-light);
}
nav.main-nav .lang-switch a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: none;
  padding: 0;
}
nav.main-nav .lang-switch a:hover { color: var(--navy); }
nav.main-nav .lang-switch a.lang-active { color: var(--navy); }
.lang-switch .sep { color: var(--steel-light); font-size: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  height: 56vh;
  min-height: 340px;
  max-height: 520px;
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,50,74,0.15) 0%, rgba(22,50,74,0.72) 100%);
  display: flex;
  align-items: flex-end;
}
.hero .hero-text {
  padding: 0 0 42px 0;
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.hero p.subtitle {
  color: #DCE6EA;
  font-size: 17px;
  margin: 0;
}
.photo-credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ---------- page banner (interior pages) ---------- */
.page-banner {
  background: var(--navy);
  padding: 56px 0 40px 0;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 8px 0;
}
.page-banner p.subtitle {
  color: #C9D6DD;
  font-size: 16px;
  margin: 0;
  max-width: 640px;
}

/* ---------- sections ---------- */
section { padding: 56px 0; }
section.tight { padding: 40px 0; }
section.tight-bottom { padding-bottom: 24px; }
section.alt { background: #F5F7F8; }

h2.section-title {
  font-size: 13px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--steel-light);
  padding-bottom: 10px;
  margin: 0 0 26px 0;
}
h2.section-title.no-rule { border-bottom: none; padding-bottom: 0; }

p.lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 0 20px 0;
}
p.lead strong { color: var(--navy); }

p.body-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px 0;
}

/* ---------- about row ---------- */
.about-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.about-row .portrait {
  flex: 0 0 220px;
  border-radius: 4px;
  overflow: hidden;
}
.about-row .about-text { flex: 1; }

/* ---------- offer grid ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.offer-item {
  font-size: 15.5px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.offer-item::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--steel);
  border-radius: 1px;
}
.offer-item b { color: var(--navy); display: block; margin-bottom: 2px; }

/* ---------- track record ---------- */
ul.track { list-style: none; margin: 0 0 44px 0; padding: 0; }
ul.track li {
  font-size: 15.5px;
  line-height: 1.6;
  padding: 14px 0;
  border-bottom: 1px solid var(--steel-light);
}
ul.track li:first-child { padding-top: 0; }
ul.track li:last-child { border-bottom: none; }
ul.track li b { color: var(--navy); display: block; margin-bottom: 2px; }

/* ---------- for whom ---------- */
.for-whom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 8px;
}
.for-whom-col h3 {
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 10px 0;
}
.for-whom-col ul { margin: 0; padding-left: 18px; }
.for-whom-col li { font-size: 15px; line-height: 1.6; margin-bottom: 8px; }

/* ---------- modes ---------- */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.mode-card {
  border-left: 3px solid var(--steel);
  padding: 4px 0 4px 16px;
}
.mode-card .mode-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.mode-card .mode-desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- timeline (Über mich) ---------- */
ul.timeline { list-style: none; margin: 0; padding: 0; }
ul.timeline li {
  position: relative;
  padding: 0 0 26px 26px;
  border-left: 2px solid var(--steel-light);
  margin-left: 4px;
}
ul.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
ul.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: 3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--steel);
}
ul.timeline .role { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
ul.timeline .period { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
ul.timeline .desc { font-size: 14.5px; line-height: 1.55; color: var(--ink); }

/* ---------- stats bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.stat { text-align: left; }
.stat .num { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat .label { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ---------- decorative figure (no heading/caption) ---------- */
.figure-break {
  display: flex;
  justify-content: center;
  background: #F5F7F8;
  padding: 44px 24px;
}
.figure-break img {
  width: 300px;
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

/* ---------- side photo ---------- */
.side-photo {
  height: 30vh;
  min-height: 220px;
  max-height: 340px;
  position: relative;
  overflow: hidden;
}
.side-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- publications ---------- */
.pub {
  padding: 16px 0;
  border-bottom: 1px solid var(--steel-light);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.pub:first-child { padding-top: 0; }
.pub b { color: var(--ink); }
.pub a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--steel-light); text-underline-offset: 2px; }
.pub a:hover { color: var(--navy); text-decoration-color: var(--steel); }

/* ---------- cta ---------- */
.cta {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 34px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta .cta-text { font-size: 20px; font-weight: 700; }
.cta .cta-sub { font-size: 14px; color: #C9D6DD; margin-top: 6px; }
.cta .cta-contact { font-size: 14.5px; line-height: 1.7; }
.cta .cta-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.cta .btn-white {
  display: inline-block;
  margin-top: 10px;
  background: #fff;
  color: var(--navy) !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14.5px;
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: #F5F7F8;
  border-radius: 6px;
  padding: 32px;
}
.contact-card .row { margin-bottom: 16px; font-size: 15.5px; line-height: 1.5; }
.contact-card .row .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 3px; }
.contact-card a { color: var(--navy); text-decoration: none; font-weight: 600; }
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  margin-top: 6px;
}
.btn-navy:hover { background: var(--steel); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.contact-actions .btn-navy { margin-top: 0; }

/* ---------- legal pages (content typed into the WP editor) ---------- */
.legal h2 { font-size: 17px; color: var(--navy); margin: 30px 0 10px 0; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 15px; line-height: 1.7; color: var(--ink); margin: 0 0 12px 0; }
.legal ul { margin: 0 0 12px 0; padding-left: 20px; }
.legal li { font-size: 15px; line-height: 1.7; color: var(--ink); margin: 0 0 4px 0; }
.legal .translation-note { font-style: italic; color: var(--muted); font-size: 14px; }

/* utility classes */
.lead-tight { margin-bottom: 0; }
.more-link { margin-top: 28px; }
.more-link a { font-weight: 700; color: var(--navy); text-decoration: none; }

/* ---------- footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--steel-light);
  padding: 30px 0;
  margin-top: 20px;
}
footer.site-footer .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
footer.site-footer a { color: var(--muted); text-decoration: none; }
footer.site-footer a:hover { color: var(--navy); }
footer.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  nav.main-nav {
    position: fixed;
    top: 63px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px 24px;
    gap: 14px;
    display: none;
  }
  nav.main-nav.open { display: flex; width: 100%; }
  .menu-toggle { display: block; }
  nav.main-nav a { padding: 10px 0; width: 100%; }
  nav.main-nav .lang-switch a { padding: 6px 0; }
  .lang-switch { border-left: none; padding-left: 0; margin-left: 0; margin-top: 4px; }
  .about-row { flex-direction: column; }
  .about-row .portrait { flex: 0 0 auto; width: 180px; }
  .offer-grid, .for-whom, .modes, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta .cta-contact { text-align: left; }
}
