@import url("https://use.typekit.net/xkc1zql.css");

@font-face {
  font-family: 'Lato';
  src: url('../font/Lato/Lato-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/Lato/Lato-BoldItalic.ttf');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/Lato/Lato-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/Lato/Lato-Italic.ttf');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/Lato/Lato-Light.ttf');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/Lato/Lato-LightItalic.ttf');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'RougeScript';
  src: url('../font/Script/RougeScript-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}


:root {
  /* Font/text values */
  --primary-font: 'Lato', sans-serif;
  --accent-font: 'source-serif-pro', serif;
  /* Positioning */
  --content-width: 90%;
  --content-max-width: 1160px;
  --header-height: 76px;
  /* Colors: */
  --primary: #448F55;
  --accent: #D37F50;
  --bg: #ffffff;
  --bg-light: #F2F0E4;
  --bg-mid: #A49880;
  --text-primary: #1D1D1D;
  --text-secondary: #1D1D1Daa;
  --shadow: #0000000f;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--primary-font);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

i,
em,
b,
span {
  color: inherit;
}

/* ::selection {
  background-color: var(--accent);
  color: #fff;
} */

html,
body {
  /* overflow-x: hidden; */
}

body {
  background-color: var(--bg);
}

a:not(.logo) {
  text-decoration: underline;
  transition: .2s ease;
  color: var(--primary);
}

a:hover {
  cursor: pointer;
}

a:not(.logo):hover {
  color: var(--accent);
}

h3 {
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 32px;
}

h4 {
  font-family: var(--accent-font);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.handwriting {
  font-family: 'RougeScript', serif;
  margin-left: 5px;
  font-weight: 500;
}

.lighter {
  font-weight: 500;
}

.light {
  font-weight: 300;
}

.button {
  padding: 11px 26px 13px 26px;
  display: inline-block;
  border-radius: 1000px;
  text-decoration: none !important;
  font-size: 1.125rem;
  transition: .2s ease;
}

.button.primary {
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
}

.button.secondary {
  border: 2px solid var(--text-primary)
}

.button.small {
  padding: 6px 24px 8px 24px;
}

.button:hover {
  cursor: pointer;
  color: var(--white) !important;
}

.button.primary:hover {
  background-color: var(--accent);
}

.button.secondary:hover {
  /* background-color: var(--bg-light); */
  border-color: var(--primary);
}

.button:active,
span#submit:active {
  transform: scale(0.95);
}

header {
  width: 100%;
  height: var(--header-height);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  box-shadow: 0px 4px 20px 0px var(--shadow);
  position: fixed;
  z-index: 99;
}

header .inner {
  width: var(--content-width);
  max-width: var(--content-max-width);
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header .inner .logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}

.logo {
  text-decoration: none;
}

header .inner .logo img {
  width: 48px;
}

header .inner .logo .marke {
  font-size: 2.3rem;
  font-weight: 300;
  margin-bottom: 3px;
  margin-left: 4px;
  /* margin-right: 5px; */
}

header .inner .logo .name {
  font-size: 1.35rem;
  font-weight: 500;
}

header .desktop-navigation {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 3vw;
}

header .nav a {
  font-family: var(--accent-font);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  text-decoration: none;
  color: var(--text-primary);
}

header .nav a:hover {
  color: var(--primary);
}


/* --------------- Mobile Nav ------------- */
.mobile_navigation {
  display: none;
}

.mobile_navigation.app-nav {
  margin: 0;
  position: unset;
}

#menuToggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  /* top: calc((var(--header-height) / 2) - 12px); */
  /* right: 5%; */
  padding: 0;
  gap: 6px;
}

#menuToggle input {
  display: flex;
  width: 35px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

#menuToggle span {
  display: flex;
  width: 27px;
  height: 2px;
  position: relative;
  background: var(--text-primary);
  z-index: 1;
  transform-origin: 1px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle.open span {
  opacity: 1;
  height: 3px;
  transform: rotate(45deg) translate(0, 0);
  background: var(--primary);
}

#menuToggle.open span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle.open span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, 0);
}

#menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  position: absolute;
  top: calc(-1* ((var(--header-height) / 2) + -10px));
  width: 100vw;
  height: 100vh;
  padding: 6em 2em 6em 2em;
  background-color: var(--bg-light);
  transform-origin: 0% 0%;
  transform: translate(+15%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu>* {
  margin: .4em;
  font-size: 1.5em;
  color: var(--text-primary);
  text-decoration: none;
}

#menu>*.active {
  color: var(--primary);
  font-weight: 500;
}

#menu .button {
  margin-top: 28px;
  margin-right: 4px;
}

.mobile_navigation.app-nav a.active {
  border-bottom: 0;
}

#menuToggle.open #menu {
  transform: translate(-88.2%, 0);
}

/* End Mobile Nav */


.wrapper {
  padding-top: var(--header-height);
}

.content {
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content.row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6vw;
}

#season_background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.landingpage {
  /* height: 50vh; */
  background: #173a1f;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landingpage .content {
  padding: 15vh 0;
}

.landingpage .content .left {
  max-width: 840px;
}

.landingpage h1 {
  font-size: 3.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 120%;
}

.landingpage h1 .handwriting {
  font-size: 5.8rem;
}

.landingpage .subtext {
  font-size: 1.25rem;
  line-height: 140%;
  color: var(--white);
  max-width: 85%;
  margin-bottom: 48px;
}

.section .content {
  padding: 15vh 0;
}

#uebermich .left {
  min-width: 35%;
}

#uebermich .left img {
  width: 100%;
}

.title {
  font-family: var(--accent-font);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.text p {
  line-height: 150%;
  margin-bottom: 28px;
}

.text ul {
  padding-left: 26px;
  margin-bottom: 32px;
}

.text ul {
  list-style: none;
  /* Remove default bullets */
}

.text ul li {
  margin-bottom: 8px;
}

.text li::before {
  content: "\2022";
  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: var(--primary);
  /* Change the color */
  font-weight: 300;
  /* If you want it to be bold */
  display: inline-block;
  /* Needed to add space between the bullet and the text */
  width: 1rem;
  /* Also needed for space (tweak if needed) */
  margin-left: -1rem;
  /* Also needed for space (tweak if needed) */
}

#uebermich .text .entry {
  margin-bottom: 8px;
}


#uebermich .text .entry.split {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

#uebermich .text .entry .left {
  min-width: 80px;
  /* color: var(--text-secondary); */
}

#uebermich .text .entry p {
  margin-bottom: 0;
}

#uebermich .text .entry ul {
  margin-top: 8px;
}

.laufbahn {
  display: flex;
  flex-direction: column;
  margin: 12px 0px 28px 14px;
}

.laufbahn .eintrag {
  display: flex;
  flex-direction: column;
}

.laufbahn .eintrag .heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 4px;
}

.laufbahn .eintrag .heading span {
  font-family: var(--accent-font);
  font-weight: 600;
}

.laufbahn .eintrag .bullet {
  width: 6px;
  height: 6px;
  margin-left: -2px;
  margin-right: 22px;
  border-radius: 50px;
  background-color: var(--primary);
}

.laufbahn .eintrag .inhalt {
  padding-left: 25px;
  border-left: 1px solid var(--primary);
  padding-bottom: 0vh;
  width: 100%;
}

.laufbahn .eintrag .inhalt p {
  margin-bottom: 16px;
}

.laufbahn .eintrag.last .inhalt p {
  margin-bottom: 0;
}

.laufbahn .eintrag .inhalt ul {
  margin-top: 8px;
  margin-bottom: 0px;
}

.autorin {
  width: 100%;
}

.autorin .inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.autorin .left {
  max-width: 65% !important;
}

.autorin .right {
  width: 30%;
}

.autorin .right img {
  width: 100%;
  height: 96%;
}

.section.accent {
  background-color: var(--bg-light);
}

.section.accent .title {
  color: var(--accent);
}

.cards {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: .7vw;
  margin-top: 3vh;
}

