/*
  This font software is the property of Commercial Type.

  You may not modify the font software, use it on another website, or install it on a computer.

  License information is available at http://commercialtype.com/eula
  For more information please visit Commercial Type at http://commercialtype.com or email us at info[at]commercialtype.com

  Copyright (C) 2026 Schwartzco Inc.
  License 2610-LDNOON      
*/

@font-face {
  font-family: "Haas Grot Text Round Web";
  src: url("../fonts/Neue-Haas-Grotesk/NeueHaasGroteskText-65Medium-Web.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Haas Grot Text Round Web";
  src: url("../fonts/Neue-Haas-Grotesk/NeueHaasGroteskText-66MediumItalic-Web.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
}

.NeueHaasGroteskTextRoundDots-66MediumItalic-Web {
  font-family: "Haas Grot Text Round Web";
  font-weight: 500;
  font-style: italic;
}

:root {
  --color-accent: #67fea6;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #d9d9d9;

  --fs-h1: clamp(1.875rem, 0.625rem + 5vw, 5.125rem); /* 30 → 82 */
  --fs-h2: clamp(2.25rem, 1.481rem + 3.077vw, 4.25rem); /* 36 → 68 */
  --fs-h3: clamp(1.375rem, 1.183rem + 0.769vw, 1.875rem); /* 22 → 30 */
  --fs-h4: clamp(1.25rem, 1.106rem + 0.577vw, 1.625rem); /* 20 → 26 */

  --fs-nav: clamp(2.25rem, 1.673rem + 2.308vw, 3.75rem); /* 36 → 60 */
  --fs-summary: clamp(1.75rem, 1.462rem + 1.154vw, 2.5rem); /* 28 → 40 */
  --fs-glossary: clamp(1.5rem, 1.356rem + 0.577vw, 1.875rem); /* 24 → 30 */
  --fs-body: 1.125rem; /* 18 */

  --lh-display: 1.05;
  --lh-snug: 1.12;
  --lh-heading: 1.25;
  --lh-body: 1.3;
}


body {
  font-family: "Haas Grot Text Round Web";
  font-weight: 500;
  font-style: normal;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-wrap: pretty;
  width: 100%;
  max-width: 1512px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px auto;
  padding-inline: clamp(16px, 4vw, 36px);
  box-sizing: border-box;
  text-underline-offset: 2px;
}

body *,
body *::before,
body *::after {
  box-sizing: inherit;
}

.block {
  width: 100%;
  border-radius: 23px;
  max-width: 1440px;
  padding: 24px 32px;
}

@media only screen and (min-width: 800px) {
  .block {
    border-radius: 37px;
    padding: 32px 42px 44px 42px;
  }
}

@media only screen and (max-width: 1023px) {
  .wide-only {
    display: none !important;
  }
}
@media only screen and (min-width: 1024px) {
  .narrow-only {
    display: none !important;
  }
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: underline;
  color: inherit;
}

.glossary-link {
  text-decoration: underline;
}

.highlight {
  border-radius: 7px;
  padding: 0 4px;
}

.dark,
a.dark {
  color: var(--color-accent);
  background-color: var(--color-black);
}

.dark details {
  border-bottom-color: var(--color-accent);
}

.accent,
a.accent {
  color: var(--color-black);
  background-color: var(--color-accent);
}

.accent .highlight {
  background-color: RGBA(255, 255, 255, 0.6);
}

.white,
a.white {
  color: var(--color-black);
  background-color: var(--color-white);
  border: 3px solid var(--color-black);
}

.gray {
  background-color: var(--color-gray);
}


body > header,
body > section {
  margin: 0 0 36px 0;
}

h1 {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: var(--lh-display);
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-display);
  text-wrap: balance;
  scroll-margin-top: 70px;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-heading);
  margin: 1em 0 0.5em 0;
}

h4 {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: var(--lh-heading);
  margin: 1em 0 0.5em 0;
}

h3:first-child, h4:first-child {
  margin-top: 0;
}

h5 {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-heading);
  margin-top: 0;
}

