.results-category-intro { padding: 28px 24px 24px; }
body main > .results-category-intro {
  min-height: 0 !important;
  padding-block: 28px 24px !important;
  margin-block: 0 !important;
}
body main > .results-category-intro .results-section-title {
  margin-block: 0 !important;
}
body main:has(> .results-category-intro) > section:not(.results-category-intro) {
  padding-top: 0 !important;
}
body main > .results-category-intro + section > div > :first-child,
body main > .results-category-intro + section > div > :first-child > div,
body main > .results-category-intro + section > div > :first-child > .results-section-title {
  margin-top: 0 !important;
}
.results-category-intro + #websites { padding-top: 0; }
.results-category-intro + #fotografie { padding-top: 0; }
@media (min-width: 640px) {
  .results-category-intro { padding-inline: 48px; }
}
@media (max-width: 599px) {
  .results-category-intro h1 { overflow-wrap: anywhere; }
}

/* Page headings have their own typeface; project and subject headings keep theirs. */
:root body main > .results-category-intro h1,
:root body main > #wie-ben-ik h1.page-heading,
:root body main:not(:has(> #wie-ben-ik)) > #specialismen h1.page-heading,
:root body main :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content h1.contact-page-title:not(.contact-map-title) {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important;
  font-weight: 600 !important;
}
:root body main > .results-category-intro { padding-bottom:64px !important; }
:root body main > .results-category-intro + section { margin-top:0 !important; }
:root body main > .results-category-intro + section > div > :first-child,
:root body main > .results-category-intro + section > div > :first-child > .results-section-title {
  margin-top:0 !important;
}
@media (max-width:599px) {
  :root body main > .results-category-intro { padding-bottom:40px !important; }
}

/* These four category pages share one section-boundary spacing rule at every width. */
:root body main > .results-category-intro.portfolio-category-page { height:auto; min-height:0!important; padding-bottom:60px!important; }
:root body main:has(> .portfolio-category-page) > section:not(.results-category-intro) {
 margin-block:0!important; padding-top:0!important;
}
:root body main:has(> .portfolio-category-page) > section:not(.results-category-intro):not(:last-of-type) { padding-bottom:0!important; }
:root body main:has(> .portfolio-category-page) > section:not(.results-category-intro) > .max-w-site { display:flow-root; }
:root body main:has(> .portfolio-category-page) > section:not(.results-category-intro) > .max-w-site > .reveal:has(> h2.results-section-title) { display:flow-root; }
:root body main:has(> .portfolio-category-page) > section:not(.results-category-intro) > .max-w-site > .reveal > h2.results-section-title { margin-top:0!important; }
:root body main:has(> .portfolio-category-page) > section:not(.results-category-intro) > .max-w-site > :is(h2.results-section-title,.reveal:has(> h2.results-section-title)) {
 margin-top:60px!important;
}

:root body main > .portfolio-category-page .marketing-tools-subtitle {
 margin:4px 0 0!important; font-size:14px!important; line-height:1.2!important;
 font-weight:400!important; letter-spacing:.04em!important; color:#555!important;
}
:root body main:has(> .portfolio-category-page) > .portfolio-category-page + section > .max-w-site > :is(h2.results-section-title,.reveal:has(> h2.results-section-title)):first-child { margin-top:0!important; }

/* Fixed Coolvetica Regular artwork; the font software is not embedded. */
:root body main > .portfolio-category-page h1.coolvetica-title,
:root body main #wie-ben-ik h1.page-heading.coolvetica-title,
:root body main :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content h1.contact-page-title.coolvetica-title {
 font-family:'Coolvetica Regular',sans-serif!important; font-weight:400!important;
 font-size:48px!important;
 line-height:1.14!important; height:1.14em; color:#000!important;
 text-align:left; text-transform:uppercase; display:flex; align-items:center;
}
:root body main > .portfolio-category-page h1.coolvetica-title img,
:root body main #wie-ben-ik h1.page-heading.coolvetica-title img,
:root body main :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content h1.contact-page-title.coolvetica-title img {
 display:block; width:auto; max-width:100%; height:1em; object-fit:contain; object-position:left center;
}

:root body main:has(> .portfolio-category-page) { padding-top:32px; }

/* Match Apps’ title position below the unchanged navigation. */
:root body main > .contact-page-content { padding-top:60px!important; }
:root body main #wie-ben-ik h1.page-heading.coolvetica-title { width:100%; max-width:100%; white-space:normal; letter-spacing:normal!important; }
@media(max-width:599px) and (orientation:portrait){
 #wie-ben-ik .about-biography-block > .reveal:first-child { grid-area:1 / 1 / 2 / -1!important; }
}
@media(max-width:599px){
 :root body main > .contact-page-content { padding-inline:16px!important; }
}

/* Long software lists wrap within the shared title block on narrow screens. */
:root body main > .portfolio-category-page .marketing-tools-subtitle { overflow-wrap:anywhere; }

.marketing-tools-subtitle .software-tool { white-space:nowrap; }

/* Add 16px locally to the original title-block margins. */
:root body main > .portfolio-category-page .marketing-tools-subtitle {
 margin-top:4px!important;
}
:root body main #wie-ben-ik h1.page-heading.coolvetica-title {
 margin-bottom:16px!important;
}
:root body main .contact-page-content > .max-w-site > .text-left > h1.contact-page-title {
 margin-bottom:24px!important;
}

/* Content page titles only; the outlined glyphs carry the same tracking. */
:root body main > .portfolio-category-page h1.coolvetica-title { letter-spacing:0.05em!important; }

/* Compact content inside the existing contact window. */
:root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form .contact-stage-header h1 {
 font-size:calc(var(--contact-reference-unit)*1.6575)!important;
}
:root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form .contact-stage-body {
 font-size:calc(var(--contact-reference-unit)*2.074)!important;
 padding:calc(var(--contact-reference-unit)*3.25)!important;
}
:root body .contact-page-content .contact-reference-form .contact-stage-field,
:root body .contact-page-content .contact-reference-form .contact-stage-first > p { width:92%; }
:root body .contact-page-content .contact-reference-form .contact-stage-inline { flex-direction:column; align-items:stretch; }
:root body .contact-page-content .contact-reference-form .contact-stage-actions { font-size:calc(var(--contact-reference-unit)*1.5385)!important; }
:root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form :is(input:not(.contact-stage-honeypot),textarea) {
 border:1px solid rgb(255 255 255 / .7)!important;
 outline:none!important; width:100%!important; flex:none!important;
 min-height:40px; padding:6px 10px!important; box-sizing:border-box;
}
:root body .contact-page-content .contact-reference-form input:not(.contact-stage-honeypot) { height:calc(1.955cqw * 1.15 + 14px)!important; }
:root body .contact-page-content .contact-reference-form textarea { height:85%!important; }
:root body .contact-page-content .contact-reference-form .contact-stage-actions button {
 border:1px solid rgb(255 255 255 / .7)!important;
 width:calc(var(--contact-reference-unit)*10.506)!important;
 height:calc(var(--contact-reference-unit)*3.407)!important;
 min-height:36px; padding:0 12px!important;
}
:root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-map-column .contact-map-title { font-size:16px!important; }
@media(max-width:599px){
 :root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-form-wrapper .contact-reference-form {
  height:599.015625px!important; min-height:599.015625px!important; aspect-ratio:auto!important;
  grid-template-rows:44px minmax(0,1fr)!important;
 }
 :root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form .contact-stage-header h1 { font-size:12px!important; }
 :root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form .contact-stage-body {
  font-size:14px!important; padding:24px!important; min-height:0!important; overflow:auto;
 }
 :root body .contact-page-content .contact-reference-form .contact-stage-field,
 :root body .contact-page-content .contact-reference-form .contact-stage-first > p { width:100%; }
 :root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form :is(input:not(.contact-stage-honeypot),textarea) {
  font-size:16px!important; min-height:44px!important; line-height:1.5!important;
 }
 :root body .contact-page-content .contact-reference-form input:not(.contact-stage-honeypot) { height:44px!important; }
 :root body .contact-page-content .contact-reference-form textarea { height:153px!important; }
 :root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form .contact-stage-actions button {
  font-size:14px!important; width:auto!important; height:44px!important; min-height:44px!important; padding:6px 12px!important;
 }
}
@media(min-width:600px){
 :root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form input:not(.contact-stage-honeypot) {
  min-height:40px!important; height:calc(2.074cqw * 1.15 + 16px)!important;
 }
}
:root body :is(.home-hero,#wie-ben-ik,#specialismen,.contact-page-content).contact-page-content .contact-reference-form :is(input:not(.contact-stage-honeypot),textarea):focus-visible {
 border-color:#fff!important; box-shadow:0 0 0 2px rgb(255 255 255 / .2)!important;
}

:root body main > .portfolio-category-page .marketing-tools-subtitle { letter-spacing:0.05em!important; }
