/* kalli-family.de — Open Road theme (chosen 2026-10-07). Teal, sunrise orange, warm white; Bricolage Grotesque +
   DM Sans, self-hosted (fonts/fonts.css). The route map on the home page; calm reading pages.
   Values: docs/design/open-road/README.md. Private pages and UCC Sound keep the base look. No third-party requests. */
:root {
  --or-ground: #FFFDF8;
  --or-ink: #12343B;
  --or-body: #2C4E55;
  --or-muted: #4A6A70;
  --or-teal: #2E9C9B;
  --or-teal-deep: #0E5457;
  --or-teal-soft: #7FD0CB;
  --or-teal-pale: #BFE6E1;
  --or-sky: #E3F4F1;
  --or-orange: #F08A24;
  --or-orange-deep: #C2650F;
  --or-peach: #FDE8D0;
  --or-amber: #F7B267;
  --or-body-on-peach: #2C3F40;
  --or-hover: #B8560C;
  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, 'Segoe UI', sans-serif;
  --max: 46rem;
  --wide: 1280px;
  --gut: 40px;
  --fig-caption: var(--or-muted); --fig-bg: var(--or-sky); --callout-bg: var(--or-sky); --callout-border: var(--or-teal); --draft-bg: var(--or-ink); --pad: 20px; --maxw: 46rem;
}
@media (max-width: 600px) { :root { --gut: 20px; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--or-ground); color: var(--or-ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--or-teal-deep); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--or-teal-pale); text-underline-offset: .18em; }
a:hover { color: var(--or-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--or-orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--or-ink); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 18px; }
h2 { font-weight: 800; font-size: clamp(1.5rem, 1.3rem + .9vw, 1.9rem); line-height: 1.1; letter-spacing: -.025em; margin: 2.4rem 0 .7rem; }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; margin: 1.8rem 0 .4rem; }

/* ---------- banners ---------- */
.draft-ribbon { background: var(--or-ink); }
.wip { background: var(--or-peach); color: var(--or-body-on-peach); font-size: 15px; padding: 10px var(--gut); text-align: center; }
.wip strong { display: inline-block; background: var(--or-orange); color: var(--or-ink); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; padding: 2px 10px; border-radius: 999px; margin-right: 8px; }

