html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Primary';
  src: url(../font/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --primarycolor: #912e57;
  --secondarycolor: #0E444F;
  --linkcolor: #4A8793;
  --linkhover: #912e57;
  --bg1color: #bec5c6;
  --fontfamily: 'Primary', Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--fontfamily);
}

header {
  background: url(../img/header_schoenkreativdesigns.jpg);
  background-size: cover;
  width: 100%;
  height: 30vh;
  position: relative;
  display: grid;
  align-content: center;
  justify-content: center;
}

.logo {
  display: grid;
  background: url('../img/logo_schoenkreativdesigns.svg') no-repeat;
  width: 10.625em; /* 170px -> 10.625em */
  height: 10.625em; /* 170px -> 10.625em */
}

h1 {
  text-align: center;
  color: var(--primarycolor);
  font-weight: 400;
  font-size: 1.75rem; /* 1.75rem bleibt unverändert */
}

h2 {
  text-align: center;
  color: var(--primarycolor);
  font-size: 1.675rem; /* 1.675rem bleibt unverändert */
  margin-bottom: 1em;
  line-height: 120%;
}

h3 {
  font-size: 1.3125em; /* 21px -> 1.3125em */
  margin: 1.25em 0 0.4375em 0; /* 20px -> 1.25em, 7px -> 0.4375em */
  line-height: 130%;
}

h4 {
  font-size: 1.0625em; /* 17px -> 1.0625em */
  margin: 1.0625em 0 0 0; /* 17px -> 1.0625em */
}

h6 {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem; /* 0.9rem bleibt unverändert */
  letter-spacing: 0.02rem;
}

p {
  line-height: 140%;
  font-size: 0.9375em; /* 15px -> 0.9375em */
  margin-bottom: 0.625em; /* 10px -> 0.625em */
}

p a {
  text-decoration: none;
  color: var(--linkcolor);
}

p a:hover {
  border-bottom: 0.125em solid var(--linkcolor); /* 2px -> 0.125em */
}

small {
  margin: 0.9375em 0; /* 15px -> 0.9375em */
  display: inline-block;
}

section {
  margin: 2.5em 0; /* 40px -> 2.5em */
}

footer {
  margin: 1.25em 0; /* 20px -> 1.25em */
  padding: 0 1.5625em; /* 25px -> 1.5625em */
}

.inner {
  max-width: 90%;
  margin: 0 auto;
}

.button {
  margin: 2.5em 0; /* 40px -> 2.5em */
}

.button a {
  background: var(--linkcolor);
  text-decoration: none;
  padding: 0.75em 0.9375em; /* 12px -> 0.75em, 15px -> 0.9375em */
  border-radius: 1.875em; /* 30px -> 1.875em */
  color: #fff;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02rem;
  text-align: center;
}

.button a:hover {
  background: var(--linkhover);
}

.intro {
  text-align: center;
}

.intro_buttons .button a {
  display: block;
  width: 100%;
}

.freebie {
  background: url(../img/content_schoenkreativdesigns.jpg);
  padding: 2.5em; /* 40px -> 2.5em */
  background-size: cover;
}

.freebie article {
  margin: 1.25em 0; /* 20px -> 1.25em */
}

.freebie .freebie_img {
  margin-bottom: 1.25em; /* 20px -> 1.25em */
}

.about article {
  margin: 1.25em 0; /* 20px -> 1.25em */
}

.about article .item {
  margin: 1.25em 0; /* 20px -> 1.25em */
}

.about_img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin-bottom: 10px;
}

.cta {
  background: url(../img/content_schoenkreativdesigns.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 2em;
}

.auftrag {
  text-align: center;
  margin: 0 auto;
}

.datenschutz h2 {
  text-align: left;
  margin-top: 2.5em; /* 40px -> 2.5em */
}

/* Media Queries */
@media screen and (min-width: 37.5em) { /* 600px -> 37.5em */
  .intro_buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1em;
  }

  .freebie article {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1em;
  }
}

@media screen and (min-width: 50em) { /* 800px -> 50em */
  header {
      height: 25vh;
  }

  .intro_buttons {
      max-width: 80%;
      margin: 0 auto;
  }

  .intro .inner {
      max-width: 80%;
  }

  .freebie .inner {
      max-width: 70%;
  }

  .about article:first-of-type {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2em;
      text-align: left;
      align-items: start;
  }

  .item1 {
      order: 2;
  }

  .item2 {
      order: 1;
  }

  .about article:last-of-type {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 2em;
      text-align: left;
      align-items: start;
      margin: 3.125em 0; /* 50px -> 3.125em */
  }

  .about article:last-of-type h3 {
      margin-top: 0;
  }

  .auftrag {
      max-width: 70%;
  }
}

@media screen and (min-width: 80em) { /* 1280px -> 80em */
  .intro .inner {
      max-width: 60%;
  }

  .auftrag {
      max-width: 60%;
  }

  .about article:last-of-type .about_img {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1em;
  }
}

@media screen and (min-width: 90em) { /* 1440px -> 90em */
  .inner {
      max-width: 1280px;
  }
}
