/* --------------------- */
/*       resets          */
/* --------------------- */

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

* {
  margin: 0;
}

body {
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img, picture, video, canvas, svg {
  display: block;
  max-inline-size: 100%;
}

input, button, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}

main p, main h1, main h2, main h3, main h4 {
  width: 100%;
}

#root, #__next {
  isolation: isolate;
}


/* --------------------- */
/*       resets          */
/* --------------------- */

:root {
  --ratio: 1.4;
  --s-6: calc(var(--s-5) / var(--ratio));
  --s-5: calc(var(--s-4) / var(--ratio));
  --s-4: calc(var(--s-3) / var(--ratio));
  --s-3: calc(var(--s-2) / var(--ratio));
  --s-2: calc(var(--s-1) / var(--ratio));
  --s-1: calc(var(--s0) / var(--ratio));
  --s0: 1rem;
  --s1: calc(var(--s0) * var(--ratio));
  --s2: calc(var(--s1) * var(--ratio));
  --s3: calc(var(--s2) * var(--ratio));
  --s4: calc(var(--s3) * var(--ratio));
  --s5: calc(var(--s4) * var(--ratio));
  --s6: calc(var(--s5) * var(--ratio));

  --measure: 70rem;
  --max-width-main: 70rem;
  --header-height: 110px;
  --header-height-mobile: 88px;

  --margin-sides-big: var(--s4);
  --margin-sides-small: var(--s3);
  
  --small-screen-font_ratio: 0.8;
  --grid-min-width: 12rem;
  --grid-min-width-small: 9rem;

  --layout-fluid-min: 37ch;
  --layout-default-repeat: 3;
  --layout-default-gap: 4rem;
  --layout-default-gap-small: 3rem;

  --thumb-max-width: 13rem;
  --copy-font-size: 1.25rem;
  --copy-font-size-small: 1rem;

  --tla-black: #0F1B21;
  --tla-gold: #C9A850;
  --tla-gold-dark: #A57E33;
  --tla-gradient: linear-gradient(70deg, #E9C964, #A57E33, #F6E2A0);
  --white-gradient: linear-gradient(0deg, #e1e4e6, #fff);

  --tla-box-shadow: 0px 2px 25px #00000017;
}


/* --------------------- */
/*        fonts          */
/* --------------------- */

/* roboto-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v32-latin-regular.woff2') format('woff2');
}
/* roboto-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v32-latin-700.woff2') format('woff2');
}

/* roboto-condensed-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2');
}
/* roboto-condensed-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/roboto-condensed-v27-latin-600.woff2') format('woff2');
}




* {
  max-inline-size: var(--measure);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: white;
}

html,
body,
div,
header,
nav,
main,
footer {
  max-inline-size: none;
}

hr {
  max-inline-size: 100%;
  height: 1px;
  background-color: #8c8c8c70;
  border: none;
  margin: 6rem 0 !important;
}

img, video, canvas {
  overflow: clip !important;
}

html {
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}

body {
  background-color: var(--tla-black);
}

header {
  top: 0;
  width: 100% ;
  position: fixed;
  background-color: #101d23;
  z-index: 10;
  background: linear-gradient(0deg, #101d23, var(--tla-black));
  box-shadow: 0 2px 20px #00000080;
}

header > div {
  max-inline-size: var(--measure);
  /* margin: 0 var(--margin-sides-big) 0 var(--margin-sides-big); */
}


/* --------------------- */
/*      typography       */
/* --------------------- */

/* ------ H1 ------ */

h1 {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 4.688rem;
  line-height: 1.1;
  font-weight: 400;
}



/* ------ H2 OLD

h2 {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 3.438rem;
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
  background: -webkit-linear-gradient(70deg, #E9C964, #A57E33, #F6E2A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

* + h2 {
  margin-block-start: var(--s3);
}

h2 + * {
  margin-block-start: var(--s2);
} */

/* ------ H2 ------ */

h2 {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 600;
  color: white;
}

/* ------ H3 ------ */

h3 {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 1.625rem;
  color: white;
  font-weight: 600;
  /*text-transform: uppercase;*/
}

/* ------ H3 ------ */

h4 {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: var(--copy-font-size);
  color: white;
  font-weight: 600;
}

p, main li {
  font-size: var(--copy-font-size);
  line-height: 1.4;
  color: white;
  max-inline-size: 80ch;
}

strong, b {
  font-weight: 700;
}

p.col-overflow-2 {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
  height: 140px;
  column-fill: auto;
}

a {
  color: var(--tla-gold);
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: var(--copy-font-size);
  text-transform: uppercase;
  display: block;
}

a:hover, a:focus {
  color: var(--tla-gold-dark);
}

h3>a {
    color: black;
}

small {
  font-size: 1rem;
  line-height: 1.2;
  display: inline-block;
}

ul, ol {
  padding-inline-start: 0;
  list-style: inside;
}

ul {
  list-style-type: square;
}

ol {
  list-style: decimal;
  padding-inline-start: 1.2rem;
}


/* --------------------- */
/*       elements        */
/* --------------------- */

section {
  width: 100%;
  max-inline-size: none;
  position: relative;
}

section > div {
  padding-left: var(--margin-sides-big);
  padding-right: var(--margin-sides-big);
  margin-left: auto;
  margin-right: auto;
  max-inline-size: var(--measure);
}

section.center {
  text-align: center;
}

section.center > * , section.center > div > * {
  margin-left: auto;
  margin-right: auto;
}

/*main section:nth-child(odd),*/ section.white {
  background-color: white;
}

/*main section:nth-child(odd) * ,*/ section.white * {
  color: var(--tla-black);
}

/*main section:nth-child(odd) a.cta,*/ section.white a.cta, .cta_floating a.cta {
  border: 3px solid var(--tla-black);
}

section.divider {
  background: linear-gradient(180deg, #f4f4f4 0%, #fcfcfc 14%, #ffffff 33%);
}

section.divider:before {
  content: " ";
  position: absolute;
  top: 0;
  left: calc(50% - 25px);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 16px solid #ffffff;
}

.cta_floating a.cta {
  padding: 1rem 3rem;
  font-size: 1.125rem;
}

section.white a.cta:focus, section.white a.cta:hover {
  border: 3px solid white;
}

.cta_floating a.cta:hover {
  border: 3px solid transparent;
}

header > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: var(--margin-sides-big);
  padding-right: var(--margin-sides-big);
  margin-left: auto;
  margin-right: auto;
}

header > div > :first-child {
  flex-grow: 1;
}

header > div > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 300px;
}

