/* Accessible Next.js interactions layered onto the preserved CreatorSpace design. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
}
* {
  box-sizing: border-box;
}
:focus-visible {
  outline: 3px solid #bd3986 !important;
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
#page-container {
  padding-top: 0 !important;
  overflow: clip;
}
#main-content {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 10001;
  top: -80px;
  left: 16px;
  background: #04326d;
  color: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px #0002;
}
.header-inner {
  width: 90%;
  max-width: 1320px;
  margin: auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: block;
  flex: 0 1 310px;
  line-height: 0;
}
.brand img {
  width: 100%;
  height: auto;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 23px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}
.main-navigation a {
  color: #555;
}
.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: #04326d;
}
.nav-join {
  display: block;
  background: #e4eff7;
  padding: 7px 13px;
  border-bottom: 3px solid #4376ab;
}
.nav-concept {
  position: relative;
}
.nav-detail {
  position: absolute;
  left: -16px;
  top: 100%;
  background: white;
  padding: 18px;
  min-width: 150px;
  box-shadow: 0 4px 8px #0001;
  visibility: hidden;
  opacity: 0;
}
.nav-concept:hover .nav-detail,
.nav-concept:focus-within .nav-detail {
  visibility: visible;
  opacity: 1;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  border-left: 1px solid #ddd;
  padding-left: 17px;
}
.language-switch a[aria-current] {
  color: #04326d;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.menu-toggle {
  display: none;
}
.site-footer {
  background: #171717;
  color: #bbb;
  padding: 28px 5%;
  text-align: center;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;
}
.site-footer p {
  padding-bottom: 7px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.site-footer a {
  color: #fff;
}
.video-shell {
  position: relative;
}
.video-poster {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: #dceaf5;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #04326d;
  color: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 35px;
  padding-left: 5px;
  box-shadow: 0 3px 20px #0003;
}
.video-poster:hover .play-icon {
  background: #bd3986;
}
.video-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #04326d;
  color: white;
  font:
    600 14px Montserrat,
    Arial,
    sans-serif;
  padding: 9px 16px;
}
.video-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.video-privacy {
  font:
    400 12px/1.7 Montserrat,
    Arial,
    sans-serif;
  margin-top: 12px !important;
  text-align: center;
}
.video-privacy a {
  text-decoration: underline;
  color: #04326d;
}
.native-recap {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: contain;
  border-radius: 10px;
  background: #111;
}
.native-accordion {
  border-bottom: 1px solid #bdd3e6;
  padding: 24px 0;
}
.native-accordion summary {
  font:
    600 18px/1.5 Poppins,
    Arial,
    sans-serif;
  cursor: pointer;
  color: #222;
  padding-right: 20px;
}
.native-accordion > div {
  padding: 20px 0 0;
  font:
    400 16px/1.85 Montserrat,
    Arial,
    sans-serif;
}
.native-accordion img {
  max-width: 100%;
  height: auto;
}
.photo-gallery {
  width: 100%;
  margin: 32px auto;
}
.photo-gallery .react-photo-album--button {
  border-radius: 6px;
  overflow: hidden;
  background: #e4eff7;
}
.photo-gallery .react-photo-album--image {
  object-fit: contain;
}
.gallery-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
  color: #04326d;
  font: 500 13px/1.7 Montserrat, Arial, sans-serif;
}
.gallery-intro p { padding-bottom: 0; }
#tagung .et_pb_row_13 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  width: 90%;
  max-width: 1200px;
}
#tagung .et_pb_row_13::after { display: none; }
#tagung .et_pb_row_13 > .et_pb_column {
  width: 100% !important;
  margin: 0 !important;
  min-width: 0;
}
#tagung .et_pb_video_1 {
  max-width: 400px;
  margin: 0 auto;
}
#tagung .et_pb_row_14 { width: 90%; max-width: 1200px; }
@media (max-width: 980px) {
  #tagung .et_pb_row_13 { grid-template-columns: minmax(0, 1fr); }
  #tagung .et_pb_video_1 { max-width: 380px; }
}
.native-form {
  font-family: Montserrat, Arial, sans-serif;
  text-align: left;
  color: #333;
}
.native-form > label {
  display: block;
  margin-bottom: 17px;
  font-size: 14px;
  font-weight: 500;
}
.native-form input:not([type="checkbox"]),
.native-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #b9cddd;
  background: #f4f8fb;
  padding: 14px;
  margin-top: 6px;
  border-radius: 0;
  color: #222;
  font:
    400 16px/1.5 Montserrat,
    Arial,
    sans-serif;
}
.native-form textarea {
  resize: vertical;
}
#main-content .native-form .field-error {
  display: block;
  color: #9b302a;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  margin: 6px 0 0;
  padding: 0;
}
#main-content .native-form > .field-error {
  margin: -8px 0 16px;
}
.native-form [aria-invalid="true"]:not([type="checkbox"]) {
  border-color: #b85c52;
}
.native-form input[type="checkbox"][aria-invalid="true"] {
  outline: 1px solid #b85c52;
  outline-offset: 3px;
}
.native-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
}
.consent input {
  margin-top: 5px;
  accent-color: #04326d;
  flex-shrink: 0;
}
.consent a {
  color: #04326d;
  text-decoration: underline;
}
.native-button {
  display: inline-block;
  border: 0;
  border-radius: 0;
  color: #fff !important;
  background: #000;
  padding: 15px 25px;
  font:
    400 14px/1.5 Candal,
    Arial,
    sans-serif;
  text-align: center;
}
.native-button:hover {
  background: #04326d;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-note,
.form-status {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 15px;
}
.newsletter-unavailable p {
  padding-bottom: 18px;
}
.et_pb_newsletter_form {
  width: 100% !important;
  padding-left: 0 !important;
}
.et_pb_newsletter_description:empty {
  display: none;
}
.concept-map-image {
  position: relative;
}
.concept-map-image > img {
  width: 100%;
  height: auto;
  display: block;
}
.concept-map-image > button {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: #04326d;
  color: white;
  font:
    700 16px Montserrat,
    Arial,
    sans-serif;
  box-shadow: 0 2px 6px #0005;
}
.concept-map-image > button[aria-expanded="true"] {
  background: #bd3986;
}
.map-instruction {
  font-size: 13px;
  text-align: center;
  padding-top: 14px;
}
.concept-map-fullsize {
  display: block;
  padding: 10px 0;
  min-height: 44px;
  text-align: center;
  color: #04326d;
  text-decoration: underline;
  font-size: 14px;
}
.et_animated {
  opacity: 1 !important;
  animation: none !important;
}
.et-waypoint {
  opacity: 1 !important;
}
.et_pb_image_wrap {
  max-width: 100%;
}
.et_pb_toggle_content {
  display: block;
}
.et_pb_newsletter_result {
  display: none;
}
.et_pb_section [id] {
  scroll-margin-top: 110px;
}
@media (max-width: 1100px) {
  .header-inner {
    min-height: 80px;
    width: 92%;
  }
  .brand {
    flex-basis: 240px;
  }
  .main-navigation {
    gap: 14px;
    font-size: 11px;
  }
  .language-switch {
    padding-left: 10px;
  }
}
@media (max-width: 980px) {
  .header-inner {
    min-height: 76px;
  }
  .brand {
    max-width: 260px;
    flex-basis: 260px;
  }
  .menu-toggle {
    display: block;
    border: 0;
    background: white;
    color: #04326d;
    font-size: 26px;
    padding: 10px;
    line-height: 1;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 6% 28px;
    border-top: 1px solid #eee;
    box-shadow: 0 5px 8px #0001;
    font-size: 15px;
  }
  .main-navigation.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .nav-detail {
    position: static;
    display: inline-block;
    visibility: visible;
    opacity: 1;
    padding: 0 0 0 20px;
    box-shadow: none;
    font-size: 13px;
  }
  .nav-join {
    display: inline-block;
  }
  .language-switch {
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid #ddd;
    font-size: 14px;
  }
  .play-icon {
    width: 64px;
    height: 64px;
    font-size: 25px;
  }
  .video-caption {
    font-size: 11px;
    bottom: 10px;
  }
  .concept-map-image > button {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.archive-heading {
  font:
    400 38px/1.25 Candal,
    Arial,
    sans-serif;
  color: #04326d;
  padding: 55px 0 30px;
  max-width: 1080px;
  width: 80%;
  margin: auto;
}
/* Keep the original Hub artwork, with a compact, static partner grid. */
#creatorhub.et_pb_section {
  padding: 64px 0 100px;
}
#creatorhub > .et_pb_row {
  width: 90%;
  max-width: 1080px;
  padding: 24px 32px !important;
}
#creatorhub > .et_pb_row_15 {
  border-radius: 12px 12px 0 0;
  padding-bottom: 20px !important;
}
#creatorhub > .et_pb_row_16 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#creatorhub > .et_pb_row_17 {
  border-radius: 0 0 12px 12px;
}
#creatorhub .et_pb_column,
#creatorhub .et_pb_module {
  margin-bottom: 0;
}
#creatorhub .et_pb_column {
  padding: 0;
}
#creatorhub h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.3;
  padding-bottom: 0;
}
#creatorhub .wdcl_logo_carousel {
  padding: 0;
}
#creatorhub .dcf-logo-carousel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
}
#creatorhub .dcf-logo-carousel-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
}
#creatorhub .dcf-logo-carousel-item img {
  display: block;
  width: auto;
  height: auto !important;
  max-width: 100%;
  max-height: 116px;
  object-fit: contain;
}
#creatorhub .dcf-overlay {
  display: none;
}
#creatorhub .et_pb_button {
  font-size: 16px;
  line-height: 1.5 !important;
}
#creatorhub .et_pb_bottom_inside_divider {
  height: 55px;
  background-size: 100% 55px;
}
@media (max-width: 767px) {
  #creatorhub.et_pb_section {
    padding: 40px 0 75px;
  }
  #creatorhub > .et_pb_row {
    width: calc(100% - 32px);
    padding: 20px 16px !important;
  }
  #creatorhub .dcf-logo-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding: 16px;
  }
  #creatorhub .dcf-logo-carousel-item a {
    min-height: 90px;
  }
  #creatorhub .dcf-logo-carousel-item img {
    max-height: 90px;
  }
}
html[lang="en"] body.home .et_pb_text_0 {
  width: 85%;
}
.diagram-translation {
  margin: 20px 0;
  text-align: left;
  font:
    400 14px/1.7 Montserrat,
    Arial,
    sans-serif;
}
.diagram-translation summary {
  cursor: pointer;
  color: #04326d;
  font-weight: 600;
}
.diagram-translation dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  padding: 18px 0;
}
.diagram-translation dt {
  font-weight: 500;
}
.diagram-translation dd {
  margin: 0;
}
.et_pb_button::after {
  content: "→" !important;
  font-family: Arial, sans-serif !important;
}
@media (max-width: 767px) {
  body.home .et_pb_row_18 {
    width: calc(100% - 32px);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.home .et_pb_text_28 h2 {
    font-size: clamp(25px, 7.5vw, 38px) !important;
    overflow-wrap: normal;
  }
  html[lang="en"] body.home .et_pb_text_0 {
    width: 100%;
  }
  .diagram-translation dl {
    display: block;
  }
  .diagram-translation dd {
    margin-bottom: 12px;
  }
}

/* Mobile layouts use content widths and a shared spacing scale instead of
   the original builder's fixed widths, negative margins and viewport gaps. */
@media (max-width: 980px) {
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { flex: 0 1 260px; min-width: 0; }
  .menu-toggle { flex-shrink: 0; min-width: 44px; min-height: 44px; }
  .main-navigation.is-open {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 4px;
    padding: 12px 5% 20px;
  }
  .main-navigation.is-open a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
  }
  .main-navigation.is-open .nav-detail { font-size: 14px; }
  #main-content .et_pb_section {
    padding: 48px 0;
    margin-top: 0;
  }
  #main-content .et_pb_row {
    width: calc(100% - 40px);
    max-width: 700px;
    padding: 16px 0 !important;
  }
  #main-content .et_pb_column {
    min-width: 0;
    max-width: 100%;
  }
  #main-content .et_pb_text,
  #main-content .et_pb_contact_form_container {
    max-width: 100%;
  }
  #main-content .et_pb_text,
  #main-content .et_pb_blurb_description,
  .native-accordion > div {
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
  #main-content h1 {
    font-size: clamp(28px, 5.5vw, 40px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  #main-content h2 {
    font-size: clamp(25px, 4.5vw, 32px) !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: none;
    text-wrap: balance;
  }
  #main-content h3 { line-height: 1.4; }
  html[lang="de"] #main-content h1,
  html[lang="de"] #main-content h2 { hyphens: auto; }
  #main-content .et_pb_top_inside_divider,
  #main-content .et_pb_bottom_inside_divider {
    height: 36px;
    background-size: 100% 36px;
  }
  #main-content .et_pb_section [id] { scroll-margin-top: 84px; }
  #main-content p { overflow-wrap: anywhere; }
  .page-home #main-content .et_pb_section_0 {
    padding: 40px 0 64px;
    background-image: linear-gradient(90deg, #ffffffed 35%, #ffffffb8 100%),
      url("/original/89989a70a5-creatorspacesBackground-2.jpg") !important;
  }
  .page-home #main-content .et_pb_text_0 { width: 100%; }
  .page-home #main-content .et_pb_text_1 { font-size: 16px; }
  #creatorspacesvideo .et_pb_image_1 {
    margin: 0 auto 16px !important;
    max-width: 180px;
  }
  #creatorspacesvideo .et_pb_text_3 { margin-bottom: 24px !important; }
  #creatorspacesvideo .et_pb_video_0 { margin: 0 !important; }
  .video-poster { border-radius: 8px; }
  .video-privacy { font-size: 13px; }
  .video-caption { bottom: 12px; font-size: 12px; padding: 6px 12px; }
  .play-icon { width: 56px; height: 56px; font-size: 24px; }
  #konzept .et_pb_image_2 {
    margin: 0 auto 24px !important;
    max-width: 420px;
  }
  #konzept .et_pb_column { padding: 0; }
  .native-accordion { padding: 18px 0; }
  .native-accordion summary { font-size: 17px; padding: 8px 0; }
  #team .two-col-tab-30-70 {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 16px;
  }
  #team .two-col-tab-30-70::after { display: none; }
  #team .two-col-tab-30-70 > .et_pb_column {
    width: auto !important;
    padding: 0;
    margin: 0 !important;
  }
  #team .two-col-tab-30-70 .et_pb_text {
    margin: 0 0 8px !important;
    font-size: 15px;
    line-height: 1.65;
  }
  #team .two-col-tab-30-70 h3 { font-size: 17px; padding: 0; }
  #team .two-col-tab-30-70 .et_pb_image { width: 100%; }
  #team .et_pb_row_11 { margin-top: 24px; }
  #tagung .et_pb_row_13 { gap: 28px; }
  #tagung .et_pb_image_14 { max-width: 200px; margin-bottom: 20px !important; }
  #tagung .et_pb_video_1 { max-width: 340px; }
  .photo-gallery { margin: 12px auto 0; }
  #main-content #creatorhub { padding: 40px 0 64px; }
  #main-content #creatorhub > .et_pb_row { padding: 20px !important; }
  #main-content #creatorhub > .et_pb_row_16 { padding: 0 20px !important; }
  #creatorhub .dcf-logo-carousel { gap: 16px; }
  #main-content .newsletter-section { padding: 40px 0 48px; }
  #main-content .newsletter-section > .et_pb_row { padding: 0 !important; }
  .newsletter-section .et_pb_column { width: 100% !important; padding: 0; margin: 0; }
  .newsletter-section .et_pb_image {
    width: 160px;
    max-width: 45%;
    padding: 0;
    margin: 0 auto 24px !important;
  }
  .newsletter-section .et_pb_text { text-align: left; }
  .newsletter-section h2 { text-wrap: balance; }
  .newsletter-section .et_pb_newsletter { padding: 0; }
  #main-content .newsletter-embed p { font-size: 14px; line-height: 1.65; }
  .newsletter-embed .native-button { margin: 8px 0; }
  #main-content #mitmachen { padding: 48px 0; }
  #mitmachen .et_pb_row > .et_pb_column {
    width: 100% !important;
    padding: 0;
    margin: 0 0 24px;
  }
  #mitmachen .et_pb_row > .et_pb_column:last-child { margin-bottom: 0; }
  #mitmachen .et_pb_text { width: 100%; margin: 0 0 20px !important; }
  #mitmachen .et_pb_image {
    width: 136px;
    max-width: 136px;
    margin: 0 0 20px !important;
  }
  #mitmachen .et_pb_contact_form_container {
    width: 100%;
    padding: 0;
    margin: 20px 0 0 !important;
  }
  .native-form > label { font-size: 16px; margin-bottom: 20px; }
  .native-form .consent { font-size: 14px; line-height: 1.6; }
  .consent input { width: 20px; height: 20px; margin-top: 3px; }
  .native-button { min-height: 48px; font-size: 15px; max-width: 100%; }
  #main-content .et_pb_button { max-width: 100%; text-align: center; }
  .site-footer { padding: 24px 20px; font-size: 13px; }
  .site-footer nav { gap: 0 16px; flex-wrap: wrap; }
  .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .page-concept .et_pb_image_1,
  .page-concept .et_pb_text_8 { margin: 0 !important; }
  .page-concept .et_pb_image_4 { margin: 0 0 20px !important; max-width: 200px; }
  .page-concept #main-content .et_pb_row_1,
  .page-concept #main-content .et_pb_row_2 { padding: 24px 20px !important; }
  .page-concept #main-content .et_pb_section_2 { padding-bottom: 16px; }
  .page-concept #main-content .et_pb_section_3 { padding-top: 16px; }
  .page-concept .et_pb_row_2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .page-concept .et_pb_row_2::after { display: none; }
  .page-concept .et_pb_row_2 > .et_pb_column {
    width: 100% !important;
    padding: 24px 20px;
    margin: 0 !important;
  }
  .concept-map-image > button { width: 36px; height: 36px; }
}
@media (max-width: 600px) {
  #main-content .et_pb_row { width: calc(100% - 36px); }
  #team .two-col-tab-30-70 { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  #team .two-col-tab-30-70 h3 { font-size: 16px; }
  .page-concept .et_pb_row_2 { grid-template-columns: minmax(0, 1fr); }
  .page-concept .et_pb_main_blurb_image { margin-bottom: 20px; }
  .native-form .native-button { width: 100%; }
}

