ul li {
  list-style-type: none;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-500italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-600italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/public/fonts/work-sans-v24-latin/work-sans-v24-latin-800italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* ---------------------------------------------
   Eva Parashar — E-V-A Trainings
--------------------------------------------- */

:root {
  --cream: #F7F5EF;
  --sage: #3A5A40;
  --sage-dark: #2C4530;
  --sage-muted: #557060;
  --olive: #8A9A5B;
  --olive-light: #EEF1E4;
  --error: #dd7b54;
  --primary-text: #26302A;
  --body-text: #5B6960;
  --charcoal: var(--primary-text);
  --border: #E1DED4;
  --max-width: 1080px;
  --radius: 6px;
  --radius-card: 10px;
}

html {
  font-size: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Work Sans', 'Inter', 'IBM Plex Sans', Arial, sans-serif;
  background: var(--cream);
  color: var(--body-text);
  line-height: 1.65;
}

a {
  color: var(--sage);
  text-decoration: none;
}

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

/* ---------- Eyebrow (global — was previously scoped only to .hero, so
   Themen's "THEMEN"/"THEMA 1/2/3" labels were rendering unstyled before) ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.875rem;
}

/* ---------- Site header (logo + tagline + nav, single row) ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

/* .brand {
  display: flex;
 gap: 0.6rem; 
  text-decoration: none;
  flex-wrap: wrap;
}
 */

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-crop {
  display: flex;
  align-items: center;
  height: 45px;
  /* final height in the header row — tune this */
  overflow: visible;
}

.brand-logo-crop img {
  height: 175px;
  /* larger than the crop box on purpose */
  width: auto;
  /*   margin: -17px 0; */
  margin-top: 10px;
  /* negative margin pulls the crop window to center on the artwork */
}

.brand:hover {
  text-decoration: none;
}

/* .brand img {
  height: 44px;
  width: auto;
  flex-shrink: 0;

} */

/* .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
 */
/* .brand-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--sage);
  letter-spacing: -0.01em;
} */

/* .brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.08em;
} */

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
}

nav>ul>li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav>ul>li>a {
  color: var(--body-text);
  font-size: 0.95rem;
  font-weight: 600;
}

nav>ul>li>a:hover,
nav>ul>li>a:focus-visible {
  color: var(--olive);
  text-decoration: none;
}

.dropdown-btn {
  background: none;
  border: none;
  color: var(--body-text);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.6rem 0.4rem;
  margin: -0.6rem -0.4rem;
}

.dropdown-btn:hover {
  color: var(--olive);
}

.dropdown-btn[aria-expanded="true"] {
  color: var(--olive);
}

.dropdown-btn .chevron {
  display: inline-flex;
  font-size: 0.8rem;
  color: var(--sage-muted);
  transition: transform 0.15s ease;
}

.dropdown-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
  color: var(--olive);
}

/* Dropdown panels */
nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: #F7F8F3;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(38, 48, 42, 0.08);
  flex-direction: column;
  gap: 0;
}

nav ul ul[hidden] {
  display: none;
}

nav ul ul li {
  padding: 0;
}

nav ul ul a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 400;
  white-space: nowrap;
  color: var(--body-text);
}

nav ul ul a:hover {
  background: var(--cream);
  color: var(--olive);
  text-decoration: none;
}

/* ---------- Main content ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.5rem;
}

main h1 {
  color: var(--primary-text);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
  font-size: 2.125rem;
  /* 34px — Profil/Kontakt baseline */
}

main h2 {
  color: var(--primary-text);
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-size: 1.875rem;
  /* 30px — Home section headers baseline */
}

main h3 {
  color: var(--primary-text);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

main p {
  margin-bottom: 1rem;
  /* max-width: 65ch; */
}

.cta {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 0.9375rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.cta:hover {
  background: var(--sage-dark);
  text-decoration: none;
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--sage);
  padding: 0.9375rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--sage);
  cursor: pointer;
}

.cta-secondary:hover {
  background: var(--olive-light);
  text-decoration: none;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2.5rem;
}

@media (max-width: 740px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-img {
    order: -1;
    aspect-ratio: 4/3;
    max-height: 320px;
    width: 100%;
  }
}

.hero h1 {
  color: var(--primary-text);
  font-size: 3rem;
  /* 48px — Home */
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

/* Moderation/Beratung reuse .hero but need the smaller 36px size — add
   class="hero size-md" on <section> in those two templates. */
.hero.size-md h1 {
  font-size: 2.25rem;
  /* 36px — Moderation/Beratung */
}

.hero-img.wide {
  aspect-ratio: 16/10;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 2.125rem;
  }
}