#title {
  display: none;
}

/* main, */ nav {
  margin: 30px var(--margin-sides-big) 30px var(--margin-sides-big);
}

footer {
  margin: 0;
}

main {
  margin-top: var(--header-height);
  position: relative;
}

table {
  border-collapse: collapse;
  max-width: 80ch;
}

td {
  padding: var(--s0);
}

tr + tr {
  border-top: 1px solid #000;
}

td + td {
  text-align: right;
  min-width: 10ch;
  vertical-align: top;
}

nav {
  display: flex;
  flex-direction: column;
  margin: auto 0 auto var(--margin-sides-small);
  align-items: flex-end;
}

nav > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto -15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  max-inline-size: var(--measure);
}

nav > ul li a {
  padding: 5px 15px;
  display: block;
  font-size: 1.125rem;
  text-decoration: none;
}

nav > ul li:last-child a {
  padding-inline-end: 0;
}

.lang_select * {
    display: inline-block;
}

.lang_select a.lang_active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lang_select span + a {
  padding-inline-start: 0;
}

.lang_select span {
  margin-inline-start: .25rem;
  margin-inline-end: .25rem;
  color: var(--tla-gold);
  font-weight: bold;
  font-size: 1.25rem;
}

/* nav > ul li + li {
  margin-left: var(--s1);
} */

footer ul {
  list-style: none;
}

.logo {
  padding: var(--s1) 0 var(--s1);
  margin-right: 2rem;
  transition: padding .2s ease-out;
}

.logo img {
  width: 8rem;
  transition: width .2s ease-out;
}

