/*universal selectors*/
* {
  box-sizing: border-box;
}

html {
  font-size: 20px;
  scroll-behavior: smooth;
}

*::selection {
  background-color: var(--ossa-pink);
  color: var(--ossa-dunkelgrau);
}

*:focus-visible {
  box-shadow: 0 0 0 0.3rem var(--ossa-rot);
  outline: none;
}

:root {
  --schwarz: black;
  --weiß: white;
  --ossa-dunkelgrau: #2d363a;
  --ossa-grau: #abaeb0;
  --ossa-rot: #800020;
  --ossa-dunkelrot: #580f2b;
  --ossa-pink: #ffbfdc;
  --ossa-blau: #044a80;
  --ossa-dunkelblau: #173457;
  --ossa-gruen: #81761d;
  --ossa-dunkelgruen: #5a5118;
  --ossa-gruen-transparent: rgba(129, 118, 29, 0.75);
  --ossa-blau-transparent: rgba(4, 74, 128, 0.75);
}

body {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  line-height: 150%;
  margin: 0;
  letter-spacing: 2%;
  color: var(--ossa-dunkelgrau);
}

h1 {
  font-size: 5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 4%;
  color: var(--weiß);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h4 {
  color: var(--ossa-rot);
}

h1,
h4,
h5,
h6,
ul,
figure,
h2,
h3,
p,
blockquote {
  margin: 0;
}

p {
  hyphens: auto;
}

a {
  color: var(--ossa-dunkelgrau);
  text-decoration-thickness: 1.5px;
}

li::marker {
  color: var(--ossa-pink);
}

b,
.bold,
strong {
  font-weight: 700;
}

/*universal classes*/

.h1-small {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ossa-dunkelgrau);
}

.h2-big {
  font-size: 4.05rem;
  font-weight: 500;
  line-height: 1;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
  width: 75%;
}

.h2-small {
  font-size: 1.5rem;
}

.h3-small {
  font-size: 1rem;
}

.standard-side-padding {
  padding-left: 10rem;
  padding-right: 10rem;
}

.standard-t-b-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.standard-bottom-padding {
  padding-bottom: 6.25rem;
}

.standard-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.grid-two-columns {
  display: grid;
  /* justify-content: space-between; */
  grid-template-columns: 60% auto;
  gap: 5rem;
}

.text-wrapper {
  width: 60%;
}

.border-radius-top-left {
  border-top-left-radius: 6.25rem;
}

.border-radius-top-right {
  border-top-right-radius: 6.25rem;
}

.border-radius-bottom-right {
  border-bottom-right-radius: 6.25rem;
}

/*Header*/

header {
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: var(--weiß);
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

.logo {
  height: 2.625rem;
}

.fullwitdh-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.fullwitdh-nav ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--ossa-dunkelgrau);
  letter-spacing: 4%;
  transition: all 250ms ease-in-out;
  padding: 0.3rem 0.5rem;
}

.nav-link-red:hover {
  background-color: var(--ossa-dunkelrot);
  color: var(--weiß);
  transition: all 250ms ease-in-out;
}

.nav-link-pink:hover {
  background-color: var(--ossa-pink);
  transition: all 250ms ease-in-out;
}

.nav-link-green:hover {
  background-color: var(--ossa-gruen);
  color: var(--weiß);
  transition: all 250ms ease-in-out;
}

.nav-link-blue:hover {
  background-color: var(--ossa-blau);
  color: var(--weiß);
  transition: all 250ms ease-in-out;
}

.nav-link-darkgreen:hover {
  background-color: var(--ossa-dunkelgruen);
  color: var(--weiß);
  transition: all 250ms ease-in-out;
}

.nav-link-darkblue:hover {
  background-color: var(--ossa-dunkelblau);
  color: var(--weiß);
  transition: all 250ms ease-in-out;
}

.nav-link-grey:hover {
  background-color: var(--ossa-dunkelgrau);
  color: var(--weiß);
  transition: all 250ms ease-in-out;
}

/*responsive Header*/

.responsive-header {
  display: flex;
  padding-top: 1rem;
  padding-bottom: 1rem;
  justify-content: space-between;
}

/*Burger*/

.burger {
  display: flex;
  width: 1.6rem;
  height: 1.4rem;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
}

.burger-line-top,
.burger-line-middle,
.burger-line-bottom {
  /*span als linien burger*/
  display: block;
  height: 0.25rem;
  max-width: 100%;
  background-color: var(--ossa-dunkelgrau);
  border-radius: 3rem;
  transition: transform 0.5s ease-in-out;
}

.burger-line-top.open {
  transform-origin: left;
  transform: rotate(45deg);
  transition: 0.5s ease-in-out;
}

