:root {
--habegger-paper: #f7f5ef;
--habegger-paper-shade: #f0ede5;
--habegger-ink: #15171a;
--habegger-ink-muted: #5b5f66;
--habegger-ink-faint: #8b8e94;
--habegger-accent: #2d4263;
--habegger-rule: rgba(21, 23, 26, 0.12);
--habegger-rule-strong: rgba(21, 23, 26, 0.72);
--habegger-gutter: clamp(20px, 4vw, 56px);
--habegger-content: 960px;
--habegger-wide: 1280px;
--habegger-serif: "Playfair Display", Georgia, serif;
--habegger-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
position: fixed;
z-index: 100000;
top: 12px;
left: 12px;
width: auto;
height: auto;
padding: 10px 14px;
clip: auto;
color: var(--habegger-paper);
background: var(--habegger-ink);
border-radius: 2px;
text-decoration: none;
}
.alignwide,
.alignfull {
max-width: none;
}
.wp-caption,
.wp-caption-text,
.gallery-caption,
.bypostauthor {
color: inherit;
}@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 300 600;
font-display: swap;
src: url(//bjoern-habegger.de/wp-content/themes/habegger-editorial/assets/fonts/inter-variable.woff2) format("woff2");
}
@font-face {
font-family: "Playfair Display";
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url(//bjoern-habegger.de/wp-content/themes/habegger-editorial/assets/fonts/playfair-display-variable.woff2) format("woff2");
}
@font-face {
font-family: "Playfair Display";
font-style: italic;
font-weight: 400 600;
font-display: swap;
src: url(//bjoern-habegger.de/wp-content/themes/habegger-editorial/assets/fonts/playfair-display-italic-variable.woff2) format("woff2");
}
html {
scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
body {
margin: 0;
color: var(--habegger-ink);
background: var(--habegger-paper);
font-family: var(--habegger-sans);
font-size: 17px;
line-height: 1.6;
}
img,
svg,
video {
max-width: 100%;
height: auto;
}
img {
display: block;
}
a {
color: var(--habegger-ink);
text-decoration-thickness: 1px;
text-underline-offset: 0.18em;
transition: color 180ms ease;
}
a:hover,
a:focus-visible {
color: var(--habegger-accent);
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
color: var(--habegger-ink);
font-family: var(--habegger-serif);
font-weight: 500;
line-height: 1.1;
letter-spacing: 0;
}
h1 {
font-size: clamp(44px, 7vw, 88px);
}
h2 {
font-size: clamp(30px, 4vw, 52px);
}
h3 {
font-size: clamp(22px, 2.2vw, 28px);
}
p {
margin: 0 0 1.35em;
}
em {
color: var(--habegger-accent);
font-style: italic;
}
.icon {
display: inline-block;
width: 24px;
height: 24px;
vertical-align: middle;
stroke: currentColor;
fill: none;
stroke-width: 1.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.site-header,
.site-footer {
padding-inline: var(--habegger-gutter);
}
.site-header {
border-bottom: 1px solid var(--habegger-rule);
}
.site-header__inner,
.site-footer__inner,
.site-main {
width: min(100%, var(--habegger-wide));
margin-inline: auto;
}
.site-header__inner {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: clamp(20px, 4vw, 48px);
min-height: 86px;
}
.site-branding,
.custom-logo-link {
display: inline-flex;
align-items: center;
}
.custom-logo {
max-width: 160px;
height: auto;
}
.site-branding__title,
.site-footer__title {
color: var(--habegger-ink);
font-family: var(--habegger-serif);
font-size: 21px;
font-weight: 700;
text-decoration: none;
}
.menu {
display: flex;
align-items: center;
gap: clamp(16px, 3vw, 32px);
margin: 0;
padding: 0;
list-style: none;
}
.menu a {
font-size: 14.5px;
text-decoration: none;
}
.site-navigation {
justify-self: end;
}
.site-header__actions {
display: flex;
align-items: center;
gap: 24px;
}
.habegger-status {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
color: var(--habegger-ink-muted);
background: rgba(255, 255, 255, 0.4);
border: 1px solid var(--habegger-rule);
border-radius: 999px;
font-size: 12px;
}
.habegger-status__pulse {
position: relative;
display: inline-block;
width: 7px;
height: 7px;
}
.habegger-status__pulse::before,
.habegger-status__pulse::after {
content: "";
position: absolute;
inset: 0;
border-radius: 999px;
background: #3ea36a;
}
.habegger-status__pulse::after {
animation: habegger-pulse 2200ms ease-out infinite;
}
@keyframes habegger-pulse {
0% {
transform: scale(1);
opacity: 0.6;
}
100% {
transform: scale(2.6);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.habegger-status__pulse::after {
animation: none;
}
}
.habegger-header-cta,
.habegger-text-link,
.habegger-read-more {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--habegger-accent);
font-size: 15px;
font-weight: 500;
text-decoration: none;
border-bottom: 1px solid currentColor;
padding-bottom: 1px;
}
.habegger-header-cta .icon,
.habegger-text-link .icon,
.habegger-read-more .icon {
width: 15px;
height: 15px;
transition: transform 220ms ease;
}
.habegger-header-cta:hover .icon,
.habegger-text-link:hover .icon,
.habegger-read-more:hover .icon {
transform: translateX(3px);
}
.site-main {
padding-inline: var(--habegger-gutter);
}
.habegger-section {
padding-block: clamp(52px, 8vh, 90px);
border-top: 1px solid var(--habegger-rule);
}
.habegger-section:first-child {
border-top: 0;
}
.habegger-hero {
max-width: none;
text-align: center;
border-top: 1px solid var(--habegger-rule);
border-bottom: 1px solid var(--habegger-rule); margin-inline: calc(-1 * var(--habegger-gutter));
padding-inline: var(--habegger-gutter);
}
.habegger-hero__kicker,
.habegger-section-label {
color: var(--habegger-accent);
font-family: var(--habegger-serif);
font-size: 22px;
font-style: italic;
line-height: 1.2;
}
.habegger-hero__kicker {
color: var(--habegger-ink-muted);
font-size: 17px;
}
.habegger-hero h1 {
max-width: 24ch;
margin: 28px auto 34px;
font-size: clamp(40px, 5.2vw, 72px);
}
.habegger-hero__intro {
max-width: 58ch;
margin-inline: auto;
color: var(--habegger-ink-muted);
font-size: clamp(17px, 1.4vw, 20px);
}
.habegger-section__intro,
.habegger-focus__article,
.habegger-dialog-section,
.habegger-essay__layout {
display: grid;
grid-template-columns: minmax(160px, 25%) minmax(0, 1fr);
gap: clamp(28px, 5vw, 96px);
}
.habegger-section__intro {
align-items: end;
margin-bottom: clamp(36px, 6vh, 64px);
}
.habegger-card-grid {
display: grid;
gap: clamp(24px, 4vw, 56px);
}
.habegger-card-grid--three {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.habegger-service-card,
.habegger-skill-card,
.habegger-werkbank-tile,
.habegger-project-card {
min-width: 0;
border-top: 1px solid var(--habegger-rule);
}
.habegger-service-card {
padding: clamp(28px, 3vw, 40px);
}
.habegger-service-card + .habegger-service-card,
.habegger-skill-card + .habegger-skill-card {
border-left: 1px solid var(--habegger-rule);
}
.habegger-service-card__icon {
display: block;
width: 36px;
height: 36px;
margin-bottom: 14px;
color: var(--habegger-accent);
transition: transform 300ms ease;
}
.habegger-service-card:hover .habegger-service-card__icon {
transform: rotate(-6deg) scale(1.06);
}
.habegger-service-card p,
.habegger-skill-card p,
.habegger-werkbank-tile p,
.habegger-project-card p,
.habegger-list-card p,
.habegger-dialog-section__aside p,
.habegger-dialog-section__intro,
.habegger-person__copy p {
color: var(--habegger-ink-muted);
}
.habegger-person__profile {
display: grid;
grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
gap: clamp(24px, 4vw, 48px);
align-items: start;
}
.habegger-person__profile--text-only {
grid-template-columns: minmax(0, 68ch);
}
.habegger-person__portrait {
margin: 0;
overflow: hidden;
border-radius: 2px;
aspect-ratio: 3 / 4;
background: var(--habegger-paper-shade);
}
.habegger-person__portrait img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(15%);
}
.habegger-person__copy h2 {
font-size: clamp(24px, 2.5vw, 32px);
}
.habegger-person__role,
.habegger-date,
.habegger-project-card__terms,
.habegger-werkbank-tile__number {
color: var(--habegger-ink-faint);
font-size: 11.5px;
font-weight: 500;
text-transform: uppercase;
}
.habegger-person__skills {
margin-top: clamp(32px, 5vh, 56px);
}
.habegger-skill-card {
padding: clamp(20px, 2.5vw, 32px);
}
.habegger-skill-card h3 {
font-family: var(--habegger-sans);
font-size: 15px;
font-weight: 600;
}
.habegger-person__closing {
margin: clamp(20px, 3vh, 32px) 0 0 auto;
max-width: 62ch;
color: var(--habegger-ink-muted);
font-style: italic;
text-align: right;
}
.habegger-rule {
width: 100%;
height: 1px;
margin-block: 18px;
background: var(--habegger-rule-strong);
}
.habegger-focus__content h2 {
margin-bottom: 28px;
}
.habegger-focus__content h2 a,
.habegger-project-card h2 a,
.habegger-project-card h3 a,
.habegger-list-card h2 a,
.habegger-werkbank-tile h3 a {
text-decoration: none;
}
.habegger-werkbank__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0 clamp(28px, 5vw, 96px);
}
.habegger-werkbank-tile {
padding: 14px 0 18px;
}
.habegger-werkbank-tile__media,
.habegger-project-card__image,
.habegger-list-card__image {
display: block;
overflow: hidden;
margin-bottom: 16px;
border-radius: 2px;
background: var(--habegger-paper-shade);
}
.habegger-werkbank-tile__media,
.habegger-project-card__image {
aspect-ratio: 4 / 3;
}
.habegger-list-card__image {
aspect-ratio: 16 / 9;
}
.habegger-werkbank-tile__media img,
.habegger-project-card__image img,
.habegger-list-card__image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 420ms ease;
}
.habegger-werkbank-tile:hover img,
.habegger-project-card:hover img,
.habegger-list-card:hover img {
transform: scale(1.035);
}
.habegger-werkbank-tile__number {
display: inline-block;
margin-bottom: 8px;
}
.habegger-werkbank-tile__icon {
display: block;
width: 28px;
height: 28px;
margin-bottom: 10px;
color: var(--habegger-accent);
}
.habegger-projects {
border-top-color: var(--habegger-ink);
border-bottom: 1px solid var(--habegger-ink);
}
.habegger-project-card {
padding-top: 0;
}
.habegger-project-card__terms {
margin-top: 14px;
} .habegger-project-card h2 {
font-size: clamp(22px, 2.2vw, 28px);
overflow-wrap: break-word;
hyphens: auto;
}
.habegger-projects__more {
margin-top: clamp(28px, 4vh, 48px);
}
.habegger-dialog-section__aside p {
font-size: 14px;
}
.habegger-dialog-section__content {
max-width: 760px;
}
.habegger-dialog-section__intro {
max-width: 62ch;
font-size: 17px;
}
.habegger-dialog {
display: grid;
max-width: 60ch;
gap: 24px;
margin-top: 32px;
}
.habegger-dialog__field {
display: flex;
flex-direction: column;
gap: 8px;
margin: 0;
}
.habegger-dialog__field label,
.habegger-dialog__q {
color: var(--habegger-ink-faint);
font-size: 11.5px;
font-weight: 500;
text-transform: uppercase;
}
.habegger-dialog__field label span {
font-style: italic;
font-weight: 400;
text-transform: none;
}
.habegger-dialog__q {
color: var(--habegger-ink);
font-family: var(--habegger-serif);
font-size: 20px;
font-style: italic;
font-weight: 400;
text-transform: none;
}
.habegger-dialog__field input,
.habegger-dialog__field textarea,
.search-field {
width: 100%;
padding: 10px 0 12px;
color: var(--habegger-ink);
background: transparent;
border: 0;
border-bottom: 1px solid var(--habegger-rule-strong);
border-radius: 0;
font: inherit;
outline: none;
transition: border-color 180ms ease;
}
.habegger-dialog__field textarea {
min-height: 120px;
resize: vertical;
}
.habegger-dialog__field input:focus,
.habegger-dialog__field textarea:focus,
.search-field:focus {
border-color: var(--habegger-accent);
}
.habegger-dialog__field--honeypot {
position: absolute;
left: -9999px;
}
.habegger-dialog__submit {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 24px;
margin: 8px 0 0;
}
.habegger-dialog__submit small {
max-width: 36ch;
color: var(--habegger-ink-faint);
font-size: 12.5px;
}
.habegger-dialog__submit button,
.search-submit {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 14px 28px;
color: var(--habegger-paper);
background: var(--habegger-ink);
border: 0;
border-radius: 0;
font: inherit;
font-size: 15px;
font-weight: 500;
cursor: pointer;
}
.habegger-dialog__submit button:hover,
.search-submit:hover {
background: var(--habegger-accent);
}
.habegger-dialog-message {
max-width: 60ch;
padding: 20px 0;
border-top: 1px solid currentColor;
border-bottom: 1px solid currentColor;
font-family: var(--habegger-serif);
font-size: 22px;
font-style: italic;
}
.habegger-dialog-message--success {
color: var(--habegger-accent);
}
.habegger-dialog-message--error {
color: #8b2f2f;
}
.habegger-page,
.habegger-archive,
.habegger-single {
padding-block: clamp(52px, 8vh, 90px);
}
.habegger-page-header {
max-width: 68ch;
margin-bottom: clamp(40px, 6vh, 72px);
}
.habegger-page-header--narrow,
.habegger-content {
max-width: 68ch;
}
.habegger-content-shell {
max-width: var(--habegger-wide);
margin-inline: auto;
}
.habegger-content-shell--center {
max-width: 68ch;
}
.habegger-content > * {
margin-top: 0;
}
.habegger-content > * + * {
margin-top: 1.35em;
}
.habegger-content h2,
.habegger-content h3 {
margin-top: 1.6em;
}
.habegger-content blockquote {
margin-inline: 0;
padding-left: 24px;
border-left: 2px solid var(--habegger-accent);
color: var(--habegger-ink-muted);
font-family: var(--habegger-serif);
font-style: italic;
}
.habegger-single__hero,
.habegger-essay__hero {
margin: 0 0 clamp(42px, 7vh, 88px);
overflow: hidden;
border-radius: 2px;
}
.habegger-single__hero {
aspect-ratio: 16 / 9;
}
.habegger-essay__hero {
aspect-ratio: 21 / 9;
}
.habegger-single__hero img,
.habegger-essay__hero img {
width: 100%;
height: 100%;
object-fit: cover;
}
.habegger-essay__header {
margin-bottom: 40px;
}
.habegger-essay__body {
max-width: 72ch;
}
.habegger-essay-cta {
margin-top: 56px;
padding: 32px clamp(20px, 3vw, 40px) 36px;
border-top: 1px solid var(--habegger-ink);
border-bottom: 1px solid var(--habegger-ink);
}
.habegger-essay-cta p {
max-width: 60ch;
color: var(--habegger-ink);
font-family: var(--habegger-serif);
font-size: clamp(22px, 2.2vw, 28px);
font-style: italic;
line-height: 1.25;
}
.habegger-list {
display: grid;
gap: 0;
}
.habegger-list-card {
display: grid;
grid-template-columns: minmax(180px, 28%) minmax(0, 1fr);
gap: clamp(24px, 5vw, 72px);
padding-block: 24px;
border-top: 1px solid var(--habegger-rule);
}
.habegger-list-card h2 {
font-size: clamp(24px, 2.6vw, 34px);
}
.habegger-list-card__body {
max-width: 68ch;
}
.navigation.pagination {
margin-top: 56px;
}
.nav-links {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.page-numbers {
padding: 6px 10px;
border: 1px solid var(--habegger-rule);
text-decoration: none;
}
.page-numbers.current {
color: var(--habegger-paper);
background: var(--habegger-ink);
}
.habegger-post-nav {
display: flex;
justify-content: space-between;
gap: 24px;
max-width: 68ch;
margin-top: 56px;
padding-top: 24px;
border-top: 1px solid var(--habegger-rule);
}
.search-form {
display: flex;
gap: 16px;
max-width: 640px;
margin-top: 28px;
}
.site-footer {
margin-top: clamp(40px, 6vh, 72px);
border-top: 1px solid var(--habegger-rule);
}
.site-footer__inner {
padding-block: clamp(60px, 8vh, 100px) clamp(36px, 5vh, 60px);
}
.site-footer__columns {
display: grid;
grid-template-columns: 1.2fr 1fr 1fr;
gap: clamp(28px, 5vw, 80px);
}
.site-footer h2 {
margin-bottom: 14px;
color: var(--habegger-ink-faint);
font-family: var(--habegger-sans);
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
}
.site-footer p,
.site-footer a {
font-size: 14.5px;
}
.menu--footer {
display: grid;
gap: 6px;
}
.site-footer__legal {
display: flex;
flex-wrap: wrap;
align-items: baseline;
margin: 56px 0 0;
padding-top: 18px;
border-top: 1px solid var(--habegger-rule);
color: var(--habegger-ink-faint);
font-size: 12.5px;
}
.site-footer__legal .menu--legal {
display: inline-flex;
flex-wrap: wrap;
align-items: baseline;
margin: 0;
padding: 0;
list-style: none;
}
.site-footer__legal .menu--legal li::before,
.site-footer__legal .menu--legal-fallback a::before {
content: "·";
margin: 0 8px;
color: var(--habegger-ink-faint);
}
@media (max-width: 1080px) {
.site-header__inner {
grid-template-columns: auto auto;
}
.site-navigation {
grid-column: 1 / -1;
justify-self: start;
}
.site-header__actions {
justify-self: end;
}
}
@media (max-width: 900px) {
.habegger-status {
display: none;
}
.habegger-section__intro,
.habegger-focus__article,
.habegger-dialog-section,
.habegger-essay__layout,
.habegger-list-card {
grid-template-columns: 1fr;
}
.habegger-card-grid--three,
.habegger-werkbank__grid,
.site-footer__columns {
grid-template-columns: 1fr;
}
.habegger-service-card + .habegger-service-card,
.habegger-skill-card + .habegger-skill-card {
border-left: 0;
}
.habegger-person__profile {
grid-template-columns: 1fr;
}
}
@media (max-width: 680px) {
body {
font-size: 16px;
}
.site-header__inner {
grid-template-columns: 1fr;
align-items: start;
padding-block: 18px;
}
.site-header__actions {
justify-self: start;
}
.menu {
flex-wrap: wrap;
gap: 12px 18px;
}
.habegger-header-cta {
font-size: 14px;
}
.habegger-hero h1 {
max-width: 100%;
}
.search-form,
.habegger-dialog__submit,
.habegger-post-nav {
align-items: stretch;
flex-direction: column;
}
}