/* Headlines */
.widget-headline-h1 { 
  color: var(--color-text-primary);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Akzent-Gradient: statisch im Ruhezustand, animiert auf Hover */
.text-de-gradient {
  background: linear-gradient(90deg, #39b54a, #89d84c, #39b54a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .text-de-gradient:hover {
    background-size: 200% 100%;
    animation: accent-gradient-move 2.5s linear infinite;
    text-shadow: 0 0 8px rgba(137, 216, 76, 0.2), 0 0 4px rgba(57, 181, 74, 0.15);
  }

  @keyframes accent-gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }
}

/* Dezente, animierte Unterstreichung bei Hover */
.text-de-gradient::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #39b54a, #89d84c, #39b54a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.text-de-gradient:hover::after {
  transform: scaleX(1);
}

/* Responsive Typography - Mobile */
@media (max-width: 768px) {
  .widget-headline-h1,
  h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
  }

  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
}

/* Responsive Typography - Tablet/iPad */
@media (min-width: 769px) and (max-width: 1024px) {
  .widget-headline-h1,
  h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
  }
}
