/* MDM-Infoseite AIYA/KISSA – ohne externe Ressourcen, ohne Schriftdateien */
:root {
  --text: #1a1a1a;
  --muted: #595959;
  --line: #d9d9d9;
  --soft: #f5f5f5;
  --bg: #ffffff;
  --accent: #1a1a1a;
  --rule: #bfbfbf;
  --focus: #1a1a1a;
  --head-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head-track: 0.02em;
  color-scheme: light;
}
.brand-aiya {
  --text: #000000;
  --accent: #000000;
  --rule: #76b82a;
  --focus: #000000;
  --head-font: "Avenir Next LT Pro", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --body-font: "Avenir Next LT Pro", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --head-track: 0.2em;
}
.brand-kissa {
  --text: #333027;
  --muted: #5e5a4e;
  --accent: #16501e;
  --rule: #9caf88;
  --focus: #16501e;
  --head-font: "Futura Std", Futura, "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  --body-font: "Futura Std", Futura, "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  --head-track: 0.04em;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.wrap { max-width: 50rem; margin: 0 auto; padding: 0 16px; }
.skip {
  position: absolute; left: 16px; top: -3rem;
  background: #fff; color: #000; padding: .5rem .75rem; border: 2px solid #000; z-index: 10;
}
.skip:focus { top: .75rem; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.site-header { border-bottom: 1px solid var(--line); }
.head-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 44px; width: auto; }
.brand-kissa .logo img { height: 56px; }
.site-name { font-family: var(--head-font); font-weight: 700; text-decoration: none; color: var(--text); }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .95rem; }
.site-header nav a { text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--rule); }

main { padding-top: 2rem; padding-bottom: 3rem; }
h1, h2, h3, h4, .toc-title {
  font-family: var(--head-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--head-track);
  color: var(--accent);
  line-height: 1.4;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 { font-size: clamp(1.3rem, 3.6vw, 1.85rem); margin: .25rem 0 .75rem; }
h2 { font-size: 1.05rem; margin: 2.6rem 0 .9rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
h3 { font-size: .95rem; margin: 1.8rem 0 .6rem; }
.eyebrow { margin: 0; font-size: .9rem; color: var(--muted); }
.subtitle { margin: 0 0 .25rem; font-size: 1.1rem; }
.meta { margin: 0 0 1.5rem; font-size: .9rem; color: var(--muted); padding-bottom: 1.25rem; border-bottom: 2px solid var(--rule); }
.lead { font-size: 1.1rem; max-width: 40rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin: .3rem 0; }
li > ul, li > ol, li > p { margin-top: .4rem; }
strong { font-weight: 700; }
code { font-size: .9em; }
blockquote { margin: 1rem 0; padding: .25rem 0 .25rem 1rem; border-left: 4px solid var(--rule); }

.toc { background: var(--soft); padding: 1rem 1.25rem; margin: 0 0 2rem; }
.toc-title { margin: 0 0 .4rem; font-size: .85rem; }
.toc ol { margin: 0; padding-left: 1.4rem; columns: 2 18rem; column-gap: 2rem; font-size: .95rem; }
.toc li { margin: .15rem 0; break-inside: avoid; }

.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.5; }
table.cols-3, table.cols-4, table.cols-5 { min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
th { background: var(--soft); border-bottom: 2px solid var(--rule); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.choices { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.choice { border: 1px solid var(--line); padding: 1.25rem; margin: 0; }
.choice-main { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; text-decoration: none; color: var(--text); }
.choice-main img { height: 56px; width: auto; }
.choice-aiya .choice-main img { height: 44px; margin: 6px 0; }
.choice-name { font-size: 1.15rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.choice-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .9rem 0 0; font-size: .95rem; }

.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; font-size: .92rem; }
.site-footer p { margin: 0 0 .5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.muted { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .brand-aiya { --head-track: 0.08em; }
  h1, h2 { hyphens: auto; }
  main { padding-top: 1.5rem; }
  h2 { margin-top: 2rem; }
}
@media print {
  .skip, .site-header nav, .toc { display: none; }
  .table-wrap { overflow: visible; border: 0; }
  table.cols-3, table.cols-4, table.cols-5 { min-width: 0; }
  a { color: inherit; }
  body { font-size: 10.5pt; }
}
