:root {
  --mi-bg: #130b10;
  --mi-bg-soft: #21121a;
  --mi-panel: rgba(35, 22, 24, 0.84);
  --mi-panel-strong: rgba(45, 27, 25, 0.94);
  --mi-text: #f7eddd;
  --mi-muted: #cdbfa9;
  --mi-soft: #9d8e7d;
  --mi-accent: #d6a84f;
  --mi-copper: #b46b45;
  --mi-ruby: #782a38;
  --mi-line: rgba(214, 168, 79, 0.28);
  --mi-shadow: rgba(0, 0, 0, 0.34);
  --mi-width: 1160px;
  --mi-radius: 8px;
  --hero-scroll: 0;
  --page-fade: 0;
  color-scheme: dark;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(142, 47, 62, 0.42), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(180, 107, 69, 0.28), transparent 26rem),
    linear-gradient(145deg, #0d0709 0%, var(--mi-bg) 42%, #27131c 100%);
  color: var(--mi-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-is-open {
  overflow: hidden;
}

body.is-mirjam-front {
  background: #12080d url("../media/hero/hero-desktop-1672.webp") center / cover fixed no-repeat;
}

a {
  color: inherit;
  text-decoration-color: rgba(214, 168, 79, 0.48);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--mi-accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-orientation: from-image;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(214, 168, 79, 0.28);
  color: #fff7e8;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(120, 42, 56, 0.24), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(214, 168, 79, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  opacity: 0.82;
}

.site-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 7, 9, 0.18), rgba(13, 7, 9, 0.76) 76%),
    radial-gradient(circle at 50% 0%, rgba(214, 168, 79, 0.08), transparent 34rem);
}

.site-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 7, 9, 0.08), rgba(13, 7, 9, 0.62));
  opacity: 0;
  pointer-events: none;
}

.is-mirjam-front .site-backdrop {
  display: none;
}

.is-mirjam-front .site-backdrop::before {
  background: none;
}

.is-mirjam-front .site-backdrop::after {
  opacity: 0;
}

.page-slug-uber-mich .site-backdrop,
.page-slug-ueber-mich .site-backdrop {
  background:
    linear-gradient(90deg, rgba(13, 7, 9, 0.84), rgba(13, 7, 9, 0.44) 58%, rgba(13, 7, 9, 0.78)),
    url("../media/atmosphere/about-bg-1672.webp") center / cover no-repeat;
  opacity: 1;
}