.hero-text p {
  max-width: 55ch;
  font-size: 1.05rem;
}

.hero-img {
  background: #E8E4DA;
  border-radius: 12px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9384;
  font-size: 0.85rem;
}

.hero.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.hero.reverse .hero-img {
  order: -1;
}

@media (max-width: 740px) {
  .hero.reverse {
    grid-template-columns: 1fr;
  }

  .hero.reverse .hero-img {
    order: -1;
  }
}

.offer,
.audience,
.themen-preview {
  padding: 2rem 0;
  position: relative;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 260px));
  gap: 1.25rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.offer-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {

  .offer-grid,
  .offer-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 260px));
  }
}

@media (max-width: 500px) {

  .offer-grid,
  .offer-grid.cols-3 {
    grid-template-columns: minmax(0, 260px);
  }
}

.offer-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.625rem 1.375rem;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.offer-card p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  font-size: 0.875rem;
}

.offer-card:hover,
.offer-card:focus-visible {
  background: var(--olive-light);
  border-color: var(--olive);
  border-width: 2px;
}

.themen-preview-card:hover,
.themen-preview-card:focus-visible {
  border-color: var(--olive);
  text-decoration: none;
}

.offer-icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--olive-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.offer-icon-chip span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--olive);
}

.offer-card h3 {
  color: var(--primary-text);
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.themen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.themen-card {
  display: block;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
  color: var(--sage);
  font-weight: 500;
}

.themen-card:hover,
.themen-card:focus-visible {
  background: var(--olive-light);
  border-color: var(--olive);
  border-width: 2px;
}

.audience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.pill {
  display: inline-block;
  background: var(--olive-light);
  color: var(--sage);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
}

.mein-ansatz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 720px) {
  .mein-ansatz-grid {
    grid-template-columns: 1fr;
  }
}

.ansatz-callouts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ansatz-callout {
  border-left: 3px solid var(--olive);
  padding: 0.5rem 1rem 0.5rem 1.125rem;
}

.ansatz-callout strong {
  display: block;
  color: var(--primary-text);
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.ansatz-callout span {
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  justify-content: center;
}

footer a {
  font-size: 0.8rem;
  color: var(--sage-muted);
}

footer button.cookie {
  background: none;
  border: none;
  font: inherit;
  font-size: 0.8rem;
  color: var(--sage-muted);
  cursor: pointer;
  padding: 0;
}

footer button.cookie:hover {
  color: var(--sage);
  text-decoration: underline;
}

footer .footer-credit {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--sage-muted);
}

/* ---------- Cookie consent modal theming ---------- */
#cc-main {
  --cc-bg: #F7F5EF;
  --cc-font-family: 'Work Sans', 'Inter', 'IBM Plex Sans', Arial, sans-serif;
  --cc-modal-border-radius: 12px;
  --cc-btn-border-radius: 6px;
  --cc-modal-margin: 1rem;

  --cc-btn-primary-bg: #3A5A40;
  --cc-btn-primary-border-color: #3A5A40;
  --cc-btn-primary-hover-bg: #2C4530;
  --cc-btn-primary-hover-border-color: #2C4530;

  --cc-btn-secondary-bg: #F7F5EF;
  --cc-btn-secondary-border-color: #E1DED4;
  --cc-btn-secondary-hover-bg: #EEF1E4;

  --cc-toggle-on-bg: #3A5A40;

  --cc-primary-color: #26302A;
  --cc-secondary-color: #5B6960;

  --cc-footer-bg: #EEF1E4;
  --cc-footer-color: #26302A;
  --cc-footer-border-color: #E1DED4;

  --cc-separator-border-color: #E1DED4;
  --cc-toggle-off-bg: #C7C1B3;
  --cc-toggle-readonly-bg: #A8B5A0;
  --cc-cookie-category-block-bg: #EEF1E4;
  --cc-cookie-category-block-border: #E1DED4;
  --cc-cookie-category-block-hover-bg: #E1DED4;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.20rem;
  }

  nav ul ul {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--olive-light);
    border-radius: 0;
    margin: 0.4rem 0 0 1.125rem;
    /* ~18px indent, ties submenu to parent */
    padding: 0;
    width: calc(100% - 1.125rem);
  }

  nav ul li {
    flex-direction: column;
    align-items: flex-start;
  }

  nav>ul>li>a,
  .dropdown-btn {
    font-size: 0.875rem;
  }

  nav ul ul a {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--body-text);
    padding: 0.35rem 0.6rem;
  }


}