.burger-line-middle.open {
  transform: scaleY(0);
  transition: 0.2s ease-in-out;
}

.burger-line-bottom.open {
  transform-origin: left;
  transform: rotate(-45deg);
  transition: 0.5s ease-in-out;
}

.main,
.footer {
  transition: filter 0.5s ease-in-out;
}

.blurred {
  filter: blur(2.5px);
}

/*resonsive Nav*/

.responsive-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 5;
  width: 75%;
  overflow-x: hidden;
}

.responsive-nav a {
  color: var(--weiß);
}

.responsive-nav svg {
  height: 1.7rem;
}

.responsive-nav .social-wrapper {
  gap: 0.6rem;
}

.responsive-nav .nav-link {
  padding: 0;
}

.responsive-nav.open {
  transform: translateX(0);
  overflow: hidden;
}

.responsive-nav-wrapper {
  background-color: var(--ossa-rot);
  display: flex;
  flex-direction: column;
  padding: 9rem 4rem 4rem 4rem;
  align-items: flex-start;
  height: 100%;
  gap: 3rem;
  list-style: none;
  margin: 0;
  font-size: 1.5rem;
  width: 100%;
  -webkit-text-decoration: none;
  text-decoration: none;
}

/*Einstieg*/
.start-banner {
  display: flex;
  background-color: var(--ossa-dunkelgrau);
}

.start-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.h1-wrapper {
  position: absolute;
  top: 40%;
  width: 75%;
}

/*Breadcrumps*/

.breadcrump-wrapper {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  padding-top: 2rem;
  align-self: flex-end;
  flex-wrap: wrap;
}

/*Buttons*/
.btn-grey {
  background-color: var(--weiß);
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-dunkelgrau);
  transition: all 250ms ease-in-out;
}

.btn-grey:hover {
  color: var(--weiß);
  background-color: var(--ossa-dunkelgrau);
  transition: all 250ms ease-in-out;
}

.btn-grey:active {
  box-shadow: 2px 2px 5px var(--ossa-dunkelgrau);
}

.btn-white {
  text-decoration: none;
  color: var(--weiß);
  padding: 0.5rem 1rem;
  border: 2px solid var(--weiß);
  transition: all 250ms ease-in-out;
}
.btn-white:hover {
  color: var(--ossa-dunkelgrau);
  background-color: var(--weiß);
  transition: all 250ms ease-in-out;
}

.btn-red {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-rot);
  transition: all 250ms ease-in-out;
}
.btn-red:hover {
  color: var(--weiß);
  background-color: var(--ossa-rot);
  transition: all 250ms ease-in-out;
}

.btn-red:active {
  box-shadow: 2px 2px 5px var(--ossa-rot);
}

.btn-darkred {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-dunkelrot);
  transition: all 250ms ease-in-out;
}
.btn-darkred:hover {
  color: var(--weiß);
  background-color: var(--ossa-dunkelrot);
  transition: all 250ms ease-in-out;
}

.btn-darkred:active {
  box-shadow: 2px 2px 5px var(--ossa-dunkelrot);
}

.btn-green {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-gruen);
  transition: all 250ms ease-in-out;
}
.btn-green:hover {
  color: var(--weiß);
  background-color: var(--ossa-gruen);
  transition: all 250ms ease-in-out;
}

.btn-green:active {
  box-shadow: 2px 2px 5px var(--ossa-gruen);
}

.btn-blue {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-blau);
  transition: all 250ms ease-in-out;
}
.btn-blue:hover {
  color: var(--weiß);
  background-color: var(--ossa-blau);
  transition: all 250ms ease-in-out;
}

.btn-blue:active {
  box-shadow: 2px 2px 5px var(--ossa-blau);
}

.btn-darkgreen {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-dunkelgruen);
  transition: all 250ms ease-in-out;
}
.btn-darkgreen:hover {
  color: var(--weiß);
  background-color: var(--ossa-dunkelgruen);
  transition: all 250ms ease-in-out;
}

.btn-darkgreen:active {
  box-shadow: 2px 2px 5px var(--ossa-dunkelgruen);
}

.btn-darkblue {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-dunkelblau);
  transition: all 250ms ease-in-out;
}
.btn-darkblue:hover {
  color: var(--weiß);
  background-color: var(--ossa-dunkelblau);
  transition: all 250ms ease-in-out;
}

.btn-darkblue:active {
  box-shadow: 2px 2px 5px var(--ossa-dunkelblau);
}

.btn-pink {
  text-decoration: none;
  color: var(--ossa-dunkelgrau);
  padding: 0.5rem 1rem;
  border: 2px solid var(--ossa-pink);
  transition: all 250ms ease-in-out;
}
.btn-pink:hover {
  background-color: var(--ossa-pink);
  transition: all 250ms ease-in-out;
}

