@font-face {
  font-family: "Heebo";
  src: url("../assets/fonts/heebo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-btn: #3f7399;
  --blue-btn-hover: #35627f;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --blue: #81adcd;
  --navy: #1f5176;
  --blue-light: #bbd4e6;
  --blue-footer: #b4cbdd;
  --slate: #61829a;
  --slate-deep: #587a93;
  --grey-card: rgba(212, 212, 212, 0.8);
  --white: #fff;
  --black: #000;

  --font-heading: "Heebo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-avenir: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --header-h: 122px;
  --legal-w: 915px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: var(--black);
  background: var(--white);
}

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.4; overflow-wrap: break-word; hyphens: manual; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
.legal, .impressum, .post, .sidebar, .infotafel__body, .footer, .split__body, .contact { overflow-wrap: anywhere; }
.legal p, .legal li, .impressum p, .post p, .sidebar p, .infotafel__body p, .split__body p { hyphens: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--white); color: var(--navy); padding: 10px 16px;
  border-radius: 4px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}

.nav__logo { justify-self: start; margin: 13px 0 0 39px; }
.nav__logo { flex: none; }
.nav__logo img { width: 92px; height: 97px; max-width: none; object-fit: contain; }

.nav__list {
  display: flex;
  gap: 10px;
  margin-top: 33px;
}
.nav__list a {
  display: block;
  font-size: 22px;
  line-height: 57px;
  font-weight: 700;
  color: var(--navy);
  padding: 0 13px;
}
.nav__list a:hover,
.nav__list a[aria-current] { color: var(--blue); }
.nav__list .nav__hidden { display: none; }

.nav__social {
  justify-self: end;
  margin: 10px 17px 0 0;
  display: flex;
  gap: 20px;
}
.nav__social a { flex: none; display: block; }
.nav__social img { width: 20px; height: 20px; flex: none; max-width: none; object-fit: contain; }

.nav__toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 40px;
  border: 0;
  border-radius: 60px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn:hover { color: var(--navy); background: #eaf2f8; }

.btn--blue { background: var(--blue-btn); color: var(--white); font-weight: 400; letter-spacing: 0; border-radius: 100px; height: 47px; padding: 0 17px; }
.btn--blue:hover { background: var(--blue-btn-hover); color: var(--white); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  height: 640px;
  background: var(--white);
}
.hero__img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  background: var(--blue-light);
}
.hero__badge {
  position: absolute;
  left: 50%;
  top: 385px;
  width: 371px;
  height: 371px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
}
.hero__badge img { width: 245px; height: 257px; object-fit: contain; }

.quote {
  padding: 150px 20px 102px;
}
.quote__box {
  position: relative;
  width: 364px;
  max-width: 100%;
  height: 244px;
  margin: 0 auto;
  border-top: 0.8px solid var(--navy);
  border-bottom: 0.8px solid var(--navy);
}
.quote__mark {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 215px;
  height: 197px;
  transform: translateX(-50%);
  opacity: 0.4;
}
.quote__mark path { fill: var(--blue-light); }
.quote__text {
  position: absolute;
  left: 50%;
  top: 82px;
  width: 700px;
  max-width: 100vw;
  transform: translateX(-50%);
  text-align: center;
  font-size: 23px;
  line-height: 32.2px;
  font-style: italic;
  color: var(--navy);
}
.quote__text p { margin: 0; }

.intro {
  background: var(--blue);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 556px;
  padding: 0 max(24px, calc((100% - 980px) / 2 - 52px)) 0 max(24px, calc((100% - 980px) / 2));
}
.intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 600px;
  padding: 0;
}
.intro__copy h2 {
  font-family: var(--font-heading);
  font-size: 35px;
  line-height: 49px;
  margin: 0 0 20px 1px;
}
.intro__body {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding-top: 24px;
}
.intro__copy p { margin: 0 0 1.1em; max-width: 440px; }
.intro__actions { margin-top: 14px; display: flex; gap: 34px; flex-wrap: wrap; justify-content: flex-start; }
.intro__actions .btn { min-width: 145px; }
.intro__img { width: 556px; height: 600px; object-fit: cover; }

.news {
  display: grid;
  grid-template-columns: 759fr 506fr;
  max-width: 1265px;
  margin: 105px auto 127px;
  min-height: 1146px;
}

