.bko-root {
  color-scheme: light;
  --ink: #18312f;
  --paper: #f7f3e9;
  --copper: #995321;
  --line: #d4d9cd;
  --blue: #216d90;
}

.bko-root * {
  box-sizing: border-box;
 
}

.bko-root {
  scroll-behavior: smooth;
 
}

.bko-root {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
 
}

.bko-root a {
  color: inherit;
  text-underline-offset: 4px;
 
}

.bko-root a:focus-visible, .bko-root button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
 
}

.bko-root img {
  display: block;
  max-width: 100%;
 
}

.bko-root .bko-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
 
}

.bko-root .bko-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
 
}

.bko-root .bko-brand {
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
 
}

.bko-root nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .85rem;
 
}

.bko-root nav a {
  text-decoration: none;
 
}

.bko-root .bko-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  padding: 60px 0 70px;
 
}

.bko-root .bko-eyebrow {
  color: var(--copper);
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 750;
 
}

.bko-root h1, .bko-root h2, .bko-root h3, .bko-root p {
  margin-top: 0;
 
}

.bko-root h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.3rem, 7.5vw, 6.5rem);
  letter-spacing: -.055em;
  line-height: 1.02;
  margin-bottom: 22px;
 
}

.bko-root h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 24px;
 
}

.bko-root h3 {
  font-size: 1.1rem;
  line-height: 1.3;
 
}

.bko-root .bko-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
  max-width: 25ch;
 
}

.bko-root .bko-hero img {
  border-radius: 4px;
  box-shadow: 16px 18px 0 #e6ddc9;
 
}

.bko-root .bko-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 13px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 650;
 
}

.bko-root .bko-cta span {
  font-size: 1.3rem;
 
}

.bko-root section {
  scroll-margin-top: 25px;
 
}

.bko-root .bko-chapter {
  padding: 65px 0;
  border-top: 1px solid var(--line);
 
}

.bko-root .bko-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
 
}

.bko-root .bko-lead {
  font-size: 1.15rem;
 
}

.bko-root .bko-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 35px;
 
}

.bko-root .bko-fact {
  border-top: 3px solid var(--copper);
  padding-top: 18px;
 
}

.bko-root .bko-fact strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 8px;
 
}

.bko-root .bko-small {
  font-size: .85rem;
 
}

.bko-root .bko-note {
  border-left: 3px solid var(--copper);
  padding: 14px 22px;
  background: #eee7d7;
  margin: 28px 0 0;
 
}

.bko-root .bko-diagram {
  background: #fffdf8;
  padding: 30px;
  margin: 30px 0;
  border: 1px solid var(--line);
 
}

.bko-root .bko-diagram svg {
  width: 100%;
  height: auto;
  display: block;
 
}

.bko-root .bko-diagram-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 25px;
 
}

.bko-root .bko-diagram-labels b {
  display: block;
 
}

.bko-root .bko-table-scroll {
  overflow-x: auto;
 
}

.bko-root table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .94rem;
 
}

.bko-root th, .bko-root td {
  vertical-align: top;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  min-width: 145px;
 
}

.bko-root th {
  background: #e9ecdf;
  font-size: .8rem;
  letter-spacing: .03em;
 
}

.bko-root td:first-child {
  font-weight: 700;
 
}

.bko-root .bko-animation {
  background: #f5f6f7;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
 
}

.bko-root iframe {
  width: 100%;
  height: 1100px;
  display: block;
  border: 0;
 
}

.bko-root .bko-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 30px;
  counter-reset: steps;
 
}

.bko-root .bko-steps article {
  counter-increment: steps;
 
}

.bko-root .bko-steps article::before {
  content: '0' counter(steps);
  display: block;
  color: var(--copper);
  font: 2.5rem Georgia, serif;
  margin-bottom: 18px;
 
}

.bko-root .bko-sources {
  font-size: .85rem;
 
}

.bko-root .bko-sources li {
  margin: 10px 0;
 
}