/* .center {
  box-sizing: content-box;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 5rem);
  box-sizing: content-box;
  margin-inline: auto;
  max-inline-size: var(--measure);
  padding-inline-start: var(--margin-sides-big);
  padding-inline-end: var(--margin-sides-big);
} */

.grid {
  display: grid;
  grid-gap: var(--layout-default-gap);
}

.repeating-grid {
  display: grid;
  grid-template-columns: repeat(var(--layout-default-repeat), 1fr);
  gap: var(--layout-default-gap);
}

.repeating-grid + *, .grid + * {
  margin-block-start: var(--s2);
}

@supports (width: min(250px, 100%)) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min-width), 100%), 1fr));
  }
}

.grid > div {
  width: 100%;
  block-size: 100%;
  height: auto;
  position: relative;
}

.grid.boxes > div {
  padding: var(--s2);
  box-shadow: var(--tla-box-shadow);
}

.grid .stack {
  position: relative;
}

.grid .div img {
  transform: scale(1.01);
  -webkit-transform: scale(1.01);
  transition: transform .3s ease-in-out;
}

.grid > div > img {
  margin: auto;
}

@media (pointer: fine) {
  .grid.linkcards div:hover img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transition: transform .3s ease-in-out;
  }
}

.grid > div a {
  text-decoration: none;
}

.grid.linkcards > div a:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

* + .grid {
  margin-block-start: var(--s2);
}

.thumb {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#who .thumb {
  justify-content: start;
}

.description {
  margin-block-start: var(--s-1);
}

.description * + h3 {
    margin-block-start: var(--s-3);
}

.thumb>img, .thumb>video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.thumb > img {
  max-width: var(--thumb-max-width);
}

.grid.who .thumb {
  aspect-ratio: 3 / 2;
  padding: var(--s2);
  background-color: #0a1115;
}

.grid.who .thumb > img {
  max-height: var(--s2);
}

/* .description h3 + p {
  margin-block-start: 0; 
} */

nav li + li {
  margin-top: 0;
}

a.cta, button, input[type=submit] {
  display: inline-block;
  position: relative;
  border: none;
  top: 0;
  border-radius: 3.125rem;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  margin: auto;
  text-decoration: none;
  background: white;
  text-align: center;
  color: black;
}

input[type=submit] {
  background-color: var(--tla-black);
  color: white;
  border: 2px solid #fff;
}

a.cta:hover,
a.cta:focus {
  background: var(--tla-gradient);
}

.cta_floating {
  position: fixed;
  bottom: var(--s2);
  right: var(--s2);
  z-index: 10;
}

button, input[type=submit] {
  display: block;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
}

/* "Hide" checkbox -- moves it off screen*/
#menu-btn {
  position: absolute;
  top: -100%;
  left: -100%;
}

/* Hide hamburger for bigger screens */
.menu-icon, .menu-icon {
  visibility: hidden;
}


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

.column_layout > * {
  flex-basis: 40ch; /* half of 360px */
  flex-grow: 1;
}

.column_layout > * {
  padding-right: var(--s3);
}

.column_layout > *:first-child {
  margin-bottom: var(--s1);
}

.la_background_image {
  background-image: url(../img/stars_bg.jpg);
  margin: 0;
  padding: 15vh 2rem;
  max-inline-size: none;
  overflow: auto;
  background-position: center;
  background-size: cover;
  position: relative;
}

.la_background_image h1 {
  text-shadow: 0 0 11px black;
  position: relative;
  z-index: 1;
}

.la_background_image p {
  text-shadow: 0 0 11px black;
  position: relative;
  z-index: 1;
}

.la_background_image:after {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(black, transparent);
  position: absolute;
}

input.text_input, textarea {
  display: block;
  background: transparent;
  border: none;
  font-size: var(--copy-font-size);
  color: white;
  padding: .5rem;
  border-bottom: 1px solid white;
  width: 100%;
}

label {
  display: block;
}

header.scrolled .logo {
  padding: var(--s-1) 0 var(--s-1);
}

header.scrolled .logo img {
  width: 5rem;
}

.gold {
  background: var(--tla-gradient);
}



