/* Großfeld – Potenziale fördern
   Hand-written, no build step. Sections follow the page from top to bottom. */

/* Fonts, self-hosted, latin subset, both SIL OFL 1.1 (see fonts/OFL-*.txt).
   Poppins (headings) ships as two upright static weights (400, 500).
   Its x-height is large, so size-adjust brings it down to the sizes the
   layout was set in. Headings are tracked tighter the larger they get.
   Work Sans (body) keeps its weight axis. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 92%;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  size-adjust: 92%;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/work-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/work-sans-italic.woff2") format("woff2");
}

/* Colors, type, measures, surfaces */
:root {
  --burgundy: #6b3833;
  --burgundy-dark: #5a2e2a;
  --burgundy-deep: #3f201d;
  --plum: #754c78;
  --sand: #e8cdb8;
  --ink: #2a211f;
  --muted: #66605d;
  --rule: #e8e5e2;
  --cream: #f8f1ea; /* buttons only */
  --paper: #faf9f7;
  --card: #fff;
  --line: rgba(42, 33, 31, 0.1);

  --heading: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --bar: 68px; /* mobile top bar */
  --side: 264px; /* desktop sidebar */
  --gutter: 20px;
  --label: 15.5rem; /* left column of the editorial grid: fits "Gesundheitscoaching" */
  --col-gap: 3.5rem;
  --text: 40rem; /* right column */
  --frame: calc(var(--label) + var(--col-gap) + var(--text));

  /* Hairlines in one hue that fade out */
  --hairline: linear-gradient(
    90deg,
    rgba(42, 33, 31, 0.16),
    rgba(42, 33, 31, 0.07) 55%,
    rgba(42, 33, 31, 0)
  );
  /* Card edges lit from above: lighter at the top, a touch darker below */
  --card-edge: linear-gradient(
    180deg,
    rgba(42, 33, 31, 0.06),
    rgba(42, 33, 31, 0.13)
  );
  /* Edges on dark surfaces: a white highlight that fades downwards */
  --dark-edge: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.04) 60%,
    rgba(255, 255, 255, 0.08)
  );
  /* Buttons keep their warm, slightly skeuomorphic edge */
  --edge: linear-gradient(
    135deg,
    rgba(107, 56, 51, 0.45),
    rgba(232, 205, 184, 0.85) 35%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(117, 76, 120, 0.35)
  );
  --shadow-button: 0 1px 2px rgba(63, 32, 29, 0.06),
    0 8px 24px -8px rgba(63, 32, 29, 0.12);
  --shadow-button-lift: 0 1px 2px rgba(63, 32, 29, 0.06),
    0 24px 56px -24px rgba(63, 32, 29, 0.3);
  --shadow-card: 0 1px 2px rgba(24, 18, 16, 0.04),
    0 12px 32px -18px rgba(24, 18, 16, 0.14);
  --shadow-lift: 0 1px 2px rgba(24, 18, 16, 0.05),
    0 28px 56px -28px rgba(24, 18, 16, 0.28);
  --radius: 10px;

  /* Icons: SVG paths from Font Awesome 4.4 by Dave Gandy (SIL OFL 1.1,
     https://fontawesome.io), drawn as masks so they take the text color. */
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1536 1280 1792'%3E%3Cpath transform='scale(1,-1)' d='M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1536 1792 1792'%3E%3Cpath transform='scale(1,-1)' d='M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z'/%3E%3C/svg%3E");
  --icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1536 1664 1792'%3E%3Cpath transform='scale(1,-1)' d='M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z'/%3E%3C/svg%3E");
}
@media (min-width: 769px) {
  :root {
    --gutter: 40px;
  }
}
@media (min-width: 1200px) {
  :root {
    --side: 296px;
    --gutter: 64px;
  }
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -0.006em; /* Work Sans is wide-set; a touch less air */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}
p {
  margin: 0 0 1.15em;
}
address {
  font-style: normal;
}
strong,
b {
  font-weight: 600;
}
a {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(117, 76, 120, 0.35);
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover,
a:focus {
  color: var(--burgundy);
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--sand);
  color: var(--ink);
}

