/* === Basis Styles === */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #000;
  line-height: 1.6;
}

header {
  width: 100%;
  padding: 20px 0;
  box-sizing: border-box;
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.header1 {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.header1 img {
  max-width: 100%;
  height: auto;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

h1 { font-size: 35px; font-weight: bold; color: #000; }
h2 { font-size: 26px; font-weight: 600; color: #000; }
h3 { font-size: 26px; font-weight: bold; }
h4 { font-size: 22px; font-weight: bold; color: #ff6655; }

p, .s16 { font-size: 16px; }
.s22 { font-size: 22px; }
.s26 { font-size: 26px; }
.s35 { font-size: 35px; }

blockquote {
  font-style: italic;
  font-size: 35px;
  background-color: #f9f9f9;
  padding: 20px;
  margin: 20px 0;
}

ul { list-style-type: disc; padding-left: 20px; }

.highlight { font-weight: bold; }

footer {
  background-color: #f9f9f9;
  padding: 20px 0;
  width: 100%;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  color: #333;
}


.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 20px 0;
}

.maxfitness-button {
  display: block;
  background-color: #ff6b55;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.maxfitness-button:hover { background-color: #ff5544; }
.maxfitness-button:active { background-color: #e65b44; transform: translateY(1px); }

.container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
}

.text { flex: 1; line-height: 1.5; }
.image { flex: 1; }
.image img { max-width: 100%; height: auto; border-radius: 5px; }

.testimonial {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 20px auto;
}

.testimonial img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text blockquote { font-size: 18px; font-style: italic; margin: 0 0 10px; }
.testimonial-text span { font-weight: bold; font-size: 14px; }

.image-offer {
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  border-radius: 30px;
  overflow: hidden;
  display: inline-block;
  margin: 20px 0;
}

.image-offer img { width: 100%; height: auto; display: block; }

.image-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.image-review img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

img.responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; }

  .background-grey {
  background-color: #f9f9f9;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: top;
}


/* === Responsive Styles === */

/* Tablets */
@media (max-width: 1024px) {
  .header1 { width: 95%; }
  .container { flex-direction: column; }
  .testimonial { flex-direction: column; text-align: center; }
  .testimonial img { width: 180px; height: 180px; margin: 0 auto; }
  h1 { font-size: 30px; }
  h2, h3 { font-size: 22px; }
  .s22 { font-size: 20px; }
  .s35 { font-size: 28px; }
}

/* Smartphones */
@media (max-width: 768px) {
  .header1 h1 { font-size: 26px; }
  .header1 h2 { font-size: 20px; }
  .s22 { font-size: 18px; }
  .container, .testimonial { flex-direction: column; align-items: center; }
  .testimonial img { width: 150px; height: 150px; }
  .maxfitness-button { font-size: 18px; padding: 10px 20px; }
  .image-wrapper { flex-direction: column; gap: 15px; }
  main { padding: 15px; }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
  h1 { font-size: 22px; }
  h2, h3 { font-size: 18px; }
  .s22 { font-size: 16px; }
  .s35 { font-size: 24px; }
  .maxfitness-button { font-size: 16px; padding: 8px 16px; }
  .header1 img { max-width: 100%; height: auto; }
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  color: #333;
}