.card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  padding: 24px;
  max-width: calc(50% - 1.3vw);
  margin-bottom: 2%;
  background-color: var(--bg);
  max-height: 220px;
  gap: 32px;
  transition: all .2s ease;
}

.card.full {
  max-width: 100%;
  /* max-height: fit-content; */
}

.card .left {
  min-width: 30%;
  max-width: 30%;
  overflow: hidden;
}

.card .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card.full .left {
  min-width: 48%;
  max-width: 48%;
}

.card .right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card .right .text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  position: relative;
}

.card .right .text:not(.not_expandable):before {
  content: '';
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(transparent, white);
}

.card .right .text p {
  display: inline-block;
  /* max-height: 50px; */
  /* display: -webkit-box; */
  /* -webkit-line-clamp: 3; */
  /* -webkit-box-orient: vertical; */
  /* text-overflow: ellipsis; */
}

.expand_button {
  color: var(--primary);
}

.expand_button:hover {
  cursor: pointer;
}

/* .card.expanded {
  max-height: fit-content !important;
} */

.card.expanded .right .text:before {
  display: none;
}

#leitbild .left {
  width: 50%;
}

#leitbild .right {
  width: 40%;
}

#leitbild .right img {
  width: 100%;
}

.quote {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  border-top: 1px solid #E3EEE8;
  border-bottom: 1px solid #E3EEE8;
  padding: 22px 1px;
  margin-top: 50px;
  margin-bottom: 32px;
  gap: 20px;
}

.quote .sign {
  font-family: var(--accent-font);
  font-size: 3.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  opacity: 0.4;
  margin-top: -10px;
  margin-right: 6px;
}

.quote .block p {
  font-family: var(--accent-font);
  font-size: 1.3rem;
  line-height: 130%;
  font-weight: 600;
  color: var(--primary);
}

.quote .block .author {
  width: 100%;
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  margin-top: 12px;
}

footer {
  width: 100%;
  background-color: var(--primary);
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 2rem 0;
}

footer .inner {
  width: var(--content-width);
  max-width: var(--content-max-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

footer .inner .columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid #FFFFFF22;
}


footer .inner .columns * {
  color: #ffffff;
}

footer .inner .other {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding-top: 30px;
}

footer .inner .other * {
  color: #ffffffaa;
}

footer .inner .column {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

footer .logo img {
  width: 55px;
}

footer .logo .marke {
  font-size: 2.3rem;
  margin-bottom: 2.5px;
}

footer .logo .name {
  font-size: 1.43rem;
}

footer .inner .other .samuel {
  text-align: right;
}

@media only screen and (max-width: 950px) {
  a.anchor {
    display: block;
    position: relative;
    top: calc(var(--header-height) * -0.7);
    visibility: hidden;
  }

  .mobile_navigation {
    display: block;
  }

  .desktop-navigation {
    display: none !important;
  }

  header .inner .logo .name {
    /* display: none; */
  }

  .landingpage h1 {
    font-size: 2.5rem;
  }

  .landingpage h1 .handwriting {
    font-size: 4rem;
  }

  .landingpage .subtext {
    font-size: 1.35rem;
    max-width: 100%;
  }

  .landingpage .content .left {
    max-width: 100%;
  }

  .content.row {
    flex-direction: column;
    gap: 8vh;
  }

  .text p,
  .text ul {
    margin-bottom: 40px;
  }

  #uebermich > .left {
    width: 100%;
    max-width: 100% !important;
  }

  .autorin .inner {
    flex-direction: column;
  }

  .autorin .left, .autorin .right {
    width: 100%;
    min-width: 100% !important;
  }

  .cards {
    flex-direction: column;
  }

  .card {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    max-height: 70vh;
  }

  .card .right {
    min-height: 0;
  }

  .card .left {
    max-width: 100%;
    overflow: visible;
  }

  .card.full {
    order: 20;
  }

  #leitbild .left {
    width: 100%;
  }

  #leitbild .right {
    width: 100%;
    max-height: 50vh;
    overflow: hidden;
  }

  footer .inner .columns {
    flex-direction: column;
    gap: 24px;
  }

  footer .inner .column {
    width: 100%;
  }
}