/* ==========================================================================
   touchgreen WordPress Theme – Custom Styles (Bootstrap 5 Extension)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens from React App)
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --tg-bg:              hsl(100, 12%, 98%);
  --tg-fg:              hsl(150, 30%, 15%);

  --tg-card:            hsl(100, 10%, 96%);
  --tg-card-fg:         hsl(150, 30%, 15%);

  --tg-primary:         hsl(131, 100%, 10%);
  --tg-primary-fg:      hsl(100, 12%, 98%);

  --tg-secondary:       hsl(101, 59%, 43%);
  --tg-secondary-fg:    #fff;

  --tg-muted:           hsl(100, 8%, 92%);
  --tg-muted-fg:        hsl(140, 10%, 40%);

  --tg-accent:          hsl(76, 73%, 42%);
  --tg-accent-fg:       hsl(131, 100%, 10%);

  --tg-border:          hsl(100, 12%, 88%);

  /* Nature palette */
  --tg-forest-deep:     hsl(131, 100%, 10%);
  --tg-forest-mid:      hsl(155, 73%, 35%);
  --tg-forest-light:    hsl(101, 45%, 60%);
  --tg-forest-canopy:   hsl(101, 59%, 43%);
  --tg-earth:           hsl(30, 30%, 30%);
  --tg-earth-light:     hsl(35, 25%, 65%);
  --tg-bark:            hsl(25, 35%, 25%);
  --tg-moss:            hsl(155, 73%, 35%);
  --tg-sunlight:        hsl(50, 85%, 55%);
  --tg-lime:            hsl(76, 73%, 42%);
  --tg-cream:           hsl(60, 30%, 96%);
  --tg-mist:            hsl(100, 8%, 95%);

  /* Footer */
  --tg-footer-bg:       hsl(131, 35%, 20%);

  /* Typography */
  --tg-font-display:    'Playfair Display', Georgia, serif;
  --tg-font-body:       'Source Sans 3', system-ui, -apple-system, sans-serif;

  /* Radii */
  --tg-radius:          0.75rem;
  --tg-radius-lg:       1rem;
  --tg-radius-xl:       1.5rem;
  --tg-radius-2xl:      2rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
  font-family: var(--tg-font-body);
  color: var(--tg-fg);
  background-color: var(--tg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.tg-display {
  font-family: var(--tg-font-display);
}

a {
  color: var(--tg-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--tg-forest-mid);
}

img {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.tg-text-muted      { color: var(--tg-muted-fg) !important; }
.tg-text-secondary   { color: var(--tg-secondary) !important; }
.tg-text-lime        { color: var(--tg-lime) !important; }
.tg-text-moss        { color: var(--tg-moss) !important; }
.tg-text-white-75    { color: rgba(255,255,255,0.75) !important; }
.tg-text-white-60    { color: rgba(255,255,255,0.60) !important; }
.tg-text-white-45    { color: rgba(255,255,255,0.45) !important; }
.tg-text-white-85    { color: rgba(255,255,255,0.85) !important; }
.tg-text-white-70    { color: rgba(255,255,255,0.70) !important; }

.tg-bg-background   { background-color: var(--tg-bg) !important; }
.tg-bg-card          { background-color: var(--tg-card) !important; }
.tg-bg-mist          { background-color: var(--tg-mist) !important; }
.tg-bg-forest-deep   { background-color: var(--tg-forest-deep) !important; }
.tg-bg-cream         { background-color: var(--tg-cream) !important; }

.tg-border           { border: 1px solid var(--tg-border) !important; }

.tg-rounded-lg       { border-radius: var(--tg-radius-lg) !important; }
.tg-rounded-xl       { border-radius: var(--tg-radius-xl) !important; }
.tg-rounded-2xl      { border-radius: var(--tg-radius-2xl) !important; }
.tg-rounded-pill     { border-radius: 50rem !important; }

.tg-uppercase-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--tg-secondary);
}

