@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/hanken-grotesk-400.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/hanken-grotesk-700.woff2") format("woff2");
}

@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url("../fonts/saira-condensed-800.woff2") format("woff2");
}

:root {
  --tb-primary: #7b2452;
  --tb-primary-dark: #3d162b;
  --tb-orange: #fd9c10;
  --tb-light-orange: #ffb850;
  --tb-grey: #1e2124;
  --tb-background: #f6ece0;
  --tb-white: #ffffff;
  --tb-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  --tb-content: min(100% - 48px, 1650px);
  --tb-narrow: min(100% - 48px, 1090px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--tb-background);
}

.wp-site-blocks > * + *,
.tb-main > * + *,
.entry-content > * + * {
  margin-block-start: 0;
}

body,
button,
input,
textarea,
select {
  font-family: "Hanken Grotesk", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--tb-light-orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--tb-white);
  color: var(--tb-grey);
  padding: 12px 16px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.tb-header-layer {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  color: var(--tb-white);
  background: linear-gradient(90deg, #261820 0%, #38182a 54%, #3e2533 100%);
}

.tb-header-layer--solid,
.tb-header-layer.is-scrolled {
  position: sticky;
  background: rgba(61, 22, 43, 0.97);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tb-motto {
  position: relative;
  min-height: 61px;
  max-height: 61px;
  display: grid;
  overflow: visible;
  place-items: center;
  background: transparent;
  color: var(--tb-white);
  transition: min-height 180ms ease, max-height 180ms ease, opacity 160ms ease, transform 180ms ease;
}

.tb-motto::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: #7b2452;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 55%);
  pointer-events: none;
}

.tb-motto p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Saira Condensed", sans-serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: 1.3px;
  word-spacing: 22.4px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  transform: translateY(-8px);
}