.page-slug-uber-mich .site-backdrop::before,
.page-slug-ueber-mich .site-backdrop::before {
  background:
    radial-gradient(circle at 72% 18%, rgba(214, 168, 79, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(13, 7, 9, 0.14), rgba(13, 7, 9, 0.82));
}

.page-slug-uber-mich .site-backdrop::after,
.page-slug-ueber-mich .site-backdrop::after {
  opacity: 0.5;
}

.is-course-overview .site-backdrop,
.is-course-detail .site-backdrop {
  background:
    radial-gradient(circle at 14% 10%, rgba(120, 42, 56, 0.2), transparent 25rem),
    radial-gradient(circle at 84% 18%, rgba(214, 168, 79, 0.11), transparent 24rem),
    linear-gradient(145deg, rgba(13, 7, 9, 0.86), rgba(33, 18, 26, 0.94));
  background-size: auto;
  opacity: 0.86;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: var(--mi-accent);
  color: #1b0d0d;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(214, 168, 79, 0.16);
  background: rgba(14, 8, 11, 0.9);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.admin-bar .site-header {
  top: 0;
}

.site-header.is-scrolled,
.nav-is-open .site-header {
  border-color: rgba(214, 168, 79, 0.32);
  background: rgba(14, 8, 11, 0.94);
  box-shadow: 0 14px 36px var(--mi-shadow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--mi-width));
  min-height: 4.75rem;
  margin: 0 auto;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.85rem;
}

.custom-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.custom-logo {
  max-width: 10rem;
  max-height: 3.2rem;
  object-fit: contain;
}

.site-brand__mark {
  display: grid;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--mi-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(214, 168, 79, 0.22), rgba(120, 42, 56, 0.28)),
    rgba(255, 255, 255, 0.04);
  color: var(--mi-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.site-brand__text {
  display: grid;
  min-width: 0;
  color: var(--mi-text);
  text-decoration: none;
}

.site-brand__text strong {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand__text span {
  overflow: hidden;
  color: var(--mi-muted);
  font-size: 0.78rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--mi-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--mi-text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.28rem;
  height: 2px;
  margin: 2px 0;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.primary-nav {
  position: fixed;
  inset: 4.75rem 1rem auto 1rem;
  display: none;
  border: 1px solid var(--mi-line);
  border-radius: 8px;
  background: rgba(19, 11, 16, 0.97);
  box-shadow: 0 22px 60px var(--mi-shadow);
}

.primary-nav.is-open {
  display: block;
}

.menu,
.primary-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav .menu {
  display: grid;
  gap: 0.1rem;
  padding: 0.5rem;
}

.primary-nav a {
  display: block;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--mi-text);
  font-size: 0.95rem;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  background: rgba(214, 168, 79, 0.12);
  color: #ffe5a6;
}

.site-main {
  position: relative;
  z-index: 1;
}

.front-main,
.content-main {
  width: min(100% - 2rem, var(--mi-width));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  width: 100vw;
  min-height: min(52rem, calc(100svh - 4.75rem));
  display: flex;
  align-items: center;
  padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.hero-section--image {
  background: transparent;
}

.hero-section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 7, 9, 0.9) 0%, rgba(13, 7, 9, 0.66) 38%, rgba(13, 7, 9, 0.24) 68%, rgba(13, 7, 9, 0.48) 100%),
    linear-gradient(180deg, rgba(13, 7, 9, 0.34) 0%, rgba(13, 7, 9, 0.08) 44%, rgba(13, 7, 9, 0.82) 100%),
    radial-gradient(circle at 32% 40%, rgba(214, 168, 79, 0.18), transparent 24rem);
  pointer-events: none;
}

.is-mirjam-front .hero-section--image::before {
  content: none;
}

.is-mirjam-front .hero-section--image::after {
  content: "";
  position: absolute;
  top: auto;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: clamp(12rem, 34vh, 24rem);
  background: linear-gradient(180deg, rgba(13, 7, 9, 0), rgba(13, 7, 9, 0.44));
  opacity: 1;
  pointer-events: none;
}

.hero-section--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 7, 9, 0.05) 0%, rgba(13, 7, 9, 0.16) 44%, rgba(13, 7, 9, 0.86) 100%),
    linear-gradient(90deg, rgba(13, 7, 9, 0.42), transparent 48%, rgba(13, 7, 9, 0.22));
  opacity: calc(0.18 + (var(--hero-scroll) * 0.56));
  pointer-events: none;
}

.hero-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(100% - 2rem, var(--mi-width));
  margin: 0 auto;
}

.hero-section__copy {
  max-width: 43rem;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.56);
}

.hero-depth {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero-depth--glow {
  right: max(4vw, 2rem);
  bottom: 10%;
  width: min(34vw, 26rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 79, 0.26), rgba(180, 107, 69, 0.14) 34%, transparent 68%);
  opacity: 0.74;
}

.hero-depth--smoke {
  inset: auto 0 0 0;
  height: 48%;
  background:
    radial-gradient(ellipse at 58% 100%, rgba(214, 168, 79, 0.13), transparent 42%),
    linear-gradient(180deg, transparent, rgba(19, 11, 16, 0.58));
  opacity: 0.86;
}

.is-mirjam-front .hero-depth--smoke {
  display: none;
}

.hero-ornament-line {
  position: absolute;
  left: max(1rem, calc((100vw - var(--mi-width)) / 2));
  z-index: -1;
  width: min(18rem, 42vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.74), transparent);
  pointer-events: none;
}

.hero-ornament-line--top {
  top: clamp(4.5rem, 9vw, 7rem);
}