/* ---------- Tablet (nav tightens up before wrapping to a second row) ---------- */
@media (max-width: 970px) and (min-width: 641px) {
  .site-header {
    gap: 1rem;
    justify-content: center;
  }

  nav {
    flex: 1 1 100%;
  }

  nav ul {
    gap: 1.1rem;
    justify-content: center;
  }

  nav>ul>li>a,
  .dropdown-btn {
    font-size: 0.875rem;
  }

  .brand-logo-crop {
    height: 40px;
  }

  .brand-logo-crop img {
    height: 128px;
    margin: -14.5px 0;
  }

  nav ul ul {
    min-width: 200px;
  }

  nav ul ul a {
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
  }
}

@media (max-width: 970px) {
  .contact-photo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- Legal (Datenschutz/Impressum) ---------- */
.legal h3 {
  color: var(--primary-text);
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.legal p {
  max-width: 70ch;
}

.legal-note {
  margin-top: 2rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--sage-muted);
  font-size: 0.85rem;
}

/* Contact form  */
.contact-photo {
  background: #E8E4DA;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 280px;
  max-height: 340px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9384;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
  padding: 1rem 0 2.5rem;
}

@media (max-width: 740px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    order: -1;
    aspect-ratio: 4/3;
    max-height: 320px;
    width: 100%;
    max-width: none;
  }
}

.trust-block {
  background: var(--olive-light);
  border-radius: var(--radius-card);
  padding: 1.375rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--primary-text);
  font-weight: 600;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
  flex-shrink: 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.step-row {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 0.125rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--body-text);
  line-height: 1.5;
}

.contact-form {
  max-width: 600px;
  margin: 0;
  padding: 2.25rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(38, 48, 42, 0.08);
  font-family: inherit;
}

.contact-form div {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  height: 2.75rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--primary-text);
  background: var(--cream);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(58, 90, 64, 0.15);
  background: #ffffff;
}

.contact-form textarea {
  resize: none;
  min-height: 110px;
}

/* Error state uses color + icon + weight — not color alone, so it still
   reads clearly for red-green colorblind users. Deliberately uses --error,
   not --olive — olive has not been verified for AA contrast in this role. */
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--error);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.field-error:not(:empty)::before {
  content: "⚠";
  flex-shrink: 0;
}

.contact-form input.input-invalid,
.contact-form textarea.input-invalid {
  border-color: var(--error);
  border-width: 2px;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 0.9375rem;
  background: var(--sage);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.contact-form button[type="submit"]:hover {
  background: var(--sage-dark);
}

.contact-form button[type="submit"]:active {
  transform: scale(0.98);
}

.contact-form .hidden {
  display: none;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
  }
}

.contact-intro {
  font-size: 1.05rem;
  max-width: 55ch;
  margin-bottom: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex-shrink: 0;
}

/* NOTE: if the photo should scale with bio text length instead of a fixed
   height, swap to the "stretch" approach instead of the current fixed-size one:
   
   .contact-layout.profil-layout { align-items: stretch; }
   .contact-photo { width: 100%; max-width: 320px; height: 100%; }
   (drop max-height/aspect-ratio, keep display:flex/overflow:hidden/etc. as-is)
   
   Trade-off: photo height then depends entirely on however long the bio text
   is — very short text = short/wide-looking photo, very long text = unusually
   tall photo. No ceiling on height unless you add max-height back as a cap.
   Current fixed max-height: 340px / aspect-ratio: 3/4 approach avoids that
   risk but doesn't auto-adjust to text length. */

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  object-position: center;
}

.contact-layout.profil-layout {
  gap: 2.5rem;
  /* was inheriting 5rem from shared .contact-layout */
  align-items: start;
  grid-template-columns: 1fr 420px;
}

@media (min-width: 741px) {
  .profil-layout .contact-photo {
    max-width: 420px;
    max-height: none;
    aspect-ratio: 4/5;
    width: 100%;
  }
}

@media (max-width: 740px) {
  .contact-layout.profil-layout {
    grid-template-columns: 1fr;
  }
}

.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-details strong {
  color: var(--primary-text);
  font-weight: 600;
}

.contact-details a {
  color: var(--primary-text);
}