.tb-header-layer.is-scrolled .tb-motto {
  min-height: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.tb-header-layer.is-scrolled .tb-motto p {
  line-height: 0;
}

.tb-header {
  width: var(--tb-content);
  margin: 0 auto;
  min-height: 91px;
  gap: 28px;
  padding: 13px 0 20px;
  align-items: flex-end !important;
}

.tb-brand {
  margin: 0;
}

.tb-logo-lockup {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  color: var(--tb-white);
  text-decoration: none;
}

.tb-brand-logo {
  display: block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.tb-brand-logo--torsten {
  width: 110px;
  height: 58px;
  -webkit-mask-image: url("../icons/logo-torsten.svg");
  mask-image: url("../icons/logo-torsten.svg");
}

.tb-brand-logo--bsw {
  width: 146px;
  height: 56px;
  background: url("../icons/logo-bsw.svg?v=white-gradient") center / contain no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

nav.tb-nav {
  flex: 0 0 810px;
}

.tb-nav .wp-block-navigation__container {
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.tb-nav a,
.tb-header-contact-link {
  font-family: "Saira Condensed", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
  text-decoration: none;
}

.tb-header-contact {
  gap: 28px;
  align-items: center;
}

.tb-header-contact-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--tb-white);
}

.tb-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  padding: 0;
  color: var(--tb-white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.tb-menu-toggle-bars,
.tb-menu-toggle-bars::before,
.tb-menu-toggle-bars::after {
  display: block;
  width: 24px;
  height: 3px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.tb-menu-toggle-bars {
  position: relative;
}

.tb-menu-toggle-bars::before,
.tb-menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.tb-menu-toggle-bars::before {
  top: -8px;
}

.tb-menu-toggle-bars::after {
  top: 8px;
}

.tb-header.is-menu-open .tb-menu-toggle-bars {
  transform: rotate(45deg);
}

.tb-header.is-menu-open .tb-menu-toggle-bars::before {
  transform: translateY(8px) rotate(90deg);
}

.tb-header.is-menu-open .tb-menu-toggle-bars::after {
  opacity: 0;
}

.tb-header-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.tb-header-icon--location {
  -webkit-mask-image: url("../icons/location-filled.svg");
  mask-image: url("../icons/location-filled.svg");
}

.tb-header-icon--phone {
  -webkit-mask-image: url("../icons/phone.svg");
  mask-image: url("../icons/phone.svg");
}

.tb-main {
  width: 100%;
  max-width: none !important;
  margin-block-start: 0;
}

.tb-main .entry-content {
  width: 100%;
  max-width: none;
}

.entry-content > .tb-section.alignfull {
  width: 100%;
  max-width: none;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.tb-section {
  position: relative;
  padding: clamp(72px, 6vw, 100px) 0;
  margin: 0;
  scroll-margin-top: 110px;
}

.tb-inner,
.tb-section > .wp-block-group__inner-container {
  width: var(--tb-content);
  max-width: var(--tb-content);
  margin: 0 auto;
}

.tb-section-heading {
  max-width: 1090px;
  margin: 0 auto 48px;
  text-align: center;
}

.tb-card-section .tb-section-heading {
  max-width: 1090px;
  margin-bottom: 50px;
}

.tb-card-section .tb-section-title strong {
  color: var(--tb-primary);
}

.tb-card-section .tb-heading-line {
  width: 110px;
  height: 3px;
  margin-top: 20px;
  background: var(--tb-orange);
}

.tb-card-section .tb-section-lead {
  max-width: 1090px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 27px;
}

.tb-kicker-line,
.tb-heading-line {
  width: 110px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--tb-orange);
}

.tb-section-title,
.tb-section h1,
.tb-section h2,
.tb-section h3 {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tb-section-title {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.25;
}

.tb-section-title strong,
.tb-about h2 strong,
.tb-orange {
  color: var(--tb-primary);
}

.tb-section-lead {
  max-width: 1090px;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 27px;
}

.tb-hero {
  min-height: 902px;
  display: flex;
  align-items: flex-end;
  color: var(--tb-white);
  background: linear-gradient(115deg, #271720 0%, #3d162b 48%, #462e3b 100%);
  padding: 152px 0 0;
}

.tb-hero .tb-inner {
  display: grid;
  grid-template-columns: minmax(0, 810px) minmax(340px, 670px);
  gap: 170px;
  align-items: end;
}

.tb-hero-copy {
  padding-bottom: 80px;
}

.tb-hero h1 {
  max-width: 810px;
  margin: 0;
  font-size: clamp(52px, 6.2vw, 85px);
  line-height: 1.2;
  color: var(--tb-white);
}

.tb-hero h1 strong {
	color: var(--tb-orange);
}

.tb-hero-name {
  margin-top: 24px;
}

.tb-hero-name strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Saira Condensed", sans-serif;
  font-size: 32px;
  line-height: 48px;
  text-transform: uppercase;
}

.tb-hero-buttons {
  margin-top: 64px;
}

.tb-button,
.wp-block-button__link {
  border-radius: 0;
  padding: 16px 24px;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  line-height: 27px;
  text-transform: uppercase;
  text-decoration: none;
}

.tb-button-primary .wp-block-button__link {
  color: var(--tb-white);
  background: linear-gradient(96deg, var(--tb-primary) 0%, #a22466 58%, #d05c0a 100%);
}

.tb-button-light .wp-block-button__link {
  color: var(--tb-grey);
  background: var(--tb-white);
}

.tb-hero-figure {
  margin: 0;
}

.tb-hero-figure img {
  display: block;
  width: min(670px, 100%);
  height: min(670px, 72vw);
  object-fit: cover;
  object-position: center bottom;
}

.tb-card-section {
  isolation: auto;
  overflow: visible;
  padding-top: 100px;
  background: var(--tb-background);
}

.tb-card-section::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 166px;
  background: url("../images/slant-themen.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.tb-card-section > * {
  position: relative;
  z-index: 3;
}

.tb-card-grid {
  width: var(--tb-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.tb-card-grid > *,
.tb-demand-grid > * {
  margin-block-start: 0 !important;
}

.tb-topic-card,
.tb-meeting-card {
  background: var(--tb-white);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.14);
}

.tb-topic-card {
  min-height: 578px;
  padding: 30px;
  border-bottom: 3px solid var(--tb-orange);
  box-shadow: var(--tb-shadow);
}

.tb-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tb-background);
  color: var(--tb-primary);
  font-size: 34px;
  margin: 0 0 24px;
}

.tb-topic-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.tb-topic-card h3,
.tb-demand-card h3,
.tb-meeting-card h3 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 48px;
  color: var(--tb-primary);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.tb-topic-card .tb-subhead {
  margin: 0 0 24px;
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
}

.tb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.tb-list li {
  position: relative;
  padding-left: 32px;
  line-height: 27px;
}

.tb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: var(--tb-primary);
  -webkit-mask: url("../icons/check-mark.svg") center / contain no-repeat;
  mask: url("../icons/check-mark.svg") center / contain no-repeat;
}

.tb-about {
  background: var(--tb-white);
}

.tb-about-grid,
.tb-contact-grid,
.tb-meetings-grid {
  width: var(--tb-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 670px) minmax(0, 810px);
  gap: 170px;
  align-items: center;
}

.tb-about-grid {
  align-items: start;
}

.tb-photo-card {
  position: relative;
  margin: 0;
  box-shadow: var(--tb-shadow);
}

.tb-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tb-photo-card figcaption {
  position: absolute;
  left: 30px;
  bottom: 30px;
  max-width: 420px;
  background: var(--tb-primary);
  color: var(--tb-white);
  padding: 14px 18px;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.tb-about-copy .tb-heading-line,
.tb-contact-copy .tb-heading-line {
  margin-left: 0;
}

.tb-about h2,
.tb-contact h2 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.25;
  text-transform: uppercase;
}

.tb-about-copy {
  margin-block-start: 5px !important;
}

.tb-about-copy p,
.tb-contact-copy p,
.tb-footer-main p {
  line-height: 27px;
}

.tb-about-copy p {
  margin: 24px 0 0;
}

.tb-quote {
  position: relative;
  z-index: 2;
  width: min(670px, calc(100% + 140px));
  margin: -103px 0 0 140px;
  background: linear-gradient(96deg, var(--tb-primary) 0%, #a22466 58%, #d05c0a 100%);
  box-shadow: var(--tb-shadow);
  padding: 20px 30px;
  color: var(--tb-white);
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
  text-transform: uppercase;
}

.tb-quote p {
  margin: 0;
}

.tb-demands {
  isolation: isolate;
  z-index: 1;
  overflow: visible;
  color: var(--tb-white);
  background: var(--tb-primary);
}

.tb-demands::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -77px;
  left: 0;
  height: 166px;
  background: url("../images/slant-demands.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.tb-demands > * {
  position: relative;
  z-index: 3;
}

.tb-demands .tb-section-heading {
  margin-bottom: 56px;
}

.tb-demands .tb-section-title {
  color: var(--tb-white);
}

.tb-demands .tb-section-title strong,
.tb-demands .tb-heading-line {
  color: var(--tb-light-orange);
}

.tb-demands .tb-section-title strong {
  color: var(--tb-light-orange);
}

.tb-demands .tb-heading-line {
  background: var(--tb-orange);
}

.tb-demands .tb-section-lead {
  color: var(--tb-white);
}

.tb-demand-grid {
  width: var(--tb-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 48px;
}

.tb-demand-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 0;
  color: var(--tb-white);
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.2));
}

.tb-demand-icon {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
}

.tb-demand-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.tb-demand-card h3 {
  color: var(--tb-white);
  font-size: 32px;
  line-height: 48px;
  margin: 0;
}

.tb-demand-card p {
  margin: 0;
  color: var(--tb-white);
  font-size: 18px;
  line-height: 27px;
}

.tb-testimonials {
  background: var(--tb-background);
}

.tb-testimonials .tb-section-heading {
  margin-bottom: 24px;
}

.tb-testimonial-grid {
  width: min(100% - 48px, 1370px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.tb-testimonial-feature {
  position: relative;
  padding: 42px 0 0 20px;
  background: transparent;
  box-shadow: none;
}

.tb-testimonial-feature::before {
  content: "“";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--tb-orange);
  font-family: "Saira Condensed", sans-serif;
  font-size: 116px;
  font-weight: 800;
  line-height: 1;
}

.tb-testimonial-feature blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Saira Condensed", sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 90px;
  text-transform: uppercase;
}

.tb-testimonial-feature blockquote p {
  margin: 0;
}

.tb-testimonial-feature .tb-cite {
  margin-top: 42px;
}

.tb-testimonial-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 30px;
  align-content: center;
  padding-top: 45px;
}

.tb-testimonial-list > .tb-mini-quote {
  margin-block: 0;
}

.tb-mini-quote p:first-child {
  margin-top: 0;
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
  text-transform: uppercase;
}

.tb-mini-quote .tb-cite {
  margin-top: 34px;
}

.tb-cite {
  margin-top: 24px;
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
}

.tb-cite span {
  display: block;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.tb-meetings {
  color: var(--tb-white);
  background: #7b2452;
}

.tb-meetings-grid {
  grid-template-columns: minmax(320px, 670px) minmax(320px, 810px);
  align-items: start;
}

.tb-meetings h2 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.25;
}

.tb-meetings h2 strong {
  color: var(--tb-light-orange);
}

.tb-meetings .tb-heading-line {
  margin-left: 0;
  background: var(--tb-orange);
}

.tb-meeting-list {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

.tb-meeting-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  align-items: center;
  padding-right: 20px;
  color: var(--tb-grey);
}

.tb-meeting-card h3 {
  color: var(--tb-grey);
}

.tb-date {
  color: var(--tb-primary);
  text-align: center;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-date strong {
  display: block;
  font-size: 72px;
  line-height: 90px;
}

.tb-date span {
  display: block;
  font-size: 32px;
  line-height: 48px;
}

.tb-meeting-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.tb-meeting-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tb-meeting-meta span::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--tb-orange);
}

.tb-meeting-meta span:first-child::before {
  -webkit-mask: url("../icons/time.svg") center / contain no-repeat;
  mask: url("../icons/time.svg") center / contain no-repeat;
}

.tb-meeting-meta span:last-child::before {
  -webkit-mask: url("../icons/location-filled.svg") center / contain no-repeat;
  mask: url("../icons/location-filled.svg") center / contain no-repeat;
}

.tb-donation-table {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}

.tb-donation-table p {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  margin: 0;
  font-size: 24px;
  line-height: 36px;
}

.tb-donation-table strong {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
}

.tb-contact {
  background: var(--tb-white);
}

.tb-contact-grid {
  grid-template-columns: minmax(320px, 670px) minmax(320px, 810px);
}

.tb-contact-copy {
  margin-block-start: 14px !important;
}

.tb-contact address {
  font-style: normal;
  line-height: 27px;
}

.tb-contact-list {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.tb-contact-list address,
.tb-contact-list p {
  position: relative;
  margin: 0;
  padding-left: 32px;
}

.tb-contact-list address::before,
.tb-contact-list p::before {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--tb-grey);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.tb-contact-list address::before {
  top: 0;
  -webkit-mask-image: url("../icons/location-filled.svg");
  mask-image: url("../icons/location-filled.svg");
}

.tb-contact-list p::before {
  top: 2px;
}

.tb-contact-list p:nth-of-type(1)::before {
  -webkit-mask-image: url("../icons/phone.svg");
  mask-image: url("../icons/phone.svg");
}

.tb-contact-list p:nth-of-type(2)::before {
  -webkit-mask-image: url("../icons/mail.svg");
  mask-image: url("../icons/mail.svg");
}

.tb-footer-main {
  position: relative;
  isolation: isolate;
  min-height: 323px;
  padding: 80px 0 60px;
  color: var(--tb-white);
  background: #7b2452;
}

.tb-footer-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -65px;
  right: 0;
  left: 0;
  height: 127px;
  background: linear-gradient(96deg, #7b2452 0%, #a22466 58%, #d05c0a 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 55%, 0 100%);
  pointer-events: none;
}

.tb-footer-main a {
  color: var(--tb-white);
  text-decoration: none;
}

.tb-footer-main p {
  margin: 0;
  font-size: 18px;
  line-height: 27px;
}

.tb-footer-grid {
  width: var(--tb-content);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 390px 170px 390px 170px 146px 134px 250px;
  justify-content: start;
  align-items: start;
  gap: 0;
}

.tb-footer-grid > * {
  margin: 0;
}

.tb-footer-grid > :nth-child(1) {
  grid-column: 1;
}

.tb-footer-grid > :nth-child(2) {
  grid-column: 3;
}

.tb-footer-grid > :nth-child(3) {
  grid-column: 5;
}

.tb-footer-grid > :nth-child(4) {
  grid-column: 7;
}

.tb-footer-title {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 36px;
}

.tb-footer-contact-item {
  position: relative;
  padding-left: 32px;
}

.tb-footer-contact-item + .tb-footer-contact-item {
  margin-top: 24px;
}

.tb-footer-contact-item::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--tb-white);
}

