:root {
  --bg: #f4f7f8;
  --bg-2: #d7dee3;
  --panel: #d7dee3;
  --text: #111111;
  --muted: #6f6a63;
  --line: #c7d1d8;
  --accent: #171717;
  --accent-soft: #2b2b2b;
  --surface-base: #f7f4f8;
  --surface-soft: #ebe7ef;
  --surface-strong: #ddd6e4;
  --ink: #171717;
  --ink-soft: #6f6a63;
  --border: #cfc7d6;
  --competence: #4a707d;
  --reflection: #574a7d;
  --orientation: #7d574a;
  --application: #66723f;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 0px;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", Helvetica, Arial, sans-serif;
  --faq-soft: #dfe5ea;
  --faq-panel: #e8edf0;
  --faq-line: #c7d1d8;
  --contact-soft: #ddd6ea;
  --contact-panel: #ece7f4;
  --contact-line: #c8bddc;
  --contact-ink: #5f5579;
  --tone-00: #4878b0;
  --tone-01: #9898cc;
  --tone-01-deep: #7a4b90;
  --tone-02: #7a9672;
  --tone-b: #cf7338;
  --page-tone: var(--muted);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, #e6e9f0 0%, #eef1f5 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.page-home,
body.page-contact,
body.page-ueber-uns {
  --page-tone: var(--orientation);
}

body.page-arbeitsweise {
  --page-tone: var(--reflection);
}

body.page-basismodul,
body.page-gk-detail {
  --page-tone: var(--competence);
}

body.page-praxisformate,
body.page-aufbaukurs {
  --page-tone: var(--application);
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 18px var(--gutter) 12px;
  background: #e6e9f0;
  backdrop-filter: blur(14px);
  border-bottom: 0;
}

.site-nav.is-scrolled {
  border-bottom: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-kicker {
  display: none;
}

.brand-name {
  display: block;
  margin-top: 0;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(232, 237, 240, 0.78);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav.menu-open .nav-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-nav.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.menu-open .nav-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0 5px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--text);
}

.nav-disclosure {
  position: relative;
}

.nav-disclosure summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0 5px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-disclosure summary::-webkit-details-marker {
  display: none;
}

.nav-disclosure summary::after {
  content: "+";
  display: inline-block;
  margin-left: 7px;
  font-size: 11px;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-group.is-current .nav-disclosure summary,
.nav-disclosure:hover summary,
.nav-disclosure:focus-within summary,
.nav-disclosure[open] summary {
  color: var(--text);
  border-bottom-color: var(--text);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 24;
  display: grid;
  gap: 0;
  min-width: 260px;
  margin: 0;
  padding: 12px 14px;
  list-style: none;
  background: rgba(230, 233, 240, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(199, 209, 216, 0.82);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-submenu a {
  display: block;
  padding: 9px 2px;
  min-height: 0;
  font-size: 11px;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 0;
  white-space: normal;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  color: var(--text);
}

.nav-disclosure:hover .nav-submenu,
.nav-disclosure:focus-within .nav-submenu,
.nav-disclosure[open] .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--gutter) 88px;
}

.hero {
  padding: 64px 0 64px;
}

.manifesto {
  max-width: 30ch;
  margin: 0 0 22px;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.28;
  color: #25211d;
}

.hero-lockup {
  margin-bottom: 56px;
}

.hero-lockup-compact {
  margin-bottom: 22px;
}

.hero-kicker {
  margin: 0;
  max-width: 860px;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.1;
  color: #25211d;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--page-tone);
}

.hero h1,
.page h1 {
  margin: 0;
  max-width: 12.4ch;
  font-family: var(--font-sans);
  font-size: clamp(46px, 6.6vw, 84px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lede {
  max-width: 36ch;
  margin-top: 24px;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
  color: #3e3a35;
}

.hero-grid,
.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.hero-copy {
  grid-column: span 7;
}

.hero-panel {
  grid-column: span 5;
  align-self: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: none;
}

.hero-panel p:last-child,
.quote-block p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.lede-compact {
  max-width: 32ch;
}

.course-meta {
  padding: 0 0 34px;
}

.section-module-detail,
.module-detail-card {
  scroll-margin-top: 96px;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.course-meta-item {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.course-meta-item dt {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--page-tone);
}

.course-meta-item dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: #25211d;
  text-wrap: balance;
}

.course-meta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.course-frame-box {
  max-width: 62rem;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  background: rgba(215, 222, 227, 0.56);
  box-shadow: inset 0 2px 0 var(--page-tone);
}

.course-frame-box p {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.55;
}

.course-frame-box p + p {
  margin-top: 10px;
}

.section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.page > .section:first-child {
  padding-top: 0;
  border-top: 0;
}

.section-title {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--page-tone);
}

.section-faq .section-title {
  color: var(--page-tone);
}

.section-faq .target-item {
  border-color: var(--faq-line);
  background: var(--faq-panel);
}

.section-faq .target-item summary:hover {
  background: rgba(223, 229, 234, 0.78);
}

.section-faq .target-item[open] summary {
  border-bottom-color: var(--faq-line);
}

.section-faq .target-body {
  background: #eef2f5;
}

.section h2 {
  margin: 0 0 18px;
  max-width: 18ch;
  font-family: var(--font-sans);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-intro {
  max-width: 66ch;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.58;
}

@media (min-width: 901px) {
  .hero h1,
  .page h1 {
    max-width: 14.5ch;
  }

  .lede {
    max-width: 42ch;
  }

  .lede-compact {
    max-width: 40ch;
  }

  .section h2 {
    max-width: 21ch;
  }

  .section-intro {
    max-width: 74ch;
  }

  .editorial-item p,
  .about-people .detail-block p {
    max-width: 50ch;
  }
}

.section-divider {
  width: 100%;
  margin: 24px 0 8px;
  border-top: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}

.tone-card {
  position: relative;
}

.tone-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
}

.tone-00::before {
  background: var(--tone-00);
}

.tone-01::before {
  background: var(--tone-01);
}

.tone-02::before {
  background: var(--tone-02);
}

.detail-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.detail-block h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.16;
  text-wrap: balance;
}

.tone-00 h3,
.tone-00 .module-detail-label,
.tone-00 .course-item-label {
  color: var(--tone-00);
}

.tone-01 h3,
.tone-01 .module-detail-label,
.tone-01 .course-item-label {
  color: var(--tone-01-deep);
}

.tone-02 h3,
.tone-02 .module-detail-label,
.tone-02 .course-item-label {
  color: var(--tone-02);
}

.detail-block p {
  margin-top: 0;
}

.about-values .card,
.about-people .detail-block {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-values .card h3,
.about-people .detail-block h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-values .card p,
.about-people .detail-block p {
  max-width: 38ch;
}

.about-intro {
  max-width: 54rem;
  margin-bottom: 8px;
}

.about-values {
  margin-top: 28px;
  gap: 30px 36px;
}

.about-people {
  margin-top: 36px;
  grid-template-columns: 1fr;
  gap: 42px;
}

.about-people .detail-block {
  padding-top: 28px;
}

.about-people .detail-block p {
  max-width: 42rem;
  font-size: 18px;
  line-height: 1.65;
}

.about-direct-contact {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.about-direct-contact a {
  color: var(--text);
  text-decoration: none;
}

.about-portrait {
  margin: 0 0 20px;
  width: min(100%, 380px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8edf0;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.about-portrait-detlef img {
  object-position: center 18%;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p,
.section p,
.section li {
  color: #3f3a35;
}

.editorial-list {
  display: grid;
  gap: 0;
}

.editorial-item {
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.editorial-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.editorial-item h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.editorial-item p {
  max-width: 62ch;
  margin: 0;
  line-height: 1.64;
}

.pill-list,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-2);
  font-size: 13px;
}

.plain-list li + li {
  margin-top: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.card .cta-row {
  margin-top: auto;
  padding-top: 24px;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
  border-radius: 0;
  font-size: 11px;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  transition:
    transform 140ms ease-out,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button {
  border: 1px solid var(--line);
  background: #d7dee3;
  color: var(--text);
}

.button:hover {
  background: #cfd8df;
}

.button:active {
  transform: scale(0.985);
}

.button-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-2);
}

.button-ghost:hover {
  background: #e8edf0;
}

.button-ghost:active {
  transform: scale(0.985);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s ease;
}

.text-link::after {
  content: "\2192";
  font-size: 12px;
  transition: transform 140ms ease-out;
}

.text-link:hover {
  color: var(--text);
}

.text-link:hover::after {
  transform: translateX(2px);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path-card {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.path-card h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 13ch;
}

.path-card p {
  margin: 0;
  max-width: 34ch;
  line-height: 1.62;
}

.course-item-label {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--page-tone);
}

.path-note {
  max-width: 62ch;
  margin-top: 28px;
  color: #3f3a35;
}

.target-groups {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.target-item {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.target-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.42;
  color: #3f3a35;
  transition: background-color 180ms ease, color 180ms ease;
}

.target-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: var(--page-tone);
  transition: transform 180ms ease, color 180ms ease;
}

.target-item summary::-webkit-details-marker {
  display: none;
}

.target-item summary:hover {
  background: rgba(232, 237, 240, 0.68);
  color: var(--text);
}

.target-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.target-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--page-tone);
}

.target-body {
  padding: 14px 18px 18px;
  background: #e8edf0;
  color: #3f3a35;
}

.target-body p {
  margin: 0;
  max-width: 62ch;
  line-height: 1.58;
}

.module-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
}

.module-overview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.module-overview-card h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.15vw, 29px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.module-overview-card p {
  max-width: 31ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.64;
}

.module-overview-card .module-detail-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(199, 209, 216, 0.82);
  gap: 15px;
}

.module-overview-card .module-detail-list li {
  font-size: 14px;
  line-height: 1.54;
  color: #3f3a35;
}

.module-overview-card .cta-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(199, 209, 216, 0.72);
}

.module-overview-card .module-detail-label {
  margin: 0 0 5px;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.module-overview-card .button-ghost {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
}

.module-overview-card .button-ghost:hover {
  background: rgba(232, 237, 240, 0.64);
}

.module-detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.module-detail-card h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.module-code,
.module-name {
  display: block;
}

.module-code {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.045em;
}

.module-name {
  max-width: 12ch;
}

.module-detail-card > p {
  margin: 0 0 18px;
  line-height: 1.58;
}

.module-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.module-detail-list li {
  margin: 0;
}

.module-detail-label {
  display: block;
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--page-tone);
}

body.page-basismodul .section-module-overview .card {
  padding: 24px 24px 26px;
}

body.page-basismodul .section-module-overview .card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.08;
}