p {
  margin-top: 0;
}

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

ul {
  margin: 1em 0 2em 0;
}

ul:last-child {
  margin-bottom: 0;
}

li {
  margin-bottom: 0.5em;
}

header .logos {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

header .logos img {
  width: 25%;
}

.navigation-block .logos {
  width: 100%;
  padding-left: 30%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: auto;
}

.navigation-block {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.navigation-block .mascot-image {
  display: block;
  width: 48%;
}

.navigation-block .mascot-image:first-child {
  position: relative;
  left: -3%;
  top: -3%;
}

.navigation-block .mascot-image:last-child {
  position: relative;
  width: 58%;
  left: 44%;
  margin-top: -35%;
}

.navigation {
  display: flex;
  flex-direction: column;
  gap: 16px;
  container-type: inline-size;
}

.navigation a {
  display: block;
  width: 100%;
  border-radius: 23px;
  max-width: 1440px;
  padding: 16px 32px;

  text-decoration: none;
  padding-inline: clamp(20px, 2vw, 28px);
  font-size: min(var(--fs-nav), 10.5cqi);
  line-height: var(--lh-display);
}

.content-section,
.adresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media only screen and (min-width: 1024px) {
  .navigation-block {
    grid-template-columns: 60% 1fr;
    gap: 32px;
  }

  .content-section,
  .adresses {
    grid-template-columns: 40% 1fr;
    gap: 28px;
    container-type: inline-size;
  }

  .content-section > h2,
  .content-section > div > h2,
  .adresses > div > h2 {
    font-size: min(var(--fs-h2), 5cqi);
  }
}

.content-section > div > img {
  width: 65%;
  margin-left: 10%;
  max-width: 400px;
}

.expandable__content {
  position: relative;
}

.expandable__btn {
  display: none;
}

.expandable.is-enhanced > .expandable__btn {
  display: inline-block;
  width: auto;
  max-width: none;
  margin-top: 24px;
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  font-size: var(--fs-h4);
  line-height: 1;
  color: var(--color-white);
  background-color: var(--color-black);
}

.expandable.is-enhanced.is-collapsed > .expandable__content {
  overflow: hidden;
  max-height: 20em;
}

.expandable.is-enhanced.is-collapsed > .expandable__content::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6em;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-white));
}

.expandable__btn-less {
  display: none;
}

.expandable:not(.is-collapsed) .expandable__btn-more {
  display: none;
}

.expandable:not(.is-collapsed) .expandable__btn-less {
  display: inline;
}

details {
  border-bottom: 3px solid var(--color-black);
}

details::details-content {
  opacity: 0;
  transition: opacity 500ms;
}

details[open]::details-content {
  opacity: 1;
}

details > summary {
  cursor: pointer;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;

  font-size: var(--fs-summary);
  line-height: var(--lh-snug);
  padding: 12px 0;

  hyphenate-character: "";
}

details > p {
  scroll-margin-top: 80px;
}

h2#glossar {
  margin-bottom: 32px;
}

.glossary summary {
  font-size: var(--fs-glossary);
}

details > summary::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='21' fill='none'%3E%3Cpath stroke='%23000000' stroke-width='3' d='M35 1 18 18 1 1'/%3E%3C/svg%3E");
  display: block;
}

.dark details > summary::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='21' fill='none'%3E%3Cpath stroke='%2367fea6' stroke-width='3' d='M35 1 18 18 1 1'/%3E%3C/svg%3E");
}

details:open > summary::after {
  rotate: 180deg;
}

.glossary {
}

.glossary .glossary-list {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: eine Spalte */
  column-gap: 32px;
}

@media only screen and (min-width: 800px) {
  .glossary .glossary-list {
    grid-template-columns: 1fr 1fr;
  }
}


footer {
  display: block;
  width: 100%;
}

.footer-block {
  margin-bottom: 48px;
}

.org-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.org-logos a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.org-logos img {
  display: block;
  width: 100%;
  padding-bottom: 24px;
  max-width: 200px;
}

.nowrap {
  white-space: nowrap;
}