.btn-pink:active {
  box-shadow: 2px 2px 5px var(--ossa-pink);
}

/*Leistungen in Ossa-Logo-Layout*/
.offer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  color: var(--weiß);
}

.offer-card {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
}

.offer-card h3 {
  font-size: 3.75rem;
}

#premium p,
#branding p {
  color: var(--ossa-pink);
}

.offer-card p {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ossa-grau);
}

.price {
  color: var(--weiß) !important;
}

/*img*/
.fullwitdh-img {
  width: 100%;
  object-fit: cover;
  height: 30rem;
}

.project-gallery-wrapper,
.img-gallery-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.project-gallery-wrapper div,
.img-gallery-wrapper div {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-gallery-wrapper figure,
.img-gallery-wrapper figure {
  overflow: hidden;
}

.project-gallery-wrapper img,
.img-gallery-wrapper img {
  display: block;
  object-fit: cover;
}

.img-square {
  width: 100%;
  height: 30rem;
  object-fit: cover;
}

.img-rectangle-horizontal {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.hidden-linktext {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  color: var(--weiß);
}

/*Startup + RKW Logo*/
.logo-payable {
  width: 10rem;
}

.logo-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/*social media*/

.social-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: var(--weiß);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-wrapper {
  display: flex;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

/*Projekte*/

.project-card {
  position: relative;
  overflow: hidden;
}

.project-descr.show,
.project-card:hover .project-descr {
  opacity: 1;
}

.project-descr {
  width: 100%;
  opacity: 0;
  background: var(--ossa-gruen-transparent);
  position: absolute;
  top: 0;
  padding: 4rem;
  transition: opacity 0.7s ease;
  height: 100%;
  color: var(--weiß);
}

.project-descr p {
  hyphens: none;
  font-size: 1.5rem;
  line-height: 1.2;
}

.info-btn-left {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 1;
}

/*Einzel-Projekte*/
.project-img-banner {
  height: 25rem;
}

.project-img-banner img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
}

.project-text-wrapper {
  display: grid;
  grid-template-columns: auto 60%;
  justify-content: end;
  gap: 6.25rem;
}

.services {
  text-align: right;
  font-weight: 700;
  width: 75%;
  justify-self: end;
}

.services p {
  hyphens: none;
}

/*Team*/

.team-descr {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-name,
.team-pos {
  padding: 0.3rem 0.5rem;
  color: var(--weiß);
  z-index: 1;
  background-color: var(--ossa-blau);
  max-width: fit-content;
  hyphens: none;
}

/*Kunden Startseite*/
.quote {
  height: 12rem;
}

blockquote p {
  hyphens: none;
  font-size: 1.5rem;
  line-height: 1.2;
}

.quote {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.quote.active {
  display: grid;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

#next-btn:hover,
#back-btn:hover,
#pause-btn:hover {
  cursor: pointer;
}

#pause-btn.paused rect:first-of-type {
  stroke: var(--ossa-dunkelgrau);
  fill: var(--ossa-dunkelgrau);
}

#pause-btn.paused rect:nth-of-type(2),
#pause-btn.paused rect:nth-of-type(3) {
  fill: var(--weiß);
}

button {
  appearance: none;
  background: none;
  border: none;
  outline: none;
}

/*Kunden*/

.logo-vertical {
  width: 50%;
}

.logo-horizontal {
  width: 80%;
}

.client-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5rem 3rem;
  align-items: center;
  text-align: center;
}

/*Kontakt-Seite*/

/*KARTE*/

.map-section {
  height: 30rem;
}
iframe {
  height: 100%;
  width: 100%;
}

.leaflet-pane {
  z-index: 3 !important;
}

.leaflet-bottom,
.leaflet-top,
.leaflet-control {
  z-index: 4 !important;
}

/*Footer*/
footer {
  background-color: var(--ossa-dunkelgrau);
  color: var(--weiß);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
}

footer a {
  color: var(--ossa-pink);
}

.social-section h2,
footer h2 {
  font-size: 1rem;
  line-height: 150%;
}

.legal-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 2rem;
}

.legal-wrapper {
  display: flex;
  gap: 1rem;
}

/* background-colors*/
.bg-blue {
  background-color: var(--ossa-blau);
  color: var(--weiß);
}

.bg-green {
  background-color: var(--ossa-gruen);
  color: var(--weiß);
}

.bg-red {
  background-color: var(--ossa-rot);
  color: var(--weiß);
}

.bg-darkred {
  background-color: var(--ossa-dunkelrot);
  color: var(--weiß);
}

.bg-darkgreen {
  background-color: var(--ossa-dunkelgruen);
  color: var(--weiß);
}

.bg-darkgrey {
  background-color: var(--ossa-dunkelgrau);
  color: var(--weiß);
}

