/*
Theme Name: Katja Schulz
Author: Katja Schulz
Description: Vier Seiten für Management-Trainings. Deutsch ist Standard, Englisch per Schalter. Texte bearbeiten Sie unter Seiten.
Version: 2.1.3
Requires at least: 6.0
Text Domain: katja-schulz
*/

:root {
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --fg: #1c1412;
  --muted: #5c564e;
  --subtle: #8a8378;
  --pine: #7c3034;
  --pine-fg: #ffffff;
  --pine-soft: #f6f0ef;
  --border: #e6dfde;
  --font-display: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, [role="button"] { cursor: pointer; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}
.gt_float_switcher,
.gt_switcher,
.gtranslate_wrapper,
#gt_float_wrapper,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.skiptranslate,
iframe.skiptranslate,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
[class*="gt_float"],
[id*="gtranslate"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body { top: 0 !important; }

.ks-de, .ks-en { display: none; }
.ks-lang-de .ks-de { display: inline; }
.ks-lang-en .ks-en { display: inline; }
.ks-lang-de .ks-block.ks-de,
.ks-lang-en .ks-block.ks-en { display: block; }
.ks-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
}
.lead { color: var(--muted); font-size: 1.15rem; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.bar {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  text-decoration: none;
}
.brand span { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.brand svg { width: 2.25rem; height: 2.25rem; color: var(--pine); display: block; flex: none; }
.foot .brand svg { width: 2rem; height: 2rem; }
.bar-actions { display: flex; align-items: center; gap: 0.5rem; }
.langs { display: flex; border: 1px solid var(--border); padding: 2px; }
.langs button, .icon-btn, .btn {
  font-family: inherit;
  border: 0;
  background: transparent;
  color: var(--fg);
}
.langs button {
  min-width: 2.5rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.75rem;
}
.langs button[aria-pressed="true"] { background: var(--pine); color: var(--pine-fg); }
.icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  background: #ffffff;
  display: grid;
  place-items: center;
}
.icon-btn > span:first-child, .icon-btn > span:first-child::before, .icon-btn > span:first-child::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--fg);
  position: relative;
}
.icon-btn > span:first-child::before, .icon-btn > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
}
.icon-btn span::before { top: -6px; }
.icon-btn span::after { top: 6px; }
body.ks-menu-open .icon-btn > span:first-child { background: transparent; }
body.ks-menu-open .icon-btn > span:first-child::before { top: 0; transform: rotate(45deg); }
body.ks-menu-open .icon-btn > span:first-child::after { top: 0; transform: rotate(-45deg); }

.site-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--pine-soft);
  color: var(--fg);
  z-index: 40;
  padding-top: 4rem;
}
body.ks-menu-open .site-menu { display: block; }
.site-menu ul { list-style: none; margin: 0; padding: 1.5rem 0; }
.site-menu li { border-top: 1px solid color-mix(in srgb, var(--pine) 18%, transparent); }
.site-menu a {
  display: block;
  padding: 0.95rem 0;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2;
  color: var(--fg);
}
.site-menu a[aria-current="page"] { color: var(--pine); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  background: var(--pine);
  color: var(--pine-fg);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.btn.light { background: var(--bg); color: var(--fg); }
.btn.line { background: transparent; color: var(--fg); border: 1px solid #c4baab; }

.hero, .split, .page-head { padding: 3.5rem 0; }
.hero, .split { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) {
  .hero, .split { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .page-head { padding: 4.5rem 0; }
}
h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-top: 0.8rem; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.hero .lead, .page-head .lead, .split .lead { margin-top: 1.15rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.note { color: var(--subtle); font-size: 0.95rem; }

.section { padding: 4rem 0; border-top: 1px solid var(--border); }
.section.tint, .section.alt, .facts, .site-footer { background: var(--pine-soft); }
.points { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 800px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points article { background: #fff; border: 1px solid var(--border); padding: 1.5rem; }
.points .num { font-size: 0.9rem; font-weight: 600; color: var(--pine); }
.points h3 { margin-top: 0.7rem; font-size: 1.2rem; }
.points p { margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--border); background: #fff; padding: 0.45rem 0.7rem; font-size: 0.92rem; }

.course-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--border); }
.course-list li {
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .course-list li { grid-template-columns: 8rem 1fr; gap: 1rem; }
}
.duration { color: var(--pine); font-size: 0.95rem; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.section-head a { color: var(--pine); font-size: 0.95rem; }

.band { background: var(--pine); color: var(--pine-fg); padding: 4rem 0; }
.band .inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
@media (min-width: 800px) {
  .band .inner { flex-direction: row; justify-content: space-between; align-items: end; }
}
.band p { color: color-mix(in srgb, var(--pine-fg) 80%, transparent); margin-top: 0.7rem; max-width: 36rem; }
.band h2 { color: var(--pine-fg); }

.facts { display: grid; border-top: 1px solid var(--border); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { padding: 1.8rem 0; border-top: 1px solid var(--border); }
@media (min-width: 800px) {
  .facts div { border-top: 0; padding: 2rem 1.5rem; border-left: 1px solid var(--border); }
  .facts div:first-child { border-left: 0; padding-left: 0; }
}
.facts dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.facts dd { margin: 0.4rem 0 0; font-family: var(--font-display); font-size: 1.6rem; }

.course {
  display: grid;
  gap: 1rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .course { grid-template-columns: 8rem 1fr auto; align-items: start; }
}
.course .idx { font-size: 0.95rem; font-weight: 600; color: var(--pine); }
.course h2 { margin-top: 0.3rem; }
.course .audience { margin-top: 0.8rem; }
.course .body { margin-top: 0.7rem; color: var(--muted); font-size: 0.98rem; max-width: 40rem; }

.contact-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0 4rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
form.card, .card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
label { display: grid; gap: 0.35rem; font-size: 0.92rem; }
input, select, textarea {
  font: inherit;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  width: 100%;
}
textarea { min-height: 8rem; }
.hp { position: absolute; left: -9999px; }

.site-footer { border-top: 1px solid var(--border); background: var(--pine-soft); }
.foot {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .foot { flex-direction: row; justify-content: space-between; align-items: end; }
}
.foot .brand { margin: 0; max-width: none; color: var(--fg); }
.foot p { margin-top: 0.7rem; max-width: 22rem; color: var(--muted); font-size: 0.95rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.legal { border-top: 1px solid var(--border); padding: 1rem 0 1.2rem; color: var(--subtle); font-size: 0.8rem; }
.figure { margin-top: 2rem; }

.ks-lang-label { display: none; }
.ks-lang-de .ks-panel-en { display: none !important; }
.ks-lang-en .ks-panel-de { display: none !important; }
.portrait img, .wp-block-image.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--pine-soft);
}
.is-style-ks-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.is-style-ks-tint { padding: 3rem 1rem; }
.wp-block-post-content { padding-bottom: 3rem; }
.wp-block-image img { width: 100%; height: auto; }
.wp-block-button__link {
  background: var(--pine);
  color: #fff;
  border-radius: 2px;
}
.has-primary-background-color .wp-block-button__link {
  background: #fff;
  color: var(--fg);
}
.has-primary-background-color h1,
.has-primary-background-color h2,
.has-primary-background-color h3,
.has-primary-background-color p { color: #fff; }
