/* =============================================================
   bobbe.com — letterhead landing (index.html + en/index.html)
   System fonts only: no font requests, nothing to host.
   ============================================================= */
:root {
  --paper: #f6f3ee;
  --ink:   #1c1b19;
  --soft:  #6f6b64;
  --faint: rgba(111,107,100,.75);
  --rule:  rgba(28,27,25,.14);
  --text:  "Iowan Old Style", "Charter", "Bitstream Charter", Georgia, serif;
  --small: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--text); -webkit-font-smoothing: antialiased;
  min-height: 100svh; display: flex; flex-direction: column;
}
a { color: inherit; }

.page {
  flex: 1; width: 100%; max-width: 760px; margin: 0 auto;
  padding: 48px 24px 40px; display: flex; flex-direction: column;
}

/* ───── Header: mark + language toggle ───── */
.top { display: flex; justify-content: space-between; align-items: center; }
/* Source PNG is padded; the wordmark spans ~46% of its width starting at ~27%.
   Crop so the mark sits flush with the text edge. */
.mark { display: block; width: var(--w, 104px); overflow: hidden; }
.logo {
  display: block; width: calc(var(--w, 104px) / .46); max-width: none;
  margin-left: calc(var(--w, 104px) * -.27 / .46);
  aspect-ratio: 1028 / 290; object-fit: cover;
}
.lang { font-family: var(--small); font-size: .78rem; color: var(--faint); display: flex; gap: 6px; }
.lang a { text-decoration: none; color: var(--soft); }
.lang a:hover { color: var(--ink); }
.lang [aria-current] { color: var(--ink); }

/* ───── Body copy ───── */
.body { margin: auto 0; padding: 64px 0; }
.body p {
  font-size: clamp(1.25rem, 3.4vw, 1.6rem); line-height: 1.5; max-width: 30em;
  text-wrap: pretty;
}
.body p + p { margin-top: 1.1em; color: var(--soft); }
.body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em;
  text-decoration-color: var(--rule); transition: text-decoration-color .2s; }
.body a:hover { text-decoration-color: var(--ink); }
.body p + p a { text-decoration-color: rgba(111,107,100,.5); }
.body p + p a:hover { color: var(--ink); }
.body p.aside {
  margin-top: 2.6em; font-family: var(--small); font-size: .9rem; line-height: 1.6;
  color: var(--soft); max-width: none;
}

/* ───── Footer: company | contact, legal line below ───── */
.foot {
  border-top: 1px solid var(--rule); padding-top: 22px;
  display: grid; gap: 24px;
  font-family: var(--small); font-size: .78rem; line-height: 1.7; color: var(--soft);
}
.foot .col { display: flex; flex-direction: column; }
.foot .lead { color: var(--ink); }
.foot .reg { color: var(--faint); margin-top: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

.contact { display: grid; grid-template-columns: 5.5em 1fr; align-content: start; }
.contact dt { color: var(--faint); }
.contact dd a { color: var(--ink); }
.contact dd a:hover { color: var(--soft); }

.foot .legal {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 18px;
  font-size: .7rem; color: var(--faint);
}
@media (min-width: 720px) {
  .page { padding: 64px 48px 48px; --w: 120px; }
  .body { padding: 96px 0; }
  .foot { grid-template-columns: 1fr 2fr; }
  .foot .legal { grid-column: 1 / -1; }
}

/* ───── Legal pages (impressum.html, datenschutz.html) ───── */
.back { font-family: var(--small); font-size: .78rem; color: var(--soft); text-decoration: none; }
.back:hover { color: var(--ink); }
.legal-body { padding: 56px 0 72px; max-width: 38em; }
.legal-body h1 { font-weight: normal; font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.25; margin-bottom: 8px; }
.legal-body .intro { font-family: var(--small); font-size: .85rem; color: var(--soft); margin-bottom: 40px; }
.legal-body h2 { font-weight: normal; font-size: 1.15rem; margin: 52px 0 12px; }
.legal-body h3 { font-family: var(--small); font-size: .85rem; font-weight: 600; margin: 30px 0 6px; }
.legal-body p, .legal-body li { font-family: var(--small); font-size: .9rem; line-height: 1.7; color: #3d3b37; }
.legal-body p + p { margin-top: .8em; }
.legal-body ul { margin: .6em 0 .8em 1.2em; }
.legal-body a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .18em; }
.legal-body a:hover { text-decoration-color: var(--ink); }
@media (min-width: 720px) { .legal-body { padding: 80px 0 96px; } }