/* --------------------- */
/*       margins         */
/* --------------------- */

* + ul, * + ol {
  margin-block-start: var(--s2);
}

ul + *, ol + *{
  margin-block-start: var(--s3);
}

main li + li {
  margin-block-start: var(--s-2);
}

* + label {
  margin-block-start: var(--s-2);
}

label + input, label + textarea {
  margin-block-start: var(--s1);
}

* + h2 {
  margin-block-start: var(--s4);
}

* + h3 {
  margin-block-start: var(--s2);
}

.privacy > section * + h3 {
  margin-block-start: var(--s3);
}

.privacy > section h3 + h4 {
  margin-block-start: var(--s2);
}

* + h4 {
  margin-block-start: var(--s2);
}

footer h3 + * {
  margin-block-start: var(--s-2);
}

h4 + p {
  margin-block-start: var(--s-1);
}

footer h4 + * {
  margin-block-start: var(--s-2);
}

p + p {
  margin-block-start: var(--s-1);
}

h3 + p {
  margin-block-start: var(--s-1);
}

section + section {
  padding-block-start: var(--s6);
  padding-block-end: var(--s6);
}

.thumb + * {
  margin-block-start: var(--s1);
}

* + button, * + input[type=submit] {
  margin-block-start: var(--s2);
}

* + a.cta {
  margin-block-start: var(--s3);
}

p + a {
  margin-block-start: var(--s0);
}

.description p + p {
  margin-block-start: var(--s-1);
}

* + form {
  margin-block-start: var(--s1);
}

h1 + * {
  margin-block-start: var(--s0);
}

h2 + * {
  margin-block-start: var(--s2)!important;
}

h3 + * {
  margin-block-start: var(--s-1);
}

.socials a + a {
  margin-inline-start: .7rem;
}

.socials a {
  display: inline-block;
}

.socials img {
  display: inline-block;
  min-width: 3rem;
}

.socials img + img {
  margin-left: var(--s-1);
}

footer .links a {
  font-weight: normal;
  font-family: "Roboto";
  text-transform: none;
  color: white;
  font-size: 1rem;
  display: inline-block;
}

footer .links a + a {
  margin-left: var(--s2);
  padding-block-end: var(--s-3);
}



/* --------------------------- */
/*       retorio graphic       */
/* --------------------------- */


.retorio-grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.first-column,
.second-column {
  display: flex;
  flex-direction: column;
}

.first-column .subgrid-4,
.second-column .subgrid-3 {
  display: grid;
  height: 100%;
}

.first-column .subgrid-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.second-column .subgrid-3 {
  grid-template-rows: 1fr 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.first-column .subgrid-item,
.second-column .subgrid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s2);
  flex-direction: column;
}

.first-column .subgrid-item {
  box-shadow: var(--tla-box-shadow);
}

.second-column .subgrid-item {
  background-color: var(--tla-black);
}

.subgrid-item p {
  text-align: center;
}

.second-column .subgrid-item p {
  color: white;
}

.first-column .subgrid-item p:nth-child(1) {
  color: var(--tla-gold-dark);
  font-weight: 700;
  font-size: calc(var(--s2) * 1.2);
}

.first-column .subgrid-item p:nth-child(2) {
  font-weight: 700;
  font-size: var(--s1);
  margin-block-start: var(--s-3);
  line-height: 1.2;
}

.first-column .subgrid-item p:nth-child(3) {
  font-size: var(--s0);
  margin-block-start: 0;
}

.second-column .subgrid-item p:nth-child(1) {
  color: var(--tla-gold-dark);
  font-weight: 700;
  font-size: var(--s2);
}

.second-column .subgrid-item p:nth-child(2) {
  font-weight: 700;
  font-size: var(--s1);
  margin-block-start: var(--s-3);
  line-height: 1.2;
}

@media (max-width: 50rem) {
  .retorio-grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .first-column .subgrid-4 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  
  .second-column .subgrid-3 {
    grid-template-rows: repeat(3, 1fr);
  }
}





/* ------------------------------------------*/
/*                                           */
/*            mobile menu styles             */
/*                                           */
/* ------------------------------------------*/


