@import url("reset.css");

/* Google Fonts per <link> im Head eingebunden */

/* ************COMMON************ */

.logo {
  display: block;
  line-height: 0;
  font-weight: 700;
  font-size: 2.25rem;
  color: #303a4d;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
  background-color: #fff;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
}

/* Accessibility: Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #303a4d;
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: #fff;
  border-bottom: 1px solid #e1e4eb;
  transition: box-shadow 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.header__logo {
  position: relative;
  z-index: 5;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.menu__item {
  display: inline-block;
}

.menu__link {
  font-weight: 600;
  color: #303a4d;
  transition: color 0.3s;
  padding: 1rem 0.75rem;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.menu__link:hover {
  color: #ff7341;
}

.menu__link.active {
  color: #ff7341;
}

.menu__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff7341;
  transform: scaleX(1);
}

.actions-header__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  color: #fff;
  background: linear-gradient(45deg, #ff7341, #ff5722, #303a4d);
  background-size: 400% 400%;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(255, 115, 65, 0.3);
  animation: pulseGlow 4s ease infinite, bgMove 8s ease infinite;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  margin-left: 1rem;
}

.actions-header__button::before,
.actions-header__button::after {
  content: "Projekte";
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  color: #fff;
  opacity: 0.3;
  transform-origin: center;
  transition: all 0.5s ease;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actions-header__button::before {
  transform: translateZ(-20px);
  filter: blur(4px);
}

.actions-header__button::after {
  transform: translateZ(-40px);
  filter: blur(8px);
}

.actions-header__button:hover {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 20px 30px rgba(255, 115, 65, 0.5);
}

.actions-header__button:hover::before {
  transform: translateZ(-30px) rotateX(10deg);
}

.actions-header__button:hover::after {
  transform: translateZ(-60px) rotateX(20deg);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 20px rgba(255, 115, 65, 0.3);
  }
  50% {
    box-shadow: 0 15px 40px rgba(255, 115, 65, 0.6);
  }
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.icon-menu {
  display: none;
}

@media (max-width: 47.99rem) {
  .icon-menu {
    display: block;
  position: relative;
    width: 1.875rem;
    height: 1.25rem;
    cursor: pointer;
    z-index: 5;
  }
  
  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    transition: all 0.3s ease 0s;
    left: 0;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #303a4d;
  }
  
  .icon-menu::before {
    top: 0;
  }
  
  .icon-menu::after {
    bottom: 0;
  }
  
  .icon-menu span {
    top: calc(50% - 1px);
  }
  
  .menu-open .icon-menu span {
    transform: scale(0);
  }
  
  .menu-open .icon-menu::before {
    transform: rotate(-45deg);
    top: calc(50% - 1px);
  }
  
  .menu-open .icon-menu::after {
    transform: rotate(45deg);
    bottom: calc(50% - 1px);
  }
  
  .menu__body {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    transition: left 0.3s ease;
    overflow: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
  }
  
  .menu__body::before {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: -100%;
    height: 5.5rem;
    background-color: #fff;
  z-index: 2;
    transition: left 0.3s ease;
  }
  
  .menu-open .menu__body,
  .menu-open .menu__body::before {
    left: 0;
  }
  
  .menu__list {
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  
  .menu__item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(48, 58, 77, 0.1);
  }
  
  .menu__link {
    font-size: 1.25rem;
    width: 100%;
    padding: 1rem 0;
    display: block;
  }
  
  .actions-header__button {
    width: 80%;
    text-align: center;
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
    margin-left: 0;
    transform-style: preserve-3d;
    perspective: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .actions-header__button::before,
  .actions-header__button::after {
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actions-header__button:hover {
    transform: rotateY(360deg) scale(1.05);
  }
  
  .actions-header__button:hover::before {
    transform: translateZ(-20px) rotateX(5deg);
  }
  
  .actions-header__button:hover::after {
    transform: translateZ(-40px) rotateX(10deg);
  }
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
  padding-top: 5rem;
}

/* *****************HOME**************** */