body.page-basismodul .section-module-overview .card p {
  max-width: 27ch;
  line-height: 1.58;
}

body.page-basismodul .section-module-detail h2,
body.page-praxisformate .section-path-overview h2 {
  max-width: 20ch;
}

body.page-basismodul .hero h1 {
  max-width: 11.5ch;
}

body.page-basismodul .lede-compact {
  max-width: 46ch;
}

body.page-basismodul .section h2 {
  max-width: 22ch;
}

body.page-basismodul .section-intro {
  max-width: 58ch;
}

body.page-gk-detail .hero h1 {
  max-width: 11ch;
}

body.page-gk-detail .lede-compact {
  max-width: 42ch;
}

body.page-gk-detail .editorial-item h3 {
  font-size: clamp(22px, 2.6vw, 30px);
}

body.page-gk-detail .editorial-item p {
  max-width: 58ch;
}

body.page-praxisformate .section-path-overview .path-grid {
  gap: 30px 42px;
}

body.page-praxisformate .section-path-overview .path-card {
  padding: 22px 0 0;
}

body.page-praxisformate .section-path-overview .path-card h3 {
  max-width: 12ch;
  margin-bottom: 14px;
}

body.page-praxisformate .section-course-direction .editorial-item {
  padding: 28px 0 32px;
}