.tg-text-gradient-forest {
  background-image: linear-gradient(135deg, var(--tg-forest-deep), var(--tg-forest-canopy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent line before headings */
.tg-accent-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.tg-accent-line__bar {
  width: 3rem;
  height: 0.375rem;
  border-radius: 50rem;
  background-color: var(--tg-secondary);
}
.tg-accent-line__dot {
  width: 1.25rem;
  height: 0.375rem;
  border-radius: 50rem;
  background-color: rgba(77, 171, 62, 0.4); /* secondary/40 */
}

/* --------------------------------------------------------------------------
   Scroll Animations (replaces framer-motion)
   -------------------------------------------------------------------------- */
.tg-fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.tg-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tg-fade-left {
  opacity: 0;
  transform: translateX(-1.5rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.tg-fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.tg-fade-right {
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.tg-fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.tg-stagger > *:nth-child(1) { transition-delay: 0s; }
.tg-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.tg-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.tg-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.tg-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.tg-stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   Float Animation (Logo circles)
   -------------------------------------------------------------------------- */
@keyframes tgFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-8px) rotate(1deg); }
  66%      { transform: translateY(4px) rotate(-1deg); }
}

.tg-float { animation: tgFloat 8s ease-in-out infinite; }

/* Logo-inspired floating circles */
.tg-logo-circles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.tg-logo-circles__dot {
  position: absolute;
  border-radius: 50%;
  animation: tgFloat 8s ease-in-out infinite;
}
/* Dark variant */
.tg-logo-circles--dark .tg-logo-circles__dot:nth-child(1) { width: 5rem; height: 5rem; background: rgba(77,171,62,0.2);   top: 12%; right: 15%; animation-delay: 0s; }
.tg-logo-circles--dark .tg-logo-circles__dot:nth-child(2) { width: 3rem; height: 3rem; background: rgba(121,169,38,0.15);  top: 25%; left: 10%;  animation-delay: 2s; }
.tg-logo-circles--dark .tg-logo-circles__dot:nth-child(3) { width: 2rem; height: 2rem; background: rgba(255,255,255,0.1);  bottom: 30%; right: 25%; animation-delay: 4s; }
.tg-logo-circles--dark .tg-logo-circles__dot:nth-child(4) { width: 4rem; height: 4rem; background: rgba(41,148,80,0.15);   bottom: 15%; left: 20%;  animation-delay: 1s; }
.tg-logo-circles--dark .tg-logo-circles__dot:nth-child(5) { width: 1.5rem; height: 1.5rem; background: rgba(101,172,92,0.2); top: 50%; right: 8%; animation-delay: 3s; }
/* Light variant */
.tg-logo-circles--light .tg-logo-circles__dot:nth-child(1) { width: 5rem; height: 5rem; background: rgba(77,171,62,0.08);   top: 12%; right: 15%; animation-delay: 0s; }
.tg-logo-circles--light .tg-logo-circles__dot:nth-child(2) { width: 3rem; height: 3rem; background: rgba(121,169,38,0.06);  top: 25%; left: 10%;  animation-delay: 2s; }
.tg-logo-circles--light .tg-logo-circles__dot:nth-child(3) { width: 2rem; height: 2rem; background: rgba(41,148,80,0.05);   bottom: 30%; right: 25%; animation-delay: 4s; }
.tg-logo-circles--light .tg-logo-circles__dot:nth-child(4) { width: 4rem; height: 4rem; background: rgba(101,172,92,0.08);  bottom: 15%; left: 20%;  animation-delay: 1s; }
.tg-logo-circles--light .tg-logo-circles__dot:nth-child(5) { width: 1.5rem; height: 1.5rem; background: rgba(77,171,62,0.05); top: 50%; right: 8%; animation-delay: 3s; }

/* --------------------------------------------------------------------------
   Section Divider
   -------------------------------------------------------------------------- */
.tg-divider {
  position: relative;
  width: 100%;
  height: 3rem;
  margin-top: -1px;
  line-height: 0;
}
.tg-divider svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .tg-divider { height: 4rem; }
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.tg-navbar {
  background: rgba(0, 51, 4, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.tg-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.tg-navbar__logo {
  height: 3.5rem;
  width: auto;
}
.tg-navbar__toggler {
  color: rgba(255,255,255,0.8);
}

/* Nav links */
.tg-nav-link {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75) !important;
  padding: 0.5rem 0.25rem !important;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tg-nav-link:hover,
.tg-nav-link:focus {
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,0.3);
}
.tg-nav-link.active {
  color: var(--tg-secondary) !important;
  border-bottom-color: var(--tg-secondary);
}

/* --------------------------------------------------------------------------
   Mobile Offcanvas
   -------------------------------------------------------------------------- */
.tg-offcanvas {
  background: var(--tg-forest-deep) !important;
  height: 100vh !important;
  border: none !important;
}
.tg-offcanvas__circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.tg-offcanvas__circle {
  position: absolute;
  border-radius: 50%;
}
.tg-offcanvas__circle--1 { width: 16rem; height: 16rem; background: rgba(77,171,62,0.08); top: -5%; right: -10%; }
.tg-offcanvas__circle--2 { width: 10rem; height: 10rem; background: rgba(121,169,38,0.06); bottom: 10%; left: -5%; }
.tg-offcanvas__circle--3 { width:  6rem; height:  6rem; background: rgba(41,148,80,0.10); top: 35%; left: 8%; }
.tg-offcanvas__circle--4 { width:  8rem; height:  8rem; background: rgba(77,171,62,0.05); bottom: 25%; right: 5%; }

.tg-offcanvas__nav {
  position: relative;
  z-index: 10;
}

.tg-mobile-nav__item {
  animation: fadeInUp 0.3s ease-out both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.tg-mobile-nav__link {
  display: block;
  padding: 0.625rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  text-decoration: none;
}
.tg-mobile-nav__link:hover,
.tg-mobile-nav__link--active {
  color: var(--tg-secondary) !important;
}

.tg-offcanvas__footer {
  position: absolute;
  bottom: 2.5rem;
  z-index: 10;
}
.tg-offcanvas__footer-logo {
  height: 2rem;
  width: auto;
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.tg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .tg-hero { padding-bottom: 6rem; }
}

.tg-hero__bg {
  position: absolute;
  inset: 0;
}
.tg-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.tg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 51, 4, 0.55),
    rgba(0, 51, 4, 0.40) 50%,
    rgba(0, 51, 4, 0.70)
  );
}

.tg-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.tg-hero__logo {
  height: 8rem;
  width: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}
@media (min-width: 768px) {
  .tg-hero__logo { height: 12rem; }
}
@media (min-width: 992px) {
  .tg-hero__logo { height: 14rem; }
}

.tg-hero__title {
  font-family: var(--tg-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .tg-hero__title { font-size: 3rem; }
}
@media (min-width: 992px) {
  .tg-hero__title { font-size: 3.75rem; }
}

.tg-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .tg-hero__subtitle { font-size: 1.25rem; }
}

.tg-hero__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 36rem;
  margin: 0 auto 3rem;
}
@media (min-width: 768px) {
  .tg-hero__text { font-size: 1.125rem; }
}

.tg-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 576px) {
  .tg-hero__actions { flex-direction: row; }
}

