/*
 * LegalClaro — de.css
 * Estilos de la landing alemana /de/ (embudo de tráfico postal alemán).
 * Autónoma: carga design-system.css (variables + .btn/.badge/.container) y
 * define aquí nav, hero, secciones y footer con clases propias — SIN acoplarse
 * a los selectores específicos de index (main.css).
 * Regla dura: solo variables de design-system.css, sin hex/px inventados, sin inline.
 */

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */

.lc-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--navy-800);
  border-bottom: 1px solid var(--navy-900);
}

.lc-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  height: 4rem;
}

.lc-nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.lc-nav__logo img {
  height: 1.875rem;
  width: auto;
}

.lc-nav__logo:hover {
  opacity: 0.85;
}

.lc-nav__cta {
  margin-left: auto;
  background-color: var(--color-cta);
  color: var(--color-cta-text);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.lc-nav__cta:hover {
  background-color: var(--color-cta-hover);
  color: var(--color-cta-text);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

@media (min-width: 768px) {
  .lc-nav {
    padding-inline: var(--container-pad-lg);
  }
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */

.lc-hero {
  max-width: var(--container-md);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: var(--space-16) var(--space-12);
  text-align: center;
}

.lc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--claro-600);
  margin-bottom: var(--space-4);
}

.lc-hero h1 {
  font-size: var(--text-4xl);
  line-height: 1.1;
  color: var(--navy-900);
  margin-bottom: var(--space-6);
  margin-inline: auto;
  max-width: 20ch;
}

.lc-hero__lead {
  font-size: var(--text-lg);
  color: var(--color-ink-muted);
  line-height: var(--leading-normal);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.lc-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.lc-link-quiet {
  display: inline-flex;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  color: var(--navy-700);
  font-weight: var(--weight-medium);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: color var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
}

.lc-link-quiet:hover {
  background-color: var(--navy-50);
  color: var(--navy-900);
}

.lc-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-5);
  padding: 0;
}

.lc-trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  font-weight: var(--weight-medium);
}

.lc-trust li span {
  color: var(--color-success);
  font-weight: var(--weight-bold);
}

@media (min-width: 768px) {
  .lc-hero {
    padding-block: var(--space-20) var(--space-16);
  }
  .lc-hero h1 {
    font-size: var(--text-6xl);
  }
}

/* ─────────────────────────────────────────────
   SECCIÓN GENÉRICA
   ───────────────────────────────────────────── */

.lc-section {
  padding-block: var(--section-py);
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.lc-section--subtle {
  max-width: 100%;
  background-color: var(--color-bg-subtle);
}

.lc-section--subtle > * {
  max-width: var(--container-lg);
  margin-inline: auto;
}

.lc-section__head {
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.lc-section__head h2 {
  margin-bottom: var(--space-4);
}

.lc-section__head p {
  font-size: var(--text-lg);
  color: var(--color-ink-muted);
  max-width: 100%;
  margin-inline: auto;
}

/* Pasos "So funktioniert's" */
.lc-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: 0;
}

.lc-steps article {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.lc-steps article:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--claro-300);
}

.lc-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--claro-100);
  color: var(--claro-700);
  font-size: var(--text-sm);
  font-weight: var(--weight-extrabold);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.lc-steps article h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.lc-steps article p {
  font-size: var(--text-base);
  color: var(--color-ink-muted);
  max-width: 100%;
}

@media (min-width: 768px) {
  .lc-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tarjetas "Was Sie erhalten" / "Warum wichtig" */
.lc-cards {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  padding: 0;
}

.lc-cards article {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.lc-cards article:hover {
  box-shadow: var(--shadow-md);
}

.lc-cards article h3 {
  font-size: var(--text-xl);
}

.lc-cards article p {
  font-size: var(--text-base);
  color: var(--color-ink-muted);
  max-width: 100%;
}

@media (min-width: 640px) {
  .lc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─────────────────────────────────────────────
   CTA FINAL
   ───────────────────────────────────────────── */

.lc-cta-final {
  background-color: var(--navy-800);
  color: var(--color-ink-inverted);
  padding-block: var(--section-py-lg);
  padding-inline: var(--container-pad);
  text-align: center;
}

.lc-cta-final h2 {
  color: var(--color-ink-inverted);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  max-width: 22ch;
  margin-inline: auto;
}

.lc-cta-final p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.lc-cta-final__note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   DISCLAIMER
   ───────────────────────────────────────────── */

.lc-disclaimer {
  max-width: var(--container-text);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: var(--space-8);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-ink-subtle);
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */

.lc-footer {
  background-color: var(--navy-800);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-16) var(--space-8);
}

.lc-footer nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  margin-bottom: var(--space-12);
}

.lc-footer__brand a {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-ink-inverted);
  text-decoration: none;
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.lc-footer__brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  max-width: 32ch;
}

.lc-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
}

.lc-footer ul a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.lc-footer ul a:hover {
  color: var(--color-ink-inverted);
}

.lc-footer address {
  font-style: normal;
}

.lc-footer address a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.lc-footer address a:hover {
  color: var(--color-ink-inverted);
}

.lc-footer__legal {
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lc-footer__legal small {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .lc-footer nav {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-8);
  }
}
