/*
Theme Name: Katharina Lewald Child
Template:   twentytwentyone
Version:    1.0.0
*/
@import url("../twentytwentyone/style.css");

:root {
  --bg:     #FAF6F0;
  --text:   #1A1214;
  --muted:  #5A4E56;
  --red:    #8B1A2E;
  --red-dk: #6E1426;
  --border: rgba(139,26,46,.14);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h:  74px;
}

html,
body,
body.kl-frontpage,
.kl-frontpage .kl-main,
.wp-site-blocks {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  margin: 0 !important;
  padding: 0 !important;
}

:root {
  --global--color--background: var(--bg) !important;
}

/* ── NAVIGATION ── */
.kl-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5%;
  z-index: 300;
  gap: 24px;
}

.kl-logo {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.kl-nav { flex: 1; display: flex; justify-content: flex-end; }

.kl-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}

.kl-nav-list a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}

.kl-nav-list a:hover                 { color: var(--text); }
.kl-nav-list .current-menu-item > a { color: var(--red); font-weight: 500; }

/* ── HERO ── */
.kl-main { padding-top: var(--nav-h); }

.kl-hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 47fr 53fr;
  align-items: end;
  background: var(--bg);
}

.kl-hero-text {
  padding: 64px 4% 64px 9%;
  display: flex;
  flex-direction: column;
  align-self: center;
  background: var(--bg);
}

.kl-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.kl-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 5.2vw, 78px);
  line-height: 1.08;
  color: var(--text);
  margin: 0;
}

.kl-headline em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}

.kl-body {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  max-width: 430px;
}

.kl-body p {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.82;
  margin: 0;
}

.kl-body strong { font-weight: 500; color: var(--text); }

.kl-rule {
  border: none;
  border-top: 1px solid var(--border);
  width: 72px;
  margin: 20px 0;
}

.kl-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  margin-top: 36px;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  transition: background .2s;
}
.kl-btn:hover { background: var(--red-dk); color: #fff; }

/* ── Foto: Hochkantbild, Kopf sichtbar, kein Beschnitt ── */
.kl-hero-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kl-hero-photo img {
  display: block;
  height: 82vh;
  width: auto;
  max-width: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .kl-hero { grid-template-columns: 52fr 48fr; }
  .kl-hero-text { padding-left: 7%; }
}

@media (max-width: 768px) {
  .kl-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
  }
  .kl-hero-text  { padding: 48px 6% 36px; order: 1; }
  .kl-hero-photo { order: 2; }
  .kl-hero-photo img {
    height: auto;
    max-height: 70vw;
    width: 80%;
  }
  .kl-headline { font-size: clamp(44px, 7.5vw, 62px); }
}

@media (max-width: 480px) {
  .kl-nav-list  { gap: 16px; }
  .kl-nav-list a { font-size: 10px; }
  .kl-logo      { font-size: 15px; }
  .kl-hero-text { padding: 40px 5% 28px; }
  .kl-headline  { font-size: clamp(40px, 10vw, 54px); }
  .kl-hero-photo img { width: 90%; }
}

@media (max-width: 380px) {
  .kl-nav { display: none; }
}