/* Buttons */
.tg-btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--tg-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 50rem;
  box-shadow: 0 8px 24px rgba(77, 171, 62, 0.3);
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.tg-btn-primary:hover {
  background: rgba(77, 171, 62, 0.9);
  color: #fff;
  transform: translateY(-2px);
}

.tg-btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  border-radius: 50rem;
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
}
.tg-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-2px);
}

.tg-btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--tg-lime);
  color: var(--tg-forest-deep);
  font-family: var(--tg-font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50rem;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.tg-btn-lime:hover {
  background: rgba(121, 169, 38, 0.9);
  color: var(--tg-forest-deep);
  gap: 0.75rem;
}

/* Scroll hint */
.tg-hero__scroll-hint {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255,255,255,0.5);
  animation: bounce 2.5s ease-in-out infinite;
}
@media (min-width: 768px) {
  .tg-hero__scroll-hint { bottom: 6rem; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Hero bottom curve */
.tg-hero__curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  line-height: 0;
}
.tg-hero__curve svg {
  width: 100%;
  height: 4rem;
  display: block;
}
@media (min-width: 768px) {
  .tg-hero__curve svg { height: 6rem; }
}
@media (min-width: 992px) {
  .tg-hero__curve svg { height: 7rem; }
}

/* --------------------------------------------------------------------------
   Sections – General
   -------------------------------------------------------------------------- */
.tg-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .tg-section { padding: 8rem 0; }
}

.tg-section--dark {
  background: var(--tg-forest-deep);
  color: var(--tg-primary-fg);
}
.tg-section--mist {
  background: var(--tg-mist);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.tg-card {
  background: var(--tg-card);
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius-xl);
  padding: 1.5rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.tg-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.tg-card--hoverable:hover {
  transform: translateY(-4px);
}

.tg-card--glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.tg-card--glass:hover {
  background: rgba(255,255,255,0.1);
}

/* Icon container */
.tg-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--tg-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tg-icon-box--sm {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--tg-radius-lg);
}
.tg-icon-box--secondary { background: rgba(77,171,62,0.1); color: var(--tg-secondary); }
.tg-icon-box--lime      { background: rgba(121,169,38,0.15); color: var(--tg-secondary); }
.tg-icon-box--moss      { background: rgba(41,148,80,0.1); color: var(--tg-secondary); }
.tg-icon-box--lime-dark { background: rgba(121,169,38,0.2); color: var(--tg-lime); }

/* Numbered step */
.tg-step-number {
  font-family: var(--tg-font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--tg-secondary);
  margin-bottom: 0.75rem;
}

