/* Ansible managed -- bienenwelt/ansible/roles/bienenwelt_web.
   The only stylesheet, and the only asset. No fonts, no images, no scripts are
   fetched from anywhere -- ../../adr.md 3. */

:root {
  color-scheme: light dark;
  --bg: #faf9f5;
  --fg: #23231f;
  --muted: #55554d;
  --rule: #e2e2dc;
  --card: #ffffff;
  --link: #8a5a00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17171a;
    --fg: #e8e8e4;
    --muted: #a8a89f;
    --rule: #2c2c30;
    --card: #1e1e22;
    --link: #e8b455;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--link); }
a:focus-visible,
.skip:focus { outline: 3px solid var(--link); outline-offset: 2px; }

/* Reachable by keyboard, out of the way otherwise. */
.skip {
  position: absolute;
  left: -9999px;
  padding: .6rem 1rem;
  background: var(--card);
}
.skip:focus { left: 1rem; top: 1rem; z-index: 2; }

.masthead,
main,
.identity > * { max-width: 46rem; margin-inline: auto; padding-inline: 1.25rem; }

.masthead {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--fg);
}

.langs ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}
.langs [aria-current] { color: var(--muted); }

main { padding-block: 2.5rem 3rem; }

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .6rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .6rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 .4rem; }
p, ul, ol, dl { margin: 0 0 1rem; }

.lede { font-size: 1.15rem; color: var(--muted); }

section + section { border-top: 1px solid var(--rule); padding-top: .5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.25rem 0;
  list-style: none;
}
.cards li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1rem 1.1rem;
}
.cards h3 { margin-top: 0; }

.contact { list-style: none; padding: 0; }
.contact li { margin-bottom: .35rem; }

.identity {
  border-top: 1px solid var(--rule);
  padding-block: 1.75rem 2.5rem;
  font-size: .875rem;
  color: var(--muted);
}
.identity address { font-style: normal; margin-bottom: .6rem; }
.identity p { margin: 0 0 .35rem; }
.identity strong { color: var(--fg); }

dt { font-weight: 600; margin-top: .9rem; }
dd { margin: 0 0 .35rem; }

table { border-collapse: collapse; width: 100%; margin-bottom: 1rem; }
th, td { text-align: left; padding: .4rem .6rem .4rem 0; border-bottom: 1px solid var(--rule); }