.hero-ornament-line--bottom {
  bottom: clamp(2.8rem, 7vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--mi-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: #fff3dc;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 2.85rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1.2rem;
}

.hero-lead {
  color: #e9d8bd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 36rem;
  color: var(--mi-muted);
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  max-width: 100%;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
}

.btn--gold,
.wp-block-button__link {
  background: linear-gradient(135deg, var(--mi-accent), #f1d28d 52%, var(--mi-copper));
  color: #210f0d;
  box-shadow: 0 14px 34px rgba(214, 168, 79, 0.2);
}

.btn--gold:hover,
.wp-block-button__link:hover {
  color: #180b0a;
  box-shadow: 0 18px 44px rgba(214, 168, 79, 0.3);
}

.btn--outline {
  border-color: var(--mi-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mi-text);
}

.btn--outline:hover {
  border-color: rgba(214, 168, 79, 0.55);
  background: rgba(214, 168, 79, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  color: var(--mi-accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  margin-left: 0.65rem;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 2.2rem;
}

.about-visual picture,
.featured-media--theme picture {
  display: block;
  width: 100%;
  height: 100%;
}

.section {
  position: relative;
  padding: 4rem 0;
  border-top: 1px solid rgba(214, 168, 79, 0.12);
}

.is-mirjam-front .section {
  border-top: 0;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: -1rem;
  margin-left: -1rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 7, 9, 0.28), rgba(13, 7, 9, 0.58) 42%, rgba(13, 7, 9, 0.5));
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
}

.is-mirjam-front .section + .section {
  margin-top: -0.35rem;
}

.is-mirjam-front .section::before {
  content: none;
}

.section--image {
  overflow: hidden;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: -1rem;
  margin-left: -1rem;
  border-radius: 8px;
  isolation: isolate;
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 24%, rgba(214, 168, 79, 0.13), transparent 18rem),
    radial-gradient(circle at 14% 72%, rgba(120, 42, 56, 0.22), transparent 21rem),
    linear-gradient(135deg, rgba(19, 11, 16, 0.94), rgba(35, 18, 24, 0.88));
  opacity: 1;
}

.is-mirjam-front .section--image::before {
  content: "";
  background:
    radial-gradient(circle at 78% 24%, rgba(214, 168, 79, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(13, 7, 9, 0.18), rgba(13, 7, 9, 0.48));
  opacity: 1;
}

.section--image::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.52), transparent);
}

.is-mirjam-front .section--image::after {
  content: none;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.editable-section {
  position: relative;
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: -1rem;
  margin-left: -1rem;
  border-radius: 8px;
  isolation: isolate;
}

.editable-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 168, 79, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(19, 11, 16, 0.94), rgba(35, 18, 24, 0.8));
  opacity: 1;
}

.entry-panel,
.content-article,
.comments-wrap,
.not-found,
.contact-section > div {
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 8px;
  background: var(--mi-panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.entry-panel,
.content-article,
.comments-wrap,
.not-found,
.contact-section > div {
  padding: 1.25rem;
}

.course-grid {
  display: grid;
  gap: 1rem;
}

.course-card,
.post-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    var(--mi-panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.is-mirjam-front .entry-panel,
.is-mirjam-front .course-card,
.is-mirjam-front .post-card,
.is-mirjam-front .about-visual,
.is-mirjam-front .contact-section > div,
.is-mirjam-front .site-footer__cta {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(24, 13, 18, 0.7);
}

.course-card {
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  border-color: rgba(214, 168, 79, 0.36);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 1rem;
  left: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.72), transparent);
}

.course-card__kicker,
.post-card__date {
  margin-bottom: 0.45rem;
  color: var(--mi-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.course-card h2,
.course-card h3,
.post-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.course-card h3 a {
  color: inherit;
  text-decoration: none;
}

.course-card--page {
  display: grid;
  padding: 0;
}

.course-card__media {
  position: relative;
  display: block;
  min-height: 11rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 168, 79, 0.16);
  text-decoration: none;
}

.course-card__image,
.course-card__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  transition: transform 420ms ease;
}

.course-card__image-placeholder {
  background:
    radial-gradient(circle at 68% 24%, rgba(214, 168, 79, 0.2), transparent 8rem),
    linear-gradient(135deg, rgba(120, 42, 56, 0.38), rgba(19, 11, 16, 0.88));
}

.course-card--page:hover .course-card__image,
.course-card--page:hover .course-card__image-placeholder {
  transform: scale(1.035);
}

.course-card__body {
  padding: 1.2rem;
}

.course-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.course-card__request {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.46rem 0.7rem;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 6px;
  background: rgba(214, 168, 79, 0.08);
  color: #ffe5a6;
  font-weight: 700;
  text-decoration: none;
}

.courses-overview {
  padding-top: 3rem;
}

.is-course-overview .content-main,
.is-course-detail .content-main {
  padding-top: 4rem;
}

.is-course-overview .content-article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(24, 13, 18, 0.94);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.26);
}

