/*
 * Traum Cafe: Seitenfuß (auf allen Seiten gleich).
 * Tokens: hero.css. Knöpfe: sections.css (.cta, .pill-button).
 */

.site-footer {
  position: relative;
  overflow: clip;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) 1.5rem;
  /* oben im Ton des Tischs, darunter leicht tomatenrot: kein harter Rand */
  background: linear-gradient(var(--footer-from, var(--page-table)), color-mix(in oklab, var(--tomato) 6%, var(--bg)) 7rem);
  color: var(--ink);
}

/* Impressum und Datenschutz: darüber liegt die helle Seite, kein Tisch */
.legal-page .site-footer {
  --footer-from: var(--bg);

  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  width: min(100%, 72rem);
  margin-inline: auto;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__tag {
  margin: 0.3rem 0 1rem;
  color: var(--muted);
}

.site-footer__address {
  font-style: normal;
  line-height: 1.55;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

/* gleich breit, wenn sie untereinander rutschen */
.site-footer__actions > * {
  min-width: 12.5rem;
  min-height: 3.25rem;
  justify-content: center;
}

.site-footer__heading {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__col ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ausreichend große Tippfläche, Abstand kommt aus dem Polster */
.site-footer__col a {
  display: inline-block;
  padding-block: 0.45rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.site-footer__col a:hover {
  color: var(--tomato-text);
  text-decoration: underline;
}

.site-footer__col a:focus-visible {
  border-radius: 0.25rem;
  outline: 3px solid var(--tomato-text);
  outline-offset: 3px;
}

/* Großer Schriftzug als Abschluss der Seite */
.site-footer__wordmark {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 16vw, 14rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.site-footer__note {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.site-footer__copy {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .site-footer__actions > * {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* Finger statt Maus: Tippfläche mindestens 44 px hoch (Apple HIG / WCAG 2.5.5) */
@media (pointer: coarse) {
  .site-footer__col a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding-block: 0.25rem;
  }
}