.tb-footer-contact-location::before {
  -webkit-mask: url("../icons/location-filled.svg") center / contain no-repeat;
  mask: url("../icons/location-filled.svg") center / contain no-repeat;
}

.tb-footer-contact-phone::before {
  -webkit-mask: url("../icons/phone.svg") center / contain no-repeat;
  mask: url("../icons/phone.svg") center / contain no-repeat;
}

.tb-footer-contact-mail::before {
  -webkit-mask: url("../icons/mail.svg") center / contain no-repeat;
  mask: url("../icons/mail.svg") center / contain no-repeat;
}

.tb-footer-bsw-logo {
  width: 146px;
  height: 56px;
  background: url("../icons/logo-bsw.svg") center / contain no-repeat;
}

.tb-footer-social-title {
  font-weight: 700;
}

.tb-social {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.tb-social-link {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: transparent;
  background: var(--tb-white);
  font-size: 0;
  line-height: 0;
}

.tb-social-link-instagram {
  -webkit-mask: url("../icons/instagram.svg") center / contain no-repeat;
  mask: url("../icons/instagram.svg") center / contain no-repeat;
}

.tb-social-link-facebook {
  -webkit-mask: url("../icons/facebook.svg") center / contain no-repeat;
  mask: url("../icons/facebook.svg") center / contain no-repeat;
}

.tb-footer-bottom {
  min-height: 67px;
  align-items: center;
  padding: 0 max(24px, calc((100% - 1650px) / 2));
  color: var(--tb-white);
  background: var(--tb-grey);
  font-size: 16px;
  line-height: 26px;
}

.tb-footer-bottom p {
  margin: 0;
}

.tb-footer-nav .wp-block-navigation__container {
  gap: 32px;
}

.tb-footer-nav a {
  color: inherit;
  text-decoration: none;
}

.tb-page-main {
  padding-top: 0;
  background: var(--tb-background);
}

.tb-legal {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 180px;
  min-height: 60vh;
}

.tb-legal h1 {
  font-size: clamp(44px, 5vw, 72px);
}

.tb-picture {
  display: contents;
}

@media (min-width: 1281px) {
  .tb-card-section {
    height: 1081px;
  }

  .tb-about {
    height: 941px;
    margin-top: -66px;
    padding-top: 145px;
    padding-bottom: 81px;
  }

  .tb-demands {
    height: 830px;
  }

  .tb-testimonials {
    height: 1088px;
    margin-top: 7px;
  }

  .tb-meetings {
    height: 856px;
  }

  .tb-contact {
    height: 870px;
  }

  .wp-site-blocks > footer.tb-footer-layer {
    margin-block-start: 5px;
  }
}

@media (max-width: 1698px) {
  .tb-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .tb-footer-grid > * {
    grid-column: auto !important;
  }
}

@media (max-width: 1280px) {
  :root {
    --tb-content: min(100% - 40px, 1120px);
  }

  .tb-header-contact {
    display: none !important;
  }

  nav.tb-nav {
    flex: 1 1 auto;
  }

  .tb-nav .wp-block-navigation__container {
    width: auto;
    gap: clamp(14px, 2.2vw, 52px);
  }

  .tb-card-grid,
  .tb-demand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tb-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .tb-footer-grid > * {
    grid-column: auto !important;
  }

  .tb-hero .tb-inner,
  .tb-about-grid,
  .tb-contact-grid,
  .tb-meetings-grid {
    gap: 56px;
  }

  .tb-testimonial-feature blockquote {
    font-size: clamp(48px, 4.25vw, 72px);
    line-height: 1.15;
  }

  .tb-hero {
    min-height: auto;
  }

  .tb-hero .tb-inner,
  .tb-about-grid,
  .tb-contact-grid,
  .tb-meetings-grid,
  .tb-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .tb-hero-copy {
    padding-bottom: 0;
  }

  .tb-hero-figure {
    justify-self: center;
  }

  .tb-hero-figure img {
    width: min(670px, 100%);
    height: auto;
    max-height: 670px;
    object-fit: contain;
  }

  .tb-quote {
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
  }
}

@media (max-width: 900px) {
  .tb-header-layer {
    position: relative;
    background: var(--tb-primary-dark);
  }

  .tb-header {
    min-height: auto;
    padding: 18px 0 24px;
    align-items: center !important;
  }

  .tb-logo-lockup {
    gap: 22px;
  }

  .tb-brand-logo--torsten {
    width: 92px;
    height: 49px;
  }

  .tb-brand-logo--bsw {
    width: 122px;
    height: 47px;
  }

  nav.tb-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    margin-top: 18px;
  }

  .tb-menu-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .tb-js .tb-header:not(.is-menu-open) nav.tb-nav {
    display: none;
  }

  .tb-nav .wp-block-navigation__container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .tb-nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 22px;
    line-height: 32px;
    white-space: normal;
  }

  .tb-nav .wp-block-navigation-item {
    width: 100%;
  }

  .tb-hero {
    min-height: auto;
    padding: 56px 0 0;
  }

  .tb-hero-figure img {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
  }

  .tb-card-grid,
  .tb-demand-grid,
  .tb-testimonial-list {
    grid-template-columns: 1fr;
  }

  .tb-topic-card {
    min-height: auto;
  }

  .tb-card-section {
    padding-top: 64px;
  }

  .tb-card-section .tb-section-title {
    font-size: clamp(56px, 11vw, 96px);
  }

  .tb-card-section .tb-section-lead {
    width: 100%;
    font-size: 20px;
    line-height: 30px;
  }

  .tb-quote {
    margin: 24px 0 0;
    width: 100%;
    max-width: none;
  }

  .tb-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
	* {
		min-width: 0;
	}

	:root {
		--tb-content: min(100% - 28px, 100%);
		--tb-narrow: min(100% - 28px, 100%);
	}

  .tb-section {
    padding: 64px 0;
  }

  .tb-motto {
    min-height: 48px;
    max-height: 48px;
  }

  .tb-motto p {
    font-size: 14px;
    line-height: 24px;
    word-spacing: 2px;
  }

  .tb-header {
    gap: 18px;
  }

  .tb-logo-lockup {
    gap: 16px;
  }

  .tb-brand-logo--torsten {
    width: 76px;
    height: 40px;
  }

  .tb-brand-logo--bsw {
    width: 102px;
    height: 39px;
  }

  .tb-menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .tb-nav a {
    font-size: 20px;
    line-height: 30px;
  }

  .tb-hero h1 {
    font-size: 48px;
  }

  .tb-card-section .tb-section-title {
    font-size: clamp(42px, 13vw, 56px);
  }

  .tb-card-section .tb-heading-line {
    width: 110px;
    margin-top: 20px;
  }

  .tb-card-section .tb-section-lead {
    margin-top: 24px;
    font-size: 18px;
    line-height: 27px;
  }

  .tb-hero-buttons .wp-block-buttons {
    display: grid;
  }

  .tb-meeting-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .tb-meeting-card h3 {
    font-size: 28px;
    line-height: 36px;
    overflow-wrap: normal;
    hyphens: none;
  }

  .tb-date {
    display: flex;
    gap: 10px;
    align-items: end;
    text-align: left;
  }

  .tb-date strong {
    font-size: 56px;
    line-height: 64px;
  }

  .tb-date span {
    font-size: 28px;
    line-height: 38px;
  }

  .tb-meeting-meta,
	.tb-donation-table p {
		grid-template-columns: 1fr;
		gap: 0;
		font-size: 20px;
		line-height: 30px;
	}

	.tb-footer-bottom {
    justify-content: flex-start;
		gap: 18px;
		padding-block: 20px;
	}

	.tb-footer-nav .wp-block-navigation__container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px 18px;
	}
}
