/* ------------------------------------------
   AGB Heading - Titel & Lucide Icon
------------------------------------------ */
.agb-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 150px;
  color: var(--text-light);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body.dark-mode .agb-heading {
  color: var(--text-dark);
}

/* Lucide Icon innerhalb der AGB Heading */
.agb-heading-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  flex-shrink: 0;
  color: var(--text-light);
  stroke: var(--text-light);
  transform: translateY(2px);
  transition: transform 0.3s ease, color 0.3s ease, stroke 0.3s ease;
}

body.dark-mode .agb-heading-icon {
  color: var(--text-dark);
  stroke: var(--text-dark);
}


/* =========================================================
   AGB – SECTION (zentriert)
========================================================= */

.terms-section {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
}


/* =========================================================
   AGB – CARD (A4 Dokumenten-Look)
========================================================= */

.terms-card {
  width: 100%;
  max-width: 210mm;            /* 🎯 A4 Breite */
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32mm 25mm;          /* A4-typische Seitenränder */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;

  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease;
}

body.dark-mode .terms-card {
  background: var(--bg-dark);
}


/* =========================================================
   AGB – TEXT & ÜBERSCHRIFTEN
========================================================= */

.terms-title {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);

  transition: color 0.5s ease;
}

.terms-title:first-child {
  margin-top: 0;
}

body.dark-mode .terms-title {
  color: var(--text-dark);
}

.terms-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 1rem 0;

  transition: color 0.5s ease;
}

body.dark-mode .terms-card p {
  color: var(--text-dark);
}


/* =========================================================
   MOBILE OPTIMIERUNG
========================================================= */

@media (max-width: 768px) {

  .terms-card {
    max-width: 100%;
    padding: 1.6rem 1.3rem;
    border-radius: 14px;
  }

}

@media (max-width: 360px) {

  .agb-heading {
    font-size: 1.3rem;
    margin-top: 120px;
  }

  .terms-title {
    font-size: 1rem;
  }

  .terms-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* =========================================================
   Scroll to Top Button
========================================================= */

.scroll-top-btn {
  margin: 40px auto 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--button-filter-light);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.25s ease, transform 0.15s ease;
}

body.dark-mode .scroll-top-btn {
  background-color: var(--button-filter-dark);
}

.scroll-top-btn:hover {
  background-color: var(--button-filter-hover-light);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

body.dark-mode .scroll-top-btn:hover {
  background-color: var(--button-filter-hover-dark);
}

