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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.container {
  max-width: 900px;
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
  padding-top: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  padding: 40px 40px;
  padding-top: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}


@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100px);
  }
}

.header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.content {
  padding: 0px 40px;
}

.profile-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .profile-section {
    grid-template-columns: 300px 1fr;
  }
}

.logo-image {
  width: 100%;
  max-width: 600px;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  aspect-ratio: 0.7;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.galery-image {
  width: 100%;
  max-width: 100px;
  border-radius: 40px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.description {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.language{
  color: #c2c2c2;
  font-weight:bold;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.description p {
  margin-bottom: 20px;
}

.footer {
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.8;
  color: #888;  
  margin-bottom: 20px;
  margin-top: 40px;
  padding: 0px 20px;
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(221, 42, 123, 0.4);
}

.instagram-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221, 42, 123, 0.6);
}

.instagram-link svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Alternating CTA text crossfade */
.instagram-link { position: relative; }
.instagram-link .cta-rotator {
  position: relative;
  display: inline-block;
}
.instagram-link .cta-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 300ms ease;
  white-space: nowrap;
}
/* Reserve width to avoid layout shift during fades */
.instagram-link .cta-rotator::after {
  content: "Mehr auf Instagram"; /* reserve width; longer of the two variants */
  visibility: hidden;
  display: block;
}
@keyframes ctaFade {
  0% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ctaFadeInverse {
  0% { opacity: 0; }
  45% { opacity: 0; }
  55% { opacity: 1; }
  100% { opacity: 1; }
}
.instagram-link .cta-de {
  animation: ctaFade 6s linear infinite;
}
.instagram-link .cta-it {
  animation: ctaFadeInverse 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .instagram-link .cta-de,
  .instagram-link .cta-it {
    animation: none;
  }
  .instagram-link .cta-de { opacity: 1; }
  .instagram-link .cta-it { opacity: 0; }
}

.stamp {
  height: 50px;
  width: 100%;
  background-image: url('img/asterisk.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  opacity: 0.5;
}


@media (max-width: 767px) {
  .header {
    padding: 30px 30px;
    padding-top: 0;
  }

  .content {
    padding: 20px 30px;
    padding-top: 0;
  }

  .footer {
    padding: 0px 30px;
    margin-top: 0px;
  }

  .profile-image {
    aspect-ratio: 0.9;
  }

.profile-section {
  margin-bottom: 10px;
}

  .instagram-link {
    width: 100%;
    justify-content: center;
  }

  .description {
    font-size: 1rem;
    margin-top: 30px;
  }

  .stamp {
  background-size: 20px 20px;
}
}