/*CSS RESET */

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html,
body {
  height: 100%;
  height: 100%;
  overflow-x: hidden;
  transform: translate3d(0, 0, 0);
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
#root,
#__next {
  isolation: isolate;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: var(--oc-rose);
}

html {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}

/*-----------FONTS----------*/
@font-face {
  font-family: "OCBig";
  src: url("../res/ocbig.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "OCCopy";
  src: url("../res/occopy-bold.woff2") format("woff2");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: "OCCopy";
  src: url("../res/occopy-regular.woff2") format("woff2");
  font-weight: regular;
  font-display: swap;
}

:root {
  /*-----------VARS-----------*/

  /*----Sizes-----*/
  --compactcontainer-max-width: 960px;
  --min-spacearound-regular: 4.2rem;
  --min-spacearound-small: 2.2rem;

  /*----Colors----*/
  /*Primary Colors*/
  --oc-black: #000;
  --oc-dark: #111118;
  --oc-rose: #f3bfd7;
  --oc-green: #6aa68b;
  --oc-lilac: #251d2c;
}

/*-----------TYPO-----------*/

html,
body {
  font-family: "OCCopy", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  color: var(--oc-rose);
}

h1 {
  font-family: "OCBig";
  line-height: 2.5rem;
  font-size: clamp(40px, 7vw, 4rem);
  line-height: clamp(37px, 7vw, 3.9rem);
  color: var(--oc-rose);
  margin: 1.9em 0 1em;
}

h2 {
  font-family: "OCBig";
  color: var(--oc-rose);
  font-size: clamp(30px, 3vw, 2rem);
  line-height: clamp(33px, 4vw, 39px);
}

p {
  font-size: 18px;
  margin: 1rem 0;
}

p:first-of-type {
  margin: 0.5rem 0;
}

.emphasis {
  background-image: linear-gradient(
    to right,
    var(--oc-green) 75%,
    transparent 75%
  );
  background-position: 0 1em;
  background-repeat: repeat-x;
  background-size: 15px 3px;
}

.emphasisGreen {
  background-image: linear-gradient(
    to right,
    var(--oc-rose) 75%,
    transparent 75%
  );
  background-position: 0 1em;
  background-repeat: repeat-x;
  background-size: 10px 3px;
}

#slog {
  animation: fadeIn 1s;
}

#clam {
  animation: fadeIn 2s;
}

#lest {
  list-style-type: none;
  margin-top: 2rem;
}

#lest > li::before {
  content: "";
  background: url(../res/bullet.svg);
  padding-bottom: 12px;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  margin-top: 10px;
  display: inline-block;
  background-repeat: no-repeat;
}

#lest li {
  opacity: 1;
}

#lest li:nth-of-type(1) {
  animation: fadeIn 2000ms;
}
#lest li:nth-of-type(2) {
  animation: fadeIn 2500ms;
}

#lest li:nth-of-type(3) {
  animation: fadeIn 3000ms;
}

#lest li:nth-of-type(4) {
  animation: fadeIn 3500ms;
}
#lest li:nth-of-type(5) {
  animation: fadeIn 4000ms;
}
#lest li:nth-of-type(6) {
  animation: fadeIn 4500ms;
}

#secondry,
.secondry {
  text-align: right;
  margin-top: 2.8rem;
  right: 0;
  display: flex;
  align-content: end;
  justify-content: end;
}

#secondry h2 {
  max-width: 400px;
  animation: fadeIn 5000ms;
  margin-top: 0;
}

#secondry h2::after {
  content: "";
  background: url(/res/pfeil.svg);
  display: block;
  background-repeat: no-repeat;
  height: 5em;
  z-index: 3;
  position: relative;
  right: -10vw;
  margin-bottom: -4em;
}

@media (max-width: 767px) {
  #secondry h2::after {
    right: -220px !important;
  }
}

.is-copy h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 2em 0 0.5em;
}

mark {
  font-weight: 600;
  padding: 0 0.4rem 0 0.6rem;
  background: var(--oc-rose);
  border-radius: 1px;
}
/*-----------BASIC-----------*/

html {
  background: var(--oc-dark);
  overflow-x: hidden;
}

main {
  width: 100%;
  height: auto;
  /*background:#dedede;*/
  padding: var(--min-spacearound-regular);
  padding-top: 1.8vh;
}

@media (max-width: 512px) {
  main {
    padding: var(--min-spacearound-small);
  }
}