.postcard-col { position: relative; }
.postcard {
  position: relative;
  display: block;
  width: 568px;
  max-width: calc(100% - 40px);
  aspect-ratio: 1;
  margin-left: 85px;
  padding: 20px;
}
.postcard__inner {
  position: relative;
  height: 100%;
  background: var(--black);
  color: var(--white);
  padding: 37px 30px 20px;
  display: flex;
  flex-direction: column;
}
.postcard__date { font-family: var(--font-avenir); font-weight: 400; font-size: 12px; }
.postcard__title {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 40px;
  line-height: 1.17;
  font-weight: 700;
  color: var(--white);
  padding-bottom: 20px;
}
.postcard__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.8px solid var(--white);
  padding-top: 8px;
  font-size: 12px;
  font-weight: 400;
}
.postcard__meta span { display: inline-flex; gap: 6px; align-items: center; }
.postcard__meta svg { width: 19px; height: 19px; fill: currentColor; }
.postcard-col .btn--blue { margin: 10px 0 0 107px; }

.infotafel {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: 101px 51px 40px 57px;
}
.infotafel__logo { position: absolute; top: 12px; right: 40px; width: 137px; height: 144px; object-fit: cover; }
.infotafel__title {
  font-family: var(--font-heading);
  font-size: 35px;
  line-height: 49px;
  margin-bottom: 38px;
}
.infotafel__rule { border: 0; border-top: 0.8px solid var(--white); width: min(284px, 100%); margin: 0 auto; }
.infotafel h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 26px;
  text-align: center;
  margin: 22px 0 20px;
}
.infotafel__rule--after-body { margin-top: 28px; }
.infotafel__stats { margin: 6px 0 8px; }
.infotafel__body { font-family: var(--font-avenir); font-weight: 300; color: var(--black); }
.infotafel__body p { margin: 0; }
.infotafel__stats { text-align: center; }
.infotafel__num { font-family: var(--font-heading); font-size: 47px; line-height: 65px; font-weight: 700; display: block; }
.infotafel__lbl { font-size: 18px; line-height: 25px; display: block; }
.infotafel__stats .infotafel__lbl:first-of-type { margin-bottom: 4px; }
.infotafel__social { display: flex; justify-content: center; gap: 15px; margin-top: 22px; }
.infotafel__social a { flex: none; display: block; }
.infotafel__social img { width: 30px; height: 30px; flex: none; max-width: none; object-fit: contain; }

.footer {
  background: var(--blue-footer);
  color: var(--navy);
  padding: 26px 0 26px;
  min-height: 423px;
  display: flex;
  flex-direction: column;
}
.footer a { color: var(--navy); text-decoration: underline; }
.footer__grid {
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 638px 1fr;
}
.footer__heading { font-family: var(--font-heading); font-size: 25px; line-height: 37px; margin-bottom: 40px; }
.footer__lead { font-size: 19px; line-height: 26.6px; font-weight: 400; margin: 0; }
.footer__grid p { margin: 0; font-size: 15px; line-height: 21px; }
.footer__grid p.footer__lead { font-size: 19px; line-height: 26.6px; }
.footer__links { margin-top: 62px; }
.footer__links a { display: block; }
.footer__small { font-size: 10px !important; line-height: 14px !important; font-family: var(--font-avenir); margin-bottom: 8px !important; }
.footer__konto { margin-top: 18px !important; }
.footer__legal {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  gap: 35px;
  font-size: 15px;
  line-height: 21px;
}
.footer__legal a { text-decoration: underline; }
.footer__credit { margin: 14px 0 0; text-align: center; font-size: 13px; line-height: 18px; }

.pagebar { padding-top: 40px; background: var(--white); }
.banner {
  background: var(--slate-deep);
  color: var(--white);
  text-align: center;
  padding: 34px 20px 55px;
  min-height: 312px;
}
.banner h1 { font-family: var(--font-heading); font-size: 33px; line-height: 48px; margin-bottom: 22px; }
.banner__rule { border: 0; border-top: 0.8px solid rgba(255, 255, 255, 0.7); width: 275px; margin: 0 auto 46px; }
.banner p { max-width: 495px; margin: 0 auto; font-size: 16px; }

.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 648px));
  gap: 40px 44px;
  justify-content: center;
  padding: 27px 0 64px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  background: var(--grey-card);
  height: 344px;
  overflow: hidden;
}
.team-card__photo { width: 266px; height: 344px; object-fit: cover; flex: none; }
.team-card__body { padding: 84px 31px 0 clamp(28px, 6vw, 94px); min-width: 0; }
.team-card__name {
  font-family: var(--font-avenir);
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
  color: var(--black);
  margin-bottom: 1px;
}
.team-card__body p { font-size: 14px; line-height: 1.4; color: var(--navy); margin: 0; }

