/* MiSolv Website · seitenspezifische Ergänzungen zu misolv.css (nur Tokens) */

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 16px; }

:focus-visible { outline: none; box-shadow: var(--ms-focus-ring); border-radius: var(--ms-radius-sm); }

/* Navigation: auf dem Handy nur Theme-Umschalter und Kontakt */
@media (max-width: 640px) {
  .ms-nav__link { display: none; }
  .ms-nav__links { gap: 12px; }
}

/* Produkt-Karten */
.ms-product__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ms-product__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }

/* Über mich */
.ms-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: start; }
.ms-about__copy { display: flex; flex-direction: column; gap: 18px; }
.ms-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ms-facts li { display: flex; gap: 12px; color: var(--ms-text-muted); font-size: var(--ms-text-sm); }
.ms-facts li::before { content: "//"; font-family: var(--ms-font-mono); color: var(--ms-accent); }

/* Kontakt-Karte */
.ms-contact { display: flex; flex-direction: column; gap: 18px; }
.ms-contact__mail { font-family: var(--ms-font-mono); font-size: var(--ms-text-lg); color: var(--ms-accent); text-decoration: none; word-break: break-all; }
.ms-contact__mail:hover { text-decoration: underline; }

/* Rechtstexte */
.ms-legal { max-width: 760px; padding: 48px 0 var(--ms-section-y); }
.ms-legal h1 { margin: 16px 0 32px; }
.ms-legal h2 { font-family: var(--ms-font-head); font-weight: var(--ms-weight-medium); font-size: 1.375rem; line-height: var(--ms-leading-head); margin: 40px 0 12px; }
.ms-legal h3 { font-family: var(--ms-font-head); font-weight: var(--ms-weight-medium); font-size: var(--ms-text-lg); margin: 24px 0 8px; }
.ms-legal p, .ms-legal li { color: var(--ms-text-muted); line-height: var(--ms-leading-body); }
.ms-legal a { color: var(--ms-accent); }
.ms-legal address { font-style: normal; color: var(--ms-text-muted); line-height: var(--ms-leading-body); }

/* Blog: Übersicht */
.ms-post__meta { font-family: var(--ms-font-mono); font-size: var(--ms-text-micro); letter-spacing: 0.05em; color: var(--ms-text-subtle); }
.ms-post-card h2 a { color: inherit; text-decoration: none; }
.ms-post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ms-post-card { position: relative; transition: border-color var(--ms-dur) var(--ms-ease); }
.ms-post-card:hover { border-color: var(--ms-accent-line); }
.ms-post-card:focus-within { box-shadow: var(--ms-focus-ring); }
.ms-post-card h2 a:focus-visible { box-shadow: none; }

/* Blog: Beitrag */
.ms-post { max-width: 760px; padding: 32px 0 var(--ms-section-y); display: flex; flex-direction: column; gap: 40px; }
.ms-post > .ms-btn--link { align-self: flex-start; }
.ms-post__header { display: flex; flex-direction: column; gap: 16px; }
.ms-post__header .ms-h2 { margin: 0; }
.ms-post__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.ms-post__nav .ms-card { padding: 20px 24px; gap: 6px; text-decoration: none; color: var(--ms-text); }
.ms-post__nav .ms-card:hover { border-color: var(--ms-accent-line); }
.ms-post__nav-next { text-align: right; }

/* Blog: Fließtext aus Markdown */
.ms-prose { color: var(--ms-text-muted); font-size: var(--ms-text-lg); line-height: var(--ms-leading-body); }
.ms-prose > * { margin: 0 0 20px; }
.ms-prose h2 { font-family: var(--ms-font-head); font-weight: var(--ms-weight-bold); font-size: 1.75rem; line-height: var(--ms-leading-head); color: var(--ms-text); margin: 48px 0 16px; }
.ms-prose h3 { font-family: var(--ms-font-head); font-weight: var(--ms-weight-medium); font-size: 1.375rem; line-height: var(--ms-leading-head); color: var(--ms-text); margin: 36px 0 12px; }
.ms-prose strong { color: var(--ms-text); font-weight: var(--ms-weight-semi); }
.ms-prose a { color: var(--ms-accent); }
.ms-prose ul, .ms-prose ol { padding-left: 24px; }
.ms-prose li { margin-bottom: 6px; }
.ms-prose li::marker { color: var(--ms-accent); font-family: var(--ms-font-mono); }
.ms-prose blockquote { margin-left: 0; padding: 16px 20px; background: var(--ms-surface); border: 1px solid var(--ms-border); border-radius: var(--ms-radius-lg); color: var(--ms-text); }
.ms-prose blockquote p { margin: 0; }
.ms-prose :not(pre) > code { font-family: var(--ms-font-mono); font-size: 0.875em; background: var(--ms-surface); border: 1px solid var(--ms-border); border-radius: var(--ms-radius-sm); padding: 1px 6px; color: var(--ms-text); }
.ms-prose pre { background: var(--ms-surface); border: 1px solid var(--ms-border); border-radius: var(--ms-radius-xl); padding: 24px; overflow-x: auto; font-family: var(--ms-font-mono); font-size: var(--ms-text-sm); line-height: var(--ms-leading-code); color: var(--ms-text); }
.ms-prose img { max-width: 100%; height: auto; border-radius: var(--ms-radius-xl); border: 1px solid var(--ms-border); }
.ms-prose hr { border: 0; border-top: 1px solid var(--ms-border); margin: 40px 0; }
.ms-prose table { width: 100%; border-collapse: collapse; font-size: var(--ms-text-sm); display: block; overflow-x: auto; }
.ms-prose th { text-align: left; font-family: var(--ms-font-mono); font-weight: var(--ms-weight-regular); font-size: var(--ms-text-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-text-subtle); }
.ms-prose th, .ms-prose td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--ms-border); }
