/* Referenzuebersicht: kompakter Einstieg und helle Projektkarten. */
body.itemid-635 #g-header { display: none; }

body.itemid-635 #g-main {
  padding: 64px 0 80px;
  background: #f7f6f2;
  color: #405362;
}

body.itemid-635 #g-main::before,
body.itemid-635 #g-main::after { display: none; }

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

body.itemid-635 #g-main .g-content { margin: 0; padding: 0; }
body.itemid-635 #g-main .page-header { margin: 0; padding: 0; border: 0; text-align: left; }

body.itemid-635 #g-main h1 {
  max-width: 900px;
  margin: 0;
  color: #102c40;
  font: 600 clamp(34px,4vw,52px)/1.08 "SourceSansPro",sans-serif;
  letter-spacing: -.8px;
  text-align: left;
}

body.itemid-635 .wk-reference-intro {
  max-width: 900px;
  margin: 24px 0 48px;
  font-family: "SourceSansPro",sans-serif;
}

body.itemid-635 .wk-reference-intro p {
  margin: 0 0 14px;
  color: #405362;
  font-size: 18px;
  line-height: 1.65;
}

body.itemid-635 .wk-reference-intro .wk-reference-lead {
  color: #102c40;
  font-size: 22px;
  line-height: 1.5;
}

body.itemid-635 .com-content-category-blog__items.masonry-3 {
  column-count: 3;
  column-gap: 28px;
  margin: 0;
}

body.itemid-635 .com-content-category-blog__item.blog-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid #e2e0d8;
  border-radius: 10px;
  background: #fff;
  color: #405362;
  box-shadow: 0 12px 32px rgba(16,44,64,.08);
  vertical-align: top;
}

body.itemid-635 .com-content-category-blog__item .item-image {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e9e8e3;
}

body.itemid-635 .com-content-category-blog__item .item-image a { display: block; }

body.itemid-635 .com-content-category-blog__item .item-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 269;
  object-fit: cover;
  transition: transform .25s ease;
}

body.itemid-635 .com-content-category-blog__item .item-image a:hover img { transform: scale(1.02); }

body.itemid-635 .com-content-category-blog__item .item-content {
  height: auto !important;
  min-height: 0;
  padding: 26px 28px 30px;
  background: #fff;
  color: #405362;
  font-family: "SourceSansPro",sans-serif;
}

body.itemid-635 .com-content-category-blog__item .uk-h4 {
  margin: 0 0 16px;
  color: #536572;
  font: 600 15px/1.4 "SourceSansPro",sans-serif !important;
  letter-spacing: .02em;
}

body.itemid-635 .com-content-category-blog__item .uk-h4 a {
  color: inherit;
  text-decoration: none;
}

body.itemid-635 .com-content-category-blog__item h2 {
  margin: 0 0 6px;
  color: #102c40;
  font: 600 25px/1.2 "SourceSansPro",sans-serif !important;
  letter-spacing: -.2px;
}

body.itemid-635 .com-content-category-blog__item h3 {
  margin: 0 0 20px;
  color: #405362;
  font: 400 18px/1.4 "SourceSansPro",sans-serif !important;
}

body.itemid-635 .com-content-category-blog__item .item-content > p { display: none; }

body.itemid-635 .com-content-category-blog__item .item-content > .wk-reference-more {
  display: block;
  margin: 22px 0 0;
}

body.itemid-635 .com-content-category-blog__item .wk-reference-more a {
  display: inline-block;
  font-weight: 600;
}

body.itemid-635 .com-content-category-blog__item ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.itemid-635 .com-content-category-blog__item li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 20px;
  color: #405362;
  font-size: 16px;
  line-height: 1.45;
}

body.itemid-635 .com-content-category-blog__item li::before {
  position: absolute;
  top: 14px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b7a4e;
  content: "";
}

body.itemid-635 .com-content-category-blog__item a {
  color: #102c40;
  text-decoration: underline;
  text-decoration-color: #a9b4b8;
  text-underline-offset: 3px;
}

body.itemid-635 .com-content-category-blog__item a:hover {
  color: #29495b;
  text-decoration-color: currentColor;
}

body.itemid-635 #g-page-surround :is(#g-main,#g-aboutme,#g-kontakt) a:focus-visible {
  outline: 2px solid #102c40;
  outline-offset: 4px;
}

body.itemid-635 #g-aboutme {
  padding: 64px 0;
  background: #fff;
  color: #405362;
}

body.itemid-635 #g-aboutme::before,
body.itemid-635 #g-aboutme::after { display: none; }
body.itemid-635 #g-aboutme > .g-container { width: calc(100% - 64px); max-width: 1146px; }
body.itemid-635 #g-aboutme .g-content { margin: 0; padding: 0; }
body.itemid-635 #g-aboutme .g-array-item { display: flow-root; text-align: left; }
body.itemid-635 #g-aboutme .g-array-item-image { float: right; width: 30%; max-width: 320px; margin: 0 0 32px 40px; }
body.itemid-635 #g-aboutme .g-array-item-image img { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 8px; }
body.itemid-635 #g-aboutme :is(h2,h3,p,li,a) { font-family: "SourceSansPro",sans-serif !important; }
body.itemid-635 #g-aboutme :is(h2,h3) { color: #102c40; font-size: 27px; line-height: 1.25; font-weight: 600; text-align: left; margin: 28px 0 18px; }
body.itemid-635 #g-aboutme .g-item-title { margin-top: 0; font-size: 32px; }
body.itemid-635 #g-aboutme :is(p,li) { color: #405362; font-size: 18px; line-height: 1.65; }
body.itemid-635 #g-aboutme a { color: #102c40; }
body.itemid-635 #g-aboutme .g-array-item-read-more a { display: inline-block; padding: 14px 20px; border-radius: 4px; background: #102c40; color: #fff; white-space: normal; }

body.itemid-635 #g-page-surround .mail.icontainer,
body.itemid-635 #g-page-surround .telefon.icontainer,
body.itemid-635 #g-page-surround .g-totop.icontainer { display: none !important; }

@media (max-width: 960px) {
  body.itemid-635 .com-content-category-blog__items.masonry-3 { column-count: 2; }
}

@media (max-width: 700px) {
  body.itemid-635 #g-main { padding: 40px 0 56px; }
  body.itemid-635 #g-main > .g-container,
  body.itemid-635 #g-aboutme > .g-container { width: calc(100% - 40px); }
  body.itemid-635 .wk-reference-intro { margin: 20px 0 34px; }
  body.itemid-635 .wk-reference-intro .wk-reference-lead { font-size: 20px; }
  body.itemid-635 .com-content-category-blog__items.masonry-3 { column-count: 1; }
  body.itemid-635 .com-content-category-blog__item.blog-item { margin-bottom: 22px; }
  body.itemid-635 .com-content-category-blog__item .item-content { padding: 24px; }
  body.itemid-635 #g-aboutme { padding: 48px 0; }
  body.itemid-635 #g-aboutme .g-array-item-image { float: none; width: 100%; max-width: 360px; margin: 0 0 28px; }
  body.itemid-635 #g-aboutme .g-item-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  body.itemid-635 .com-content-category-blog__item .item-image img { transition: none; }
}