@media (max-width: 50rem) {
  html {
    scroll-padding-top: var(--header-height-mobile);
  }

  /*.center {
    align-items: stretch;
    width: calc(100% - 2.5rem);
  }*/

  nav {
    padding: 0;
    margin: 0 min(20px, 30px) min(20px, 30px);
  }

  nav ul {
    margin: auto auto auto 0;
    display: block;
  }

  nav > h3 {
    display: none;
  }

  nav {
    margin-left: var(--margin-sides-small);
    margin-right: var(--margin-sides-small);
  }

  nav > ul li a {
    padding: .75rem 1rem;
  }

  footer {
    padding: 0;
  }

  /*main {
    margin: calc(var(--header-height-mobile) + var(--s0)) var(--margin-sides-small) min(20px, 30px) var(--margin-sides-small);
  }*/

  main {
    margin-block-start: var(--header-height-mobile);
  }

  .center {
    text-align: center;
  }

  header {
    position: fixed;
  }

  header > div {
    margin-left: var(--margin-sides-small);
    margin-right: var(--margin-sides-small);
    padding-left: 0;
    padding-right: 0;
  }

  header > div > :last-child {
    min-inline-size: 100%;
  }

  header > div > :first-child {
    flex-grow: 0;
  }

  #title {
    flex-grow: 1;
    margin: auto;
    display: inline-block;
  }

  .logo {
    display: flex;
    margin: 0;
    padding: var(--s-1) 20px var(--s-1) 0;
    transition: padding .2s ease-out;
  }

  .logo a {
    margin: auto;
  }

  .logo img {
    width: 8rem;
    transition: width .2s ease-out;
  }

  .menu {
    grid-area: nav;
    max-width: unset;
    max-height: 0;
    transition: max-height .2s ease-out, padding .2s ease-out;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
    background-color: var(--tla-black);
    display: flex;
    flex-direction: column;
  }

  .menu-icon {
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 20px 30px;
    position: relative;
    user-select: none;
    visibility: visible;
  }

  .navicon {
    background: #ffffff;
    display: block;
    height: 2px;
    width: 28px;
    position: relative;
  }

  .navicon:before {
    top: 8px;
  }

  .navicon:after {
    top: -8px;
  }

  .navicon:before, .navicon:after {
    background: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    transition: all .2s ease-out;
  }

 .menu-btn:checked ~ .menu {
    max-height: 360px;
    padding: 20px;
  }

  .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
  }

  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }

  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }

  .menu-btn:checked ~ .menu-icon .navicon:before,
  .menu-btn:checked ~ .menu-icon .navicon:after {
    top: 0;
  }

  :root {
    --layout-default-repeat: 2;
  }

  section > div {
    padding-left: var(--margin-sides-small);
    padding-right: var(--margin-sides-small);
  }

}

@supports (width: min(250px, 100%)) {
  @media (max-width: 45rem) {
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min-width-small), 100%), 1fr));
    }

    .grid.vorstandschaft {
      grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
    }

    .grid.sportarten {
      grid-template-columns: repeat(auto-fit, minmax(min(var(--sportarten-icon-size_small), 100%), 1fr));
    }
  }
}



/* margin header small screens */

@media (min-width: 74.6rem) {
  header > div {
    margin: 0 auto;
  }
}



/* ------------------------------------------*/
/*               small screens               */
/* ------------------------------------------*/

@media (max-width: 26rem) {

  :root {
    --layout-default-repeat: 1;
  }

  a.cta {
    padding: 1.25rem 1.5rem;
  }

  .la_background_image h1 {
    font-size: 4rem;
  }

  .grid {
    grid-gap: var(--layout-default-gap-small);
  }

  .cta_floating a.cta {
    padding: .75rem .85rem;
    font-size: var(--copy-font-size);
  }

  section + section {
    padding-block-start: var(--s3);
    padding-block-end: var(--s3);
  }

  .la_background_image h1 {
    font-size: 11vw;
  }

  p, a, input.text_input, textarea, h4, main li {
    font-size: var(--copy-font-size-small);
  }

}