/* TAGONYM – Gemeinsames Designsystem.
   Wird schrittweise mit geprüften Komponenten gefüllt. */

/* Shared input controls */
.tagonym-field {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid var(--tagonym-line, #dedbd2);
  border-radius: 12px;
  background: var(--tagonym-surface, #fff);
  color: var(--tagonym-ink, #151515);
  font: inherit;
  font-size: 16px;
}

.tagonym-field:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

/* TAGONYM shared button baseline v1 */
.tagonym-button {
  font: inherit;
  min-height: 44px;
  touch-action: manipulation;
  border-radius: 100px;
  transition: background-color .2s ease, border-color .2s ease;
}

.tagonym-button:focus-visible,
.tagonym-icon-button:focus-visible {
  outline: 2px solid #17191b;
  outline-offset: 3px;
}

.tagonym-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
}


/* Design tokens */
:root {
  --tagonym-bg: #f4f1ea;
  --tagonym-paper: #ebe7de;
  --tagonym-surface: #ffffff;
  --tagonym-ink: #151515;
  --tagonym-muted: #67645f;
  --tagonym-line: rgba(21, 21, 21, .15);
  --tagonym-accent: #d2dbce;
  --tagonym-radius: 18px;
}

/* Shared button variants */
.tagonym-button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 10px 16px;
  border: 1px solid #a75b52;
  background: transparent;
  color: #80382f;
  cursor: pointer;
  font-weight: 700;
}
.tagonym-button-danger:hover {
  background: #fff0ee;
}
.tagonym-button-danger:disabled {
  opacity: .55;
  cursor: wait;
}
.tagonym-button-danger:focus-visible {
  outline: 3px solid #a75b52;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .tagonym-button { transition: none; }
}


/* TAGONYM SHARED FOOTER V1 - cross-page component */
footer.tagonym-site-footer {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  padding: 55px 7%;
  border-top: 1px solid var(--tagonym-line, rgba(21,21,21,.15));
  background: var(--tagonym-bg, #f4f1ea);
  color: var(--tagonym-ink, #151515);
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
footer.tagonym-site-footer .tagonym-site-footer-brand { flex: 0 0 auto; }
footer.tagonym-site-footer .tagonym-site-footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .32em;
  line-height: 1.2;
}
footer.tagonym-site-footer .tagonym-site-footer-claim {
  margin-top: 15px;
  color: var(--tagonym-muted, #67645f);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
}
footer.tagonym-site-footer .tagonym-site-footer-nav {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 760px;
}
footer.tagonym-site-footer .tagonym-site-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
footer.tagonym-site-footer .tagonym-site-footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
footer.tagonym-site-footer .tagonym-site-footer-nav a:focus-visible {
  outline: 3px solid #277b58;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  footer.tagonym-site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 6%;
    gap: 22px;
  }
  footer.tagonym-site-footer .tagonym-site-footer-nav { gap: 4px 18px; }
}
