
:root{--navy:#112c40;--teal:#087d84;--mint:#e6f7f3;--text:#172c38;--muted:#697d8a;--line:#dce5e9;--bg:#f5f8fa;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}button,input{font:inherit}button{cursor:pointer}a{color:inherit}header{background:var(--navy);color:white;padding:20px clamp(18px,4vw,60px);display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:16px}.mark{width:42px;height:42px;border:2px solid #4ddbc9;border-radius:12px;display:grid;place-items:center;font-size:27px;color:#5bebd8}.brand h1{margin:0;font-size:28px;line-height:1.1;letter-spacing:-.9px}.brand h1 span{color:#66d9cb}.brand small{color:#c2dbe0}.headlink{border:1px solid #64818d;border-radius:25px;padding:9px 15px;text-decoration:none;font-size:13px;color:#e1f0f2}.notice{background:#e8f5f2;color:#315d58;padding:9px 4vw;font-size:13px;border-bottom:1px solid #c7e7df}.shell{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1600px;margin:auto;min-height:calc(100vh - 125px)}aside{background:white;border-right:1px solid var(--line);padding:25px 16px;max-height:calc(100vh - 110px);overflow:auto;position:sticky;top:0}.asidehead{display:flex;align-items:center;justify-content:space-between;margin:0 10px 14px}.asidehead strong{font-size:16px}#search{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;outline-color:var(--teal);background:#f8fafb;margin-bottom:17px}.nav-item{display:flex;align-items:center;gap:5px;margin:2px 0;border-radius:8px}.nav-item:hover{background:#eef7f6}.nav-item.selected{background:var(--mint);color:#006a72;font-weight:650}.nav-select{border:0;background:transparent;text-align:left;flex:1;min-width:0;padding:8px 6px;overflow-wrap:anywhere;color:inherit}.nav-toggle{width:28px;min-width:28px;height:30px;border:0;background:transparent;color:#66818b;font-weight:bold}.nav-kids{margin-left:15px;padding-left:9px;border-left:1px solid #dfebee}.tree-top{margin-top:9px}.tree-top>.nav-item>.nav-select{font-weight:700}.nav-label{color:#738894;font-size:11px;letter-spacing:.11em;text-transform:uppercase;margin:22px 10px 6px}main{padding:35px clamp(22px,4vw,68px) 80px;max-width:1100px;width:100%}.crumbs{color:#647d88;font-size:13px;margin-bottom:25px}.crumbs button{border:0;background:none;color:#477888;padding:0}.eyebrow{font-size:12px;color:var(--teal);letter-spacing:.13em;font-weight:750;text-transform:uppercase}.hero h2{font-size:clamp(30px,4vw,49px);letter-spacing:-1.8px;line-height:1.12;margin:10px 0}.hero p{color:#5d7380;max-width:720px;font-size:16px}.feature{display:flex;gap:14px;align-items:center;background:white;border:1px solid var(--line);border-radius:15px;padding:18px;margin:24px 0}.feature .illustration{width:65px;height:65px;flex-shrink:0;border-radius:13px;background:linear-gradient(135deg,#d9f5ec,#b5dde9);display:grid;place-items:center;color:#087d84;font-size:28px}.feature p{margin:3px 0;color:#68808d;font-size:14px}.sectiontitle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 15px}.sectiontitle h3{margin:0;font-size:21px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:15px}.tile{display:block;text-align:left;background:white;border:1px solid var(--line);border-radius:13px;padding:18px;transition:.15s;min-height:140px;color:var(--text)}.tile:hover{border-color:#68bab5;transform:translateY(-2px);box-shadow:0 10px 24px #0c2b3912}.tile .bubble{width:37px;height:37px;border-radius:10px;background:var(--mint);color:#007d77;display:grid;place-items:center;margin-bottom:15px}.tile b{display:block;line-height:1.3}.tile small{display:block;color:#758997;font-size:12px;margin-top:7px}.badge{display:inline-block;font-size:11px;background:#e7f5f1;color:#08726e;border-radius:15px;padding:4px 9px}.badge.existing{background:#eaf0f6;color:#3b637a}.muted{color:#69808d}.info{background:white;border:1px solid var(--line);border-radius:14px;padding:23px;margin:22px 0}.info h3{margin-top:0}.info a{color:var(--teal)}.compat{background:#e9f6f3;border-left:3px solid #087d84;padding:12px 15px;border-radius:6px;margin:15px 0}.compat p{margin:5px 0 0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.primary,.secondary{border-radius:10px;padding:10px 16px;font-weight:650;text-decoration:none}.primary{background:var(--teal);color:white;border:1px solid var(--teal)}.secondary{background:#fff;color:var(--teal);border:1px solid #bdd5d7}footer{margin-top:35px;color:#748793;font-size:12px;border-top:1px solid var(--line);padding-top:22px}.hamburger{display:none;background:none;border:1px solid #7fa1ad;border-radius:9px;color:white;padding:7px 12px}@media(max-width:800px){header{padding:15px}.brand h1{font-size:23px}.headlink{display:none}.hamburger{display:block}.shell{display:block}aside{display:none;position:relative;max-height:none;border-bottom:1px solid var(--line)}aside.show{display:block}main{padding:25px 18px 60px}.hero h2{font-size:34px}}

/* Joomla integration layer */
html{scroll-behavior:smooth}body{min-height:100vh}header.k-header{display:flex;align-items:center;justify-content:space-between}a{text-decoration:none;color:var(--teal)}a:hover{text-decoration:underline}.shell{min-height:70vh}aside.k-sidebar{display:block;position:relative;max-height:none;overflow:visible}main.k-main{min-width:0;flex:1}main.k-main article{background:white;border:1px solid var(--line);padding:28px;border-radius:14px}main.k-main h1,main.k-main h2{color:var(--navy)}.k-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.k-toolbar a{color:white}.k-nav ul{list-style:none;padding:0;margin:0}.k-nav li{margin:0}.k-nav a{display:block;padding:9px 10px;border-radius:8px;color:var(--navy)}.k-nav a:hover,.k-nav .current>a,.k-nav .active>a{background:var(--mint);color:var(--teal);text-decoration:none}.k-nav ul ul{padding-left:16px;border-left:1px solid var(--line);margin-left:12px}.k-footer{padding:25px 30px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.k-empty{padding:12px;font-size:13px;color:var(--muted)}.k-hero{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.k-hero h2{margin:5px 0}.k-mobile-menu{display:none}.k-main .item-page{background:white;border-radius:12px;padding:24px}.k-main img{max-width:100%;height:auto}@media(max-width:800px){.shell{display:block}.k-mobile-menu{display:inline-flex}aside.k-sidebar{display:none}aside.k-sidebar.is-open{display:block}main.k-main{padding:20px 16px}.k-toolbar{gap:9px}}

/* KOSMOtronik V0.2: accessible nested Joomla menu */
.k-nav{width:100%;min-width:0;overflow-wrap:break-word}
.k-nav ul,.k-nav li{display:block;width:100%;max-width:100%;min-width:0}
.k-nav li{position:relative;padding:0;line-height:1.35}
.k-nav li>a,.k-nav li>span{display:block;min-width:0;max-width:100%;padding:9px 34px 9px 10px;color:var(--navy);white-space:normal;overflow-wrap:break-word}
.k-nav li>span{cursor:default}
.k-nav ul ul{margin:2px 0 6px 12px!important;padding:0 0 0 9px!important;border-left:1px solid var(--line);width:calc(100% - 12px)}
.k-nav .k-branch>ul{display:none!important}
.k-nav .k-branch.k-open>ul{display:block!important}
.k-nav .k-expand{display:grid;place-items:center;position:absolute;right:3px;top:4px;width:30px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:#557582;font-size:24px;line-height:1;z-index:1}
.k-nav .k-expand:hover,.k-nav .k-expand:focus-visible{background:var(--mint);outline-offset:1px}
.k-nav>div>ul>li>a,.k-nav>div>ul>li>span,.k-nav>ul>li>a,.k-nav>ul>li>span{font-weight:700}
.k-nav li:hover>span{background:#eef7f6;border-radius:8px}

/* V0.3: entire branch title toggles the submenu */
.k-nav .k-branch>.k-branch-label{cursor:pointer}
.k-nav .k-branch>.k-branch-label:hover,.k-nav .k-branch>.k-branch-label:focus-visible{background:var(--mint);color:var(--teal);border-radius:8px;outline-offset:2px}

/* V0.4 – start page without duplicated Joomla title */
.k-home-hero{border-radius:18px;padding:clamp(24px,4vw,48px);background:linear-gradient(125deg,#e7f7f4,#f4faf9);border:1px solid #cee6e1;margin-bottom:30px}
.k-home-hero h1{font-size:clamp(28px,3vw,43px);line-height:1.16;margin:12px 0;color:#123346;max-width:800px}
.k-home-hero p{font-size:16px;max-width:790px;color:#4a6571}
.k-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.k-home-actions a{background:#087d84;color:white;text-decoration:none;border-radius:10px;padding:11px 16px;font-weight:650}
.k-home-actions .k-secondary{background:white;border:1px solid #9cc7c8;color:#086c72}
.k-home-section h2,.k-home-about h2{font-size:24px;margin:6px 0 19px}
.k-family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px}
.k-family-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;background:white;border:1px solid #dce5e9;border-radius:14px;padding:18px;min-height:175px;color:#183b4e;cursor:pointer;font:inherit}
.k-family-card:hover,.k-family-card:focus-visible{border-color:#087d84;box-shadow:0 7px 24px #0c2b3912;outline-offset:2px}
.k-family-icon{font-size:24px;background:#e6f7f3;color:#087d84;border-radius:9px;width:38px;height:38px;display:grid;place-items:center}
.k-family-card strong{font-size:16px}.k-family-card small{color:#657b86;font-size:13px;line-height:1.5}
.k-family-link{margin-top:auto;color:#087d84;font-size:12px;font-weight:650}
.k-home-about{background:white;border:1px solid #dce5e9;border-radius:14px;padding:26px;margin-top:30px}
.k-home-about p{max-width:850px;color:#4a6571}.k-home-about a{color:#087d84;font-weight:650}
@media(max-width:640px){.k-home-hero{padding:22px}.k-family-grid{grid-template-columns:1fr}}

/* V0.6: Archiv-Steckbriefe als echte, lesbare 2-Spalten-Tabelle. */
.k-main table.kosmos-steckbrief {
  width:100%;
  max-width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  margin:18px 0 32px;
  border:1px solid var(--line, #dce5e9);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  font-size:15px;
  line-height:1.55;
}
.k-main table.kosmos-steckbrief th,
.k-main table.kosmos-steckbrief td {
  display:table-cell;
  vertical-align:top;
  padding:13px 18px;
  border:0;
  border-bottom:1px solid var(--line, #dce5e9);
  text-align:left;
  white-space:normal;
  overflow-wrap:break-word;
  hyphens:auto;
}
.k-main table.kosmos-steckbrief tr:last-child > th,
.k-main table.kosmos-steckbrief tr:last-child > td { border-bottom:0; }
.k-main table.kosmos-steckbrief th[scope="row"] {
  width:34%;
  font-weight:650;
  color:var(--navy, #112c40);
  background:#eef5f7;
  border-right:1px solid var(--line, #dce5e9);
}
.k-main table.kosmos-steckbrief td {width:66%;color:var(--text, #172c38);background:#fff;}
.k-main table.kosmos-steckbrief tr:nth-child(even) td {background:#fafcfd;}
@media(max-width:580px){
  .k-main table.kosmos-steckbrief { font-size:14px; }
  .k-main table.kosmos-steckbrief th,
  .k-main table.kosmos-steckbrief td {padding:10px 11px;}
  .k-main table.kosmos-steckbrief th[scope="row"] { width:40%; }
  .k-main table.kosmos-steckbrief td {width:60%;}
}

/* V0.7: robust article table styling even if Joomla's editor strips CSS classes. */
.k-main .item-page table,
.k-main article table,
.k-main .com-content-article table {
  width:100% !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
  margin:18px 0 30px !important;
  border:1px solid #ccdbe1 !important;
  background:#fff !important;
  font-size:15px;
  line-height:1.55;
}
.k-main .item-page table th,
.k-main .item-page table td,
.k-main article table th,
.k-main article table td,
.k-main .com-content-article table th,
.k-main .com-content-article table td {
  box-sizing:border-box !important;
  display:table-cell !important;
  text-align:left !important;
  vertical-align:top !important;
  padding:13px 16px !important;
  border:1px solid #ccdbe1 !important;
  overflow-wrap:anywhere;
  word-break:normal;
  white-space:normal !important;
}
.k-main .item-page table tr > :first-child,
.k-main article table tr > :first-child,
.k-main .com-content-article table tr > :first-child {
  width:31% !important;
  min-width:0 !important;
  text-align:left !important;
  font-weight:700;
  background:#edf4f6 !important;
  color:#112c40;
}
.k-main .item-page table tr > :nth-child(2),
.k-main article table tr > :nth-child(2),
.k-main .com-content-article table tr > :nth-child(2) {
  width:69% !important;
  text-align:left !important;
}
.k-main .item-page table tr:nth-child(even) > :nth-child(2),
.k-main article table tr:nth-child(even) > :nth-child(2),
.k-main .com-content-article table tr:nth-child(even) > :nth-child(2) {background:#f8fbfc !important;}
/* Joomla publication/author metadata isn't relevant to the historical kit records. */
.k-main .article-info,
.k-main .article-info-term,
.k-main dl.article-info,
.k-main .com-content-article__info {display:none !important;}
@media(max-width:580px){
  .k-main .item-page table th,.k-main .item-page table td,
  .k-main article table th,.k-main article table td,
  .k-main .com-content-article table th,.k-main .com-content-article table td {padding:9px 10px !important;font-size:13px;}
  .k-main .item-page table tr > :first-child,
  .k-main article table tr > :first-child,
  .k-main .com-content-article table tr > :first-child {width:38% !important;}
  .k-main .item-page table tr > :nth-child(2),
  .k-main article table tr > :nth-child(2),
  .k-main .com-content-article table tr > :nth-child(2) {width:62% !important;}
}
