/* components.css – gemeinsame UI-Bausteine für alle Marken-Seiten
   (Animationen, Akzent, Hero, Buttons, Section, Cards).
   Wird zusätzlich zur shell.css geladen. */

/* --- Animationen --- */
body .fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

body .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

body .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Akzent-Wort: Grün-Verlauf mit gelber Umrandung (wie Logo) --- */
body .accent {
  background: var(--bh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 1px var(--bh-gelb);
  paint-order: stroke fill;
}

/* --- Hero --- */
body > main > section.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(85vh - 73px);
  padding: 4rem 2rem;
  text-align: center;
}

/* kompakter Hero (Unterseiten) */
body > main > section.hero.hero--compact {
  min-height: auto;
  padding: 7rem 2rem 3rem;
}

body > main > section.hero > div.hero__inner {
  max-width: 760px;
}

body > main > section.hero p.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

body > main > section.hero p.hero__eyebrow > span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bh-gelb);
  box-shadow: 0 0 12px var(--bh-gelb);
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { background: var(--bh-gelb); box-shadow: 0 0 12px var(--bh-gelb); }
  50%      { background: var(--bh-gruen-hell); box-shadow: 0 0 12px var(--bh-gruen-hell); }
}

body > main > section.hero h1.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

body > main > section.hero p.hero__text {
  color: var(--text-dim);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

body > main > section.hero div.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons (für <a> und <button>) --- */
body a.btn,
body button.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

body a.btn--primary,
body button.btn--primary {
  background: var(--bh-gradient);
  color: #0d0d0d;
  border: 1.5px solid var(--bh-gelb);
}

body a.btn--primary:hover,
body button.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 175, 105, 0.4);
}

body a.btn--ghost,
body button.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

body a.btn--ghost:hover,
body button.btn--ghost:hover:not(:disabled) {
  border-color: var(--bh-gruen-hell);
  color: var(--bh-gruen-hell);
}

body button.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* --- Section (allgemein) --- */
body > main > section.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

body > main > section.section > div.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

body > main > section.section span.tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--bh-gruen-hell);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

body > main > section.section h2.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

body > main > section.section p.section__text {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- Cards-Grid --- */
body > main > section.section div.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

body > main > section.section article.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body > main > section.section article.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bh-gruen-hell), var(--bh-gelb), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body > main > section.section article.card:hover {
  transform: translateY(-8px);
  border-color: rgba(66, 175, 105, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 50px rgba(66, 175, 105, 0.08);
}

body > main > section.section article.card:hover::before {
  opacity: 1;
}

body > main > section.section article.card > div.card__icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 16px;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(66, 175, 105, 0.18) 0%, rgba(245, 206, 33, 0.1) 100%);
  border: 1px solid rgba(66, 175, 105, 0.25);
}

body > main > section.section article.card > h3.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

body > main > section.section article.card > p.card__text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

body > main > section.section div.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}
