/* Customizr (WordPress) inspired stylesheet for the static rebuild */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9375em;
  font-weight: 400;
  line-height: 1.55;
  color: #333;
  background-color: #fff;
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: normal;
  color: #303133;
  line-height: 1.25em;
  margin-top: 1.25em;
  margin-bottom: 0.5rem;
}

h1 { font-size: 4em; }
h2 { font-size: 2.0736em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.44em; }
h5 { font-size: 1.2em; }
h6 { font-size: 0.9em; color: #777; text-transform: uppercase; letter-spacing: 2px; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
  color: #313131;
  text-decoration: none;
  background-color: transparent;
}
a:hover, a:focus, a:active {
  color: #777;
  text-decoration: none;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

hr {
  box-sizing: content-box;
  height: 0;
  border: 0;
  margin: 2em 0;
  border-top: 1px solid #eceeef;
}

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

/* Main header */
.tc-header {
  background: #fff;
  border-bottom: 1px solid #eceeef;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  padding-left: 15px;
  padding-right: 15px;
  gap: 1.5em;
}
.navbar-brand-sitename {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: 1px;
  color: #313131;
  display: block;
  overflow-wrap: break-word;
}
.navbar-brand-sitename a {
  color: #313131;
}
.navbar-brand-sitename a:hover {
  color: #777;
}
.header-tagline {
  color: #777;
  font-size: clamp(0.7rem, 1.3vw, 0.9rem);
  margin: 0.35em 0 0;
  overflow-wrap: break-word;
}

.site-description {
  display: block;
  margin-top: 0.25em;
  color: #777;
  font-size: 0.9em;
}

/* Primary nav (right aligned) */
.nav__container .nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.nav__menu li {
  margin: 0;
  flex: 0 0 auto;
}
.nav__menu .nav__link,
.nav__menu a {
  display: inline-block;
  padding: 1em 1.1em;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #313131;
  position: relative;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__menu a:hover,
.nav__menu a:focus,
.nav__menu a.active,
.nav__menu a.current {
  color: #777;
}
.nav__menu .nav__title::before {
  content: "";
  position: absolute;
  left: 1.1em;
  right: 1.1em;
  bottom: 0;
  height: 2px;
  background-color: #313131;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.nav__menu li:hover .nav__title::before,
.nav__menu a:hover::before {
  transform: scaleX(1);
}

/* Mobile menu toggle (simple) */
.menu__toggler {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.75rem 0;
}
.menu__toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: #313131;
  margin: 5px 0;
}

/* ------------------------------------------------------------------ */
/* Page hero / image header                                            */
/* ------------------------------------------------------------------ */

.content__wrapper {
  display: flex;
  flex-wrap: wrap;
}

.page__header {
  position: relative;
  text-align: center;
  min-height: 300px;
  overflow: hidden;
  background-color: #333;
}
.page__header .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.page__header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
  background: rgba(0, 0, 0, 0.25);
}
.page__header .header-content-inner {
  width: 100%;
  padding: 0 15px;
  line-height: normal;
}
.page__header .entry-title {
  margin: 0;
  color: #fff;
  font-size: 2.5rem;
}
.page__header--plain {
  background: #f7f8f9;
}
.page__header--plain .header-content {
  background: transparent;
}
.page__header--plain .entry-title {
  color: #303133;
}

/* ------------------------------------------------------------------ */
/* Content                                                             */
/* ------------------------------------------------------------------ */

.article__wrapper {
  padding: 3em 0 4em;
}
.post-content {
  color: #313131;
}
.site-content .entry-content h1,
.site-content .entry-content h2,
.site-content .entry-content h3,
.site-content .entry-content h4 {
  margin-top: 1.5em;
}
.site-content .entry-content > h1:first-child,
.site-content .entry-content > h2:first-child,
.site-content .entry-content > h3:first-child,
.site-content .entry-content > h4:first-child {
  margin-top: 0;
}

/* Notice / announcement */
.tc-notice {
  background: #d6efee;
  border-left: 4px solid #313131;
  padding: 1.25em 1.5em;
  margin-bottom: 2em;
}
.tc-notice h4 {
  margin: 0 0 0.5em;
}

/* Two-column layout helper for Vorstand */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5em;
  margin: 2em 0;
}
.member-card {
  text-align: center;
}
.member-card img {
  border-radius: 2px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 1.25em;
  display: block;
}
.member-card h3 {
  margin: 0;
  font-size: 1.2em;
  line-height: 1.35;
}
.member-card .role {
  color: #777;
  margin-top: 0.25em;
}

/* Advisor list */
.advisory-list {
  list-style: none;
  padding: 0;
  margin: 2em 0;
}
.advisory-list li {
  padding: 1.1em 0;
  border-bottom: 1px solid #eceeef;
}
.advisory-list li:last-child {
  border-bottom: 0;
}
.advisory-list strong {
  color: #303133;
  font-weight: 600;
}
.advisory-list .affiliation {
  color: #777;
  display: block;
}

/* DSGVO section headers */
.dsgvo-section-head {
  margin-top: 2.5em;
  padding-top: 0.25em;
  border-top: 1px solid #eceeef;
}
.dsgvo-section-head:first-child {
  margin-top: 0;
  border-top: 0;
}

/* Statutes / Richtlinien formatting */
.satzung h3 {
  color: #303133;
  margin-bottom: 0.25em;
}
.satzung p {
  text-align: justify;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer__wrapper {
  background: #fff;
  border-top: 1px solid #eceeef;
  color: #313131;
  font-size: 90%;
}
.footer__wrapper a {
  color: #777;
}
.footer__wrapper a:hover {
  color: #313131;
}
.colophon__wrapper {
  background: #fff;
  border-top: 1px solid #eceeef;
}
.colophon__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1.25em 0;
  color: #777;
  font-size: 0.82rem;
  letter-spacing: 1px;
}
.colophon__row a {
  color: #777;
}
.colophon__row a:hover {
  color: #313131;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100000;
  background: #fff;
  padding: 0.5em 1em;
}
.skip-link:focus {
  left: 6px;
  top: 6px;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 800px) {
  .header__container {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .menu__toggler {
    display: inline-block;
  }
  .nav__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav__container .nav__menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav__container .nav__menu a {
    width: 100%;
    border-bottom: 1px solid #eceeef;
  }
  body.nav-open .nav__container .nav__menu {
    display: flex;
  }
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 800px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}
