/* ============================================
   SHARED DESIGN SYSTEM — Einfach Ernährung GmbH
   ============================================
   Dieses File enthält alle wiederverwendbaren Styles.
   Einbinden via: <link rel="stylesheet" href="/shared-styles.css">
   ============================================ */

/* === BASE === */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  color: #282828;
  -webkit-font-smoothing: antialiased;
}

/* === NEUES STYLING-SYSTEM (new-*) === */

.new-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #6d3e8e 0%, #9b5fc7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.new-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #282828;
}

.new-h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #464646;
}

.new-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4b5563;
  font-weight: 400;
}

.new-body-bold {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #282828;
  font-weight: 600;
}

.new-body-italic {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4b5563;
  font-weight: 400;
  font-style: italic;
}

.new-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #824ca7;
}

/* === LEGACY TYPOGRAFIE (typ-*) === */

.typ-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #824ca7;
}

.typ-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, #282828 0%, #484848 50%, #282828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typ-h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  color: #464646;
}

.typ-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4b5563;
  font-weight: 400;
}

.typ-body-semibold {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #282828;
  font-weight: 600;
}

.typ-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #824ca7;
}

.typ-highlight {
  font-weight: 800;
  color: #824ca7;
}

.typ-quote {
  font-style: italic;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.75;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.typ-caption {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #9ca3af;
  font-weight: 400;
}

.typ-pill {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  background: linear-gradient(135deg, #f3e8f9, #fff, #f3e8f9);
  border: 1px solid #e6d0f3;
  color: #824ca7;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(130, 76, 167, 0.1);
}

/* === BUTTONS === */

@keyframes glowShimmerSlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(130, 76, 167, 0.25);
    transform: scale(1);
    background-position: -200% center;
  }
  50% {
    box-shadow: 0 6px 30px rgba(130, 76, 167, 0.6);
    transform: scale(1.04);
    background-position: 200% center;
  }
}

.btn-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(110deg, #824ca7 0%, #824ca7 35%, #a76fd0 50%, #824ca7 65%, #824ca7 100%);
  background-size: 200% 100%;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  animation: glowShimmerSlow 6.5s ease-in-out infinite;
  transition: all 0.3s;
}

.btn-animated:hover {
  animation: none;
  background: #6d3e8e;
  box-shadow: 0 6px 30px rgba(130, 76, 167, 0.6);
  transform: scale(1.06);
}