.bko-root footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 40px;
  font-size: .8rem;
 
}

.bko-root .bko-teaser-page {
  padding: 45px 0;
 
}

.bko-root .bko-teaser-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fffdf8;
  border: 1px solid var(--line);
 
}

.bko-root .bko-teaser-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

.bko-root .bko-teaser-copy {
  padding: clamp(24px, 5vw, 65px);
  align-self: center;
 
}

.bko-root .bko-teaser-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
 
}
@media (max-width: 760px) {
  .bko-root .bko-wrap {
  width: min(100% - 32px, 1160px);
 
}

.bko-root .bko-top {
  align-items: flex-start;
  flex-direction: column;
 
}

.bko-root .bko-hero, .bko-root .bko-intro, .bko-root .bko-teaser-card {
  grid-template-columns: 1fr;
  gap: 30px;
 
}

.bko-root .bko-hero {
  padding: 36px 0 50px;
 
}

.bko-root .bko-hero img {
  max-width: 560px;
 
}

.bko-root .bko-chapter {
  padding: 42px 0;
 
}

.bko-root .bko-facts, .bko-root .bko-steps, .bko-root .bko-diagram-labels {
  grid-template-columns: 1fr;
  gap: 18px;
 
}

.bko-root .bko-diagram {
  padding: 12px;
 
}

.bko-root .bko-teaser-card img {
  max-height: 520px;
 
}
}
@media (prefers-reduced-motion: reduce) {
  html {
  scroll-behavior: auto;
 
}
}

.bko-root {
  color: var(--ink);
  font-family: system-ui, sans-serif;
  line-height: 1.7;
 
}
.bko-root .bko-wrap {
  width: min(1160px, 100%);
 
}

.bko-root .bko-teaser-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
 
}

/* Compact teaser: matches the site's Braukurse grid, palette and picture frame. */
.bko-course-teaser {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max, 1440px);
  margin: auto;
  padding: 2rem clamp(1.3rem, 5vw, 5rem);
  background: var(--cream, #ded8c8);
  color: var(--ink, #141412);
  border-top: 1px solid var(--line, rgba(20, 20, 18, .22));
  border-bottom: 1px solid var(--line, rgba(20, 20, 18, .22));
  font-family: var(--sans, Arial, Helvetica, sans-serif);
}
.bko-course-copy { min-width: 0; }
.bko-course-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display, Impact, "Arial Narrow", sans-serif);
  text-transform: uppercase;
  font-size: clamp(2.7rem, 5.8vw, 5.5rem);
  line-height: .92;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.bko-course-copy p {
  max-width: 54ch;
  margin: .65rem 0;
  font-size: 1.08rem;
}
.bko-course-copy .bko-course-subtitle { font-weight: 700; }
.bko-course-button {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 50px;
  padding: .9rem 1.25rem;
  background: var(--red, #f1462f);
  color: #fff;
  border: 2px solid transparent;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.bko-course-button:hover { background: #fff; color: var(--ink, #141412); }
.bko-course-button:focus-visible, .bko-course-figure a:focus-visible {
  outline: 3px solid var(--ink, #141412);
  outline-offset: 4px;
}
.bko-course-figure {
  min-width: 0;
  margin: 0;
  padding: .9rem;
  background: #fff;
  border: 1px solid var(--ink, #141412);
  transform: rotate(1.2deg);
  box-shadow: 6px 8px 0 rgba(20, 20, 18, .12);
}
.bko-course-figure img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 60%;
}
@media (max-width: 700px) {
  .bko-course-teaser { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.5rem; }
  .bko-course-figure img { height: 200px; }
}

/* Full original image: no cropping, fixed height or distortion. */
.bko-root .bko-page-hero {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}
.bko-root .bko-page-hero img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
  border-radius: 0;
  box-shadow: none;
}
.bko-root .bko-page-heading {
  padding: clamp(28px, 5vw, 60px) 0 24px;
}
.bko-root .bko-page-heading .bko-subtitle {
  max-width: none;
}