main::after {
  content: "";
  width: 40%;
  height: clamp(5px, 24vw, 16em);
  /* background: var(--oc-green); */
  position: absolute;
  right: clamp(-252px, -10vw, -2em);
  top: 10px;
  z-index: -1;
  background-image: url(/res/logo.svg);
  background-repeat: no-repeat;
  opacity: 100%;
  animation: rollIn 1s;
}

.oc-compact {
  max-width: var(--compactcontainer-max-width);
  margin: 0 auto;
}

footer {
  background-color: #251d2c;
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: 0.9fr 2.4fr 0.4fr;
  gap: 0px 0px;
  grid-template-areas:
    "."
    "."
    ".";
  bottom: 0;
  padding: var(--min-spacearound-small);
}

.bikeroadFiller {
  display: flex;
  align-content: flex-end;
  align-items: flex-end;
  width: 100%;
  border-bottom: 2px dashed var(--oc-rose);
  margin-left: -106px;
  pointer-events: none;
}

.coopGallery {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

@media (max-width: 512px) {
  .footerhead .oc-compact {
    flex-direction: column;
    align-items: center;
  }

  .footerhead .oc-compact .bikeroadFiller {
    margin-bottom: 1em;
    margin-left: 0;
    margin-top: 1em;
  }
  .coopGallery {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    row-gap: 1em;
  }
}

.footerfoot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2em;
  font-size: 0.7em;
}

/*--------COMPONENTS-----------*/

.oc-vcard {
  background: var(--oc-lilac);
  border-radius: 30px;
  max-width: 415px;
  max-height: 300px;
  padding: 2em;
  margin: 2em 0;
  animation: fadeIn 5s;
}

.oc-vcard::before {
  content: "";
  background-image: url(../res/speechbubbleborder.svg);
  width: 100%;
  max-width: 429px;
  display: block;
  height: 100%;
  max-height: 355px;
  /* z-index: 5; */
  background-repeat: no-repeat;
  position: absolute;
  margin-left: -30px;
  margin-top: -37px;
  pointer-events: none;
}

.flex-collapse {
  display: flex;
  flex-direction: row;
}

@media (max-width: 748px) {
  .flex-collapse {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .flex-collapse > img {
    margin-top: 0 !important;
    max-width: 145px !important;
    margin-top: -15px !important;
    margin-bottom: -34px !important;
  }
}

/*----------CTA-----------*/
.oc-flexrow {
  display: flex;
  justify-content: end;
  margin-top: 0.7rem;
}

.oc-flexrow:nth-of-type(1) {
  margin-top: 2.1rem;
}

@media (max-width: 438px) {
  .oc-vcard::before {
    background-image: url(../res/speechbubblebordermobile.svg);
    width: 93%;
    margin-left: -60px;
    margin-top: -17px;
  }

  .oc-cta {
    margin-bottom: 10px;
    width: fit-content;
  }
}

@media (max-width: 406px) {
  .oc-flexrow {
    width: 148%;
    margin-left: -25vw;
  }
}

.oc-cta {
  padding: 2ch;
  background: var(--oc-green);
  border-radius: 18px;
  margin-left: 18px;
  color: var(--oc-black);
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 7px !important;
  z-index: 4;
}

.oc-cta span {
  margin-top: 0px;
  display: inline-flex;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  font-size: 12px;
}
.oc-cta span::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 29px;
  background-repeat: no-repeat;
}
.cta-mail span::before {
  background: url(../res/ocicon-mail.svg);
  background-repeat: no-repeat;
}

.cta-phone span::before {
  background: url(../res/ocicon-phone.svg);
  background-repeat: no-repeat;
}

.cta-vcard span::before {
  background: url(../res/ocicon-vcard.svg);
  background-repeat: no-repeat;
}

.cta-vcard {
  background: none;
  color: var(--oc-green);
  border: 3px solid var(--oc-green);
  padding: 0.9ch 3ch 0.3ch !important;
}

.oc-cta:hover,
.oc-cta:focus {
  background: var(--oc-rose);
  transform: scale(1.05);
  transition: all 50ms;
}
.oc-cta-vcard:hover,
.oc-cta-vcard:focus {
  background: var(--oc-rose);
  border-color: var(--oc-rose);
  color: var(--oc-lilac) !important;
}

/*---------ANIMATIONS----------*/

@keyframes rollIn {
  0% {
    opacity: 0;
    right: -2000px;
  }
  100% {
    opacity: 1;
    right: clamp(-252px, -10vw, -2em);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*----------PROTECTORS--------*/

.cptrl::before {
  content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}

.cptel::before {
  content: attr(data-one) " " attr(data-two) " " attr(data-three) " "
    attr(data-four);
}