.content-header .eyebrow:empty {
  display: none;
}

.is-course-overview .content-header {
  margin-bottom: 1.25rem;
}

.is-course-overview .entry-content {
  max-width: 48rem;
  color: #d9cbb5;
}

.is-course-overview .entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(214, 168, 79, 0.14);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.is-course-overview .entry-content h3:empty {
  display: none;
}

.is-course-overview .entry-content h3:first-of-type {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.28rem 0.7rem;
  margin: 0 0 0.55rem;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 999px;
  background: rgba(214, 168, 79, 0.1);
  color: #ffe5a6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.is-course-overview .entry-content h3:first-of-type + h3 {
  max-width: 34rem;
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.is-course-overview .entry-content h5 {
  margin: -0.2rem 0 1.8rem;
  color: var(--mi-soft);
  font-size: 0.98rem;
  font-weight: 600;
}

.is-course-overview .entry-content p {
  margin-bottom: 1rem;
}

.is-course-overview .entry-content strong {
  color: #f6dec0;
}

.course-card p:last-child,
.post-card p:last-child {
  margin-bottom: 0;
}

.section-action {
  margin-top: 1.2rem;
}

.about-section {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.11), transparent 44%),
    linear-gradient(45deg, rgba(120, 42, 56, 0.2), rgba(35, 18, 20, 0.82));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.about-visual--photos {
  padding: 0.75rem;
  background:
    radial-gradient(circle at 76% 18%, rgba(214, 168, 79, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(21, 11, 16, 0.98), rgba(47, 24, 30, 0.76));
}

.is-mirjam-front .about-visual--photos {
  width: min(100%, 25rem);
  min-height: 12rem;
  justify-self: start;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, transparent 55%, rgba(19, 11, 16, 0.58)),
    radial-gradient(circle at 58% 26%, rgba(214, 168, 79, 0.2), transparent 36%);
  pointer-events: none;
}

.about-visual--photos::after {
  background:
    linear-gradient(180deg, rgba(19, 11, 16, 0.08), rgba(19, 11, 16, 0.46)),
    radial-gradient(circle at 58% 26%, rgba(214, 168, 79, 0.14), transparent 36%);
}

.about-visual__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual__empty {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 22%, rgba(214, 168, 79, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(120, 42, 56, 0.22), rgba(19, 11, 16, 0.92));
}

.about-visual__arch {
  position: absolute;
  inset: 2rem 18% -1rem;
  border: 1px solid rgba(214, 168, 79, 0.32);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 4;
}

.about-visual__pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(214, 168, 79, 0.12) 49%, rgba(214, 168, 79, 0.12) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(214, 168, 79, 0.08) 49%, rgba(214, 168, 79, 0.08) 51%, transparent 52%);
  background-size: 4rem 4rem;
  opacity: 0.55;
  z-index: 2;
}

.about-photo-collage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  isolation: isolate;
}

.about-photo-collage__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(214, 168, 79, 0.08), transparent 12rem),
    rgba(13, 7, 9, 0.72);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.about-photo-collage__image {
  width: 100%;
  height: 100%;
  image-orientation: none;
  object-fit: contain;
  object-position: center;
}

.about-photo-collage--front {
  height: 100%;
  min-height: 10.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-photo-collage--front .about-photo-collage__item--1 {
  min-height: 10.5rem;
}

.about-photo-collage--front .about-photo-collage__item--2 {
  min-height: 10.5rem;
}

.featured-media--about-collage {
  overflow: visible;
  border: 0;
  background: transparent;
}

.page-slug-uber-mich .content-article.has-about-photo-collage,
.page-slug-ueber-mich .content-article.has-about-photo-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.42fr);
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: start;
}

.page-slug-uber-mich .has-about-photo-collage .content-header,
.page-slug-ueber-mich .has-about-photo-collage .content-header {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}

.page-slug-uber-mich .featured-media--about-collage,
.page-slug-ueber-mich .featured-media--about-collage {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin: 0;
}