.charter { background: var(--slate-deep); color: var(--white); padding: 52px 20px; }
.charter__inner {
  width: 1336px; max-width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 28px 48px;
}
.charter h2 { font-family: var(--font-heading); font-size: 35px; line-height: 49px; }
.charter p { margin: 2px 0 0; font-size: 17px; }
.charter__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.charter__pdf { color: var(--white); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.charter__pdf:hover { color: var(--white); text-decoration-thickness: 2px; }

.about { text-align: center; padding: 91px 20px 128px; }
.about__eyebrow { font-family: var(--font-avenir); font-weight: 800; font-size: 20px; line-height: 24px; margin: 0; }
.about h1 { font-family: var(--font-avenir); font-weight: 800; font-size: 56px; line-height: 67px; margin: 0 0 14px; }
.about p.about__lead { max-width: 567px; margin: 0 auto; font-family: var(--font-avenir); font-size: 18px; line-height: 32.4px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--black);
  border-left: 0; border-right: 0;
}
.split__media { position: relative; background: var(--blue-light); overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 40px clamp(24px, 7vw, 100px); background: var(--white);
  font-family: var(--font-avenir); font-size: 16px; line-height: 28.8px;
}
.split__body h2 { font-family: var(--font-avenir); font-weight: 800; font-size: clamp(28px, 7.6vw, 38px); line-height: 1.2; margin-bottom: 55px; hyphens: auto; }
.split__body p { margin: 0 0 0; }
.split--a { min-height: 527px; }
.split--b { min-height: 768px; border-top: 0; }
.split--b .split__body { order: -1; }
.split--b .split__body h2 { margin-bottom: 44px; }

.contact { width: 980px; max-width: 100%; margin: 0 auto; padding: 40px 20px 80px 27px; }
.contact h1 { font-family: var(--font-heading); font-weight: 400; font-size: 33px; line-height: 49px; color: var(--navy); margin-bottom: 15px; }
.contact__intro p { margin: 0; line-height: 22.4px; max-width: 868px; }
.contact__intro p + p { margin-top: 1px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 378px) minmax(0, 521px); gap: 0 20px; margin-top: 56px; }
.contact__info { padding-left: 55px; font-size: 16px; }
.contact__row { display: flex; align-items: center; gap: 15px; min-height: 26px; margin-bottom: 20px; line-height: 32px; }
.contact__row svg { width: 23px; height: 23px; flex: none; fill: none; stroke: var(--black); stroke-width: 1.4; }
.contact__row a { color: var(--black); }
.contact__social { display: flex; align-items: center; gap: 5px; margin-top: 44px; }
.contact__social a { flex: none; display: block; }
.contact__social img { width: 23px; height: 23px; flex: none; max-width: none; object-fit: contain; }