.main {
  background: url("../Images/Home/Home-Hero.jpg") center / cover no-repeat;
  min-height: 100vh;
  padding-top: 5rem;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 19.188rem;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #303a4d;
}

.main__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #303a4d;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

.outro_home {
  background: url("../Images/Home/CTA.jpg") center / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../Images/About/About-Hero.jpg") center / cover no-repeat;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
  color: #303a4d;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
  color: #303a4d;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../Images/About/CTA.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../Images/Services/Services-Hero.jpg") center / cover no-repeat;
}

.services {
  background-color: #e1e4eb;
  border: none;
  color: #303a4d;
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
  color: #303a4d;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  width: 280px;
  max-width: 280px;
  height: 280px;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.item-services__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #303a4d;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.item-services__button:hover {
  background-color: #303a4d;
  color: #fff;
}

.outro_services {
  background: url("../Images/Services/CTA.jpg") center / cover no-repeat;
}

/* ****************PROJECTS**************** */

.projects {
  background-color: #fff;
  padding: 2rem 0;
}

.projects__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.projects__title {
  text-align: center;
  margin-bottom: 5rem;
  color: #303a4d;
}

.projects__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.projects__column {
  display: flex;
  flex-direction: column;
}

.projects__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.projects__item:hover {
  transform: translateY(-10px);
}

.item-projects__image {
  margin-bottom: 2rem;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.item-projects__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.item-projects__image:hover img {
  transform: scale(1.05);
}

.item-projects__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303a4d;
}

