html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}
ul li,
ol li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
/* Definition von Variablen */
.debugborder {
  outline: red 2px solid;
}
:root {
  --blue-dark: #073055;
}
/* assets/less/components/_fonts.less */
/* Century Gothic */
@font-face {
  font-family: "Century Gothic";
  src: url("../fonts/century-gothic.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Century Gothic";
  src: url("../fonts/century-gothic-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Century Gothic";
  src: url("../fonts/century-gothic-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Century Gothic";
  src: url("../fonts/century-gothic-bolditalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* Helvetica LT Std (Black / Black Condensed) */
@font-face {
  font-family: "Helvetica LT Std";
  src: url("../fonts/HelveticaLTStd-Blk.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Condensed";
  src: url("../fonts/HelveticaLTStd-BlkCond.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* Noteworthy */
@font-face {
  font-family: "Noteworthy";
  src: url("../fonts/Noteworthy-Lt.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-body: "Century Gothic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Helvetica Condensed", "Century Gothic", Arial, sans-serif;
  --font-accent: "Noteworthy", "Century Gothic", cursive;
}
body {
  font-family: var(--font-body);
}
h1,
h2,
h3 {
  font-family: var(--font-head);
}
.handwriting {
  font-family: var(--font-accent);
}
body {
  font-size: 16px;
  line-height: 1.2;
  color: #073055;
  font-optical-sizing: auto;
  font-weight: 400;
}
h1 {
  font-size: 2rem;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
h1 h1:first-child {
  margin-top: 0;
}
h1:has(+ .subline) {
  margin-bottom: 0;
}
h1.title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
h2 {
  font-size: 30px;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
h2 h2:first-child {
  margin-top: 0;
}
h3 {
  font-size: 1rem;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 1rem;
  margin-top: 1.2rem;
}
h3 h3:first-child {
  margin-top: 0;
}
header .logo.handwriting a {
  font-size: 2.2rem;
}
p {
  line-height: 1.6;
  margin-bottom: 1.2em;
}
a {
  text-decoration: none;
  color: inherit;
  display: block;
}
a:hover {
  text-decoration: underline;
}
a.linksmall {
  font-size: 0.8rem;
}
.subline {
  margin-bottom: 2rem;
}
ul,
ol {
  padding: 0 1.5rem 2rem;
}
ul li {
  list-style: disc;
  padding-top: 0.25rem;
}
ol li {
  list-style: decimal;
  padding-top: 0.25rem;
}
.back,
.readon,
.author {
  text-align: right;
  font-size: 0.8rem;
}
span {
  font-weight: 700;
}
.content p a {
  color: inherit;
  text-underline-offset: 2px;
  font-weight: 700;
  display: inline;
}
.content p a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}
.staticBG {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -10;
}
header {
  position: fixed;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  line-height: 16px;
  background-color: #ffffff;
  mix-blend-mode: normal;
  border-bottom: 1px solid #073055;
}
header .logo a {
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
header .logo a img {
  margin: calc(0.5 * 16px) 16px;
  width: 5rem;
}
header #mainmenu {
  flex-grow: 1;
}
aside {
  flex-shrink: 2;
  display: none;
}
main {
  margin-top: 120px;
  flex: 1;
  display: flex;
  flex-flow: row;
}
main .cards {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 16px;
}
article {
  flex: 1 1 auto;
  margin: 2rem auto;
  padding: 2rem 8rem;
  max-width: 64rem;
  height: max-content;
  background-color: white;
  border: 2px solid #073055;
  border-radius: 0;
}
@media screen and (max-width: 992px) {
  article {
    margin: 2rem 4px;
    padding: 1rem;
    max-width: 100vw;
  }
}
article .intro {
  margin-bottom: 8rem;
}
.info {
  margin-top: 3em;
}
footer.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: white;
  text-align: right;
  padding: 0.5rem 2rem;
  border-top: 2px solid #073055;
  border-width: 3px;
}
footer.footer .socialmedialinks {
  display: flex;
  flex-wrap: nowrap;
}
footer.footer .socialmedialinks div {
  margin-right: 20px;
}
footer.footer .socialmedialinks img {
  height: 36px;
  width: auto;
}
footer.footer .socialmedialinks h2,
footer.footer .socialmedialinks p {
  display: none;
}
.preview {
  padding: calc(16px * 2);
  border-radius: 8px;
  border: 2px solid #073055;
  margin: 16px auto;
}
.preview div {
  max-width: 960px;
  margin: calc(0.5 * 16px) auto;
}
.hamburgermenu {
  display: none;
}
/* =========================================
   EVENT-ELEMENTE
   ========================================= */
.event-schedule {
  display: grid;
  grid-template-columns: max-content auto;
  column-gap: 2rem;
  row-gap: 0.5rem;
  margin: 2rem 0;
}
.event-schedule--label {
  grid-column: 1;
}
.event-schedule--value {
  grid-column: 2;
  font-weight: 400;
}
.event-info-block {
  grid-area: infoblock;
}
.event-info-block.linklist {
  margin-bottom: 0;
}
.event-info-block.linklist li {
  padding-top: 0.75rem;
  border-bottom: none;
}
/*=========================================
   KONTAKTPERSONEN
   =========================================*/
.event-contactperson {
  margin: 3rem 0 0;
  padding: 2rem 0;
  border-top: 1px solid #073055;
  border-bottom: 1px solid #073055;
}
.event-contactperson > h3 {
  padding-left: 1rem;
}
.card {
  padding: 0.8rem 1rem 1rem 1rem;
  text-align: center;
  border: 2px solid white;
  border-radius: 0.5rem;
  transition: all 0.1s ease;
}
.card figcaption {
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
}
.card img {
  width: 100%;
  border-radius: 50%;
  transition: all 0.1s ease;
  border: 3px solid #073055;
}
.card:hover {
  border-color: #073055;
  box-shadow: 3px 4px 4px 1px #00000050;
}
.card:hover img {
  border-radius: 4px;
  border-color: white;
}
form {
  margin-bottom: 6rem;
}
form .form-field {
  border: none;
}
form label {
  display: block;
}
form input[type="file"] {
  font-size: 1rem;
}
form div.help {
  font-size: 0.7rem;
  margin-top: 16px;
}
form input.button {
  background: none;
  border: 2px solid #073055;
  border-radius: 0.5rem;
  padding: 0.5rem 2rem;
  font-size: 1.2rem;
}
form input.button:hover {
  background-color: #073055;
  color: white;
  cursor: pointer;
}
.alert,
.success {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border: 2px solid #073055;
  border-radius: calc(16px / 2);
  padding: calc(16px / 2) calc(16px * 2);
}
.alert p,
.success p {
  padding: 0;
  margin: 0;
}
.alert {
  border-color: red;
}
.success {
  border-color: greenyellow;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
#mainmenu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  padding-right: 16px;
  max-width: 540px;
}
#mainmenu .closebtn,
#mainmenu .hamburgermenu {
  display: none;
}
#mainmenu a {
  flex-grow: 1;
  padding: calc(0.5 * 16px) calc(0.5 * 16px);
  display: block;
  text-align: center;
}
.heromenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}
.heromenu a {
  flex-grow: 1;
  text-align: center;
  align-content: center;
  background: none;
  border: 2px solid #073055;
  border-radius: 0.5rem;
  padding: 0.5rem 2rem;
  font-size: 1.8rem;
}
.heromenu a:hover {
  background-color: #073055;
  color: white;
  cursor: pointer;
}
.heromenu.small a {
  flex-grow: 0;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
}
.heromenu.small a:hover {
  background-color: #073055;
  color: white;
  cursor: pointer;
}
/* Linklist, zum Beispiel Übersicht Jahre und Überischt Ereignisse */
.linklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  column-gap: 1rem;
  margin-bottom: 3rem;
}
.linklist li {
  border-bottom: 1px solid #073055;
  padding: 1.5rem 0 0.75rem 0rem;
  font-size: 1rem;
  display: block;
  hyphens: auto;
}
.linklist li:hover {
  background-color: #ddebf1;
  padding-left: 1rem;
  transition: all 0.2s ease-in-out;
}
.linklist li:hover a {
  text-decoration: none;
}
.year .linklist,
.event .linklist {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.back a {
  padding-bottom: 1rem;
}
.menus--prev-next {
  display: flex;
  justify-content: space-between;
  border-bottom: #073055 1px solid;
}
.menus--prev-next a {
  background: none;
  padding: 0.5rem 2rem;
  font-size: 0.85rem;
}
.menus--prev-next a:hover {
  background-color: #ddebf1;
  color: #073055;
  cursor: pointer;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.lightbox .lightbox-image {
  max-width: 90%;
  max-height: 90%;
}
.lightbox .lightbox-close,
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  position: absolute;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 0.5rem;
}
.lightbox .lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox .lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}
.lightbox .lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.updates .event {
  --accent-color: #073055;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: min-content min-content min-content 1fr min-content;
  gap: 0.5rem;
  grid-template-areas: "label  image" "title  image" "date   image" "teaser image" "links  image";
  margin-bottom: 8rem;
}
.updates .event.left {
  grid-template-columns: 1fr 2fr;
  grid-template-areas: "image  label" "image  title" "image  date" "image  teaser" "image  links";
  column-gap: 1rem;
}
.updates .event.right {
  grid-template-columns: 2fr 1fr;
}
.updates .event_label {
  grid-area: label;
}
.updates .event_date {
  grid-area: date;
}
.updates .event_title {
  grid-area: title;
}
.updates .event_teaser {
  grid-area: teaser;
}
.updates .event_links {
  grid-area: links;
}
.updates .event_image {
  grid-area: image;
}
.updates .event.left .event_label {
  justify-self: start;
}
.updates .event.right .event_label {
  justify-self: start;
}
.updates .event_date {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.updates .event_title h1 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
.updates .event_teaser {
  margin-top: 1rem;
}
.updates .event--links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.updates .event--links a {
  border-bottom: 1px solid #073055;
  padding: 0.5rem 1rem 0.5rem 0.25rem;
  font-size: 1rem;
  display: block;
  hyphens: auto;
  text-decoration: none;
}
.updates .event--links a:hover {
  background-color: #ddebf1;
}
.updates .event img {
  width: 100%;
  height: auto;
}
.updates .event_label {
  justify-self: start;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--accent-color) 18%, white);
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.updates .is-highlight .event_title {
  background-color: var(--accent-color);
  color: var(--accent-text-color, #fff);
  justify-self: start;
  border-radius: 0.3em;
}
.updates .is-highlight .event_title h1 {
  display: inline-block;
  text-transform: uppercase;
  padding: 0.2em 0.4em;
  letter-spacing: 0.05em;
}
/* Andere Grids je nach Bildschirmgrösse */
@media screen and (max-width: 992px) {
  .updates .event.left,
  .updates .event.right {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "label" "title" "date" "teaser" "links";
  }
  .event-highlight {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .event-date-range {
    margin-bottom: 2rem;
  }
}
#home {
  justify-content: center;
  align-items: center;
  padding-top: -10vh;
}
#home article {
  border: none;
  background-color: transparent;
}
#home h1 {
  font-size: 4rem;
  text-align: center;
  color: white;
}
#home .heromenu a {
  border-color: white;
  background-color: transparent;
  display: block;
  color: white;
}
#home .heromenu a:hover {
  background-color: white;
  color: #073055;
}
#contact .grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
#contact ul,
#contact ol {
  padding: 0;
  margin-bottom: 4rem;
}
#contact li {
  list-style: none;
}
#contact .card {
  padding: 0.2rem 0.2rem 0.6rem 0.2rem;
  text-align: center;
  border: 2px solid #073055;
  border-radius: 1rem;
}
#contact .card .l-portrait img {
  border-radius: 14px 14px 0 0;
}
.eventpage_header .page-navigation {
  margin-bottom: 6rem;
}
.event .title {
  display: inline-block;
}
.event[style*="--accent-color"] .title {
  background: var(--accent-color);
  color: var(--accent-text-color, #fff);
  padding: 0.2em 0.4em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.3rem;
}
.gallery {
  padding: 1rem 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  grid-auto-flow: dense;
}
.gallery figure {
  position: relative;
  margin: 0;
  /* figure hat sonst einen browsereigenen Abstand! */
}
.gallery figure.portrait {
  grid-row-end: span 2;
}
.gallery img {
  display: block;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}
main.leiterin .flex,
main.gruppe .flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: white;
}
main.leiterin .l-portrait,
main.gruppe .l-portrait {
  flex: 1 0 200px;
  background-color: white;
  align-self: start;
  text-align: center;
  margin-bottom: 64px;
}
main.leiterin .l-portrait span.border,
main.gruppe .l-portrait span.border {
  padding: 16px;
  border: 3px solid #073055;
  border-radius: 16px;
  margin: 0 auto;
  display: inline-block;
}
main.leiterin .l-portrait img,
main.gruppe .l-portrait img {
  border-radius: 0.5rem;
}
main.leiterin .infos,
main.gruppe .infos {
  flex: 2 1 0;
  margin-left: 3rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-rows: repeat(7, min-content);
  grid-gap: 1rem;
  align-items: baseline;
}
main.leiterin .infos .label,
main.gruppe .infos .label {
  grid-column: 1;
  text-align: right;
}
main.leiterin .infos .value,
main.gruppe .infos .value {
  grid-column: 2;
}
/* Andere Grids je nach Bildschirmgrösse */
@media screen and (max-width: 992px) {
  main.leiterin .flex,
  main.gruppe .flex {
    flex-direction: column;
  }
  main.leiterin .infos,
  main.gruppe .infos {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(14, min-content);
    grid-gap: 0;
    margin: 0;
    align-items: baseline;
  }
  main.leiterin .infos .label,
  main.gruppe .infos .label {
    grid-column: 1;
    text-align: left;
    margin-top: 1rem;
    font-size: 0.75rem;
  }
  main.leiterin .infos .value,
  main.gruppe .infos .value {
    grid-column: 1;
  }
}
main#social-media article.div {
  display: flex;
}
.social-media-entries {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.social-media-entries a {
  display: block;
  text-decoration: none;
}
.social-media-entries a .social-media-entry {
  display: flex;
  flex: 1;
  align-items: flex-end;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #073055;
  margin: 16px auto;
}
.social-media-entries a .social-media-entry img {
  max-width: 160px;
  height: auto;
  margin-bottom: calc(16px / 2);
  border-radius: 4px;
}
@media screen and (max-width: 992px) {
  .social-media-entries a .social-media-entry img {
    max-width: 80px;
  }
}
.social-media-entries a .social-media-entry h2 {
  color: #073055;
  font-size: 3rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
}
@media screen and (max-width: 992px) {
  .social-media-entries a .social-media-entry h2 {
    font-size: 1.5rem;
  }
}
.social-media-entries a .social-media-entry p {
  color: #000000;
  font-size: 1rem;
}
main#upload .linkWithImage {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
}
main#upload .linkWithImage img {
  height: auto;
  width: 180px;
}
.jahresprogramm_liste {
  margin-bottom: 6rem;
}
.jahresprogramm_event {
  display: grid;
  grid-template-columns: 1fr max-content max-content;
  grid-template-rows: repeat(4, min-content);
  column-gap: 1rem;
  grid-template-areas: "title highlight date" "teaser teaser teaser" "schedule schedule schedule" "infoblock infoblock infoblock";
  border-bottom: 1px solid #095293;
  align-items: center;
  margin-top: 5rem;
}
.event-title {
  grid-area: title;
  font-size: 2rem;
  font-weight: bold;
}
.jahresprogramm_event.is-highlight h2 {
  background-color: var(--accent-color);
  color: var(--accent-text-color, #fff);
  justify-self: start;
  border-radius: 0.3rem;
  display: inline-block;
  text-transform: uppercase;
  padding: 0.2em 0.4em;
  letter-spacing: 0.05em;
}
.event-date-range {
  grid-area: date;
}
.event-teaser {
  grid-area: teaser;
}
.event-schedule {
  grid-area: schedule;
}
.event-info-block {
  grid-area: infoblock;
}
/* =========================================
   DRUCK-ANSICHT (Print CSS)
   Hier definieren wir das PDF-Layout
   ========================================= */
@media print {
  header,
  footer,
  .staticBG,
  .print-button-container,
  .nav,
  .event-info-block {
    display: none !important;
  }
  body,
  html,
  main,
  article {
    background: white !important;
    color: black !important;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none !important;
  }
  article {
    padding: 0.5cm 1cm 1cm 1.8cm !important;
  }
  .jahresprogramm_liste {
    padding: 0 !important;
    margin: 0 !important;
  }
  .jahresprogramm_event {
    border-bottom: 1px solid #484848;
    margin-bottom: 0.6cm !important;
    page-break-inside: avoid;
    margin-top: 0 !important;
    background-color: white !important;
    color: black !important;
  }
  .jahresprogramm_event a {
    color: black !important;
    text-decoration: underline;
  }
  .jahresprogramm_event h2 {
    color: black !important;
  }
  .jahresprogramm_event .event-schedule-label {
    color: #444 !important;
  }
  .jahresprogramme h1.title {
    text-align: center;
    font-size: 16pt;
    margin-bottom: 1cm;
    color: black !important;
  }
  .jahresprogramme h1.title:before {
    content: "Blauring Therwil";
    font-size: 14pt;
    font-weight: normal;
    display: block;
    margin-bottom: 0.5rem;
  }
  .event-title {
    font-size: 12pt;
  }
  .event-highlight {
    font-size: 12pt;
    font-weight: bold;
  }
  .event-date-range {
    font-size: 12pt;
    font-weight: normal;
  }
  .event-teaser {
    font-size: 10pt;
    margin-bottom: 0 !important;
  }
  .event-schedule {
    font-size: 9pt;
    margin: 0 0 6pt 0 !important;
  }
}
/* Andere Grids je nach Bildschirmgrösse */
@media screen and (max-width: 992px) {
  .jahresprogramm_event {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "highlight" "date" "teaser" "schedule" "infoblock";
  }
  .event-highlight {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .event-date-range {
    margin-bottom: 2rem;
  }
}
/* Andere Grids je nach Bildschirmgrösse */
/* hier als Kopiervorlage */