body.page-praxisformate .section-course-direction .editorial-item h3 {
  max-width: 24ch;
}

body.page-praxisformate .section-course-direction .editorial-item p:not(.course-item-label) {
  max-width: 60ch;
}

body.page-praxisformate .path-note {
  max-width: 64ch;
  margin-top: 34px;
  line-height: 1.66;
}

body.page-aufbaukurs .course-meta {
  padding: 0 0 30px;
}

body.page-aufbaukurs .course-meta-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.page-aufbaukurs .course-meta-item {
  padding: 18px 20px 20px;
  border: 0;
  background: transparent;
}

body.page-aufbaukurs .course-meta-item:nth-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

body.page-aufbaukurs .course-meta-item:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
}

body.page-aufbaukurs .course-meta-item dt {
  margin-bottom: 10px;
}

body.page-aufbaukurs .course-meta-item dd {
  max-width: 20ch;
}

body.page-aufbaukurs .course-meta-note {
  margin-top: 14px;
  max-width: 56ch;
}

body.page-aufbaukurs .section h2 {
  max-width: 18ch;
}

body.page-aufbaukurs .editorial-item {
  padding: 22px 0 26px;
}

body.page-aufbaukurs .editorial-item h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.12;
}

body.page-aufbaukurs .editorial-item p {
  max-width: 60ch;
}

