/* roskosch.de — the company page (2026-11-07). Same family as ham-radio-apps.com's new look
   (palette, system font, plain bands with hairlines), but calm and without the radio waterfall.
   Rules: ../../CLAUDE.md → "Look". Not used by /waypoints/ (it keeps the old page's look). */

:root {
  --paper: #F6F6F4;
  --mist: #ECEDEE;
  --ink: #16191E;
  --night: #070B12;
  --text: #3A414B;
  --muted: #69717D;
  --line: rgba(22, 25, 30, 0.13);
  --link: #0B5FB3;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
ul { list-style: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }

h1, h2, h3 { font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p + p { margin-top: 12px; }
.intro { color: var(--text); max-width: 40em; }
.small { font-size: 14px; color: var(--muted); }

.pad { padding: clamp(64px, 8vw, 112px) 0; }
.band-mist { background: var(--mist); }
.band-dark { background: var(--night); color: rgba(255, 255, 255, 0.85); }
.band-dark h2 { color: #fff; }
.band-dark a { color: #8CC4FF; }
.band-dark strong { color: #fff; }

.more { display: inline-block; margin-top: 16px; font-weight: 600; }
.more::after { content: " →"; }

/* ---------- Header ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 244, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 650; white-space: nowrap; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav nav a { color: var(--ink); text-decoration: none; opacity: .75; }
.nav nav a:hover { opacity: 1; }
.nav nav a.lang { opacity: 1; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
@media (max-width: 600px) {
  .nav nav a:not(.keep) { display: none; }   /* on the iPhone only the links marked "keep" */
  .nav nav { gap: 14px; }
}
@media (max-width: 400px) {
  .brand { font-size: 15px; }
  .nav nav { gap: 10px; font-size: 14px; }
  .nav nav a.lang { padding: 2px 8px; font-size: 13px; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.035em; max-width: 14em; }
.hero-sub { margin-top: 16px; font-size: clamp(19px, 1.9vw, 23px); color: var(--ink); }
.hero-text { margin-top: 22px; max-width: 38em; color: var(--text); }
.icon-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.icon-strip img { width: 44px; height: 44px; }
@media (max-width: 600px) {   /* two even rows on the iPhone (13 apps: 7 + 6) */
  .icon-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
  .icon-strip img { width: 100%; height: auto; }
}

.app-icon { border-radius: 22%; flex: none; }

/* ---------- HAM radio apps ---------- */

.app-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 28px; margin-top: 36px;
}
.app-grid a {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; line-height: 1.3;
}
.app-grid a:hover span { color: var(--link); text-decoration: underline; }
.app-grid img { width: 48px; height: 48px; }
@media (max-width: 1000px) { .app-grid { grid-template-columns: 1fr 1fr; } }   /* 10 apps: 5 × 2 or 2 × 5, never one alone */
@media (max-width: 700px) { .app-grid { grid-template-columns: 1fr 1fr; gap: 0 18px; } }
@media (max-width: 400px) { .app-grid { font-size: 15px; } .app-grid img { width: 40px; height: 40px; } }

/* ---------- Other apps: three equal blocks ---------- */

.app-trio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px clamp(28px, 3vw, 44px); }
.trio-item { padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.trio-item .app-icon { width: 64px; height: 64px; margin-bottom: 18px; }
.trio-item h2 { font-size: 26px; margin-bottom: 4px; }
.trio-item .tagline { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.trio-item p { color: var(--text); }
.trio-item .badge { margin-top: 20px; }
.trio-item .badge img { height: 40px; width: auto; }
.trio-item .more { margin-top: auto; padding-top: 16px; }
@media (max-width: 1060px) { .app-trio { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .app-trio { grid-template-columns: 1fr; } }

/* ---------- Two columns (who we are, contact) ---------- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 6vw, 96px); }
.two-col p { color: var(--text); }
.band-dark .two-col p { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.line-list { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.line-list li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.line-list strong { display: block; }

/* ---------- Text pages (about, imprint, privacy) ---------- */

.page { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 112px); }
.page h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.03em; margin-bottom: 28px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page p, .page li { color: var(--text); }
.page ul.dots { list-style: disc; padding-left: 1.2em; }
.page ul.dots li + li { margin-top: 6px; }
.page address { font-style: normal; color: var(--text); }
.portrait { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.portrait img { width: 96px; height: 96px; border-radius: 50%; }
.portrait p { color: var(--muted); }
.portrait strong { display: block; color: var(--ink); font-size: 19px; }
.awards { border-top: 1px solid var(--line); margin-top: 8px; }
.awards li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.awards span { color: var(--muted); font-variant-numeric: tabular-nums; }
.signature { margin-top: 28px; font-weight: 600; color: var(--ink) !important; }

/* ---------- Footer ---------- */

.footer { padding: 44px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