/* Lists in the content: a small chevron instead of a bullet */
.main ul {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
  list-style: none;
}
.main ul li {
  position: relative;
  margin-bottom: 0.55em;
}
.main ul li::before {
  content: "";
  position: absolute;
  left: -1.45em;
  top: 0.6em;
  width: 0.36em;
  height: 0.52em;
  background-color: var(--burgundy);
  -webkit-mask: var(--icon-chevron) center / contain no-repeat;
  mask: var(--icon-chevron) center / contain no-repeat;
}
.main ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}

/* Small uppercase labels, used across the page */
.page-header__eyebrow,
.pre-heading,
.quote blockquote footer,
.hero__title .source,
.content__tagline footer {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Skip link: hidden until it gets keyboard focus, then above everything */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  /* Light like .btn: it always sits on the burgundy bar or sidebar */
  background: linear-gradient(180deg, #fff, var(--cream)) padding-box,
    var(--edge) border-box;
  box-shadow: var(--shadow-lift);
  outline-color: var(--sand);
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: none;
}
/* The skip link focuses <main>; no ring around the whole content */
main:focus {
  outline: none;
}

/* Sidebar: a top bar on phones, a fixed column from 769px */
.sidebar {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 var(--gutter);
  background: radial-gradient(
      120% 160% at 0% 0%,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0) 60%
    ),
    var(--burgundy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 24px -12px rgba(63, 32, 29, 0.45);
}
.title-wrap {
  min-width: 0;
}
.title {
  margin: 0;
  line-height: 0;
}
.title a {
  display: block;
}
.title img {
  display: block;
  width: auto;
  height: 44px;
}
#sublogo {
  display: none;
}
.sidebar__menu {
  display: none;
}
.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--bar);
  counter-reset: section;
}
/* The page's own content; the footer follows it and stays at the bottom */
.main__content {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.main > *,
.main__content > * {
  width: 100%;
}
@media (min-width: 769px) {
  .sidebar {
    right: auto;
    bottom: 0;
    width: var(--side);
    height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 40px 24px 32px;
    overflow-y: auto;
    background: radial-gradient(
        120% 40% at 0% 0%,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0) 70%
      ),
      linear-gradient(180deg, var(--burgundy), var(--burgundy-dark));
    box-shadow: -1px 0 0 rgba(255, 255, 255, 0.08) inset;
  }
  .title-wrap {
    padding: 0 8px;
  }
  .title img {
    width: 100%;
    height: auto;
  }
  #sublogo {
    display: block;
    width: 44%;
    margin: 24px auto 0;
  }
  .sidebar__menu {
    display: block;
    position: relative;
    margin-top: 32px;
    padding-top: 22px;
  }
  .sidebar__menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0)
    );
  }
  .menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .menu__item + .menu__item {
    margin-top: 2px;
  }
  .menu__item a {
    position: relative;
    display: block;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
  }
  .menu__item a:hover,
  .menu__item a:focus {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  /* Current page: a quiet lighter surface, lit from above */
  .page-profile .item-profile a,
  .page-change .item-change a,
  .page-live-online .item-live-online a,
  .page-coaching .item-coaching a,
  .page-management .item-management a,
  .page-trainings .item-trainings a,
  .page-gesundheit .item-gesundheit a,
  .page-contact .item-contact a {
    background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08))
        padding-box,
      var(--dark-edge) border-box;
    color: #fff;
  }
  .main {
    margin-left: var(--side);
    padding-top: 0;
  }
}