@media (min-width: 901px) {
  body.page-praxisformate .section-course-direction .editorial-list {
    margin-top: 10px;
  }

  body.page-praxisformate .section-course-direction .editorial-item {
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 32px;
    row-gap: 6px;
    align-items: start;
  }

  body.page-praxisformate .section-course-direction .course-item-label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  body.page-praxisformate .section-course-direction .editorial-item h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  body.page-praxisformate .section-course-direction .editorial-item p:not(.course-item-label) {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }

  body.page-praxisformate .section-course-direction .editorial-item .text-link {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 4px;
  }

  body.page-aufbaukurs .editorial-item {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 18px 28px;
    align-items: start;
  }

  body.page-aufbaukurs .editorial-item h3 {
    margin: 0;
  }

  body.page-aufbaukurs .editorial-item p {
    max-width: 44ch;
  }
}


.quote-block {
  max-width: 58rem;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--page-tone);
  background: transparent;
}

.download-list {
  display: grid;
  gap: 14px;
}

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

.download-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.download-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.download-item p {
  margin: 0;
  max-width: 60ch;
  color: #3f3a35;
}

.download-status {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #e8edf0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-options {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.contact-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.18s ease;
}

body.page-contact .contact-option {
  border-top-color: var(--contact-line);
}

body.page-contact .contact-option-name,
body.page-contact .contact-option:hover .contact-option-arrow {
  color: var(--page-tone);
}

body.page-contact .contact-option-desc,
body.page-contact .contact-option-arrow {
  color: #73678f;
}

.contact-option-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-option-name {
  font-size: 18px;
  color: var(--text);
}

.contact-option-desc {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-option-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--muted);
  transition: transform 140ms ease-out, color 180ms ease;
}

.contact-option:hover .contact-option-name,
.contact-option:hover .contact-option-arrow {
  color: var(--text);
}

.contact-option:hover .contact-option-arrow {
  transform: translateX(2px);
}

.contact-note-inline {
  margin: 24px 0 0;
  font-size: 16px;
  color: #3f3a35;
}

.form-stack {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #e8edf0;
  color: var(--text);
  font: inherit;
  border-radius: 0;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #99a8b4;
  background: #eef2f5;
}

body.page-contact .form-field input,
body.page-contact .form-field textarea,
body.page-contact .form-success {
  background: #f1edf7;
  border-color: var(--contact-line);
}

body.page-contact .form-field input:focus,
body.page-contact .form-field textarea:focus,
body.page-contact .form-field input.is-invalid,
body.page-contact .form-field textarea.is-invalid {
  border-color: #b5a8cf;
  background: #f6f3fb;
}

body.page-contact .form-submit {
  background: var(--contact-soft);
  border-color: var(--contact-line);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #8c9aa6;
  background: #eef2f5;
}

.form-error {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #5c6670;
}

.form-error:not(:empty) {
  margin-top: -2px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: #d7dee3;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-success {
  display: none;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #e8edf0;
  color: #3f3a35;
}

.form-success.visible {
  display: block;
}

.stance-block {
  max-width: 58rem;
  padding: 2px 0 0;
}

.stance-block p {
  max-width: 62ch;
  margin: 0 0 18px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: #3a352f;
}

.stance-block p:first-child {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #25211d;
}

.stance-block p:last-child {
  margin-bottom: 0;
}

.footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 24px var(--gutter) 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav {
  flex: 1 1 auto;
  justify-content: center;
}

