﻿/* Profile page: Jens Wild. Scoped to the canonical menu item. */
body.itemid-492 #g-page-surround #g-main {
  background: #f6f5f1;
  color: #405362;
  padding: 80px 0 88px;
}

/* Navigation already carries the site identity; remove the repeated legacy brand banner. */
body.itemid-492 #g-header {
  display: none;
}

body.itemid-492 #g-main > .g-container {
  width: calc(100% - 64px);
  max-width: 1180px;
}

body.itemid-492 #g-main .g-content {
  margin: 0;
  padding: 0;
}

body.itemid-492 #g-main .item-page {
  display: flow-root;
}

body.itemid-492 #g-main :is(h1, h2, h3, p, li, a, dt, dd) {
  font-family: "SourceSansPro", sans-serif;
}

body.itemid-492 #g-main figure.item-image {
  float: right;
  width: min(39%, 420px);
  margin: 0 0 44px 64px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e1ded6;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(16, 44, 64, .09);
}

body.itemid-492 #g-main figure.item-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
}

body.itemid-492 #g-main figure.item-image figcaption {
  display: none;
}

body.itemid-492 #g-main .page-header {
  margin: 0;
  padding: 0;
  border: 0;
}

body.itemid-492 #g-main .page-header h1 {
  max-width: 700px;
  margin: 0 0 28px;
  color: #102c40;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -1.2px;
  text-align: left;
}

body.itemid-492 #g-main .wk-about-intro {
  max-width: 690px;
  padding-bottom: 28px;
}

body.itemid-492 #g-main .wk-about-eyebrow {
  margin: 0 0 14px;
  color: #627681;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.itemid-492 #g-main .wk-about-lead {
  margin: 0 0 20px;
  color: #243f51;
  font-size: 22px;
  line-height: 1.55;
}

body.itemid-492 #g-main .wk-about-intro p:not(.wk-about-eyebrow):not(.wk-about-lead) {
  margin: 0 0 20px;
  color: #405362;
  font-size: 18px;
  line-height: 1.65;
}

body.itemid-492 #g-main .wk-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  margin-top: 28px;
}

body.itemid-492 #g-main .wk-about-actions a,
body.itemid-492 #g-main .wk-about-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

body.itemid-492 #g-main .wk-about-actions .button,
body.itemid-492 #g-main .wk-about-contact .button {
  background: #102c40;
  color: #fff;
}

body.itemid-492 #g-main .wk-about-secondary {
  color: #102c40;
  text-decoration: underline !important;
  text-decoration-color: #9aa8ae !important;
  text-underline-offset: 5px;
}

body.itemid-492 #g-main .wk-about-body {
  clear: both;
  padding-top: 52px;
}

body.itemid-492 #g-main .wk-about-principles,
body.itemid-492 #g-main .wk-about-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

body.itemid-492 #g-main .wk-about-principles section,
body.itemid-492 #g-main .wk-about-focus-item {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid #e5e2da;
  border-radius: 9px;
}

body.itemid-492 #g-main h2 {
  margin: 0 0 20px;
  color: #102c40;
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.4px;
  text-align: left;
}

body.itemid-492 #g-main h3 {
  margin: 0 0 12px;
  color: #102c40;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

body.itemid-492 #g-main .wk-about-body p {
  margin: 0;
  color: #405362;
  font-size: 18px;
  line-height: 1.65;
}

body.itemid-492 #g-main .wk-about-focus,
body.itemid-492 #g-main .wk-about-history {
  margin-top: 64px;
}

body.itemid-492 #g-main .wk-about-focus > p,
body.itemid-492 #g-main .wk-about-history > p {
  max-width: 780px;
  margin-bottom: 28px;
}

body.itemid-492 #g-main .wk-about-focus-item {
  position: relative;
  padding-left: 72px;
}

body.itemid-492 #g-main .wk-about-focus-item::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 30px;
  width: 22px;
  height: 3px;
  background: #b88c2f;
}

body.itemid-492 #g-main .wk-about-history-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

body.itemid-492 #g-main .wk-about-history-grid div {
  padding: 24px 22px;
  background: #ece9e2;
  border-radius: 8px;
}

body.itemid-492 #g-main .wk-about-history-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #102c40;
  font-size: 20px;
  font-weight: 600;
}

body.itemid-492 #g-main .wk-about-contact {
  margin-top: 64px;
  padding: 40px;
  background: #102c40;
  color: #fff;
  border-radius: 10px;
}

body.itemid-492 #g-main .wk-about-contact h2,
body.itemid-492 #g-main .wk-about-contact p {
  color: #fff;
}

body.itemid-492 #g-main .wk-about-contact p {
  max-width: 780px;
  margin-bottom: 24px;
}

body.itemid-492 #g-main .wk-about-contact .button {
  background: #fff;
  color: #102c40;
}

body.itemid-492 #g-main a:focus-visible {
  outline: 2px solid #b88c2f;
  outline-offset: 4px;
}

/* The dedicated references page is linked from the profile; avoid a second long card wall here. */
body.itemid-492 #g-feature {
  display: none;
}

body.itemid-492 #g-main,
body.itemid-492 #g-kontakt {
  scroll-margin-top: 80px;
}

@media (max-width: 900px) {
  body.itemid-492 #g-main figure.item-image {
    width: min(42%, 350px);
    margin-left: 40px;
  }

  body.itemid-492 #g-main .wk-about-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.itemid-492 #g-page-surround #g-main {
    padding: 48px 0 56px;
  }

  body.itemid-492 #g-main > .g-container {
    width: calc(100% - 40px);
  }

  body.itemid-492 #g-main figure.item-image {
    float: none;
    width: 100%;
    max-width: 430px;
    margin: 0 0 34px;
  }

  body.itemid-492 #g-main .page-header h1 {
    font-size: 38px;
    letter-spacing: -.6px;
  }

  body.itemid-492 #g-main .wk-about-lead {
    font-size: 20px;
  }

  body.itemid-492 #g-main .wk-about-actions,
  body.itemid-492 #g-main .wk-about-principles,
  body.itemid-492 #g-main .wk-about-focus-grid,
  body.itemid-492 #g-main .wk-about-history-grid {
    grid-template-columns: 1fr;
  }

  body.itemid-492 #g-main .wk-about-actions {
    display: grid;
    align-items: stretch;
  }

  body.itemid-492 #g-main .wk-about-actions a,
  body.itemid-492 #g-main .wk-about-contact a {
    width: 100%;
  }

  body.itemid-492 #g-main .wk-about-body {
    padding-top: 34px;
  }

  body.itemid-492 #g-main .wk-about-principles section,
  body.itemid-492 #g-main .wk-about-focus-item,
  body.itemid-492 #g-main .wk-about-contact {
    padding: 26px 22px;
  }

  body.itemid-492 #g-main .wk-about-focus-item {
    padding-left: 58px;
  }

  body.itemid-492 #g-main .wk-about-focus-item::before {
    left: 22px;
  }
}

