:root {
  color-scheme: light;
  --tinte: #35251b;
  --kaminrot: #842e28;
  --tanne: #28483a;
  --papier: #fff3dd;
  --gold: #b77f3d;
  --linie: #d6bd95;
  font: 100%/1.56 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: clamp(12px, 4vw, 56px);
  color: var(--tinte);
  background: radial-gradient(ellipse at 45% 0, #69402d, #35221a 68%);
}
a { color: var(--tanne); }
a:focus-visible { outline: 3px solid #116687; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }

.buchseite {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(18px, 5vw, 52px);
  border: 1px solid #ddbb8a;
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(90deg, #e8cb9d, var(--papier) 2.8%, #fff7e8 58%, #f4dfbb);
  box-shadow: 0 2px 0 #785237, 0 5px 0 #d5b284, 0 8px 0 #9e714b, 0 18px 50px #170d08aa;
}
.marke {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 2vw, 18px);
  margin: 0 auto clamp(18px, 3vw, 31px);
  max-width: 28rem;
}
.profil {
  width: clamp(44px, 9vw, 67px);
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.schriftzug {
  width: min(75%, 350px);
  mix-blend-mode: multiply;
}
.kopf {
  display: flex;
  align-items: center;
  min-height: 260px;
  padding: clamp(16px, 4vw, 44px);
  background: linear-gradient(90deg, #261710 0%, #261710 34%, #261710ec 45%, #26171000 65%),
              #261710 url('lesezimmer.webp') right center / auto 100% no-repeat;
  border: 3px double #d6a56a;
  border-radius: 4px 16px 4px 16px;
  color: #fff1d7;
}
.kopftext { width: min(53%, 27rem); }
.jahr {
  margin: 0 0 .65rem;
  font-weight: 700;
  font-size: .81rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f5c98c;
}
h1, h2, .datum p {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
}
h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}
.kopftext > p:last-child {
  font-size: .94rem;
  margin: .95rem 0 0;
  max-width: 33ch;
  color: #ffe8c3;
}
.geschenke { list-style: none; margin: 26px 0 0; padding: 0; }
.geschenk {
  display: grid;
  grid-template-columns: minmax(8rem, 26%) 1fr;
  gap: 1rem;
  padding: 16px 8px;
  border-bottom: 1px solid var(--linie);
}
.geschenk:first-child { border-top: 1px solid var(--linie); }
.datum p {
  margin: 0;
  color: var(--kaminrot);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.24rem);
}
.datum time { font-size: .9rem; }
.inhalt { align-self: center; }
.inhalt p { margin: 0; }
.inhalt .wartet { color: var(--tanne); font-style: italic; }
h2 { color: var(--tanne); margin: 0 0 .13rem; font-size: clamp(1.16rem, 3vw, 1.55rem); line-height: 1.21; }
.downloads { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .72rem; }
.datei {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .62rem;
  padding: .44rem .7rem;
  color: white;
  background: var(--tanne);
  border-radius: 5px;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.datei:hover { background: #1e392d; text-decoration: underline; }
.datei span { font-size: .75em; color: #ffddaa; white-space: nowrap; }
footer { margin-top: 24px; text-align: center; }

@media (max-width: 680px) {
  .kopf {
    align-items: end;
    min-height: 0;
    padding-top: clamp(122px, calc(48vw - 25px), 296px);
    background: linear-gradient(0deg, #261710 0%, #261710 31%, #26171000 68%),
                #261710 url('lesezimmer.webp') center top / 100% auto no-repeat;
  }
  .kopftext { width: auto; }
}
@media (max-width: 460px) {
  .buchseite { padding: 16px; }
  .geschenke { margin-top: 18px; }
  .geschenk { grid-template-columns: 1fr; gap: .3rem; padding: 14px 3px; }
  .datum { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; }
}