/* ---------- header ---------- */
.site-header { max-width: var(--wide); margin: 0 auto; padding: 28px var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--or-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand:hover { color: var(--or-ink); }
.site-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.site-nav a { font-size: 15px; font-weight: 700; color: var(--or-ink); text-decoration: none; background: var(--or-sky); padding: 9px 16px; border-radius: 999px; }
.site-nav a:nth-child(even) { background: var(--or-peach); }
.site-nav a:hover { background: var(--or-teal-pale); color: var(--or-ink); }
.site-nav a[aria-current="page"] { background: var(--or-orange); }
.site-nav a.priv { background: var(--or-ink); color: var(--or-ground); }
.site-nav a.priv:hover { background: var(--or-teal-deep); }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a { font-size: 13px; font-weight: 700; color: var(--or-teal-deep); text-decoration: none; border: 2px solid var(--or-teal-pale); padding: 5px 11px; border-radius: 999px; }
.lang-switch a:hover { border-color: var(--or-teal); color: var(--or-ink); }
@media (max-width: 760px) { .site-header { padding-top: 18px; padding-bottom: 18px; } .brand { width: 100%; } .site-nav a { padding: 8px 13px; } }

/* ---------- home: route map ---------- */
.home-main { max-width: var(--wide); margin: 0 auto; padding: 12px var(--gut) 72px; }
.home-head { max-width: 52rem; padding: 16px 0 32px; }
.home-head h1 { font-size: clamp(3rem, 1.8rem + 4.6vw, 4.75rem); line-height: .98; margin-bottom: 16px; }
.home-head .lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.45; color: var(--or-body); margin: 0; }
.map-scroll { overflow-x: auto; padding-bottom: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--or-teal) var(--or-sky); }
.map { position: relative; height: 660px; border-radius: 40px; background: var(--or-teal-pale); overflow: hidden; margin: 0 auto; }
.map-art { position: absolute; inset: 0; display: block; }
/* Map width and stop positions as classes: the live site allows no inline styles (style-src 'self'). Up to nine stops. */
.map-n1 { width: 480px; }
.map-n2 { width: 480px; }
.map-n3 { width: 840px; }
.map-n4 { width: 840px; }
.map-n5 { width: 1200px; }
.map-n6 { width: 1200px; }
.map-n7 { width: 1560px; }
.map-n8 { width: 1560px; }
.map-n9 { width: 1920px; }
.stop-1 { --x: 150px; }
.stop-2 { --x: 330px; }
.stop-3 { --x: 510px; }
.stop-4 { --x: 690px; }
.stop-5 { --x: 870px; }
.stop-6 { --x: 1050px; }
.stop-7 { --x: 1230px; }
.stop-8 { --x: 1410px; }
.stop-9 { --x: 1590px; }
.stops { list-style: none; margin: 0; padding: 0; }
.stop { position: absolute; left: var(--x); top: 280px; width: 0; height: 0; }
.stop.down { top: 400px; }
.stop .num { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: var(--or-orange); border: 4px solid var(--or-ground); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--or-ink); }
.stop.down .num { background: var(--or-peach); }
.stop .card { position: absolute; left: -115px; width: 230px; }
.stop.up .card { bottom: 44px; }
.stop.down .card { top: 40px; }
.card { background: var(--or-ground); border-radius: 22px; padding: 14px 16px 16px; text-align: center; }
.card .name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; color: var(--or-ink); text-decoration: none; }
.card .name:hover { color: var(--or-hover); }
.card p { font-size: 15px; line-height: 1.4; color: var(--or-body); margin: 4px 0 0; }
.card .pill { display: inline-block; margin-top: 10px; background: var(--or-ink); color: var(--or-ground); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.route-list { display: none; }
@media (max-width: 760px) {
  .map-scroll { display: none; }
  .route-list { display: block; list-style: none; margin: 8px 0 0; padding: 28px 18px 60px; background: var(--or-teal-pale); border-radius: 28px; }
  .route-list li { position: relative; padding: 0 0 26px 50px; border-left: 5px dotted var(--or-ink); margin-left: 20px; }
  .route-list li .num { position: absolute; left: -27px; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--or-orange); border: 4px solid var(--or-ground); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--or-ink); }
  .route-list li:nth-child(even) .num { background: var(--or-peach); }
  .route-list .card { text-align: left; }
  .route-list .card .name { font-size: 23px; }
  .route-list li.end { padding: 0; height: 0; border-left-color: transparent; }
  .route-list .sun { position: absolute; left: -29px; top: -6px; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, var(--or-ground) 0 37%, var(--or-orange) 38%); }
  .route-list li:nth-last-child(2) { padding-bottom: 46px; }
}
.home-rest { max-width: var(--max); margin: 48px 0 0; }
.home .home-rest .cards { display: none; }

/* ---------- reading pages ---------- */
.page { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 24px var(--gut) 72px; }
.meta { color: var(--or-muted); font-size: 15px; margin: -4px 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pill-link { background: var(--or-sky); color: var(--or-teal-deep); text-decoration: none; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.pill-link:hover { background: var(--or-teal-pale); color: var(--or-ink); }
.prose { font-size: 18px; line-height: 1.7; color: var(--or-ink); }
.prose p { margin: 0 0 1.15rem; }
.prose p.lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); line-height: 1.5; color: var(--or-body); }
.prose blockquote { margin: 1.75rem 0; padding: 20px 24px; border-radius: 24px; background: var(--or-peach); color: var(--or-body-on-peach); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 20px; }
.prose figure { margin: 1.75rem 0; }
.prose figcaption { font-size: 14px; color: var(--or-muted); margin-top: .5rem; }
.prose hr { border: 0; border-top: 5px dotted var(--or-teal); margin: 2.75rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 1.25rem 0; }
.prose th, .prose td { text-align: left; padding: .55rem .65rem; border-bottom: 2px solid var(--or-sky); vertical-align: top; }
.prose th { color: var(--or-ink); font-weight: 700; background: var(--or-sky); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose ul li::marker { color: var(--or-orange); }
.prose .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 16px; margin: 1.5rem 0; padding: 0; list-style: none; }
.prose .cards li { background: var(--or-sky); border-radius: 24px; padding: 18px 20px; margin: 0; font-size: 16px; line-height: 1.5; color: var(--or-body); }
.prose .cards li:nth-child(even) { background: var(--or-peach); color: var(--or-body-on-peach); }
.prose .cards li strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-bottom: 4px; }
.prose .cards li a { text-decoration: none; color: var(--or-ink); }
.prose .cards li a:hover { color: var(--or-hover); }
.prose .timeline { list-style: none; padding: 0; margin: 1.5rem 0; border-left: 5px dotted var(--or-teal); }
.prose .timeline li { position: relative; padding: 0 0 1.2rem 1.6rem; margin: 0; }
.prose .timeline li::before { content: ""; position: absolute; left: -12px; top: .45rem; width: 19px; height: 19px; border-radius: 50%; background: var(--or-orange); border: 3px solid var(--or-ground); }
.prose .timeline time { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--or-teal-deep); display: block; }
.prose .note { background: var(--or-sky); padding: 16px 20px; border-radius: 20px; font-size: 16px; color: var(--or-body); }
.prose .figure img { border-radius: 20px; box-shadow: none; }
.prose .callout { border-left: 0; border-radius: 20px; padding: 18px 22px; }
.prose .callout .callout-title { font-weight: 700; color: var(--or-teal-deep); }
.also-on { border-radius: 18px; }

