/* Basis-Styles für Dennis Gutjahr – tierisch tiergesundheit
   Ergänzt Tailwind (CDN) um kleine globale Feinheiten.
*/

:root {
  --color-forest: #18352A;
  --color-sage: #3F6B53;
  --color-sage-soft: #A8BFA8;
  --color-beige: #EFE7DA;
  --color-cream: #F7F4EE;
  --color-white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1100px 600px at 0% 0%, rgba(168, 191, 168, 0.25), transparent),
    radial-gradient(1100px 600px at 100% 0%, rgba(63, 107, 83, 0.16), transparent),
    linear-gradient(180deg, var(--color-cream), var(--color-beige));
}

.ttg-highlight {
  font-weight: 700;
  color: var(--color-forest);
  background-color: var(--color-beige);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
}

a {
  text-decoration: none;
  color: inherit;
}

.dg-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.dg-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .dg-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.dg-section-heading {
  letter-spacing: 0.18em;
}

.dg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Tailwind gap-2 */
  border-radius: 9999px; /* rounded-full */
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  background-color: #18352A;
  padding: 0.75rem 1.25rem; /* py-3 px-5 */
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  font-weight: 600; /* font-semibold */
  color: #F7F4EE;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform,
    filter, backdrop-filter;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.dg-btn-primary:hover {
  background-color: rgba(24, 53, 42, 0.9);
  transform: translateY(-1px);
}

.dg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(24, 53, 42, 0.15);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #18352A;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform,
    filter, backdrop-filter;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.dg-btn-secondary:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

.dg-card {
  border-radius: 1rem; /* rounded-2xl */
  border-width: 1px;
  border-style: solid;
  border-color: rgba(24, 53, 42, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.5rem; /* p-6 */
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(24, 53, 42, 0.8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform,
    filter, backdrop-filter;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.dg-card:hover {
  transform: translateY(-0.25rem); /* -translate-y-1 */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
}

.dg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem; /* py-1 px-3 */
  font-size: 0.7rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(24, 53, 42, 0.6);
}

.dg-header-scrolled {
  box-shadow: 0 18px 42px rgba(15, 29, 24, 0.16);
  border-bottom-width: 1px;
  border-color: rgba(24, 53, 42, 0.16);
  background-color: rgba(247, 244, 238, 0.97);
}

.dg-body-lock {
  overflow: hidden;
}

.dg-fade-section {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.dg-fade-section.dg-visible {
  opacity: 1;
  transform: translateY(0);
}

.dg-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(7, 94, 84, 0.35);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    background-color 0.18s ease-out;
}

.dg-btn-whatsapp:hover {
  background-color: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(7, 94, 84, 0.45);
}

.dg-whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 94, 84, 0.5);
  animation: dg-pulse 2.4s infinite;
}

.dg-whatsapp-fab:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 50px rgba(7, 94, 84, 0.6);
}

@keyframes dg-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    transform: translateY(0) scale(1);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    transform: translateY(-1px) scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .dg-whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Cookie-/Consent-Banner */
.dg-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  background:
    linear-gradient(135deg, rgba(24, 53, 42, 0.98), rgba(63, 107, 83, 0.98));
  color: #f7f4ee;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.dg-cookie-banner-inner {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.dg-cookie-text {
  flex: 1 1 auto;
}

.dg-cookie-text p {
  margin: 0;
  line-height: 1.5;
}

.dg-cookie-link {
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: #f7f4ee;
}

.dg-cookie-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dg-cookie-btn {
  font-size: 0.78rem;
  padding-inline: 1.1rem;
  padding-block: 0.55rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .dg-cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .dg-cookie-actions {
    justify-content: flex-end;
  }
}