.item-projects__text {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.item-projects__button {
  align-self: flex-start;
  background-color: transparent;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.item-projects__button:hover {
  background-color: #303a4d;
  color: #fff;
}

.projects__more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.projects__more-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ************TESTIMONIAL**************** */

.testimonials__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.testimonials__caption {
  margin-bottom: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #303a4d;
}

.testimonials__title {
  margin-bottom: 2rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
  color: #303a4d;
}

.testimonials__text {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.testimonials__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.testimonials__item {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px;
  width: 100%;
}

.testimonials__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.item-testimonial__image {
  max-width: 80px;
  margin: 0 auto;
  margin-bottom: 1.5rem;
  height: 80px;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.testimonials__item:hover .item-testimonial__image img {
  transform: scale(1.1);
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #303a4d;
  font-size: 1.25rem;
}

.item-testimonial__caption {
  font-size: 0.938rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.item-testimonial__text {
  font-size: 0.938rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
}

@media (max-width: 768px) {
  .testimonials__container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .testimonials__title {
    font-size: 1.75rem;
  }
  
  .testimonials__text {
    margin-bottom: 2rem;
  }
  
  .testimonials__item {
    padding: 1.5rem;
  }
  
  .item-testimonial__image {
    max-width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .item-testimonial__title {
    font-size: 1.1rem;
  }
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
  color: #303a4d;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* Desktop/Tablet: Abstand zwischen zwei Outro-Buttons nebeneinander */
.outro__button + .outro__button {
  margin-left: 12px;
  margin-top: 12px;
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
  background-color: #fff;
  border-top: none;
}

.footer__container {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
  color: #303a4d;
}

.footer__logo {
  justify-self: center;
  color: #303a4d;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
  color: #303a4d;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 676px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
  color: #303a4d;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Button-Gruppe für Services Print & Werbemittel */
.services-page__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-page__buttons .services-page__button {
  margin: 0; /* inline margins entfernen */
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: url("../Images/Contact/Contact-Hero.jpg") center / cover no-repeat;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
  color: #303a4d;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-decoration: none;
  padding: 10px 0;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.connect-contact__item:hover {
  background-color: rgba(48, 58, 77, 0.05);
  transform: translateY(-2px);
}

.connect-contact__icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-contact__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.connect-contact__content {
  flex-grow: 1;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
  color: #303a4d;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.connect-contact__button {
  margin-left: auto;
}

.connect-contact__button button {
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.connect-contact__button button:hover {
  background-color: #ff7341;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
  color: #303a4d;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* Kontaktformular */
.contact-form {
  margin-top: 60px;
}

.contact-form__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #303a4d;
}

.contact-form__row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__column {
  flex: 1;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__input select {
  width: 100%;
  padding: 15px;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #303a4d;
  transition: border-color 0.3s;
  background-color: #fff;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__input select:focus {
  border-color: #ff7341;
  outline: none;
}

/* Styling für die Dropdown-Listen */
select.contact-form__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23303a4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

select.contact-form__input:hover {
  border-color: #ff7341;
}

select.contact-form__input option {
  padding: 10px;
}

.contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #303a4d;
}

.contact-form__button {
  margin-top: 10px;
  padding: 15px 40px;
  font-size: 18px;
  background-color: #303a4d;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form__button:hover {
  background-color: #ff7341;
}

/* Responsive Anpassungen */
@media (max-width: 62.6875rem) {
  .contact__container {
    flex-direction: column;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .contact__title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .contact__text {
    font-size: 16px;
  }
  
  .connect-contact__label {
  font-size: 18px;
  }
  
  .connect-contact__button button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .contact-form__row {
  flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 530px) {
  .contact__container {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .contact__title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  
  .connect-contact {
    row-gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  
  .connect-contact__item {
    gap: 15px;
    padding: 8px 0;
  }
  
  .connect-contant__type {
    font-size: 16px;
  }
  
  .connect-contact__label {
    font-size: 16px;
  }
  
  .connect-contact__icon {
    min-width: 20px;
    width: 20px;
    height: 20px;
  }
  
  .connect-contact__icon img {
    width: 20px;
    height: 20px;
  }
  
  .contact__text {
    font-size: 15px;
  }
  
  iframe {
    height: 350px;
  }
  
  .contact-form__title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .contact-form__input,
  .contact-form__textarea,
  select.contact-form__input {
    padding: 12px;
    font-size: 15px;
  }
  
  select.contact-form__input {
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 35px;
  }
  
  .contact-form__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .contact__container {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .contact__title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .connect-contact__icon img {
    width: 20px;
    height: 20px;
  }
  
  .connect-contant__type {
    font-size: 14px;
  }
  
  .connect-contact__label {
    font-size: 14px;
  }
  
  .contact__text {
    font-size: 14px;
  }
  
  iframe {
    height: 300px;
  }
  
  .contact-form__input,
  .contact-form__textarea,
  select.contact-form__input {
    padding: 10px;
    font-size: 14px;
  }
  
  select.contact-form__input {
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
  }
  
  .contact-form__label {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

.logo__image {
  max-width: 200px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover .logo__image {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 115, 65, 0.5));
}

/* Anpassung für Footer-Logo */
.footer__logo .logo__image {
  max-width: 150px; /* etwas kleiner im Footer */
}

/* Service Cards Animation */
.services__item {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.services__item:hover {
  transform: translateY(-10px);
}

.services__item::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #ff7341;
  transition: width 0.3s ease;
}

.services__item:hover::after {
  width: 100%;
}

/* Button Hover Animation */
.button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #ff7341;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.button:hover::before {
  width: 300px;
  height: 300px;
}

/* Menu Links Animation */
.menu__link {
  position: relative;
  padding-bottom: 5px;
}

.menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff7341;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.menu__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Images Hover Effect */
.about__image img,
.services-page__img img,
.item-services__image img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.about__image:hover img,
.services-page__img:hover img,
.item-services__image:hover img {
  transform: scale(1.05);
}

/* Testimonial Card Animation */
.testimonials__item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonials__item:hover .item-testimonial__image img {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 115, 65, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 115, 65, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 115, 65, 0);
  }
}

/* Cookie-Banner Slide Animation */
@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Contact Links Animation */
.contact__link {
  transition: transform 0.3s ease;
  position: relative;
}

.contact__link:hover {
  transform: translateY(-3px) rotate(5deg);
}

.contact__link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 115, 65, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.contact__link:hover::before {
  width: 40px;
  height: 40px;
}

/* Scroll Animation für Sektionen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page__about,
.page__services,
.page__projects,
.page__testimonials,
.page__outro {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* JavaScript wird benötigt, um diese Klasse hinzuzufügen */
.animate {
  animation-play-state: running;
}

/* Verhindert Scrollen, wenn das Menü geöffnet ist */
body.menu-open {
  overflow: hidden;
}

/* ****************PROJECTS PAGE**************** */

.main_projects {
  background: url("../Images/Projects/Projects-Hero.jpg") center / cover no-repeat;
}

.projects-page__container {
  padding-top: 160px;
  padding-bottom: 80px;
}

.projects-page__item {
  margin-bottom: 132px;
}

.projects-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.projects-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.projects-page__title {
  margin-bottom: 24px;
  color: #303a4d;
}

.projects-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.projects-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.projects-page__img {
  max-width: 552px;
  height: 614px;
}

.projects-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.projects-page__img:hover img {
  transform: scale(1.03);
  filter: brightness(1.1) contrast(1.1);
}

.projects-page__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  font-weight: 600;
}

.projects-page__button:hover {
  background-color: #ff7341;
}

.outro_projects {
  background: url("../Images/Projects/Projects-CTA.jpg") center / cover no-repeat;
}

@media (max-width: 62.6875rem) {
  /* About: Bild über dem Text, keine Gequetscht-Effekte */
  .about__container {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 2rem;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .about__image {
    order: -1;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
  }
  .about__image img {
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    max-height: 420px !important;
    object-fit: cover !important;
  }
  .about__text {
    max-width: 100%;
  }
  .projects-page__column {
    flex-direction: column;
    justify-content: center;
  align-items: center;
    text-align: center;
    gap: 4rem;
  }
  
  .projects-page__container {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .projects-page__item:not(:last-child) {
    padding-bottom: 80px;
    margin-bottom: 80px;
  }
  
  .projects-page__img {
    max-width: 100%;
    height: auto;
    min-height: 300px;
  }
  
  .projects-page__text {
    max-width: 100%;
  }
  
  /* Anpassung für die Leistungsseite in der mobilen Ansicht */
  .services-page__column {
    flex-direction: column;
  justify-content: center;
  align-items: center;
    text-align: center;
    gap: 4rem;
  }
  
  .services-page__img {
    max-width: 100%;
    height: auto;
    min-height: 400px;
    order: -1; /* Bild immer über dem Text anzeigen */
  }
  
  .services-page__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .services-page__text {
    max-width: 100%;
  }
  
  .services-page__container {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .services-page__item:not(:last-child) {
    padding-bottom: 80px;
    margin-bottom: 80px;
  }
  
  /* Anpassung für die Haupttitel auf Unterseiten */
  .main__container_pages {
    padding-top: 220px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .main__title {
    font-size: 4rem;
  }
}

/* Kleinere Mobil-Breakpoints: lange Seitentitel (z. B. Datenschutzerklärung) lesbar machen */
@media (max-width: 530px) {
  .main_pages .main__title {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    padding: 0 1rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 375px) {
  .main_pages .main__title {
    font-size: 2rem;
  }
}

/* Mobile: Vertikaler Abstand zwischen gestapelten Buttons (zweiter Button) */
@media (max-width: 62.6875rem) {
  .services-page__button + .services-page__button,
  .projects-page__button + .projects-page__button,
  .outro__button + .outro__button {
    margin-left: 0 !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 530px) {
  .projects-page__text {
    font-size: 16px;
    line-height: 1.4;
  }
  
  .projects-page__title {
    font-size: 1.8rem;
  }
  
  .projects-page__item {
    margin-bottom: 60px;
  }
  
  .projects-page__item:not(:last-child) {
    padding-bottom: 60px;
    margin-bottom: 60px;
  }
}

/* Responsive Anpassungen für Beiträge */
@media (max-width: 62.6875rem) {
  .services__row,
  .projects__row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Mobile: Service-Bilder auf volle Breite setzen */
  .item-services__image {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
    min-height: 300px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
    overflow: hidden;
    display: block !important;
    -webkit-transform: translateZ(0); /* Safari GPU-Beschleunigung */
    transform: translateZ(0);
  }
  
  .item-services__image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -webkit-object-fit: cover; /* Safari-Unterstützung */
    object-position: center center;
    -webkit-object-position: center center;
    display: block !important;
  }
  
  .item-projects__image {
    width: 100%;
    max-width: 100%;
    height: 300px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
  }
  
  .item-projects__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    object-position: center center;
    -webkit-object-position: center center;
  }
  
  .item-services__text,
  .item-projects__text {
    max-width: 100%;
  }
}

@media (max-width: 47.99rem) {
  .services__row,
  .projects__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Services Container für kleine Bildschirme */
  .services__container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .item-services,
  .item-projects {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Mobile: Service-Bilder auf volle Breite setzen */
  .item-services__image {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
    min-height: 300px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
    overflow: hidden;
    display: block !important;
    -webkit-transform: translateZ(0); /* Safari GPU-Beschleunigung */
    transform: translateZ(0);
  }
  
  .item-services__image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -webkit-object-fit: cover; /* Safari-Unterstützung */
    object-position: center center;
    -webkit-object-position: center center;
    display: block !important;
  }
  
  .item-projects__image {
    width: 100%;
    max-width: 100%;
    height: 300px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
  }
  
  .item-projects__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    object-position: center center;
    -webkit-object-position: center center;
  }
  
  /* Service-Titel Optimierung für kleinere Bildschirme */
  .item-services__title,
  .item-projects__title {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  .item-services__text,
  .item-projects__text {
    max-width: 100%;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100% !important;
    padding: 0 !important;
  }
}

/* ************HOME: MOBILE SPEZIFISCH************ */
@media (max-width: 47.99rem) {
  .main__subtext {
    font-size: 16px;
    padding: 0 15px;
  }
  .main__buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .main__button--primary,
  .main__button--secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
  }
  .cta {
    padding: 60px 0;
    margin-top: 60px;
  }
  .cta__title {
    font-size: 24px;
    padding: 0 15px;
  }
  .cta__text {
    font-size: 16px;
    padding: 0 15px;
  }
  .cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .cta__button--primary,
  .cta__button--secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
  }
}

.scene {
  display: inline-block;
  transform-style: preserve-3d;
}

/* Cookie Banner Styles */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.cookie-logo {
  text-align: center;
  margin-bottom: 15px;
}

.cookie-logo img {
  max-width: 100px;
  height: auto;
}

.cookie-text {
  margin-bottom: 20px;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cookie-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  min-height: 44px;
  min-width: 44px;
}

#cookie-accept-all {
  background-color: #ff6b00;
  color: white;
}

#cookie-accept-selected {
  background-color: #f0f0f0;
  color: #333;
}

#cookie-decline {
  background-color: #f0f0f0;
  color: #333;
}

.cookie-categories {
  display: none;
  margin-bottom: 20px;
}

.cookie-categories.expanded {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cookie-category-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.cookie-category-description {
  font-size: 14px;
  color: #666;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-toggle-slider {
  background-color: #ff6b00;
}

input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}

.cookie-vendors {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.cookie-vendors.expanded {
  display: block;
}

.cookie-vendors-title {
  margin-bottom: 15px;
}

.cookie-vendor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cookie-vendor-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.cookie-vendor-description {
  font-size: 14px;
  color: #666;
}

.cookie-vendor-privacy a {
  font-size: 12px;
  color: #ff6b00;
  text-decoration: none;
}

.cookie-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-footer-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-settings-button {
  background: none;
  border: none;
  color: #ff6b00;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  padding: 5px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.cookie-settings-button:hover {
  color: #e55a00;
}

.cookie-settings-button.active {
  color: #e55a00;
  font-weight: bold;
}

/* Mobile Optimierungen für Cookie-Banner */
@media (max-width: 768px) {
  .cookie-content {
    padding: 15px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-button {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-category-info {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .cookie-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
  
  .cookie-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-footer-buttons,
  .cookie-footer-links {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-vendor {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-vendor-info {
    margin-bottom: 10px;
    width: 100%;
  }
}

/* ****************PRIVACY POLICY & IMPRINT**************** */
.privacy-policy__container,
.imprint__container {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 4rem 0.938rem 6rem;
}

.privacy-policy__content,
.imprint__content {
  max-width: 50rem;
  margin: 0 auto;
}

.privacy-policy__title,
.imprint__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  color: #303a4d;
}

.privacy-policy__title:first-child,
.imprint__title:first-child {
  margin-top: 0;
}

.privacy-policy__text,
.imprint__text {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #303a4d;
}

.privacy-policy__text p,
.imprint__text p {
  margin-bottom: 1rem;
}

.privacy-policy__text ul,
.imprint__text ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}

.privacy-policy__text li,
.imprint__text li {
  margin-bottom: 0.5rem;
}

.privacy-policy__text h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #303a4d;
}

.privacy-policy__text a,
.imprint__text a {
  color: #303a4d;
  text-decoration: underline;
  transition: color 0.3s;
}

.privacy-policy__text a:hover,
.imprint__text a:hover {
  color: #ff7341;
}

@media (max-width: 47.99rem) {
  .privacy-policy__container,
  .imprint__container {
    padding: 3rem 0.938rem 4rem;
  }
  
  .privacy-policy__title,
  .imprint__title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
  }
  
  .privacy-policy__text,
  .imprint__text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .privacy-policy__text h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 530px) {
  .privacy-policy__container,
  .imprint__container {
    padding: 2rem 0.938rem 3rem;
  }
  
  .privacy-policy__title,
  .imprint__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }
  
  .privacy-policy__text,
  .imprint__text {
    font-size: 0.9rem;
  }
  
  .privacy-policy__text h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

/* Spezifische Regeln für iPhone und große mobile Geräte */
@media only screen and (max-width: 430px) and (-webkit-min-device-pixel-ratio: 2) {
  .services__container,
  .projects__container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .services__row,
  .projects__row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
  }
  
  .item-services,
  .item-projects {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  .item-services__image,
  .item-projects__image {
    width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
    min-height: 280px;
    margin: 0 auto 1.5rem auto !important;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    background-color: #f5f5f5;
  }
  
  .item-services__image img,
  .item-projects__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -webkit-object-fit: cover !important;
    object-position: center center !important;
    -webkit-object-position: center center !important;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px;
    background-color: #f5f5f5;
  }
  
  /* About-Bild korrekt anzeigen auf mobilen Geräten */
  .about__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0 0 2rem 0 !important;
    position: relative !important;
    overflow: hidden;
  }
  
  .about__image img {
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    max-height: 400px !important;
    object-fit: cover !important;
    -webkit-object-fit: cover !important;
    object-position: center center !important;
    -webkit-object-position: center center !important;
    position: relative !important;
    border-radius: 16px;
    display: block;
  }
  
  /* Service-Titel und Text Optimierung */
  .item-services__title,
  .item-projects__title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
    text-align: left !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  
  .item-services__text,
  .item-projects__text {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .item-services__button,
  .item-projects__button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box;
  }
}

/* Extra große iPhones (iPhone 15 Pro Max, etc.) */
@media only screen and (min-width: 414px) and (max-width: 430px) and (-webkit-min-device-pixel-ratio: 3) {
  .item-services__image,
  .item-projects__image {
    height: 320px !important;
    min-height: 320px;
  }
}