.bg-grey {
  background-color: var(--ossa-grau);
  color: var(--ossa-dunkelgrau);
}

.bg-darkblue {
  background-color: var(--ossa-dunkelblau);
  color: var(--weiß);
}

.bg-pink {
  background-color: var(--ossa-pink);
}

/*Farben Breadcrumps*/
.color-red {
  color: var(--ossa-rot);
}

.color-white {
  color: var(--weiß);
}

.color-darkred {
  color: var(--ossa-dunkelrot);
}

.color-green {
  color: var(--ossa-gruen);
}

.color-blue {
  color: var(--ossa-blau);
}

.color-darkgreen {
  color: var(--ossa-dunkelgruen);
}

.color-darkblue {
  color: var(--ossa-dunkelblau);
}

.color-grey {
  color: var(--ossa-grau);
}

.color-pink {
  color: var(--ossa-pink);
}

/*media queries*/

@media screen and (min-width: 2300px) {
  .standard-side-padding {
    padding-left: 25rem;
    padding-right: 25rem;
  }
}

@media screen and (min-width: 2000px) {
  .h2-big {
    width: 65%;
  }
}

@media screen and (max-width: 1600px) {
  html {
    font-size: 17px;
  }
}

@media screen and (max-width: 1400px) {
  html {
    font-size: 16px;
  }
  .standard-side-padding {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 14px;
  }
  .fullwitdh-nav ul {
    gap: 1rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  a {
    text-decoration-thickness: 1px;
  }

  .img-rectangle-horizontal {
    height: 17rem;
  }

  .img-square {
    height: 25rem;
  }
  .services {
    width: 100%;
  }

  a {
    text-decoration-thickness: 0.5px;
  }

  .project-descr {
    padding: 3rem;
  }

  .offer-card p,
  .project-descr p {
    font-size: 1rem;
  }
}

@media screen and (min-width: 950px) {
  .responsive-header {
    display: none;
  }
}

@media screen and (max-width: 950px) {
  .fullwitdh-header {
    display: none;
  }
}

@media screen and (max-width: 880px) {
  #quotes-container .grid-two-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  blockquote p {
    font-size: 1rem;
  }

  .quote {
    height: 20rem;
  }

  #quotes-container .logo-vertical {
    width: 25%;
  }
}

@media screen and (max-width: 850px) {
  .h2-big,
  .text-wrapper,
  .h1-wrapper {
    width: 100%;
  }

  .h2-big {
    font-size: 3rem;
  }

  .offer-card h3 {
    font-size: 2.5rem;
  }

  .grid-two-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .logo-section {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .breadcrump-wrapper {
    align-self: flex-start;
  }

  .client-section {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .project-text-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services {
    text-align: left;
    width: 75%;
    justify-self: start;
  }

  .illustration {
    width: 50%;
  }
}

@media screen and (max-width: 680px) {
  .fullwitdh-img {
    height: 20rem;
  }
}

@media screen and (max-width: 680px) {
  .project-gallery-wrapper,
  .offer-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .offer-card {
    gap: 1rem;
    padding: 3rem;
  }

  #branding {
    order: 1;
  }

  #digital {
    order: 2;
  }

  #analog {
    order: 3;
  }

  #live {
    order: 4;
  }

  h1 {
    font-size: 4rem;
  }

  .h2-big {
    font-size: 2.25rem;
  }

  .img-gallery-wrapper .img-rectangle-horizontal {
    height: 9rem;
  }

  .img-gallery-wrapper .img-square {
    height: 12rem;
  }

  .img-rectangle-horizontal {
    height: 22rem;
  }

  .img-square {
    height: 30rem;
  }
  .project-gallery-wrapper,
  .project-gallery-wrapper div,
  .img-gallery-wrapper,
  .img-gallery-wrapper div {
    gap: 0.7rem;
  }
  .border-radius-top-left {
    border-top-left-radius: 4rem;
  }

  .border-radius-top-right {
    border-top-right-radius: 4rem;
  }

  .border-radius-bottom-right {
    border-bottom-right-radius: 4rem;
  }

  #quotes-container img {
    display: none;
  }

  .quote {
    height: 10rem;
  }
}

@media screen and (max-width: 600px) {
  .standard-side-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .standard-t-b-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 3.5rem;
  }
  .client-section {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .project-img-banner img,
  .project-img-banner {
    height: 18rem;
  }
  .illustration {
    width: 75%;
  }
}

@media screen and (max-width: 400px) {
  .standard-side-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    height: 2.2rem;
  }

  .responsive-nav-wrapper {
    padding: 9rem 2rem 2rem 2rem;
  }
  h1 {
    font-size: 3rem;
  }

  .fullwitdh-img {
    height: 12rem;
  }
}