/* Size headings against their text column, not the whole viewport. The
   original builder's break-word plus 60 px titles could strand one letter. */
#main-content .et_pb_text { container-type: inline-size; }
#main-content .et_pb_text :is(h1, h2) {
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
  hyphens: manual;
}
#main-content .et_pb_text h1 {
  --heading-ideal: clamp(1.75rem, calc(1rem + 5cqi), 3.75rem);
  font-size: var(--fit-heading-size, var(--heading-ideal)) !important;
  line-height: 1.2;
}
#main-content .et_pb_text h2 {
  --heading-ideal: clamp(1.5rem, calc(.8rem + 4.5cqi), 2.875rem);
  font-size: var(--fit-heading-size, var(--heading-ideal)) !important;
  line-height: 1.25;
}
html[lang="de"] #main-content .et_pb_text :is(h1, h2) {
  hyphens: manual;
}
#main-content .newsletter-section h2 {
  --heading-ideal: clamp(1.625rem, calc(.8rem + 5cqi), 3rem);
  font-size: var(--fit-heading-size, var(--heading-ideal)) !important;
  hyphens: manual;
}
/* Original contact copy has a fixed 510px width, wider than intermediate
   desktop columns. Keep both text and form inside their own column. */
#mitmachen .et_pb_column { min-width: 0; }
#mitmachen .et_pb_text,
#mitmachen .et_pb_contact_form_container {
  width: 100%;
  max-width: 100%;
}
.newsletter-section .et_pb_column { min-width: 0; }
.newsletter-native { width: 100%; min-width: 0; }
#main-content .newsletter-native .native-form > label {
  font-size: 16px;
  line-height: 1.6;
}
#main-content .newsletter-native .native-form .consent,
#main-content .newsletter-native .form-note,
#main-content .newsletter-native .form-status {
  font-size: 14px;
  line-height: 1.65;
}
.newsletter-native .consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.newsletter-native .native-button { min-height: 48px; }
.form-status:empty { display: none; }
#main-content .form-status-mailto:not(:empty) {
  background: #edf7ef;
  color: #245638;
  border-radius: 4px;
  padding: 12px 16px;
}
@media (min-width: 981px) {
  #main-content .newsletter-section > .et_pb_row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(32px, 5vw, 72px);
    width: 86%;
    max-width: 1080px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: center;
  }
  .newsletter-section > .et_pb_row::after { display: none; }
  .newsletter-section .et_pb_column {
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
  }
  .newsletter-section .et_pb_image { margin: 0 !important; }
}
/* Keep brand/event names intact; existing hyphens remain valid break points. */
html[lang="de"] #main-content :is(#creatorhub, #tagung) h2 {
  hyphens: manual;
}

