:root {
  --bg: #0b0c10;
  --card: #15171d;
  --line: #262a33;
  --text: #ebedf0;
  --muted: #9aa1ad;
  /* ultramagnetics-Grün: Marke #0E7543, für Text und Links eine hellere Stufe desselben Tons (Kontrast 6,5:1) */
  --brand: #0E7543;
  --accent: #22AA68;
  --accent-dark: #0E7543;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.lang { font-size: 15px; color: var(--muted); }
.lang a { margin-left: 12px; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 10px 40px rgba(14, 117, 67, .30); }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 22px 0 8px; letter-spacing: -.5px; }
.hero p.claim { font-size: 20px; color: var(--muted); margin: 0 auto; max-width: 560px; }
.badge {
  display: inline-block; margin-top: 26px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--brand); color: var(--accent); background: rgba(14, 117, 67, .12); font-weight: 600; font-size: 15px;
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 10px 0 46px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; color: var(--accent); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

h2 { font-size: 26px; margin: 46px 0 14px; letter-spacing: -.3px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
p, li { color: #d5d9df; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 26px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--accent); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p, details ul { margin: 10px 0 2px; color: var(--muted); }

.contact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 18px 0 10px; }
.contact a.mail { font-size: 20px; font-weight: 600; }

.legal h2 { font-size: 22px; margin-top: 38px; }
.legal p, .legal li { color: #c9ced6; }
.note { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .links a { margin-right: 16px; }
footer address { font-style: normal; margin-top: 12px; line-height: 1.5; }

/* Dachseite ultramagnetics */
.hub-hero { text-align: center; padding: 64px 0 30px; }
.hub-hero img { width: 112px; height: 112px; }
.hub-hero h1 { font-size: 42px; margin: 18px 0 6px; letter-spacing: -.5px; }
.hub-hero p { color: var(--muted); font-size: 19px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0 10px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; color: var(--text); }
.card:hover { text-decoration: none; border-color: var(--muted); }
.card .row { display: flex; align-items: center; gap: 14px; }
.card img { width: 60px; height: 60px; border-radius: 14px; }
.card h3 { margin: 0; font-size: 20px; color: var(--text); }
.card .sub { color: var(--muted); font-size: 14px; }
.card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.card .more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 15px; }
.tile-icon { width: 60px; height: 60px; border-radius: 14px; background: #1f232b; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: .5px; color: #f5c518; flex: none; }
.brand img.wordmark { width: auto; height: 22px; border-radius: 0; }
.hub-hero img.lockup { width: 300px; max-width: 80%; height: auto; }
.hub-hero p { margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
footer .um { display: inline-block; margin-top: 18px; }
footer .um img { height: 16px; opacity: .8; }

/* Screenshot-Galerie */
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 22px 18px; margin: 0 -22px 30px; -webkit-overflow-scrolling: touch; }
.gallery img { flex: 0 0 auto; width: 220px; height: auto; border-radius: 18px; scroll-snap-align: start; border: 1px solid var(--line); background: var(--card); }
@media (min-width: 900px) { .gallery img { width: 236px; } }
.gallery::-webkit-scrollbar { height: 6px; } .gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
