/* Shared styles for impressum.html and datenschutz.html */
:root {
  --ink: #1A1A18;
  --cream: #F2EDE3;
  --sand: #E3DCCD;
  --teal: #A3B5B1;
  --line: 2px;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--cream); color: var(--ink); }

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  padding: 24px;
}

.frame {
  max-width: 920px;
  margin: 0 auto;
  border: var(--line) solid var(--ink);
  display: grid;
  gap: var(--line);
  background: var(--ink);
}

.frame > * { background: var(--cream); }

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
}

.head img { display: block; height: 56px; width: auto; }

.back {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.back:hover { text-decoration: underline; text-underline-offset: 4px; }

.title { background: var(--teal); padding: 40px 32px; }

.title h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.content { padding: 40px 32px 56px; }

.content section + section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: var(--line) solid var(--ink);
}

.content h2 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.content p, .content li {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  max-width: 68ch;
}

.content ul { margin: 0 0 12px; padding-left: 1.2em; }

.content address { font-style: normal; font-size: 16px; line-height: 1.7; }

.content a { color: var(--ink); text-underline-offset: 3px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }

.foot a { color: var(--ink); text-decoration: none; }

.foot a:hover, .foot a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  body { padding: 12px; }
  .head, .title, .content, .foot { padding-left: 20px; padding-right: 20px; }
  .head img { height: 40px; }
}
