/* Public content extends the approved homepage; employee dialogs keep their own styles. */
.site-subpage .site-main {
  --sub-gutter: clamp(20px, 5vw, 80px);
  --sub-width: 1280px;
  background: #ececec;
  color: #292929;
  font: 400 17px/1.65 Inter, Arial, sans-serif;
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-subpage .site-main :where(h1,h2,h3,h4,h5,h6) {
  color: #292929;
  font-family: Oswald, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-transform: none;
  overflow-wrap: anywhere;
}
.site-subpage .site-main h1 { font-size: clamp(2.8rem, 5.8vw, 5.4rem); margin: 0 0 28px; }
.site-subpage .site-main h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin: 1.25em 0 .5em; }
.site-subpage .site-main h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); margin: 1.1em 0 .5em; }
.site-subpage .site-main h4 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.site-subpage .site-main :where(p,.w-richtext,.text-block-2,.text-block-3,.text-block-4) { line-height: 1.7; }
.site-subpage .site-main :where(p,.w-richtext,.text-block-2,.text-block-3) { max-width: 75ch; }
.site-subpage .site-main :where(a:not(.team-item-link):not(.w-inline-block):not(.button-outlined):not(.w-button)) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.site-subpage .site-main :where(a,button,input,textarea,select):focus-visible { outline: 3px solid #292929; outline-offset: 4px; }
.site-subpage .site-main ::selection { background: #ff805a; color: #292929; }
.site-subpage .site-main :where(.text-blue,.heading-17) { color: #292929; }

/* Restore the homepage's native details menu over the Webflow .menu rules. */
.site-subpage .sitebar details.menu { position: relative; right: auto; flex: none; z-index: auto; display: block; overflow: visible; }
.site-subpage .sitebar .menu-icon { position: static; flex: none; width: 27px; height: 12px; border-radius: 0; background: transparent; }
.site-subpage .sitebar .menu-icon:hover { background: transparent; }
.site-subpage .sitebar .menu nav { right: 0; left: auto; }
@media (max-width: 520px) { .site-subpage .sitebar .menu nav { right: -1vw; } }

/* Original sections share one aligned, generous content column. */
.site-subpage .site-main :where(.team-section,.impressum-section,.kontakt-header-section,.member-header-section,.section-3,.blog-header-section,.blog-posts-section,.anmeldung-regionalkonferenz-header-section) {
  display: block;
  padding: clamp(56px, 6.5vw, 100px) var(--sub-gutter);
  background: #ececec;
  color: #292929;
  overflow: visible;
}
.site-subpage .site-main :where(.container.in-team,.container.in-believe,.container.in-contact-us-header,.container.in-member-header,.container-5,.container.in-blog-header,.blog-posts-section > .container,.container.in-community-header) {
  width: 100%; max-width: var(--sub-width); margin-inline: auto; padding: 0; min-width: 0;
}
.site-subpage .site-main :where(.container.in-team,.container.in-believe) { display: block; }
.site-subpage .site-main :where(.team-heading-wrap,.contact-us-heading-wrap,.blog-header-description) { max-width: 75ch; margin: 0 0 clamp(40px, 5vw, 70px); }
.site-subpage .site-main :where(.team-heading,.events-beschreibung,.heading-3) { font-family: Inter, Arial, sans-serif; font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; line-height: 1.5; }
.site-subpage .site-main :where(.paragraph-3,.paragraph-4,.text-block-2,.text-block-3,.div-block-12) { width: 100%; max-width: 75ch; }
.site-subpage .site-main :where(.text-block-2,.text-block-3) { font-size: 1rem; }

/* People: one shared grid, with portrait framing retained by employees.css. */
.site-subpage .site-main :where(.collection-list,.collection-list-2,.cms-team-grid) {
  display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto; gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
.site-subpage .site-main :where(.collection-list-wrapper,.team-item,.collection-item-2,.w-dyn-list) { min-width: 0; }
.site-subpage .site-main .team-item-link { display: block; color: #292929; }
.site-subpage .site-main .team-item-headings { margin-top: 18px; }
.site-subpage .site-main .team-item-headings h5 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 0 0 5px; }
.site-subpage .site-main .team-item-headings h6 { font: 500 15px/1.5 Inter, Arial, sans-serif; margin: 0; }
.site-subpage .site-main .team-item-link:hover h5 { text-decoration: underline; text-decoration-color: #ff805a; text-underline-offset: .2em; }
.site-subpage .site-main .cms-team-grid .animation-image-wrap { aspect-ratio: 3/4; overflow: hidden; }
.site-subpage .site-main .cms-team-grid .animation-image { width: 100%; height: 100%; object-fit: cover; }

/* Legacy profile pages retain their copy, contacts and uncropped portraits. */
.site-subpage .site-main .container.in-member-header,
.site-subpage .site-main .div-block-16 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.site-subpage .site-main :where(.member-heading-wrap,.div-block-14,.div-block-15) { min-width: 0; }
.site-subpage .site-main :where(.in-member-header .animation-image,.div-block-15 .image-11) { display: block; max-width: 100%; width: auto; height: auto; max-height: 640px; object-fit: contain; }
.site-subpage .site-main .member-header-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* Contact remains visibly disabled; do not imply a working submission. */
.site-subpage .site-main .contact-form-wrap { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.site-subpage .site-main :where(.form-block,.contact-info-wrap) { min-width: 0; width: 100%; }
.site-subpage .site-main .form-block { padding: clamp(20px, 3vw, 32px); border-radius: 0; box-shadow: none; }
.site-subpage .site-main .form label { color: #292929; font: 500 15px/1.5 Inter, Arial, sans-serif; }
.site-subpage .site-main :where(.text-field,input:not([type=submit]):not([type=checkbox]):not([type=radio]),textarea,select) { width: 100%; max-width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #a9a9a9; border-radius: 0; background: #fff; color: #292929; font: inherit; }
.site-subpage .site-main textarea { min-height: 150px; resize: vertical; }
.site-subpage .site-main :where(input,textarea,button):disabled { opacity: .75; cursor: not-allowed; }
.site-subpage .site-main .migration-notice { background: #fff; border: 1px solid #bdbdbd; color: #292929; font: 400 15px/1.6 Inter, Arial, sans-serif; padding: 16px; margin-top: 18px; }
.site-subpage .site-main :where(.button-outlined,.button-2,.w-button) { min-height: 44px; padding: 12px 20px; border: 1px solid #292929; border-radius: 0; background: #292929; color: #fff; font: 600 15px/1.3 Inter, Arial, sans-serif; }
.site-subpage .site-main :where(.button-outlined,.button-2,.w-button):not(:disabled):hover { background: #3f3f3f; color: #fff; }
.site-subpage .site-main .contact-item { max-width: 100%; }

/* Events and resources read as an open list rather than a wall of cards. */
.site-subpage .site-main .blog-posts-section { padding-top: 0; }
.site-subpage .site-main .blog-post { display: flow-root; width: 100%; max-width: 900px; padding: 32px 0; border-top: 1px solid #bdbdbd; }
.site-subpage .site-main .blog-post h2 { margin: 0 0 16px; }
.site-subpage .site-main .blog-post p { margin: 0 0 12px; }
.site-subpage .site-main .blog-post img { display: block; width: auto; max-width: 100%; max-height: 480px; height: auto; object-fit: contain; margin-bottom: 24px; }
.site-subpage .site-main .div-block-13 { width: 100%; max-width: 900px; margin: 0; padding: 20px 0; border-top: 1px solid #bdbdbd; }
.site-subpage .site-main .div-block-13 h5 { font-size: 1.5rem; margin: 0 0 16px; }
.site-subpage .site-main .resource-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.site-subpage .site-main .resource-video-item { min-width: 0; }
.site-subpage .site-main .resource-video-link { display: block; color: #292929; font-weight: 600; line-height: 1.4; }
.site-subpage .site-main .resource-video-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #3f3f3f; }
.site-subpage .site-main .resource-video-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-subpage .site-main .resource-video-play { position: absolute; inset: 50% auto auto 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); background: #292929e8; border-radius: 50%; }
.site-subpage .site-main .resource-video-play::after { content: ''; position: absolute; left: 21px; top: 16px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid white; }
.site-subpage .site-main .resource-video-title { display: block; margin-top: 10px; overflow-wrap: anywhere; }
.site-subpage .site-main .resource-video-link:hover .resource-video-title { text-decoration-color: #ff805a; }
.site-subpage .site-main .w-embed-youtubevideo { max-width: 900px; }
.site-subpage .site-main :where(iframe,video) { max-width: 100%; }
.site-subpage .site-main .anmeldung-regionalkonferenz-header-section > img { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto 40px; }
.site-subpage .site-main .anmeldung-mobil { width: 100%; max-width: 100%; overflow: visible; }
.site-subpage .site-main .anmeldung-mobil iframe { width: 100%; max-width: 100%; }
.site-subpage .site-main .utility-page-wrap { width: 100%; height: auto; min-height: 55vh; padding: 64px var(--sub-gutter); }
.site-subpage .site-main .utility-page-content { width: 100%; max-width: 75ch; }
.site-subpage .site-main .not-found { max-width: var(--sub-width); min-height: 55vh; margin-inline: auto; padding: clamp(64px, 8vw, 110px) var(--sub-gutter); }

@media (max-width: 700px) {
  .site-subpage .site-main .resource-video-grid { grid-template-columns: minmax(0, 1fr); }
  .site-subpage .site-main :where(.collection-list,.collection-list-2,.cms-team-grid) { grid-template-columns: minmax(0,1fr); }
  .site-subpage .site-main .container.in-member-header,
  .site-subpage .site-main .div-block-16,
  .site-subpage .site-main .contact-form-wrap { grid-template-columns: minmax(0,1fr); }
  .site-subpage .site-main :where(.team-heading-wrap,.contact-us-heading-wrap,.blog-header-description) { margin-bottom: 36px; }
  .site-subpage .site-main h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
}

/* Shared section titles and CMS resource tiles mirror the live Events design. */
.site-subpage .site-main h1.section-heading { font: 500 clamp(64px, 8vw, 104px)/1 Oswald, Arial, sans-serif; letter-spacing: -.03em; color: #292929; overflow-wrap: anywhere; }
.site-subpage .site-main h1.section-heading .mobile-leitungsteam { display: inline; }
.site-subpage .site-main h1.section-heading .section-heading-dot { color: #a63a1e; }
.site-subpage .site-main .div-block-13 { max-width: none; padding: 28px 0; }
.site-subpage .site-main .resource-video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,2.5vw,32px); align-items: stretch; }
.site-subpage .site-main .resource-video-item { display:flex; flex-direction:column; background:#f8f7f4; border:1px solid #c3c0bb; }
.site-subpage .site-main .resource-video-link { display:block; color:#292929; text-decoration:none; }
.site-subpage .site-main .resource-video-media, .site-subpage .site-main .resource-text-cover { aspect-ratio:16/11; }
.site-subpage .site-main .resource-text-cover { display:grid; place-items:center; background:#3f3f3f; color:white; font:500 32px/1 Oswald,Arial,sans-serif; }
.site-subpage .site-main .resource-video-title, .site-subpage .site-main h2.resource-video-title { display:block; margin:0; padding:clamp(20px,2vw,28px); font:500 clamp(27px,2.6vw,36px)/1.12 Oswald,Arial,sans-serif; letter-spacing:-.02em; }
.site-subpage .site-main .resource-description { padding:0 clamp(20px,2vw,28px) 20px; font:400 15px/1.65 Inter,Arial,sans-serif; }
.site-subpage .site-main .resource-action { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:16px 0 0; margin:auto clamp(20px,2vw,28px) clamp(20px,2vw,28px); border-top:1px solid #c3c0bb; color:#292929; text-decoration:none; font:600 14px/1.4 Inter,Arial,sans-serif; }
.site-subpage .site-main .resource-action:hover { color:#a63a1e; }
@media (min-width:700px) and (max-width:1040px) { .site-subpage .site-main .resource-video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:699px) { .site-subpage .site-main .resource-video-grid { grid-template-columns:minmax(0,1fr); } }
