/*
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.3.2
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,
body.hjt-impressum-page {
  background: var(--hjt-bg);
  color: var(--hjt-text);
  font-family: var(--hjt-font);
  margin: 0;
}

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

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

.hjt-page main {
  padding-top: 0;
}

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

.hjt-entry-gate {
  height: 100svh;
  padding: 32px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.hjt-entry-gate-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 6vh, 4rem);
}

.hjt-entry-gate-title {
  margin: 0;
  text-align: center;
  color: var(--hjt-text);
}

.hjt-entry-gate-name,
.hjt-entry-gate-tagline {
  display: block;
  color: var(--hjt-text);
}

.hjt-entry-gate-name {
  font-size: 1.28rem;
  line-height: 1.8;
  font-weight: 700;
}

.hjt-entry-gate-title .hjt-entry-gate-tagline {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  font-weight: 400 !important;
}

.hjt-entry-gate-title .hjt-entry-gate-tagline em {
  font-style: italic;
  font-weight: 400 !important;
}

.hjt-entry-gate-split {
  flex: 0 0 auto;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: stretch;
}

.hjt-entry-gate-divider {
  background: var(--hjt-line);
}

.hjt-entry-gate-panel {
  display: block;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: var(--hjt-text);
  transition: background .25s ease, color .25s ease;
}

.hjt-entry-gate-panel-title {
  display: block;
  font-size: 1.26rem;
  line-height: 1.35;
  font-weight: 700;
  width: 100%;
  margin: 0 0 14px;
}

.hjt-entry-gate-panel-sub {
  display: block;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  width: 100%;
  margin: 0;
}

.hjt-entry-gate-panel-sub strong {
  font-weight: 700;
}

.hjt-entry-gate-panel:hover,
.hjt-entry-gate-panel:focus {
  background: rgba(17,17,17,.06);
  color: var(--hjt-text);
}

.hjt-entry-comment {
  display: block;
  text-align: center;
  color: var(--hjt-text);
  font-size: .9rem;
  line-height: 1.5;
  text-decoration: none;
}

.hjt-entry-comment:hover,
.hjt-entry-comment:focus {
  text-decoration: underline;
}

#unternehmer-start,
#speaker-profil-download {
  scroll-margin-top: 24px;
}

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

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

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

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

.hjt-brand-name {
  font-size: 1.08rem;
  font-weight: 700;
}

.hjt-brand-tagline {
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  display: block;
}

.hjt-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  margin-left: 0;
  padding: 18px 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--hjt-line);
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(17,17,17,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  text-align: left;
}

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

.hjt-nav-dialog-link {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.45;
}

.hjt-nav-dialog-link-main,
.hjt-nav-dialog-link-sub {
  display: block;
}

.hjt-nav-dialog-link-sub {
  padding-left: 1rem;
  font-size: 0.90em;
  line-height: 1.35;
}

.hjt-nav-floating {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  width: min(calc(100% - 32px), var(--hjt-max));
  transform: translateX(-50%);
  pointer-events: none;
}

.hjt-nav-floating-inner {
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
}

.hjt-nav-toggle {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--hjt-line);
  border-radius: 4px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(17,17,17,.08);
  cursor: pointer;
}

.hjt-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--hjt-text);
  transition: transform .2s ease, opacity .2s ease;
}

.hjt-pseudo-nav.is-open .hjt-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hjt-pseudo-nav.is-open .hjt-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hjt-pseudo-nav.is-open .hjt-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.hjt-pseudo-nav.is-open .hjt-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hjt-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--hjt-line);
  border-radius: 4px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(17,17,17,.08);
  color: var(--hjt-text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  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-nav-action:hover,
.hjt-nav-action:focus,
.hjt-imprint-title:hover,
.hjt-imprint-title:focus,
.hjt-footer-link:hover,
.hjt-footer-link:focus,
.hjt-mail:hover,
.hjt-mail:focus,
.hjt-dialog-signature-mail:hover,
.hjt-dialog-signature-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-copy h3 {
  margin: 2.5rem 0 1rem;
}

.hjt-legal-copy {
  max-width: 680px;
}

.hjt-copy .hjt-footer-link {
  color: var(--hjt-text);
  font-size: inherit;
  line-height: inherit;
  white-space: normal;
  word-break: break-word;
}

.hjt-legal-title {
  margin: 2.4rem 0 1rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
}

.hjt-inline-contact {
  padding-top: 48px;
  margin-bottom: 5rem;
}

.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-dialog-lounge {
  background: #f5f2ed;
}

.hjt-dialog-copy {
  max-width: 570px;
  color: #333;
}

.hjt-dialog-copy p {
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hjt-dialog-copy p strong {
  font-weight: 400;
  color: #111;
}

.hjt-dialog-bridge {
  margin-bottom: 4.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #d0c7b8;
}

.hjt-dialog-bridge-label,
.hjt-dialog-eyebrow,
.hjt-dialog-benefit-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #aaa;
}

.hjt-dialog-bridge-label {
  margin-bottom: 2.5rem;
}

.hjt-dialog-bridge-text {
  font-size: clamp(1.22rem, 2.2vw, 1.45rem);
  line-height: 1.65;
  color: #333;
  margin-bottom: 1.4rem;
}

.hjt-dialog-bridge-close {
  font-style: italic;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  color: #888;
  line-height: 1.7;
  margin-top: 2rem;
}

.hjt-dialog-eyebrow {
  margin-bottom: 2.8rem;
}

.hjt-dialog-hero {
  margin: 0 0 2rem;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #111;
  font-weight: 300;
}

.hjt-dialog-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 2.8rem;
}

.hjt-dialog-meta-line {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.hjt-dialog-meta-line strong {
  font-weight: 400;
  color: #333;
}

.hjt-dialog-tagline {
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.32rem);
  color: #444;
  margin-bottom: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid #d0c7b8;
  border-bottom: 1px solid #d0c7b8;
  line-height: 1.65;
}

.hjt-dialog-statements {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid #c4b9a8;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hjt-dialog-statements p {
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.42rem);
  line-height: 1.5;
  color: #222;
}

.hjt-dialog-statements p em {
  font-style: italic;
  color: #666;
}

.hjt-dialog-separator {
  margin: 2.8rem 0;
  border: 0;
  border-top: 1px solid #d0c7b8;
  width: 36px;
}

.hjt-dialog-format-block {
  margin: 3rem 0;
  padding: 1.8rem 2rem;
  border: 1px solid #d0c7b8;
  background: #eeeae3;
}

.hjt-dialog-format-block strong {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
  margin-bottom: 0.9rem;
}

.hjt-dialog-format-block p {
  font-size: 1.05rem;
  margin: 0;
  color: #555;
  line-height: 1.75;
}

.hjt-dialog-benefit {
  margin: 3rem 0;
  padding: 2.2rem 2rem 2rem;
  border-left: 2px solid #1a1a1a;
}

.hjt-dialog-benefit-label {
  margin-bottom: 1.6rem;
}

.hjt-dialog-benefit-text {
  font-size: clamp(1.16rem, 1.8vw, 1.36rem);
  line-height: 1.65;
  color: #222;
  margin-bottom: 1.2rem;
}

.hjt-dialog-benefit-text:last-child {
  margin-bottom: 0;
}

.hjt-dialog-benefit-text em {
  font-style: italic;
  color: #555;
}

.hjt-dialog-benefit-text strong {
  font-weight: 400;
  color: #111;
}

.hjt-dialog-closing-line {
  font-size: clamp(1.18rem, 1.9vw, 1.38rem);
  line-height: 1.6;
  color: #222;
  margin: 3rem 0 2.5rem;
}

.hjt-dialog-signature {
  margin-top: 2rem;
}

.hjt-dialog-signature-name {
  font-size: 1.4rem;
  font-weight: 400;
  color: #111;
  margin-bottom: 0.3rem;
}

.hjt-dialog-signature-mail {
  display: inline-block;
  color: #111;
  font-size: 1rem;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  word-break: break-word;
}

.hjt-dialog-download-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #d0c7b8;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hjt-dialog-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: nowrap;
  width: 100%;
}

.hjt-dialog-after-download {
  margin-top: 1.5rem;
}

.hjt-dialog-after-download p {
  margin: 0 0 0.8rem;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.65;
}

.hjt-dialog-after-download p:last-child {
  margin-bottom: 0;
}

.hjt-dialog-after-download strong {
  font-weight: 700;
}

.hjt-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  background: #1a1a1a;
  color: #f5f2ed;
  border: none;
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease;
}

.hjt-download-button:hover,
.hjt-download-button:focus {
  background: #333;
}

.hjt-download-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

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

.hjt-footer-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding-top: 18px;
}

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

.hjt-imprint-title {
  display: inline-block;
  margin-bottom: .15rem;
  color: var(--hjt-text);
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  text-decoration: none;
}

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

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

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

  .hjt-dialog-download-item {
    flex-direction: column;
    align-items: stretch;
  }

  .hjt-download-button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hjt-entry-gate {
    padding: 24px 0;
  }

  .hjt-entry-gate-inner {
    height: 100%;
  }

  .hjt-entry-gate-title {
    margin: 0;
  }

  .hjt-entry-gate-split {
    max-width: 420px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto;
  }

  .hjt-entry-gate-panel {
    min-height: 140px;
    padding: 24px;
  }

  .hjt-pseudo-nav {
    padding-top: 72px;
  }

  .hjt-nav a {
    color: var(--hjt-text);
  }
}