.page-slug-uber-mich .has-about-photo-collage .entry-content,
.page-slug-ueber-mich .has-about-photo-collage .entry-content,
.page-slug-uber-mich .has-about-photo-collage .about-bio-card,
.page-slug-ueber-mich .has-about-photo-collage .about-bio-card {
  grid-column: 1;
}

.about-photo-collage--page {
  width: 100%;
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.25rem;
}

.about-photo-collage--page::before {
  content: "";
  position: absolute;
  inset: 0.6rem;
  z-index: -1;
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 22%, rgba(214, 168, 79, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(19, 11, 16, 0.72), rgba(47, 24, 30, 0.46));
}

.about-photo-collage--page .about-photo-collage__item--1 {
  min-height: clamp(9.5rem, 18vw, 12.5rem);
}

.about-photo-collage--page .about-photo-collage__item--2 {
  min-height: clamp(8.5rem, 16vw, 11.5rem);
}

.has-about-photo-collage .entry-content .gallery {
  display: none;
}

.about-bio-card {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(214, 168, 79, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(19, 11, 16, 0.48);
}

.about-bio-card h2 {
  max-width: 44rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.about-bio-card p:last-child {
  margin-bottom: 0;
}

.about-text {
  max-width: 38rem;
  color: var(--mi-muted);
}

.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0.9rem;
}

.about-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--mi-text);
  text-decoration: none;
}

.about-contact--bio {
  margin: 0;
}

.contact-section {
  border-bottom: 1px solid rgba(214, 168, 79, 0.12);
}

.is-mirjam-front .contact-section {
  border-bottom: 0;
}

.contact-section--image > div,
.site-footer__cta {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
}

.contact-section--image > div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(214, 168, 79, 0.15), transparent 18rem),
    linear-gradient(90deg, rgba(19, 11, 16, 0.94), rgba(35, 18, 24, 0.82));
  opacity: 1;
}

.is-mirjam-front .contact-section--image > div::before,
.is-mirjam-front .site-footer__cta::before {
  background:
    radial-gradient(circle at 82% 24%, rgba(214, 168, 79, 0.12), transparent 18rem),
    linear-gradient(90deg, rgba(19, 11, 16, 0.72), rgba(35, 18, 24, 0.58));
}

.site-footer__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 28%, rgba(214, 168, 79, 0.15), transparent 18rem),
    linear-gradient(90deg, rgba(19, 11, 16, 0.94), rgba(47, 24, 30, 0.82));
  opacity: 1;
}

.contact-section--image > div > *,
.site-footer__cta > * {
  position: relative;
  z-index: 1;
}

.contact-list,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-list a,
.contact-list span,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.52rem 0.78rem;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mi-text);
  text-decoration: none;
}

.content-main {
  padding: 3.5rem 0 4rem;
}

.content-header {
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

.content-header h1 {
  margin-bottom: 0;
}

.featured-media {
  overflow: hidden;
  margin: 0 0 1.5rem;
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 8px;
}

.featured-media img {
  width: 100%;
}

.featured-media--theme {
  position: relative;
  min-height: 22rem;
  background: rgba(19, 11, 16, 0.72);
}

.featured-media--theme img {
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.featured-media--theme::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(19, 11, 16, 0.34)),
    radial-gradient(circle at 62% 20%, rgba(214, 168, 79, 0.18), transparent 34%);
  pointer-events: none;
}

.entry-content {
  color: var(--mi-muted);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.65rem;
}

.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content li {
  max-width: 68ch;
}

.entry-content a {
  color: #f0c76e;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
}

.entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.65rem;
  border: 1px solid rgba(214, 168, 79, 0.18);
}

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--mi-accent);
  color: #ead9be;
}