.footer-links {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.footer-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-copy,
  .hero-panel {
    grid-column: 1 / -1;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .module-detail-grid {
    grid-template-columns: 1fr;
  }

  .module-overview-grid {
    grid-template-columns: 1fr;
  }

  .download-item {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .course-meta-grid {
    grid-template-columns: 1fr;
  }

  body.page-aufbaukurs .course-meta-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body.page-aufbaukurs .course-meta-item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  body.page-aufbaukurs .course-meta-item:last-child {
    border-bottom: 0;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    align-items: center;
    position: sticky;
    gap: 18px;
    flex-wrap: nowrap;
    padding: 15px var(--gutter) 10px;
  }

  .brand-mark {
    margin-right: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px var(--gutter) 2px;
  }

  .site-nav.menu-open .nav-links {
    display: flex;
    background: rgba(230, 233, 240, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(199, 209, 216, 0.82);
    border-bottom: 1px solid rgba(199, 209, 216, 0.82);
  }

  .nav-links a {
    width: 100%;
    min-height: 0;
    padding: 11px 0;
    border-bottom: 1px solid rgba(199, 209, 216, 0.75);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text);
  }

  .nav-links li:last-child > a {
    border-bottom: 0;
  }

  .nav-links a[aria-current="page"] {
    border-bottom-color: var(--line);
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-disclosure {
    width: 100%;
  }

  .nav-disclosure summary {
    width: 100%;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(199, 209, 216, 0.75);
    color: var(--text);
  }

  .nav-disclosure[open] summary {
    border-bottom-color: transparent;
  }

  .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-disclosure[open] .nav-submenu {
    display: grid;
  }

  .nav-submenu a {
    padding: 9px 0;
    border-bottom: 1px solid rgba(199, 209, 216, 0.55);
    font-size: 11px;
    color: var(--muted);
  }

  .nav-submenu li:last-child a {
    border-bottom: 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 30px;
  }

  .footer-nav,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding-bottom: 72px;
  }

  .hero {
    padding: 46px 0 48px;
  }

  .hero h1,
  .page h1 {
    max-width: 11.5ch;
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1;
  }

  .lede,
  .lede-compact {
    max-width: 30ch;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.56;
  }

  .section {
    padding: 34px 0;
  }

  .section-title {
    margin-bottom: 16px;
  }

  .section h2 {
    max-width: 14ch;
    margin-bottom: 16px;
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.08;
  }

  .section-intro {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
  }

  .course-frame-box {
    padding: 16px 16px 18px;
  }

  .course-frame-box p {
    font-size: 15px;
    line-height: 1.58;
  }

  .module-overview-grid {
    gap: 24px;
  }

  .module-overview-card {
    padding-top: 20px;
  }

  .module-overview-card h3 {
    margin-bottom: 14px;
    font-size: clamp(22px, 7vw, 28px);
  }

  .module-overview-card p,
  .module-overview-card .module-detail-list li {
    max-width: none;
  }

  .module-overview-card .module-detail-list {
    margin-top: 14px;
    padding-top: 14px;
    gap: 12px;
  }

  .module-overview-card .cta-row {
    padding-top: 16px;
  }

  .path-grid {
    gap: 24px;
  }

  .path-card {
    padding-top: 18px;
  }

  .path-card h3 {
    max-width: 10ch;
    margin-bottom: 12px;
    font-size: clamp(24px, 8vw, 32px);
  }

  .path-card p,
  .path-note {
    max-width: none;
  }

  .path-note {
    margin-top: 26px;
    line-height: 1.62;
  }

  .editorial-item {
    padding: 20px 0 22px;
  }

  .editorial-item h3 {
    margin-bottom: 10px;
    font-size: clamp(22px, 7vw, 28px);
  }

  .editorial-item p {
    max-width: none;
  }

  .course-item-label {
    margin-bottom: 10px;
  }

  .target-groups {
    gap: 12px;
  }

  .target-item summary {
    padding: 16px 18px;
    font-size: 17px;
    line-height: 1.4;
  }

  .target-body {
    padding: 0 18px 18px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .button,
  .button-ghost {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .text-link {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .footer {
    gap: 14px;
    padding-bottom: 24px;
  }

  .footer p {
    font-size: 13px;
  }

  .footer-nav,
  .footer-links {
    gap: 10px 14px;
  }
}