.contact-details a:hover {
  color: var(--sage);
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--sage-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.form-privacy-note a {
  color: var(--sage-muted);
  text-decoration: underline;
}

.form-privacy-note a:hover {
  color: var(--sage);
}

/* ---------- Fortbildungen: alternating groups with mini-grid chips ---------- */
.fortbildung-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}

@media (max-width: 740px) {
  .fortbildung-group {
    grid-template-columns: 1fr;
    scroll-margin-top: 9rem;
  }

  .fortbildung-group .fortbildung-img {
    order: -1;
  }
}

.fortbildung-img {
  background: #E8E4DA;
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9384;
  font-size: 0.85rem;
}

.fortbildung-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.fortbildung-text h2 {
  color: var(--primary-text);
  font-size: 1.625rem;
  /* 26px — group headers */
  margin-bottom: 0.75rem;
}

.fortbildung-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 500px) {
  .fortbildung-meta {
    grid-template-columns: 1fr;
  }
}

.fortbildung-meta-item {
  background: var(--olive-light);
  border-radius: 8px;
  padding: 0.875rem;
}

.fortbildung-meta-item .meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.fortbildung-meta-item .meta-value {
  font-size: 0.875rem;
  color: var(--primary-text);
  font-weight: 600;
}

/* Selbshilfegruppen*/
.kurs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .kurs-grid {
    grid-template-columns: 1fr;
  }
}

.kurs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

.kurs-card h4 {
  color: var(--primary-text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.kurs-card p {
  font-size: 0.875rem;
  color: var(--body-text);
  margin-bottom: 0;
}

.kurs-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--olive-light);
  color: var(--primary-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.kurs-card .kurs-subtitle {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--sage-muted);
  margin-bottom: 0.5rem;
}

.kurs-card .kurs-themen {
  font-size: 0.8rem;
  color: var(--body-text);
  margin-top: 0.5rem;
}

.kurs-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.themen-module {
  margin-bottom: 2.5rem;
}

.themen-module:last-child {
  margin-bottom: 0;
}

.themen-module .eyebrow {
  margin-bottom: 0.4rem;
}

.themen-module h2 {
  margin-bottom: 0;
}

.cta-banner {
  background: var(--sage);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3rem;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-bottom: -2.5rem;
}

.cta-banner h2 {
  color: var(--cream);
}

.cta-banner p {
  color: var(--cream);
  max-width: 60ch;
  margin: 0 auto 1.5rem;
}

.cta-banner .cta {
  background: var(--cream);
  color: var(--sage-dark);
}

.cta-banner .cta:hover {
  background: var(--olive-light);
}

/*Themen */

.themen-topic-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.themen-topic-card:hover,
.themen-topic-card:focus-visible {
  border-color: var(--olive);
}

.themen-topic-photo {
  background: #E8E4DA;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9384;
  font-size: 0.8rem;
}

.themen-topic-body {
  padding: 1.25rem;
}

.page-intro,
.themen-intro {
  padding: 2rem 0;
}

.page-intro h1,
.themen-intro h1 {
  color: var(--primary-text);
  font-size: 2.375rem;
  /* 38px — Themen/Fortbildungen */
  margin-bottom: 0.75rem;
}

.thema-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  position: relative;
}

@media (max-width: 720px) {
  .thema-section {
    grid-template-columns: 1fr;
  }

  .thema-section .thema-img {
    order: -1;
  }
}

.thema-section.reverse .thema-img {
  order: 1;
}

.thema-section.reverse .thema-text {
  order: 2;
}

.thema-img {
  background: #E8E4DA;
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9384;
  font-size: 0.85rem;
}

.thema-section h2 {
  color: var(--primary-text);
  font-size: 1.75rem;
  /* 28px — Themen detail headers */
  margin-bottom: 0.75rem;
}

.thema-section ul {
  padding-left: 1.1rem;
  margin-top: 0.75rem;
}

.thema-section li {
  margin-bottom: 0.4rem;
}


.ablauf,
.foerderung,
.page-cta {
  padding: 2rem 0;
  position: relative;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.fuer-wen {
  padding: 1rem 0;
  position: relative;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}


.fuer-wen+.fuer-wen {
  padding-bottom: 0;
}

.background-item {
  margin-bottom: 1.75rem;
}

.background-item h3 {
  font-size: 1.05rem;
}

/* Optional divider — add class="divider" to any section that should show
   the short olive bar. Remove the class to drop it from any section. */
.divider::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--olive);
  margin-bottom: 1.5rem;
}