.mi-pattern-course-details {
  margin-top: 2rem;
  padding: 1.1rem;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(214, 168, 79, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(19, 11, 16, 0.42);
}

.mi-course-meta-grid {
  gap: 0.9rem;
}

.mi-course-meta-grid .wp-block-column {
  padding: 0.85rem;
  border: 1px solid rgba(214, 168, 79, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.mi-course-meta-grid h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.wp-caption,
.wp-block-image,
.wp-block-gallery,
.wp-block-embed {
  max-width: 100%;
}

.alignleft,
.alignright,
.aligncenter {
  display: block;
  max-width: 100%;
  margin: 1rem auto;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card__body {
  padding: 1.15rem;
}

.post-card h2 a {
  text-decoration: none;
}

.navigation.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-numbers,
.page-links a,
.page-links > span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(214, 168, 79, 0.2);
  border-radius: 6px;
  text-decoration: none;
}

.page-numbers.current,
.page-links > span {
  background: rgba(214, 168, 79, 0.16);
  color: #ffe5a6;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--mi-width));
  padding: 0 0 2rem;
  margin: 0 auto;
}

.site-footer__cta {
  padding: 2rem;
}

.site-footer__cta h2 {
  max-width: 42rem;
}

.site-footer__bar {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(214, 168, 79, 0.16);
  color: var(--mi-muted);
  font-size: 0.92rem;
}

.site-footer__bar strong,
.site-footer__bar span {
  display: block;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--mi-muted);
  text-decoration: none;
}

.footer-identity {
  display: grid;
  gap: 0.2rem;
}

.copyright {
  margin: 0;
}

.not-found {
  max-width: 44rem;
}

.content-article--legal,
.content-article--impressum,
.page-slug-impressum .content-article,
.page-slug-datenschutz .content-article,
.is-privacy-page .content-article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(24, 13, 18, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.content-article--legal .content-header,
.content-article--impressum .content-header,
.page-slug-impressum .content-header,
.page-slug-datenschutz .content-header,
.is-privacy-page .content-header {
  padding-bottom: 1.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(214, 168, 79, 0.16);
}

.content-article--legal .entry-content,
.content-article--impressum .entry-content,
.page-slug-impressum .entry-content,
.page-slug-datenschutz .entry-content,
.is-privacy-page .entry-content {
  max-width: 58rem;
}

.content-article--legal .entry-content a,
.content-article--impressum .entry-content a,
.page-slug-impressum .entry-content a,
.page-slug-datenschutz .entry-content a,
.is-privacy-page .entry-content a {
  color: #ffe5a6;
  font-weight: 700;
  text-decoration-color: rgba(214, 168, 79, 0.58);
}

.content-article--legal .entry-content h2,
.content-article--impressum .entry-content h2,
.page-slug-impressum .entry-content h2,
.page-slug-datenschutz .entry-content h2,
.is-privacy-page .entry-content h2 {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(214, 168, 79, 0.14);
  color: #f9e9c7;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.content-article--legal .entry-content h2:first-child,
.content-article--impressum .entry-content h2:first-child,
.page-slug-impressum .entry-content h2:first-child,
.page-slug-datenschutz .entry-content h2:first-child,
.is-privacy-page .entry-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.impressum-section + .impressum-section {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(214, 168, 79, 0.16);
}

.impressum-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.impressum-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.impressum-list > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(214, 168, 79, 0.12);
}

.impressum-list dt {
  color: var(--mi-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.impressum-list dd {
  margin: 0;
  color: var(--mi-text);
}

[data-reveal] {
  opacity: 1;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 480ms ease, transform 480ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 0;
  }
}

@media (min-width: 700px) {
  .hero-section {
    min-height: min(54rem, calc(100svh - 4.75rem));
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-lead {
    font-size: 1.65rem;
  }

  .course-grid,
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-grid--pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1fr);
  }

  .is-mirjam-front .about-section {
    grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
  }

  .about-bio-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .about-contact--bio {
    justify-content: flex-end;
  }

  .entry-panel,
  .content-article,
  .comments-wrap,
  .not-found,
  .contact-section > div {
    padding: 2rem;
  }
}

@media (min-width: 920px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .primary-nav a {
    min-height: 2.45rem;
    padding: 0.45rem 0.75rem;
  }

  .hero-section__copy {
    max-width: 45rem;
  }

  h1 {
    font-size: 5rem;
  }

  .course-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .course-grid--pages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__bar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-contact,
  .footer-nav,
  .copyright {
    justify-content: flex-end;
    text-align: right;
  }
}

@media (max-width: 819px) {
  .page-slug-uber-mich .content-article.has-about-photo-collage,
  .page-slug-ueber-mich .content-article.has-about-photo-collage {
    display: block;
  }

  .page-slug-uber-mich .featured-media--about-collage,
  .page-slug-ueber-mich .featured-media--about-collage {
    margin-bottom: 1.2rem;
  }

  .about-photo-collage--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .front-main,
  .content-main,
  .site-footer,
  .site-header__inner {
    width: min(100% - 1rem, var(--mi-width));
  }

  .site-brand__text strong {
    max-width: 10rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-actions,
  .footer-actions,
  .contact-list,
  .footer-contact {
    display: grid;
  }

  .btn,
  .wp-block-button__link,
  .contact-list a,
  .contact-list span,
  .footer-contact a {
    width: 100%;
  }
}

@media (max-width: 699px) {
  body.is-mirjam-front {
    background: #12080d;
  }

  body.is-mirjam-front::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../media/hero/hero-mobile-941.webp") center top / cover no-repeat;
  }

  .is-mirjam-front .site-main,
  .is-mirjam-front .site-footer {
    position: relative;
    z-index: 1;
  }

  .hero-section--image {
    background: transparent;
  }

  .page-slug-uber-mich .site-backdrop,
  .page-slug-ueber-mich .site-backdrop {
    background:
      linear-gradient(180deg, rgba(13, 7, 9, 0.66), rgba(13, 7, 9, 0.88)),
      url("../media/atmosphere/about-bg-900.webp") center top / cover no-repeat;
  }

  .hero-section {
    min-height: min(46rem, calc(100svh - 4.75rem));
    padding-top: 4.75rem;
    padding-bottom: 3.5rem;
  }

  .menu-toggle {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 7px;
  }

  .menu-toggle span {
    width: 1.05rem;
    height: 1.5px;
    margin: 1.5px 0;
  }

  .hero-section--image::before {
    background:
      linear-gradient(180deg, rgba(13, 7, 9, 0.54) 0%, rgba(13, 7, 9, 0.38) 34%, rgba(13, 7, 9, 0.9) 100%),
      radial-gradient(circle at 48% 46%, rgba(214, 168, 79, 0.12), transparent 18rem);
  }

  .hero-section--image::after {
    background:
      linear-gradient(180deg, rgba(13, 7, 9, 0.12) 0%, rgba(13, 7, 9, 0.28) 42%, rgba(13, 7, 9, 0.92) 100%);
    opacity: calc(0.28 + (var(--hero-scroll) * 0.5));
  }

  .hero-depth--glow {
    right: -5rem;
    bottom: 16%;
    width: 18rem;
    opacity: 0.34;
  }

  .hero-ornament-line {
    width: 12rem;
    opacity: 0.72;
  }

  .about-visual--photos {
    padding: 0.55rem;
  }

  .about-visual__arch,
  .about-visual__pattern {
    opacity: 0.34;
  }

  .about-photo-collage--front,
  .about-photo-collage--page {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0;
  }

  .about-photo-collage--front .about-photo-collage__item--1,
  .about-photo-collage--page .about-photo-collage__item--1 {
    min-height: clamp(18rem, 82vw, 26rem);
  }

  .about-photo-collage--front .about-photo-collage__item--2,
  .about-photo-collage--page .about-photo-collage__item--2 {
    min-height: clamp(18rem, 82vw, 26rem);
    transform: none;
  }

  .about-photo-collage--page::before {
    inset: 0.75rem;
  }

  .page-slug-uber-mich .about-photo-collage--page,
  .page-slug-ueber-mich .about-photo-collage--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .page-slug-uber-mich .about-photo-collage--page .about-photo-collage__item,
  .page-slug-ueber-mich .about-photo-collage--page .about-photo-collage__item {
    min-height: 0;
    height: clamp(10rem, 52vw, 13.5rem);
  }

  .is-mirjam-front .about-photo-collage--front {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .is-mirjam-front .about-photo-collage--front .about-photo-collage__item {
    min-height: 0;
    height: clamp(10rem, 52vw, 13.5rem);
  }

  .about-bio-card {
    padding: 1rem;
  }

  .course-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-depth,
  .course-card__image,
  .course-card__image-placeholder,
  .site-backdrop::before,
  .section--image::before,
  .hero-section--image::before {
    transform: none !important;
  }
}