/* Step circle */
.tg-step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tg-secondary);
  color: var(--tg-primary-fg);
  font-family: var(--tg-font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Bullet list */
.tg-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tg-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--tg-muted-fg);
  font-size: 1rem;
  line-height: 1.6;
}
.tg-bullet-list li + li {
  margin-top: 0.75rem;
}
.tg-bullet-list li::before {
  content: '';
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--tg-secondary);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* Blockquote panel */
.tg-quote-panel {
  background: rgba(77,171,62,0.05);
  border-left: 4px solid var(--tg-secondary);
  border-radius: 0 var(--tg-radius-xl) var(--tg-radius-xl) 0;
  padding: 1.75rem;
}
.tg-quote-panel p {
  font-family: var(--tg-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--tg-fg);
  line-height: 1.6;
  margin: 0;
}

.tg-info-panel {
  background: rgba(121,169,38,0.05);
  border-left: 4px solid var(--tg-lime);
  border-radius: 0 var(--tg-radius-xl) var(--tg-radius-xl) 0;
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   Image styles
   -------------------------------------------------------------------------- */
.tg-img-rounded {
  border-radius: var(--tg-radius-2xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.tg-img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .tg-img-rounded { height: 28rem; }
}

/* --------------------------------------------------------------------------
   "Was ist" Section – Statement Cards
   -------------------------------------------------------------------------- */
.tg-statement-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--tg-card);
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius-xl);
  padding: 1.5rem;
  flex: 1;
}
.tg-statement-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(77,171,62,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tg-secondary);
  font-size: 1.5rem;
}
.tg-statement-card__text {
  font-family: var(--tg-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tg-fg);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Vision Section
   -------------------------------------------------------------------------- */
.tg-vision {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .tg-vision { padding: 9rem 0; }
}
.tg-vision__bg {
  position: absolute;
  inset: 0;
}
.tg-vision__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg-vision__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 4, 0.85);
}
.tg-vision__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.tg-vision__ornament-bar {
  width: 2.5rem;
  height: 0.5rem;
  border-radius: 50rem;
  background: var(--tg-secondary);
}
.tg-vision__ornament-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(77,171,62,0.4);
}

/* --------------------------------------------------------------------------
   Workshop Section Sticky Image
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .tg-sticky-image {
    position: sticky;
    top: 6rem;
  }
}

/* --------------------------------------------------------------------------
   About / Wurzel Section
   -------------------------------------------------------------------------- */
.tg-about__portrait {
  width: 16rem;
  height: 18rem;
  border-radius: var(--tg-radius-xl);
  overflow: hidden;
  border: 2px solid rgba(77,171,62,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.tg-about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Table in dark section
   -------------------------------------------------------------------------- */
.tg-table-dark {
  border-radius: var(--tg-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.tg-table-dark table {
  width: 100%;
  margin: 0;
  color: rgba(255,255,255,0.85);
}
.tg-table-dark thead {
  background: rgba(255,255,255,0.1);
}
.tg-table-dark th {
  font-family: var(--tg-font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tg-lime);
  padding: 1rem 1.25rem;
}
.tg-table-dark td {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.tg-table-dark tr:hover td {
  background: rgba(255,255,255,0.05);
}

/* --------------------------------------------------------------------------
   Page Hero (Subpages)
   -------------------------------------------------------------------------- */
.tg-page-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.tg-page-hero__bg {
  position: absolute;
  inset: 0;
}
.tg-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 4, 0.80);
}

/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
.tg-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  background: var(--tg-bg);
  color: var(--tg-fg);
  font-family: var(--tg-font-body);
  font-size: 1rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.tg-form-control:focus {
  outline: none;
  border-color: var(--tg-forest-canopy);
  box-shadow: 0 0 0 3px rgba(77, 171, 62, 0.15);
}

.tg-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tg-fg);
  margin-bottom: 0.375rem;
  display: block;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.tg-footer {
  background: var(--tg-footer-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tg-footer__logo {
  height: 3.5rem;
  width: auto;
}
.tg-footer__description {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 18rem;
}
.tg-footer__heading {
  font-family: var(--tg-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.tg-footer__links li {
  margin-bottom: 0.5rem;
}
.tg-footer__links li a,
.tg-footer__links a {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.tg-footer__links li a:hover,
.tg-footer__links a:hover {
  color: var(--tg-secondary);
}

.tg-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tg-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.tg-footer__contact-item:hover {
  color: var(--tg-secondary);
}
.tg-footer__contact-item i {
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  margin-top: 0.2rem;
  transition: color 0.2s;
}
.tg-footer__contact-item:hover i {
  color: var(--tg-secondary);
}

.tg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.tg-footer__copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}
.tg-footer__credits {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.30);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}
@media (max-width: 575.98px) {
  .tg-footer__credits { justify-content: center; }
}
.tg-footer__credits a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.tg-footer__credits a:hover {
  color: var(--tg-secondary);
}
.tg-footer__legal {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}
.tg-footer__legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.tg-footer__legal a:hover {
  color: var(--tg-secondary);
}

/* --------------------------------------------------------------------------
   Back to Top
   -------------------------------------------------------------------------- */
.tg-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--tg-secondary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(77,171,62,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  cursor: pointer;
  font-size: 1.25rem;
}
.tg-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tg-back-to-top:hover {
  background: var(--tg-forest-mid);
}

/* --------------------------------------------------------------------------
   Coming Soon Page
   -------------------------------------------------------------------------- */
.tg-coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tg-bg);
  position: relative;
  overflow: hidden;
}
.tg-coming-soon__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}
.tg-coming-soon__blob--1 {
  width: 40rem;
  height: 40rem;
  top: -10rem;
  left: -10rem;
  opacity: 0.3;
  background: radial-gradient(circle, rgba(77,171,62,0.45), transparent 70%);
}
.tg-coming-soon__blob--2 {
  width: 44rem;
  height: 44rem;
  bottom: -13rem;
  right: -10rem;
  opacity: 0.25;
  background: radial-gradient(circle, rgba(121,169,38,0.45), transparent 70%);
}

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(8deg); }
}
.tg-coming-soon__leaf {
  position: absolute;
  animation: floatLeaf 8s ease-in-out infinite;
  pointer-events: none;
}