/* Menu button and mobile menu */
.menu-btn-wrap {
  flex: none;
}
@media (min-width: 769px) {
  .menu-btn-wrap {
    display: none;
  }
}
.c-hamburger {
  display: block;
  position: relative;
  overflow: hidden;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.c-hamburger span {
  display: block;
  position: absolute;
  top: 23px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
}
.c-hamburger span::before,
.c-hamburger span::after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.c-hamburger span::before {
  top: -8px;
}
.c-hamburger span::after {
  bottom: -8px;
}
.c-hamburger--htx span {
  transition: background 0s 0.3s;
}
.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}
.c-hamburger--htx span::before {
  transition-property: top, transform;
}
.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}
.c-hamburger--htx.is-active span {
  background: none;
}
.c-hamburger--htx.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}
.c-hamburger--htx.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}
.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.3s;
}
.mobile-menu-wrap {
  display: none;
  position: fixed;
  z-index: 800;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: calc(var(--bar) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--burgundy), var(--burgundy-dark));
}
.menu-open {
  overflow: hidden;
}
.menu-open .mobile-menu-wrap {
  display: block;
}
@media (min-width: 769px) {
  .mobile-menu-wrap {
    display: none !important;
  }
}
.mobile-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: menu;
}
.mobile-menu__item a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--heading);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
}
.mobile-menu__item a::before {
  counter-increment: menu;
  content: counter(menu, decimal-leading-zero);
  min-width: 1.6em;
  color: var(--sand);
  font-family: var(--heading);
  font-size: 0.85rem;
  font-weight: 400;
}
.mobile-menu__item a:hover,
.mobile-menu__item a:focus {
  color: var(--sand);
}