/* ---------- blog ---------- */
.blog-index h2.year { display: flex; align-items: center; gap: 12px; }
.blog-index h2.year::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--or-orange); flex: none; }
.postlist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.postlist li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: 10px 0; border-bottom: 3px dotted var(--or-teal-pale); margin: 0; }
.postlist time { font-size: 14px; color: var(--or-muted); }
.postlist a { font-weight: 700; color: var(--or-ink); text-decoration: none; }
.postlist a:hover { color: var(--or-hover); }
@media (max-width: 520px) { .postlist li { grid-template-columns: 1fr; gap: 0; } }
.post img { display: block; margin: 1rem auto; max-height: 70vh; width: auto; }
.post .figure img { margin: 0; max-height: none; }
.cover { margin: 0 0 32px; }
.cover img { width: 100%; height: auto; border-radius: 24px; box-shadow: none; }
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.postnav a { display: block; text-decoration: none; background: var(--or-peach); color: var(--or-ink); border-radius: 22px; padding: 16px 20px; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.postnav a span { display: block; font-family: var(--font-body); font-size: 15px; color: var(--or-orange-deep); margin-bottom: 4px; }
.postnav .next { grid-column: 2; text-align: right; background: var(--or-sky); }
.postnav .next span { color: var(--or-teal-deep); }
.postnav a:hover { background: var(--or-teal-pale); color: var(--or-ink); }
@media (max-width: 600px) { .postnav { grid-template-columns: 1fr; } .postnav .next { grid-column: auto; text-align: left; } }
.draft-tag { display: inline-block; background: var(--or-ink); color: var(--or-ground); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; vertical-align: middle; }

/* ---------- footer ---------- */
.site-footer { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gut) 40px; font-size: 14px; color: var(--or-muted); }
.site-footer a { color: var(--or-teal-deep); }
.foot-road { border-top: 5px dotted var(--or-teal); position: relative; margin: 24px 0 18px; }
.foot-road::after { content: ""; position: absolute; right: 0; top: -17px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, var(--or-ground) 0 37%, var(--or-orange) 38%); }
.site-footer p { margin: 0; }

/* picture grid (Teams Backgrounds): thumbnails that open the full-size picture */
.prose .bg-grid { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 16px; }
.prose .bg-grid li { margin: 0; }
.prose .bg-grid a { display: block; text-decoration: none; color: var(--or-body); font-size: 14px; line-height: 1.35; }
.prose .bg-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--or-sky); }
.prose .bg-grid span { display: block; padding: 6px 4px 0; }
.prose .bg-grid a:hover img, .prose .bg-grid a:focus-visible img { outline: 4px solid var(--or-orange); outline-offset: 2px; }

/* call-to-action link, e.g. the ready-made first mail on the Jobs page */
a.button { display: inline-block; background: var(--or-teal-deep); color: var(--or-ground); text-decoration: none;
  font-weight: 600; padding: .7em 1.2em; border-radius: 999px; line-height: 1.2; }
a.button:hover, a.button:focus-visible { background: var(--or-hover); color: var(--or-ground); }
a.button:focus-visible { outline: 3px solid var(--or-amber); outline-offset: 2px; }
