/* unix.io – gemeinsames Stylesheet (helle Variante) */
:root {
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --line: #e2e5ea;
  --text: #0b0c0e;
  --muted: #4a515e;
  --blue: #1f4fb5;        /* Logo-Blau (Flächen, Linien) */
  --blue-text: #1f4fb5;   /* Logo-Blau auch für Text (auf Weiß ausreichend Kontrast) */
  --red: #e0061a;         /* nur winzige Akzente */
  --radius: 10px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans);
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .tile:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
main { flex: 1; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }
.mono { font-family: var(--mono); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header nav a { color: var(--muted); font-size: 15px; margin-left: 22px; }
.site-header nav a:hover { color: var(--text); }

/* Wortmarke (Logo als SVG + Text, funktioniert hell & dunkel) */
.brand { display: inline-flex; align-items: center; gap: .35em; color: var(--text); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 1.35em; width: auto; flex: none; }
.brand-word { font-family: var(--sans); font-weight: 700; letter-spacing: .04em; font-size: 1em; }
.brand-word .io { color: var(--blue-text); }
.brand-sm { font-size: 20px; }
.on-light { color: #111; }
.on-light .io { color: var(--blue); }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before { /* dezentes Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .7;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; }
.hero .brand { font-size: clamp(44px, 9vw, 96px); }
.tagline { margin: 18px 0 0; font-size: clamp(18px, 2.4vw, 24px); color: var(--text); }
.lead { max-width: 620px; color: var(--muted); margin: 18px 0 0; }
.prompt { font-family: var(--mono); font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.prompt .p { color: var(--blue-text); }
.cursor { display: inline-block; width: .55em; height: 1em; background: var(--red); vertical-align: -2px; margin-left: 4px; }
.actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); color: var(--text); }
.btn:hover { text-decoration: none; border-color: var(--blue); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: #183f92; }

/* Sektionen */
section { padding: 64px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 650; }
.section-intro { color: var(--muted); max-width: 640px; margin: 10px 0 0; }

.grid { display: grid; gap: 16px; margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-top: 14px; }
.card p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }
.icon { width: 28px; height: 28px; stroke: var(--blue-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.contact { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.contact-mail { font-family: var(--mono); font-size: clamp(18px, 2.6vw, 24px); color: var(--text); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.contact-mail:hover { text-decoration: none; border-bottom-color: var(--red); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }

/* Intern */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(28px, 4vw, 38px); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.badge::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 1px; }
.tiles { display: grid; gap: 16px; margin: 32px 0 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; height: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--text); transition: border-color .15s, transform .15s; }
.tile:hover { text-decoration: none; border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,30,70,.08); }
.tile h2 { font-size: 18px; margin-top: 14px; }
.tile p { color: var(--muted); font-size: 15px; margin: 6px 0 0; flex: 1; }
.tile .go { font-family: var(--mono); font-size: 13px; color: var(--blue-text); margin-top: 16px; }
.notice { margin: 40px 0 64px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 6px; padding: 16px 20px; color: var(--muted); font-size: 15px; background: var(--bg-2); }
.notice strong { color: var(--text); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 52px; }
  section { padding: 48px 0; }
  .site-header nav a { margin-left: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }

/* --- v3: minimal hero, service list, contact lines, no footer --- */
.site-footer { display: none; }
main { padding-bottom: 24px; }
.hero .tagline { font-family: var(--mono); font-size: clamp(16px, 2.2vw, 21px); color: var(--muted); letter-spacing: .01em; }
.center { text-align: center; }
h2.eyebrow { font-size: 13px; font-weight: 400; }
.services { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; max-width: 760px; }
.services li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); font-size: 17px; font-weight: 550; }
.services .icon { width: 20px; height: 20px; opacity: .85; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; font-size: clamp(17px, 2.2vw, 20px); line-height: 2; }
.contact-list .label { color: var(--muted); display: inline-block; min-width: 5.5em; text-align: right; margin-right: .4em; }
.contact-list a { border-bottom: 1px solid var(--blue); }
.contact-list a:hover { text-decoration: none; border-bottom-color: var(--red); }
#contact { padding-bottom: 72px; }
@media (max-width: 560px) {
  .services { flex-direction: column; align-items: stretch; max-width: 320px; }
  .contact-list .label { min-width: 0; }
}
/* v3b: centered hero, aligned contact grid */
.hero .wrap { text-align: center; }
.hero .brand { justify-content: center; }
.hero .actions { justify-content: center; }
.hero::before { mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 65%); }
.contact-list { display: inline-grid; grid-template-columns: auto auto; column-gap: .6em; text-align: left; }
.contact-list li { display: contents; }
.contact-list .label { min-width: 0; margin: 0; text-align: right; }
.contact-list a { justify-self: start; }

/* 5 Kacheln: 3 + 2 zentriert (Desktop), 2 Spalten (Tablet), 1 Spalte (Handy) */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; }
.tiles > li { flex: 0 1 calc((100% - 32px) / 3); }
@media (max-width: 900px) { .tiles > li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .tiles > li { flex-basis: 100%; } }

/* Original-Logo als PNG/WebP */
.brand-link { display: inline-flex; align-items: center; }
.brand-link:hover { text-decoration: none; }
.logo-sm { display: block; height: 30px; width: auto; }
.hero-logo { margin: 0; line-height: 0; }
.logo-lg { display: block; width: min(560px, 84vw); height: auto; margin: 0 auto; }
.hero .tagline { margin-top: 26px; }
@media (max-width: 560px) { .logo-sm { height: 26px; } }
.tiles { margin-bottom: 64px; }
/* Logo mit Slogan + Subline */
.logo-lg { width: min(600px, 86vw); }
.hero .tagline { margin-top: 22px; font-size: clamp(13px, 1.5vw, 15px); letter-spacing: .14em; text-transform: uppercase; }

/* Light/Dark-Umschalter */
.theme-toggle { display: inline-flex; align-items: center; gap: 5px; font-size: 13px !important; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 8px; vertical-align: middle; }
.theme-toggle:hover { text-decoration: none; color: var(--text); border-color: var(--blue); }
.theme-toggle .ti { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header nav { display: flex; align-items: center; }