/* Numbered map dialogs: anchored on desktop, a readable sheet on phones. */
#main-content .concept-map-image > button {
  display: grid;
  width: 44px;
  height: 44px;
  border-width: 2px;
  font-size: 15px;
  cursor: pointer;
}
.concept-map-reading { margin: 16px 0 24px; border-top: 1px solid #bdd3e6; }
.concept-map-reading > summary { padding: 16px 0; min-height: 48px; color: #04326d; cursor: pointer; font-weight: 600; }
.concept-map-reading > section { padding: 12px 0 20px; }
.concept-map-reading h3 { font-size: 19px; line-height: 1.4; }
.concept-point-dialog {
  position: fixed;
  margin: 0;
  padding: 0;
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  max-height: min(600px, calc(100dvh - 32px));
  border: 1px solid #bdd3e6;
  border-radius: 14px;
  background: #fff;
  color: #333;
  box-shadow: 0 16px 56px #03244c30;
  overflow: hidden;
  font-family: Montserrat, Arial, sans-serif;
}
.concept-point-dialog[open] { display: flex; flex-direction: column; }
.concept-point-dialog::backdrop { background: #08274426; }
.concept-point-header {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px 20px;
  flex-shrink: 0;
}
.concept-point-header h3 { margin: 0; padding: 0; font: 600 18px/1.4 Poppins, Arial, sans-serif; color: #04326d; overflow-wrap: anywhere; }
.concept-point-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #04326d; color: #fff; font-size: 15px; font-weight: 700; }
.concept-point-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #edf3f8; color: #04326d; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.concept-point-close:hover { background: #dceaf5; }
.concept-point-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 24px; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.concept-point-body p { margin: 0; padding: 0; }
.concept-point-body p + p { margin-top: 12px; }
.concept-map button:focus-visible { outline: 3px solid #2684bd; outline-offset: 3px; }
@media (max-width: 600px) {
  .concept-point-dialog { left: 16px; right: 16px; top: auto; bottom: 16px; width: calc(100vw - 32px); max-height: min(75dvh, 640px); }
  .concept-point-body { font-size: 16px; padding: 0 20px 20px; }
  .concept-point-header { padding-left: 16px; }
}