/* Optional full-width hairline — add class="section-split" to any section
   that should have a plain thin border above it. */
.section-split {
  border-top: 1px solid var(--border);
  padding-bottom: 2rem;
}

.back-to-overview {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage-muted);
  margin-bottom: 1rem;
}

.back-to-overview:hover {
  color: var(--sage);
  text-decoration: underline;
}

.fuer-wen h2,
.ablauf h2,
.foerderung h2 {
  color: var(--primary-text);
  font-size: 1.5rem;
  /* 24px — Profil-style subsection headers */
  margin-bottom: 0.75rem;
}

.fuer-wen ul,
.ablauf ul {
  padding-left: 1.1rem;
}

.fuer-wen li,
.ablauf li {
  margin-bottom: 0.3rem;
}

.page-cta p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.page-cta {
  padding-bottom: 0;
}

.thema-section li,
.fuer-wen li,
.ablauf li {
  position: relative;
  padding-left: 1.1rem;
}

.thema-section li::before,
.fuer-wen li::before,
.ablauf li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--olive);
  border-radius: 50%;
}

/* ---- Profil: credentials + quote ---- */
.credentials {
  padding: 2rem 0;
  position: relative;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.credential-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.125rem 1.25rem;
  font-size: 0.95rem;
}

.credential-card strong {
  display: block;
  color: var(--primary-text);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.quote {
  padding: 2rem 0;
}

.quote-card {
  border-left: 3px solid var(--olive);
  padding: 0.5rem 1.5rem;
  margin-bottom: 4rem;
}

.quote-card blockquote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--primary-text);
}

.quote-card cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--sage-muted);
}

/* ---- Profil: career timeline ---- */
.career-timeline {
  margin-top: 1.5rem;
}

.career-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

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

@media (max-width: 640px) {
  .career-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.career-year {
  font-weight: 700;
  color: var(--olive);
  font-size: 0.9375rem;
}

.career-org {
  color: var(--primary-text);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.career-role {
  color: var(--sage-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.career-desc {
  font-size: 0.9375rem;
  color: var(--body-text);
  margin-bottom: 0;
}

/* ---------- Mobile: page/themen headings ---------- */
@media (max-width: 600px) {

  .page-intro h1,
  .themen-intro h1 {
    font-size: 1.75rem;
  }
}

/* ---------- Active nav state ---------- */
nav>ul>li>a.active {
  color: var(--sage);
  font-weight: 600;
  box-shadow: 0 3px 0 var(--olive);
}

.dropdown-btn.active {
  color: var(--sage);
  font-weight: 600;
  box-shadow: 0 3px 0 var(--olive);
}

/* ---------- Anchor scroll offset (consolidated — do not duplicate
   scroll-margin-top elsewhere, source order determines the winner) ---------- */
.page-intro,
.themen-intro,
.thema-text,
.fortbildung-text {
  scroll-margin-top: 270px;
}

@media (max-width: 970px) and (min-width: 641px) {

  .page-intro,
  .themen-intro,
  .thema-text,
  .fortbildung-text {
    scroll-margin-top: 270px;
  }
}

@media (max-width: 640px) {

  .page-intro,
  .themen-intro,
  .thema-text,
  .fortbildung-text {
    scroll-margin-top: 270px;
  }
}

.page-cta.divider {
  padding-top: 2rem;
}

.themen-preview.section-split {
  padding-bottom: 0;
}

.tight-bottom {
  padding-bottom: 0 !important;
}

@media (hover: hover) and (min-width: 641px) {

  nav>ul>li:hover>ul[hidden],
  nav>ul>li:focus-within>ul[hidden] {
    display: block;
  }
}

/* ---- Thema detail pages (one page per Thema) ---- */
.thema-detail-photo {
  width: 100%;
  background: #E8E4DA;
  border-radius: 12px;
  aspect-ratio: 16/9;
  max-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9384;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.thema-detail-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .thema-detail-photo {
    aspect-ratio: 4/3;
    max-height: 260px;
  }
}

.question-intro {
  font-weight: 700;
  color: var(--primary-text);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.question-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
}

.question-box ul {
  padding-left: 1.1rem;
  margin: 0;
}

.question-box li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
}

.question-box li:last-child {
  margin-bottom: 0;
}

.question-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--olive);
  border-radius: 50%;
}

.page-intro.tight-top {
  padding-top: 0.5rem;
}

.page-intro.tight-bottom {
  padding-bottom: 0.5rem;
}