.contact-form { width: 521px; max-width: 100%; padding: 16px 31px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-content: start; }
.contact-form label { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 18px; color: var(--navy); margin-bottom: 9px; display: block; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; border: 1px solid var(--black); border-radius: 0; background: var(--white);
  font: 300 18px/25.2px var(--font-body); color: var(--black); padding: 5px 8px; height: 37px; margin-bottom: 30px;
}
.contact-form textarea { height: 86px; resize: vertical; margin-bottom: 20px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form > * { min-width: 0; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { min-width: 0; }
.contact-form__foot { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.contact-form button[type="submit"] {
  width: 128px; height: 36px; border: 0; border-radius: 100px; background: var(--blue-btn); color: var(--white);
  font: 700 18px/25px var(--font-body); cursor: pointer;
}
.contact-form button[type="submit"]:hover { background: var(--blue-btn-hover); }
.contact-form button[disabled] { opacity: 0.6; cursor: default; }
#form-status { margin: 0; font-size: 14px; text-align: right; }
.form-status--success { color: #1b6e3a; }
.form-status--error { color: #b3261e; }
.contact__rule { border: 0; border-top: 1px solid #cfd8de; margin: 40px 0 0; }

.legal-hero {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 28px 20px 40px;
  min-height: 316px;
}
.legal-hero h1 { font-family: var(--font-heading); font-size: clamp(22px, 6.6vw, 33px); line-height: 1.3; margin-bottom: 30px; }
.legal-hero p { max-width: 809px; margin: 0 auto 1em; line-height: 22.4px; }
.legal-hero strong { font-weight: 700; }

.legal { width: calc(var(--legal-w) + 40px); max-width: 100%; margin: 0 auto; padding: 37px 20px 90px; line-height: 22.4px; }
.legal h2 { font-family: var(--font-body); font-weight: 400; font-size: 20px; line-height: 28px; color: var(--navy); margin: 32px 0 0; }
.legal .legal__gap { margin-top: 100px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 22.4px; color: var(--navy); margin: 24px 0 4px; }
.legal p { margin: 0 0 3px; }
.legal--datenschutz p { margin-bottom: 12px; }
.legal ul { margin: 0 0 1em; padding-left: 1.4em; list-style: disc; }
.legal a { color: var(--black); text-decoration: underline; }
.legal__pdf { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.legal__pdf-icon { width: 50px; height: 50px; }
.legal__pdf-cap { font-size: 15px; color: var(--navy); margin: 8px 0 0; }
.legal--datenschutz { padding-top: 40px; }

.impressum { width: 870px; max-width: 100%; margin: 0 auto; padding: 63px 20px 100px; line-height: 25.6px; }
.impressum h1 { font-family: var(--font-heading); font-weight: 400; font-size: 33px; line-height: 49px; color: var(--navy); margin-bottom: 57px; }
.impressum p { margin: 0 0 1em; }
.impressum strong { font-weight: 700; }
.impressum .impressum__org { font-size: 20px; font-weight: 700; color: var(--navy); line-height: 32px; margin-bottom: 21px; }
.impressum a { color: var(--black); text-decoration: underline; }
.impressum h2 { font-family: var(--font-heading); font-size: 33px; font-weight: 400; line-height: 49px; color: var(--navy); margin: 20px 0 22px; }
.impressum--rest { padding-top: 0; }

.post-wrap {
  display: grid;
  grid-template-columns: 686px 284px;
  gap: 10px;
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
}
.post { padding: 55px 20px 60px 40px; }
.post time { display: block; font-size: 14px; line-height: 21px; }
.post h1 { font-family: var(--font-body); font-size: 45px; line-height: 56px; color: var(--navy); margin: 21px 0 70px; }
.post p { font-size: 16px; line-height: 24px; margin: 0 0 28px; }

.sidebar { position: relative; background: var(--blue); color: var(--white); padding: 11px 32px 40px; }
.sidebar__logo { width: 123px; height: 130px; margin-left: auto; margin-right: -12px; object-fit: cover; }
.sidebar h2 { font-family: var(--font-body); font-size: 20px; line-height: 28px; margin: 24px 0 14px; }
.sidebar p { font-size: 16px; line-height: 24px; margin: 0 0 14px; }
.sidebar .btn { height: 38px; padding: 0 30px; font-size: 18px; letter-spacing: 0; }
.sidebar__q { font-weight: 700; }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--slate-deep);
  color: var(--white);
  font-size: 14px;
  line-height: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 1000px; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex: none; }
.cookie-banner .cb-btn {
  height: 32px; padding: 0 20px; border-radius: 16px; font: 300 14px/1 var(--font-body);
  border: 0.8px solid var(--white); cursor: pointer;
}
.cookie-banner .cb-link {
  height: 32px; padding: 0 8px; background: none; border: 0; color: var(--white);
  font: 300 14px/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cookie-banner__actions { align-items: center; }
.cookie-banner #cookie-decline,
.cookie-banner #cookie-accept { background: var(--white); color: var(--slate-deep); }

.cc-dialog {
  width: 600px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px);
  border: 0; padding: 0; background: var(--white); color: var(--black);
  font-family: var(--font-body); font-weight: 400;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.cc-dialog[open] { display: flex; flex-direction: column; }
.cc-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.cc-dialog__close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: none; border: 0; cursor: pointer; display: grid; place-items: center;
}
.cc-dialog__close svg { width: 20px; height: 20px; stroke: var(--black); stroke-width: 1.5; fill: none; }
.cc-dialog__title { font-family: var(--font-body); font-weight: 400; font-size: 24px; line-height: 32px; margin: 0; padding: 32px 56px 20px 24px; }
.cc-dialog__list { overflow-y: auto; padding: 0 24px; border-top: 1px solid #e3e3e3; max-height: 340px; }
.cc-row { padding: 18px 0; border-bottom: 1px solid #e3e3e3; }
.cc-row:last-child { border-bottom: 0; }
.cc-row__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-row__title { font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 24px; margin: 0; }
.cc-row__text { font-size: 12px; line-height: 16px; margin: 6px 40px 0 0; color: #333; }
.cc-dialog__foot { display: flex; justify-content: flex-end; padding: 16px 24px 24px; border-top: 1px solid #e3e3e3; }
.cc-dialog__confirm { height: 32px; padding: 0 24px; border: 0; background: var(--black); color: var(--white); font: 400 14px/1 var(--font-body); cursor: pointer; }
.cc-dialog__confirm:hover { background: #2b2b2b; }

.cc-switch { position: relative; flex: none; width: 40px; height: 22px; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch__track { position: absolute; inset: 0; border-radius: 11px; background: #d4d4d4; transition: background 0.2s ease; }
.cc-switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cc-switch input:checked + .cc-switch__track { background: var(--black); }
.cc-switch input:checked + .cc-switch__track::after { transform: translateX(18px); }
.cc-switch input:disabled:checked + .cc-switch__track { background: #9a9a9a; }
.cc-switch input:focus-visible + .cc-switch__track { outline: 3px solid var(--navy); outline-offset: 2px; }

.gmap { height: 350px; margin: 19px 0 45px; background: #e5e3df; }
.gmap__frame { display: block; width: 100%; height: 100%; border: 0; }
.gmap__placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 8px;
}
.gmap__title { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--navy); }
.gmap__text { margin: 0; max-width: 520px; font-size: 15px; line-height: 22px; color: #333; font-weight: 400; }
.gmap__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 10px; }
.gmap__btn { height: 40px; padding: 0 28px; border: 0; border-radius: 60px; background: var(--navy); color: var(--white); font: 700 16px/1 var(--font-body); cursor: pointer; }
.gmap__btn:hover { background: #163a54; }
.gmap__link { background: none; border: 0; padding: 0; font: 400 15px/1 var(--font-body); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.footer__social { display: none; }
.footer__social a { flex: none; display: block; }
.footer__social img { width: 30px; height: 30px; flex: none; max-width: none; object-fit: contain; }
.footer__linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }

@media (max-width: 1100px) {
  .news { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 48px; margin: 56px auto; }
  .postcard-col { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 20px; }
  .postcard { width: min(568px, 100%); margin: 0 auto; max-width: 100%; min-width: 0; }
  .postcard-col, .infotafel { min-width: 0; }
  .postcard-col .btn--blue { margin: 0; }
  .infotafel { margin: 0 20px; min-height: 0; padding-bottom: 60px; }
  .post-wrap { grid-template-columns: 1fr; }
  .sidebar { margin: 0 20px 60px; }
}

@media (max-width: 1380px) {
  .team { grid-template-columns: minmax(0, 648px); }
}

@media (max-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .contact__info { padding-left: 0; }
  .contact-form { width: 100%; max-width: 521px; padding: 8px 0 0; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 0 0 clamp(24px, 3vw, 48px); align-items: stretch; }
  .intro__copy { min-height: 0; padding: 40px 32px 40px 0; }
  .intro__img { width: 100%; height: auto; aspect-ratio: 556 / 600; }

  .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 72px 24px; }
  .postcard-col { margin: 0; }
  .postcard { width: 100%; }
  .infotafel { margin: 0; padding: 96px 28px 40px; }
  .infotafel__logo { width: 100px; height: 105px; right: 20px; top: 10px; }
}

@media (max-width: 1100px) {
  .post-wrap { width: 100%; max-width: 760px; }
}

@media (max-width: 1040px) {
  :root { --header-h: 62px; }

  .nav { grid-template-columns: 1fr auto; align-items: center; }
  .nav__logo { margin: 6px 0 0 16px; }
  .nav__logo img { width: 46px; height: 48px; }
  .nav__social { display: none; }
  .nav__toggle {
    display: block; margin-right: 16px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative;
  }
  .nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
    content: ""; position: absolute; left: 6px; width: 28px; height: 2px; background: #3d7fb0;
  }
  .nav__toggle-bar { top: 19px; }
  .nav__toggle-bar::before { top: -8px; left: 0; }
  .nav__toggle-bar::after { top: 8px; left: 0; }
  .nav__list {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--white); box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    grid-column: 1 / -1;
  }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { line-height: 48px; padding: 0 24px; border-top: 1px solid #e6edf2; }
  .nav__list .nav__hidden { display: block; }
}

@media (max-width: 900px) {
  .hero { display: block; height: 500px; }
  .hero__img { height: 500px; }
  .hero__img:nth-of-type(n + 2) { display: none; }
  .hero__badge { top: 300px; width: 200px; height: 200px; }
  .hero__badge img { width: 130px; height: 136px; }

  .quote { padding: 60px 20px 48px; }
  .quote__box { height: 190px; }
  .quote__mark { top: 20px; width: 170px; height: 156px; }
  .quote__text { top: 50px; width: 100%; padding: 0 16px; font-size: 18px; line-height: 25px; }

  .intro { display: block; padding: 0; }
  .intro__copy { min-height: 0; padding: 32px 24px 40px; }
  .intro__body { align-items: stretch; }
  .intro__actions { margin-top: 24px; flex-direction: row; justify-content: center; gap: 20px; }
  .intro__img { width: 100%; height: 400px; }

  .footer { min-height: 0; padding-bottom: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__heading { margin-bottom: 20px; }
  .footer__links { margin-top: 24px; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding: 30px 16px 0; }

  .banner { padding: 28px 24px 40px; }
  .team-card { flex-direction: column; height: auto; }
  .team-card__photo { width: 100%; height: 340px; }
  .team-card__body { padding: 20px 24px 28px; }
  .team { padding: 24px 16px 40px; gap: 24px; }
  .charter { padding: 40px 24px; }

  .about { padding: 50px 20px 50px; }
  .about h1 { font-size: 40px; line-height: 48px; }
  .split { grid-template-columns: 1fr; }
  .split__media { height: auto; }
  .split__media img { position: static; display: block; width: 100%; height: auto; }
  .split--b .split__body { order: 0; }
  .split--a, .split--b { min-height: 0; height: auto; }
  .split__body { padding: 40px 24px; }
  .split__body h2 { margin-bottom: 24px !important; }

  .contact { padding: 30px 20px 60px; }
  .contact__grid { grid-template-columns: 1fr; margin-top: 30px; }
  .contact__info { padding-left: 0; }
  .contact-form { padding: 30px 0 0; }

  .legal-hero { padding-top: 32px; }
  .impressum h1, .contact h1 { font-size: 28px; }
  .post h1 { font-size: 30px; line-height: 38px; }

  .footer__social { display: flex; justify-content: center; gap: 22px; padding: 28px 16px 0; }
  .postcard__title { font-size: clamp(24px, 6.4vw, 40px); }
  .postcard__inner { padding: 28px 20px 16px; }
  .infotafel { padding: 96px 24px 40px; }
  .infotafel__logo { width: 96px; height: 101px; right: 20px; top: 10px; }
  .infotafel h2.infotafel__title, .infotafel__title { font-size: 30px; line-height: 42px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: flex-end; flex-wrap: wrap; }
  .gmap { height: 320px; }
  .cc-dialog__list { max-height: 45vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a { transition: color 150ms ease; }

.btn, .btn--blue, .contact-form button[type="submit"], .gmap__btn,
.cc-dialog__confirm, .cookie-banner .cb-btn, .cookie-banner .cb-link,
.gmap__link, .footer__linkbtn, .nav__toggle {
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active, .btn--blue:active, .contact-form button[type="submit"]:not([disabled]):active,
.gmap__btn:active, .cc-dialog__confirm:active, .cookie-banner .cb-btn:active {
  transform: scale(0.97);
}

@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.cookie-banner:not([hidden]) { animation: rise-in 240ms var(--ease-out) both; }
.cc-dialog[open] { animation: pop-in 200ms var(--ease-out) both; }
.cc-dialog[open]::backdrop { animation: fade-in 200ms ease both; }
@media (max-width: 900px) {
  .nav.is-open .nav__list { animation: rise-in 180ms var(--ease-out) both; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.contact-form__note { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; line-height: 18px; color: #333; font-weight: 400; }
.contact-form__note a { color: var(--navy); text-decoration: underline; }

@media (max-width: 480px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-form label { margin-bottom: 6px; }
  .btn { padding: 0 28px; }
  .intro__actions { gap: 12px; }
  .intro__actions .btn { min-width: 0; flex: 0 1 auto; padding: 0 32px; }
  .charter__actions .btn { width: 100%; }
}
