/*
Theme Name: HJT Klarheit Child
Description: Minimalistisches Child Theme fuer Hans-Juergen Thoma auf Basis von Twenty Twenty-Four.
Author: Fabian Wallasch
Template: twentytwentyfour
Version: 1.1.10
Text Domain: hjt-klarheit-child
*/

:root {
  --hjt-bg: #ffffff;
  --hjt-text: #111111;
  --hjt-muted: #6f6f6f;
  --hjt-line: rgba(17,17,17,.12);
  --hjt-max: 800px;
  --hjt-narrow: 550px;
  --hjt-font: Calibri, 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.home,
body.blog {
  background: var(--hjt-bg);
  color: var(--hjt-text);
  font-family: var(--hjt-font);
  margin: 0;
}

body.home *,
body.blog * {
  font-family: inherit;
}

.hjt-page {
  min-height: 100vh;
}

.hjt-inner {
  width: min(calc(100% - 64px), var(--hjt-max));
  margin: 0 auto;
}

.hjt-pseudo-nav {
  padding: 36px 0 0;
}

.hjt-pseudo-nav-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hjt-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.hjt-brand-name,
.hjt-brand-city {
  display: block;
  font-size: 1rem;
  line-height: 2;
  font-weight: 700;
  color: var(--hjt-text);
}

.hjt-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-left: auto;
  text-align: left;
}

.hjt-nav a {
  text-decoration: none;
  color: var(--hjt-text);
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
}

.hjt-footer-link {
  text-decoration: none;
  color: var(--hjt-muted);
  font-size: 1rem;
  line-height: 1.35;
}

.hjt-nav a:hover,
.hjt-nav a:focus,
.hjt-footer-link:hover,
.hjt-footer-link:focus,
.hjt-mail:hover,
.hjt-mail:focus {
  color: var(--hjt-text);
}

.hjt-section {
  padding: clamp(72px, 10vw, 120px) 0 0;
}

.hjt-section-first {
  padding-top: clamp(48px, 8vw, 88px);
}

.hjt-section:last-of-type {
  padding-bottom: 100px;
}

.hjt-section-stack {
  display: block;
}

.hjt-section-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
}

.hjt-section-title-inline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 8px;
}

.hjt-section-title-continuation {
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  line-height: 1.8;
  font-weight: 400;
}

.hjt-copy {
  max-width: var(--hjt-narrow);
}

.hjt-bio-image {
  width: 35%;
  max-width: calc(var(--hjt-narrow) * 0.35);
  margin: 0 0 2rem;
}

.hjt-bio-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.hjt-copy p,
.hjt-imprint {
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  line-height: 1.8;
  margin: 0 0 1.1em;
}

.hjt-copy p:last-child,
.hjt-imprint:last-child {
  margin-bottom: 0;
}

.hjt-inline-contact {
  padding-top: 48px;
}

.hjt-mail {
  color: var(--hjt-text);
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
  text-decoration-color: var(--hjt-text);
  word-break: break-word;
}

.hjt-footer {
  padding: 24px 0 60px;
}

.hjt-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-top: 1px solid var(--hjt-line);
  padding-top: 18px;
}

.hjt-imprint {
  font-size: .92rem;
  line-height: 1.6;
  max-width: 620px;
  color: var(--hjt-muted);
}

.hjt-footer-link {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hjt-pseudo-nav-inner,
  .hjt-footer-row {
    flex-direction: column;
  }

  .hjt-nav {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hjt-inner {
    width: min(calc(100% - 32px), var(--hjt-max));
  }

  .hjt-bio-image {
    width: 100%;
    max-width: none;
  }
}
