.bgb-reading { background: #f4f7f0; }
.bgb-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.bgb-intro h2 { margin-bottom: 0; }
.bgb-intro > .bs-button { flex-shrink: 0; margin-bottom: 6px; }
#guestbook, #eintrag { scroll-margin-top: 150px; }
.bgb-topline { display: flex; justify-content: space-between; gap: 16px; padding: 0 8px 18px; color: var(--bs-muted); font-size: 13px; }
.bgb-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 12px; background: var(--bs-green-dark); border-radius: 7px; box-shadow: 0 22px 45px #1620111c, 0 5px 0 #244813; }
.bgb-book::after { content: ''; position: absolute; width: 22px; height: 58px; background: var(--bs-green); right: 90px; top: 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.bgb-leaf { min-width: 0; min-height: 520px; display: flex; flex-direction: column; padding: 36px 44px 28px; background: #fffefa; }
.bgb-leaf:first-child { background: linear-gradient(90deg, #fffefa 94%, #e9eadf); border-right: 1px solid #d6dbc9; }
.bgb-leaf:last-child { background: linear-gradient(90deg, #e9eadf, #fffefa 6%); }
.bgb-leaf-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--bs-line); font-size: 11px; text-transform: uppercase; color: var(--bs-muted); }
.bgb-leaf time { font-size: 12px; color: var(--bs-muted); }
.bgb-leaf blockquote { border: 0; padding: 0; margin: 24px 0 32px; quotes: none; }
.bgb-leaf blockquote p { margin: 0; font: 400 22px/1.65 Georgia, serif; color: var(--bs-ink); overflow-wrap: anywhere; }
.bgb-signature { margin-top: auto; color: var(--bs-green-dark); font: italic 24px/1.3 Georgia, serif; overflow-wrap: anywhere; }
.bgb-folio { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--bs-line); font-size: 10px; color: var(--bs-muted); }
.bgb-invitation { margin-block: auto; padding-block: 36px; }
.bgb-invitation h3 { font: 400 34px/1.2 Georgia, serif; color: var(--bs-green-dark); margin-bottom: 24px; }
.bgb-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; }
.bgb-pagination > span:not(.bs-button) { font-size: 13px; color: var(--bs-muted); text-align: center; }
.bgb-pagination .is-disabled { opacity: .4; pointer-events: none; }
[data-bgb-results] { overflow-anchor: none; }
[data-bgb-results][aria-busy=true] .bgb-pagination { cursor: progress; }
.bgb-leaf { backface-visibility: hidden; }
.bgb-write { background: #fff; }
.bgb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.bgb-form { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.bgb-form > label { color: var(--bs-green-dark); font-weight: 700; font-size: 15px; }
.bgb-form label span { font-weight: 400; }
.bgb-form input[type=text], .bgb-form textarea { width: 100%; background: #fffefa; border: 1px solid #b8c6ad; border-radius: 4px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--bs-ink); margin-bottom: 12px; }
.bgb-form textarea { resize: vertical; min-height: 180px; }
.bgb-form input:focus-visible, .bgb-form textarea:focus-visible { outline: 2px solid var(--bs-green-dark); outline-offset: 3px; }
.bgb-form .bgb-consent { display: flex; align-items: start; gap: 12px; color: var(--bs-muted); line-height: 1.5; font-size: 14px; }
.bgb-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--bs-green-dark); }
.bgb-form .bs-button { align-self: start; cursor: pointer; }
.bgb-form .bs-button:disabled { opacity: .5; cursor: wait; }
.bs-section .bgb-help, .bs-section .bgb-privacy { font-size: 14px; }
.bgb-privacy { margin: 0; }
.bgb-privacy a { color: var(--bs-green-dark); text-decoration: underline; }
.bgb-feedback { color: var(--bs-green-dark); font-size: 15px; line-height: 1.5; }
.bgb-feedback.is-error { color: #a32e26; }
.bgb-feedback:empty { display: none; }
.bgb-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 980px) {
  .bgb-intro { align-items: start; flex-direction: column; }
  .bgb-leaf { padding: 28px; }
  .bgb-leaf blockquote p { font-size: 20px; }
  .bgb-form-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .bgb-book { grid-template-columns: 1fr; padding: 8px; }
  .bgb-leaf { min-height: 400px; padding: 26px 22px; }
  .bgb-leaf:first-child { border: 0; border-bottom: 8px solid var(--bs-green-dark); background: #fffefa; }
  .bgb-leaf:last-child { background: #fffefa; }
  .bgb-book::after { top: 8px; right: 70px; width: 18px; height: 46px; }
  .bgb-leaf blockquote p { font-size: 20px; }
  .bgb-pagination { gap: 10px; }
  .bgb-pagination .bs-button { width: auto; padding-inline: 15px; font-size: 12px; }
  .bgb-signature { font-size: 23px; }
  .bgb-topline { font-size: 12px; }
  .bgb-leaf-head { font-size: 10px; }
}