/* Shared frame: everything in the content aligns to one left edge */
.page-header,
.page-figure,
.text__wrap,
.content__wrap,
.content__wrap--details,
.quote,
.hero,
.contact-form,
.contact__wrap {
  max-width: calc(var(--frame) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Editorial grid from 1100px: labels and headings left, text right */
@media (min-width: 1100px) {
  .text__wrap,
  .content__seminar,
  .content__seminar--details,
  .content__seminar--details--wide,
  .content__seminar--intro {
    display: grid;
    grid-template-columns: var(--label) minmax(0, var(--text));
    column-gap: var(--col-gap);
    align-items: start;
  }
  .text__wrap > *,
  .content__seminar > *,
  .content__seminar--details > *,
  .content__seminar--details--wide > *,
  .content__seminar--intro > * {
    grid-column: 2;
  }
  .text__wrap > .text__subheading,
  .content__seminar > .pre-heading,
  .content__seminar--details > .pre-heading,
  .content__seminar--details--wide > .pre-heading {
    grid-column: 1;
    grid-row: 1 / span 20;
  }
}

/* Page header: eyebrow, very large title, lead */
.page-header {
  position: relative;
  padding-top: 56px;
  padding-bottom: 40px;
}
.main {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
@media (min-width: 769px) {
  .page-header {
    padding-top: 112px;
    padding-bottom: 56px;
  }
}
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--plum);
}
.page-header__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.page-header__eyebrow a {
  color: inherit;
  text-decoration: none;
}
.page-header__eyebrow a:hover {
  color: var(--burgundy);
}
.page-header__title {
  max-width: 14em;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: clamp(2.9rem, 7.2vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.page-header__lead {
  max-width: 26em;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: var(--heading);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-wrap: balance;
}
@media (min-width: 1100px) {
  .page-header__lead {
    margin-left: calc(var(--label) + var(--col-gap));
  }
}

/* The photo as a wide figure with a soft lift */
.page-figure {
  margin-top: 0;
  margin-bottom: 96px;
}
@media (max-width: 768px) {
  .page-figure {
    margin-bottom: 56px;
  }
}
.page-figure picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  background: var(--cream);
}
.page-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (min-width: 769px) {
  .page-figure img {
    aspect-ratio: 2 / 1;
  }
}
/* Crop per photo, taken over from the old banner positions */
.page-figure--hero-index img {
  object-position: 50% 62%;
}
.page-figure--coaching-beratung img {
  object-position: 50% 88%;
}
.page-figure--gesundheit-balance img {
  object-position: 20% 40%;
}
.page-figure--management-development img {
  object-position: 50% 80%;
}
.page-figure--trainings-seminare img {
  object-position: 50% 50%;
}

/* Text sections */
.text,
.content {
  position: relative;
}
.text--split {
  margin-top: 88px;
}
.text--split:first-child,
.page-figure + .text--split,
.page-header + .text--split {
  margin-top: 0;
}
.text__subheading {
  margin-bottom: 24px;
}
@media (min-width: 1100px) {
  .text__subheading {
    margin-bottom: 0;
    position: sticky;
    top: 40px;
  }
}
.text__subheading h2 {
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  /* Long compounds like "Wissensmanagement" don't fit the left column:
     break them with &shy; in the HTML; this only keeps text from overflowing */
  overflow-wrap: break-word;
}
/* Section numbers: 01, 02, ... with a fading hairline */
.text--split .text__subheading h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  padding-bottom: 12px;
  background: var(--hairline) left bottom / 100% 1px no-repeat;
  color: var(--plum);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.page-impressum .text--split .text__subheading h2::before,
.page-404 .text--split .text__subheading h2::before {
  content: none;
}
@media (min-width: 1100px) {
  .text__subheading h2 {
    font-size: 1.6rem;
  }
}
/* Section bar below 1100px: the current section's heading under the top bar,
   on frosted cream (shown by app.js once the heading has scrolled away) */
.section-bar {
  position: fixed;
  z-index: 800;
  top: var(--bar);
  left: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px var(--gutter) 12px;
  background: rgba(248, 241, 234, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(107, 56, 51, 0.1),
    0 10px 24px -18px rgba(63, 32, 29, 0.4);
  font-family: var(--heading);
  font-size: 1.02rem;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
}
.section-bar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.section-bar__num {
  flex: none;
  color: var(--plum);
  font-weight: 400;
}
.section-bar__num:empty {
  display: none;
}
.section-bar__title {
  min-width: 0;
  overflow: hidden;
  color: var(--burgundy);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 769px) {
  .section-bar {
    top: 0;
    left: var(--side);
  }
}
@media (min-width: 1100px) {
  .section-bar {
    display: none;
  }
}
.menu-open .section-bar {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .section-bar,
  .section-bar.is-visible {
    transform: none;
    transition: none;
  }
}
.text__body + .text__body {
  margin-top: 0.4em;
}
.text__body h3,
.content__seminar--details h3,
.content__seminar--details--wide h3 {
  margin: 2.4em 0 0.8em;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.text__body > h3:first-child {
  margin-top: 0;
}
.text__body + .text__body > h3:first-child {
  margin-top: 1.8em;
}
.text__message {
  margin: 0;
  color: var(--muted);
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* Lead paragraph with a drop cap */
.lead {
  color: var(--ink);
  font-size: 1.22em;
  line-height: 1.6;
}
.lead::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 -0.04em;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: 3.6em;
  font-weight: 500;
  line-height: 0.82;
}

/* Pull quote inside the text (former tagline) */
.content__tagline blockquote {
  margin: 8px 0 40px;
  padding: 4px 0 4px 28px;
  background: linear-gradient(
      180deg,
      var(--burgundy),
      rgba(107, 56, 51, 0)
    )
    left top / 2px 100% no-repeat;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.32;
  text-wrap: balance;
}
.content__tagline p {
  margin: 0;
}
.content__tagline footer {
  display: block;
  margin-top: 12px;
  color: var(--plum);
}
.content > .content__wrap > .content__tagline blockquote {
  margin-top: 0;
}
@media (min-width: 1100px) {
  .content > .content__wrap > .content__tagline {
    margin-left: calc(var(--label) + var(--col-gap));
  }
}
.break-on-mobile {
  display: none;
}

/* Profile: portrait next to the list, competence fields in two columns */
.text__profile {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-start;
}
.text__body--profile-image img {
  display: block;
  width: 200px;
  max-width: 60vw;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.text__body--profile-text {
  flex: 1 1 16rem;
  padding-top: 4px;
}
.competence {
  position: relative;
  hyphens: auto;
  padding: 24px 24px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(var(--card), var(--card)) padding-box,
    var(--card-edge) border-box;
  box-shadow: var(--shadow-card);
}
.competence + .competence {
  margin-top: 20px;
}
.competence h3 {
  margin: 0 0 14px;
  hyphens: auto;
  overflow-wrap: break-word;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
@media (min-width: 900px) {
  .text__body:has(> .competence) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .competence + .competence {
    margin-top: 0;
  }
}

/* Seminar overview and details: numbered entries, fading dividers */
.content__seminar,
.content__seminar--details,
.content__seminar--details--wide {
  position: relative;
  padding: 44px 0 48px;
}
.content__seminar::before,
.content__seminar--details::before,
.content__seminar--details--wide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline);
}
.pre-heading {
  display: block;
  margin: 0 0 14px;
  color: var(--plum);
}
.content__seminar .pre-heading::before,
.content__seminar--details .pre-heading::before,
.content__seminar--details--wide .pre-heading::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
}
@media (min-width: 1100px) {
  .pre-heading {
    padding-top: 6px;
  }
}
.content__seminar h2,
.content__seminar--details h2,
.content__seminar--details--wide h2 {
  margin: 0 0 20px;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.content__seminar h2 a {
  color: inherit;
  text-decoration: none;
}
.content__seminar h2 a:hover {
  color: var(--plum);
}
.content__seminar--intro {
  padding-bottom: 40px;
}

/* Links styled as small buttons: gradient edge, warm lift on hover */
.seminar-link,
.download-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--cream)) padding-box,
    var(--edge) border-box;
  box-shadow: var(--shadow-button);
  color: var(--plum);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 0.25s, transform 0.25s, color 0.2s;
}
.seminar-link:hover,
.seminar-link:focus,
.download-link:hover,
.download-link:focus,
.btn:hover,
.btn:focus {
  color: var(--burgundy);
  box-shadow: var(--shadow-button-lift);
  transform: translateY(-1px);
}
.seminar-link::after,
.download-link::after {
  content: "";
  flex: none;
  width: 1.4em;
  height: 1.4em;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform 0.25s;
}
.seminar-link:hover::after,
.seminar-link:focus::after {
  transform: translateX(3px);
}
.download-link::after {
  width: 1.15em;
  height: 1.15em;
  -webkit-mask-image: var(--icon-download);
  mask-image: var(--icon-download);
}
.download-link:hover::after,
.download-link:focus::after {
  transform: translateY(2px);
}

/* Quote bands: a dark card lit from above, photo and quote side by side */
.quote {
  margin-top: 112px;
  margin-bottom: 112px;
}
.quote__image,
.quote__wrap {
  grid-row: 1;
}
.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.quote::before {
  content: "";
  grid-row: 1;
  grid-column: 1 / -1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: radial-gradient(
        80% 100% at 100% 0%,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0) 70%
      )
      padding-box,
    linear-gradient(180deg, #55302c, var(--burgundy-deep)) padding-box,
    var(--dark-edge) border-box;
  box-shadow: var(--shadow-lift);
}
.quote__image {
  position: relative;
  display: block;
  min-height: 260px;
  margin: 10px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background: #5e3531;
}
.quote__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.quote__wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px 36px;
}
.quote blockquote {
  margin: 0;
  color: #fbf3ee;
  font-family: var(--heading);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: balance;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  margin: 0 0 8px -0.05em;
  color: rgba(232, 205, 184, 0.45);
  font-size: 3.4em;
  font-style: normal;
  line-height: 1;
  font-family: var(--sans);
}
.quote blockquote footer {
  margin-top: 22px;
  color: var(--sand);
}
@media (min-width: 769px) {
  .quote {
    grid-template-columns: 5fr 6fr;
  }
  .quote__image {
    grid-column: 1;
    min-height: 380px;
  }
  .quote__wrap {
    grid-column: 2;
    padding: 56px 56px 56px 36px;
  }
  .quote--reverse {
    grid-template-columns: 6fr 5fr;
  }
  .quote--reverse .quote__image {
    grid-column: 2;
  }
  .quote--reverse .quote__wrap {
    grid-column: 1;
    padding: 56px 36px 56px 56px;
  }
}
@media (max-width: 768px) {
  .quote {
    margin-top: 72px;
    margin-bottom: 72px;
  }
  .quote::before {
    grid-row: 1 / span 2;
  }
  .quote__image,
  .quote__wrap {
    grid-column: 1;
  }
  .quote__image {
    grid-row: 1;
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
  .quote__wrap {
    grid-row: 2;
    padding: 20px 28px 36px;
  }
}

/* Home page: the motto and the photo */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 72px;
}
.hero__quote {
  margin: 0;
  max-width: 15em;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.hero__quote p {
  margin: 0;
}
.hero__quote br {
  display: none;
}
.hero__title .source {
  display: block;
  margin-top: 28px;
  color: var(--plum);
}
.hero__title img {
  display: block;
  width: 100%;
  max-width: 600px;
  margin-top: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
@media (min-width: 769px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
  }
}
@media (min-width: 1360px) {
  .hero__title {
    display: grid;
    grid-template-columns: 1fr minmax(0, 420px);
    gap: 64px;
    align-items: center;
    width: 100%;
  }
  .hero__title img {
    margin-top: 0;
  }
}

/* Call to action above the footer: a white card */
.contact-form {
  margin-top: 112px;
  margin-bottom: 96px;
}
.form__fields {
  position: relative;
  padding: 56px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(var(--card), var(--card)) padding-box,
    var(--card-edge) border-box;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.form__cta {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--heading);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.form__fields br {
  display: none;
}
.contact-cta {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}
.page-contact .contact-form {
  margin-top: 0;
}

/* Footer: deep burgundy with a fading top highlight */
.contact {
  position: relative;
  margin-top: auto;
  padding: 72px 0 28px;
  background: radial-gradient(
      70% 100% at 50% 0%,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0) 70%
    ),
    var(--burgundy-deep);
  /* Page heights are fractional, so the footer can end a device pixel above
     the viewport. The shadow fills that without adding scroll height. */
  box-shadow: 0 4px 0 var(--burgundy-deep);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.7;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
}
.contact__wrap {
  display: grid;
  gap: 24px var(--col-gap);
}
.contact__heading h2 {
  color: #fff;
  font-family: var(--heading);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.contact__info {
  display: grid;
  gap: 8px 48px;
}
.contact__info p,
.contact__legal p {
  margin: 0;
}
.contact a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
/* Phone numbers look like plain text until hovered or focused */
.contact a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
.contact a:hover,
.contact a:focus {
  color: var(--sand);
  text-decoration-color: currentColor;
}
.contact__legal {
  position: relative;
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.contact__legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
}
.data-privacy-link {
  margin-left: 1.5em;
}
@media (min-width: 769px) {
  .contact__wrap {
    grid-template-columns: var(--label) 1fr;
  }
  .contact__info {
    grid-template-columns: 1fr 1fr;
  }
  .contact__legal {
    grid-column: 1 / -1;
  }
}

/* 404 page */
.page-404 .text__wrap {
  display: block;
}
.page-404 .text__body {
  padding-bottom: 96px;
}
.btn {
  margin-top: 28px;
}

/* Jump targets stay clear of the fixed top bar on phones */
:target {
  scroll-margin-top: calc(var(--bar) + 24px);
}
@media (min-width: 769px) {
  :target {
    scroll-margin-top: 32px;
  }
}

/* Small "Neu" label (kept from the old stylesheet) */
.new-badge {
  display: inline-block;
  margin-right: 1em;
  padding: 0.4em 0.6em;
  border-radius: 999px;
  background: var(--cream);
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

/* Fewer moving parts for visitors who ask for it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
