/* Zentrales Stylesheet für mufy.de/tools/ – 10 Hauptkategorien & 45 Einzeltools */
:root {
  --mufy-orange: #f97316;
  --mufy-orange-dark: #ea580c;
  --mufy-orange-soft: #fff7ed;
  --mufy-ink: #0f172a;
  --mufy-muted: #475569;
  --mufy-border: #e2e8f0;
  --mufy-surface: #ffffff;
  --mufy-bg: #f8fafc;
}

.mufy-tools-nav {
  max-width: 1320px;
  margin: 12px auto 0;
  padding: 0 18px;
  box-sizing: border-box;
}

.mufy-tools-nav-inner {
  background: var(--mufy-surface);
  border: 1px solid var(--mufy-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mufy-tools-nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mufy-ink);
  background: var(--mufy-bg);
  border: 1px solid var(--mufy-border);
  border-radius: 9px;
  padding: 6px 11px;
  transition: all 0.15s ease;
}

.mufy-tools-nav-link:hover,
.mufy-tools-nav-link.is-active {
  background: var(--mufy-orange);
  border-color: var(--mufy-orange);
  color: #ffffff;
}

.mufy-tool-page {
  max-width: 1320px;
  margin: 14px auto 54px;
  padding: 0 18px;
  box-sizing: border-box;
}

.mufy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--mufy-muted);
  margin-bottom: 12px;
}

.mufy-breadcrumb a {
  color: #c2410c;
  text-decoration: none;
  font-weight: 600;
}

.mufy-breadcrumb a:hover {
  text-decoration: underline;
}

.mufy-tool-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
  border: 1px solid var(--mufy-border);
  border-left: 5px solid var(--mufy-orange);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: 0 6px 24px -10px rgba(15, 23, 42, 0.12);
}

.mufy-tool-hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c2410c;
  background: var(--mufy-orange-soft);
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.mufy-tool-hero h1 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--mufy-ink);
  line-height: 1.25;
}

.mufy-tool-hero p {
  margin: 0;
  color: var(--mufy-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.mufy-hero-visual {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #fed7aa;
  background: #fff7ed;
}

.mufy-hero-visual img {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: cover;
}

.mufy-tool-main-box,
.mufy-guide-card,
.mufy-mufy-links {
  background: var(--mufy-surface);
  border: 1px solid var(--mufy-border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.08);
}

.mufy-tool-main-box h2,
.mufy-guide-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mufy-ink);
}

.mufy-guide-card h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--mufy-ink);
}

.mufy-guide-card p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.62;
  color: #334155;
}

.mufy-guide-card ul {
  margin: 6px 0 12px 20px;
  padding: 0;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.58;
}

.mufy-guide-card li {
  margin-bottom: 6px;
}

.mufy-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  border-radius: 10px;
  padding: 12px 15px;
  margin: 12px 0;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.5;
}

.mufy-example-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
  font-size: 0.92rem;
  color: #431407;
  line-height: 1.55;
}

.mufy-faq-item {
  border-top: 1px solid var(--mufy-border);
  padding: 12px 0;
}

.mufy-faq-item:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.mufy-faq-q {
  font-weight: 700;
  color: var(--mufy-ink);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.mufy-faq-a {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.mufy-tool-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .mufy-tool-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .mufy-tool-cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mufy-tool-card {
  background: var(--mufy-surface);
  border: 1px solid var(--mufy-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.mufy-tool-card h2,
.mufy-tool-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mufy-ink);
}

.mufy-tool-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mufy-muted);
  line-height: 1.48;
}

.mufy-tool-btn,
.mufy-tool-action {
  display: inline-block;
  text-decoration: none;
  background: var(--mufy-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
}

.mufy-tool-btn {
  align-self: flex-start;
}

.mufy-tool-btn:hover,
.mufy-tool-action:hover {
  background: var(--mufy-orange-dark);
}

.mufy-tool-btn-secondary {
  background: #f1f5f9;
  color: var(--mufy-ink);
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 13px;
  border-radius: 9px;
  cursor: pointer;
}

.mufy-tool-btn-secondary:hover {
  background: #e2e8f0;
}

.mufy-tool-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.mufy-tool-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mufy-ink);
  margin-bottom: 4px;
}

.mufy-tool-field input,
.mufy-tool-field select,
.mufy-tool-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 0.92rem;
  color: var(--mufy-ink);
  background: #ffffff;
}

.mufy-tool-field textarea {
  min-height: 130px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.mufy-tool-output {
  background: var(--mufy-bg);
  border: 1px solid var(--mufy-border);
  border-radius: 10px;
  padding: 15px 17px;
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--mufy-ink);
  white-space: pre-line;
}

.mufy-mufy-links-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--mufy-ink);
  margin: 0 0 12px;
}

.mufy-mufy-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mufy-mufy-link-list a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 7px 12px;
}

.mufy-mufy-link-list a:hover {
  background: #ffedd5;
}