.tg-coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(77,171,62,0.1);
  border: 1px solid rgba(77,171,62,0.3);
  border-radius: 50rem;
  padding: 0.5rem 1.25rem;
}
.tg-coming-soon__badge-dot {
  position: relative;
  width: 0.625rem;
  height: 0.625rem;
}
.tg-coming-soon__badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--tg-secondary);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.6;
}
.tg-coming-soon__badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--tg-secondary);
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Impressum / Datenschutz
   -------------------------------------------------------------------------- */
.tg-legal {
  min-height: 100vh;
  padding: 3rem 0;
}
.tg-legal h1 {
  font-family: var(--tg-font-display);
  font-size: 2.5rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .tg-legal h1 { font-size: 3rem; }
}
.tg-legal h2 {
  font-family: var(--tg-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tg-fg);
}
.tg-legal a {
  color: var(--tg-secondary);
}
.tg-legal a:hover {
  color: var(--tg-fg);
}

/* --------------------------------------------------------------------------
   Cross-reference link card
   -------------------------------------------------------------------------- */
.tg-xref-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(77,171,62,0.05);
  border: 1px solid rgba(77,171,62,0.2);
  border-radius: var(--tg-radius-xl);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.tg-xref-card:hover {
  background: rgba(77,171,62,0.1);
  color: inherit;
}
.tg-xref-card__arrow {
  color: var(--tg-secondary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.tg-xref-card:hover .tg-xref-card__arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Season badges
   -------------------------------------------------------------------------- */
.tg-season-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  margin-bottom: 1rem;
}
.tg-season-badge--lime     { background: rgba(121,169,38,0.15); color: var(--tg-secondary); }
.tg-season-badge--green    { background: rgba(77,171,62,0.15);  color: var(--tg-secondary); }
.tg-season-badge--moss     { background: rgba(41,148,80,0.15);  color: var(--tg-secondary); }

/* Type badges (Handbuch, Artikelserie, etc.) */
.tg-type-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  background: rgba(77,171,62,0.1);
  color: var(--tg-secondary);
  margin-bottom: 1rem;
}

/* Module letter badge */
.tg-module-badge {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--tg-lime);
}

/* --------------------------------------------------------------------------
   Result/Goal panels
   -------------------------------------------------------------------------- */
.tg-result-panel {
  background: rgba(77,171,62,0.05);
  border: 1px solid rgba(77,171,62,0.2);
  border-radius: var(--tg-radius-2xl);
  padding: 2rem 2.5rem;
}
.tg-goal-panel {
  background: rgba(41,148,80,0.1);
  border: 1px solid rgba(41,148,80,0.3);
  border-radius: var(--tg-radius-2xl);
  padding: 2rem 2.5rem;
}

/* --------------------------------------------------------------------------
   CTA Box (dark bg with lime button)
   -------------------------------------------------------------------------- */
.tg-cta-box {
  background: var(--tg-forest-deep);
  color: var(--tg-primary-fg);
  border-radius: var(--tg-radius-2xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
  .tg-cta-box { padding: 3.5rem; }
}
