/* fonts */

 @import url("https://fonts.googleapis.com/css2?family=Charm&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); 

/* Reset */
:root {
  /* --button-dark: hsl(358, 69%, 76%); */
  --button-dark:   hsl(333, 61%, 71%);	
  /* --button-hover: hsla(359, 62%, 81%, 0.966); */
  --button-hover: hsl(333, 34%, 51%);
  --btn-color: hsl(340, 7%, 30%);
  --leistung-bg: hsl(0, 0%, 100%);
  --about-h3: hsl(359, 51%, 81%);
  --desktop-medium: 960px;
  --desktop-wide: 1300px;
  --btn-color: hsl(308, 14%, 22%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}

p,
li {
  text-wrap: pretty;
}

/* Fading animation */

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.fade {
  animation: fade 1.5s forwards ease;
}

/* Allgemein */

html {
  font-size: clamp(50%, 2vw, 62.5%);
}

body {
  font-family: Poppins, sans-serif;
  font-size: 1.8rem;
  line-height: 1.3;
  color: hsl(0, 0%, 20%);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.light {
  color: hsl(0, 0%, 100%);
}

.fr-2,
.fr-3,
.fr-5,
.fr-6 {
  grid-template-columns: 1fr;
}
.fr-4 {
  grid-template-columns: repeat(2, 1fr);
}

.align-start {
  align-content: baseline;
}
.align-center {
  align-content: center;
  margin-inline: auto;
}
.align-bottom {
  align-content: end;
}

.top-margin {
  margin-top: 6rem;
}

.grid {
  display: grid;
  gap: 4rem;
  padding: 0 clamp(2.4rem, 3vw, 4rem);
}

.grid-element {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 1rem;
  text-align: center;
  justify-items: center;
  align-content: start;
}

.home {
  grid-template-rows: auto;
}

.grid-text {
  display: grid;
  gap: 1rem;
}

.auto-rows {
  grid-template-rows: auto 1fr auto;
}

.w-content,
.w-fullsize {
  display: grid;
  justify-items: center;
  padding: 9rem 0;
}

.w-content {
  width: 100%;
  max-width: var(--desktop-medium);
  padding: 0 0 9rem;
}

.w-fullsize {
  background-color: var(--nav-bg);
  width: 100%;
}

.grid-shadow,
.grid-shadow-mobile {
  box-shadow: 0 0 0 100vmax var(--nav-bg);
  clip-path: inset(0 -100vmax);
}

.z-index {
  z-index: 1;
}

.grid-container {
  display: grid;
  gap: clamp(2.4rem, 3vw, 4rem);
  width: 100%;
  max-width: var(--desktop-wide);
  padding: 0 clamp(2.4rem, 3vw, 4rem);
}

.heading {
  background-color: var(--nav-bg);
  color: var(--accent);
  padding: 2rem;
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  contain: paint;
}

.inner-text {
  display: grid;
  width: 100%;
  max-width: 55rem;
  margin-inline: auto;
  gap: 0.8rem;
}

.inner-text ul {
  padding: 0 0 0 2rem;
}

.inner-text li {
  margin: 0.5rem;
  position: relative;
}

.inner-text li::before {
  position: absolute;
  content: "";
  inset: 0.8rem auto 0 -2rem;
  background-color: var(--button-hover);
  height: 0.8rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.gap-xl {
  gap: 3rem;
  margin-top: 2rem;
}

.gap-xxl {
  gap: 4rem;
}

.gap-zero {
  gap: 0;
}

.marge {
  margin: clamp(4rem, 8vw, 5rem) 0;
}

.marge-bottom {
  margin: 0 0 6rem 0;
}

h1 {
  font-size: 3.5rem;
  font-weight: 600;
}

h2 {
  font-size: 2.2rem;
  font-weight: 500;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}
/* MAIN START */

main {
  display: grid;
  align-content: start;
  justify-items: center;
}

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

button {
  background-color: var(--button-dark);
  transition: background-color 360ms ease;
  border-radius: 1.2rem;
  color: var(--btn-color);
  border: none;
  width: 24rem;
  padding: 1.5rem 3.2rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.button {
  background-color: var(--button-dark);
  transition: background-color 360ms ease, color 360ms ease;
  border-radius: 100vw;
  color: var(--btn-color);
  border: none;
  width: 24rem;
  padding: 1.5rem 3.2rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  margin-inline: auto;
}

.btn-mobile {
  width: auto;
  padding: 1.5rem 2.4rem;
  font-size: 1.5rem;
}

button:hover {
  background-color: white;
}

/*Leistungen*/

.headline-hand {
  font-family: "Charm", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  color:var(--accent-light);
}

.headline-sans {
  font-weight: 300;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 3.5rem);
}

/* description-list - start */

.description-list {
  display: grid;
  width: 100%;
  max-width: 55rem;
  margin-inline: auto;
  gap: 3rem;
}


.description-list dt {
  font-weight: 600;
  border-bottom: 2px solid  hsl(332, 71%, 89%);
  padding: 0 0 0.8rem 0;
  margin: 0 0 0.8rem 0;
}


.description-list dd {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  width: 100%;
}

.description-list dd span:last-of-type {
  min-width: fit-content;
}

/* description-list - end */

/*About*/

.title {
  color: hsl(332, 71%, 89%);
  font-size: 1.6rem;
}

.team-text {
  font-size: 1.6rem;
}

button:hover {
  background-color: white;
}

/*Kontakt*/

.word-gap {
  display: inline-block;
  width: 45rem; 
}

main a {
  cursor: pointer;
  color: var(--accent-light);
  font-size: 2rem;
}

main a:hover {
  cursor: pointer;
  color: white;
}

.icon {
  width: 25px;
}

.button-contact {
  background-color: var(--button-dark);
  transition: background-color 360ms ease, color 360ms ease;
  border-radius: 1.2rem;
  color: var(--btn-color);
  border: none;
  font-size: 1.6rem;
  width: 25rem;
  padding: 1rem 3.6rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin: 3rem 0 0;
  cursor: pointer;
  animation: 2s pulsieren infinite;
}

@keyframes pulsieren {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.kontakt {
  width: 100%;
  max-width: 800px;
}

.rem-footer {
  max-width: 55rem;
}

.adress {
  text-align: center;
  margin-inline: auto;
}


/* MAIN ENDE */

/* --------------- */

/* Footer */

footer {
  display: grid;
  padding: 3rem 2rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  background-color: var(--accent);
}


footer a {
  text-decoration: none;
  color: var(--light);
}

.footer-list {
  margin-inline: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap:1rem;
}

.footer-list .list-item {
  display: inline-block;
  padding: 1rem;
}
.links {
  margin-inline: auto;
}

/* Social-Media Icons */

.footer-list .list-item img {
  width: 44px;
  transition: transform 360ms ease;
}
.footer-list .list-item img:is(:hover, :focus-visible) {
  transform: scale(1.2);
}

/* Desktop Media Queries */

@media (min-width: 1000px) {
  .fr-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .fr-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .fr-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .fr-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .fr-6 {
    grid-template-columns: repeat(6, 1fr);
  }
  .span-4 {
    grid-column: span 4;
  }
  .span-3 {
    grid-column: span 3;
  }
  .span-2 {
    grid-column: span 2;
  }

  .gap-xl {
    gap: 6rem;
    margin: 0;
    align-content: center;
  }

  .gap-xxl {
    gap: 6rem;
    margin: 0;
    align-content: center;
  }
  .gap-zero {
    gap: clamp(2.4rem, 3vw, 4rem);
    padding: 0 clamp(2.4rem, 3vw, 4rem);
  }
  .grid-shadow-mobile {
    box-shadow: none;
  }

  .adress {
    text-align: left;
    margin-inline: unset;
  }
}
