.history-page { --reading: 43rem; }
.history-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: absolute; top: -8rem; left: 1rem; z-index: 100; background: var(--paper); color: var(--forest); padding: 1rem; }
.skip-link:focus { top: 1rem; }
.history-page .history-hero { min-height: 88svh; padding-top: 12rem; padding-bottom: 6rem; }
.history-page .hero-inner { max-width: 68rem; }
.history-page .hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.7rem); line-height: 1.04; }
.history-page .hero .subline { max-width: 42rem; margin-bottom: 2.2rem; }
.history-page .hero .btn { gap: 1.3rem; }
.history-page .eyebrow { font-size: .8rem; letter-spacing: .2em; }
.history-page .nav [aria-current] { opacity: 1; border-bottom: 1px solid currentColor; padding-bottom: .3rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding: 3.2rem 0; gap: 2rem; }
.facts > div { padding: 0 1.5rem; border-left: 1px solid var(--line); }
.facts > div:first-child { border: 0; }
.facts strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.1; font-weight: 400; color: var(--forest); white-space: nowrap; margin-bottom: .7rem; }
.facts small { font-size: 1.4rem; }
.facts span { display: block; font-size: .9rem; line-height: 1.5; max-width: 14rem; }
.reading-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reading-nav nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; width: 100%; max-width: none; gap: 0; padding: 1.2rem clamp(1.25rem, 4vw, 3rem); text-align: center; }
.reading-nav a { display: block; padding: .4rem .5rem; color: var(--forest); text-decoration: none; font-size: .9rem; }
.reading-nav a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.history-page section { scroll-margin-top: 1rem; }
.history-intro { padding-top: 5.5rem; padding-bottom: 4rem; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 4rem; align-items: start; }
.intro-text { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.5; color: var(--forest); margin: 0; }
.reading-time { font-size: .9rem; color: var(--muted); }
.chapter { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.chapter-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.chapter-copy { max-width: var(--reading); }
.chapter-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1.75rem; }
.chapter-copy p, .detail-body p { font-size: 1.05rem; line-height: 1.85; margin: 0 0 1.35rem; }
.chapter-copy p:last-child, .detail-body p:last-child { margin-bottom: 0; }
.chapter-copy .eyebrow { font-size: .8rem; line-height: 1.6; margin-bottom: 1rem; }
.chapter figure { margin: 0; }
.chapter figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.chapter figcaption { font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.chapter-side { padding-top: 2rem; border-top: 1px solid var(--line); }
.chapter-year { display: block; color: var(--forest); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.5rem, 4.4vw, 4.5rem); line-height: 1.1; }
.chapter-number { display: block; margin-top: 1rem; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; }
#kapitel-3 .chapter-grid { grid-template-columns: 1.45fr 1fr; }
#kapitel-3 figure { order: 2; }
#kapitel-3 .chapter-copy { order: 1; }
.history-quote { background: var(--forest-dark); color: var(--paper); padding: 5rem 1.5rem; text-align: center; }
.history-quote p { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 4.5vw, 3.7rem); font-style: italic; line-height: 1.2; margin: 0 0 1.2rem; }
.history-quote span { font-size: .85rem; letter-spacing: .06em; }
.difficult { background: #dedbd4; padding-top: 5rem; padding-bottom: 5rem; }
.difficult .chapter-year { color: #4b4944; }
.difficult .chapter-copy { border-left: 2px solid #8d877b; padding-left: 2rem; }
.deep-history { background: var(--paper-soft); }
.deep-head { max-width: 42rem; margin-bottom: 3rem; }
.deep-head > p:last-child { font-size: 1rem; line-height: 1.8; }
.chapter-details { border-top: 1px solid var(--line); }
.chapter-details details { border-bottom: 1px solid var(--line); }
.chapter-details summary { list-style: none; display: grid; grid-template-columns: 2.5rem 1fr 1.5rem; gap: 1.5rem; align-items: baseline; padding: 1.8rem 0; color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.3; cursor: pointer; }
.chapter-details summary::-webkit-details-marker { display: none; }
.chapter-details summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 5px; }
.detail-number { font-family: Inter, sans-serif; font-size: .8rem; color: var(--muted); }
.detail-sign::before { content: "+"; }
details[open] .detail-sign::before { content: "−"; }
.detail-body { max-width: 47rem; padding: .25rem 0 2rem 4rem; }
.history-timeline { padding-top: 6rem; padding-bottom: 6rem; }
.era-list { list-style: none; margin: 3rem 0 0; padding: 0; }
.era-list li { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; border-top: 1px solid var(--line); padding: 1.4rem 0; }
.era-date { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; line-height: 1.3; color: var(--forest); }
.era-list p { font-size: 1rem; max-width: 42rem; margin: 0; line-height: 1.75; }
.history-stay { background: var(--forest); color: var(--paper); text-align: center; }
.history-stay h2 { color: var(--paper); }
.history-stay .eyebrow { color: var(--paper); }
.history-stay p:not(.eyebrow) { max-width: 42rem; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.history-page footer.site { padding-top: 3rem; }
@media (max-width: 900px) {
  .facts { padding: 2rem 1.25rem; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .facts > div { padding-left: 1rem; }
  .facts > div:nth-child(odd) { border: 0; padding-left: 0; }
  .intro-grid, .chapter-grid, #kapitel-3 .chapter-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chapter figure img { aspect-ratio: 16/10; }
  #kapitel-3 figure, #kapitel-3 .chapter-copy { order: initial; }
  .chapter-side { padding-top: 1rem; }
  .chapter-number { display: none; }
  .history-intro { padding-top: 3.5rem; padding-bottom: 2rem; }
  .chapter { padding-top: 3rem; padding-bottom: 3rem; }
  .era-list li { grid-template-columns: 11rem 1fr; gap: 1.25rem; }
}
@media (max-width: 540px) {
  .history-page .nav .brand img { height: 4.5rem; }
  .history-page .nav .nav-cta { font-size: .72rem; padding: .65rem .8rem; letter-spacing: .1em; }
  .history-page .nav .nav-right { gap: 0; }
  .history-page .history-hero { min-height: 46rem; min-height: 90svh; padding: 10rem 1.25rem 4rem; }
  .history-page .hero h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .history-page .hero .subline { font-size: 1rem; }
  .reading-nav nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 0; }
  .reading-nav a { font-size: .875rem; }
  .facts strong { font-size: 2.7rem; }
  .facts small { font-size: 1.1rem; }
  .facts span { font-size: .875rem; }
  .difficult .chapter-copy { padding-left: 1rem; }
  .chapter-details summary { grid-template-columns: 1.4rem 1fr 1rem; gap: .8rem; }
  .detail-body { padding-left: 0; }
  .era-list li { grid-template-columns: 1fr; gap: .5rem; }
  .history-stay .cta-row { flex-direction: column; align-items: center; }
  .history-page .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.history-sources { padding: 0 1.5rem 4rem; }
.history-sources > p { color: var(--forest); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; }
.history-sources ul { display: flex; flex-wrap: wrap; gap: .6rem 2rem; list-style: none; padding: 0; }
.history-sources a { font-size: .875rem; color: var(--body); text-underline-offset: .2rem; }


/* Brauereigeschichte und Fassbiere */
.brewery-history { background: #e5ddcd; }
.brewery-intro { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(2rem, 6vw, 5rem); margin-bottom: 3.5rem; }
.brewery-intro h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.brewery-date { color: var(--forest); font-size: .95rem; line-height: 1.8; border-top: 1px solid var(--line); padding-top: 1.5rem; max-width: 23rem; }
.brewery-lede p { font-size: 1.05rem; line-height: 1.85; margin: 0 0 1.3rem; }
.brewery-lede p:first-child { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; line-height: 1.45; color: var(--forest); }
.brewery-beers { padding-top: clamp(4rem, 8vw, 6rem); }
.brewery-history h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.15; color: var(--ink); margin: 0 0 1.5rem; }
.brewery-availability { font-size: 1rem; margin-bottom: 2.5rem; }
.beer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 5rem); }
.beer-card { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.beer-number { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .1em; margin-bottom: .75rem; }
.beer-card h4 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 500; color: var(--forest); margin: 0 0 .8rem; overflow-wrap: break-word; }
.beer-card p { font-size: 1rem; line-height: 1.8; margin: 0 0 1rem; }
.beer-card .beer-tagline { font-weight: 500; color: var(--forest); }
.brewery-closing { max-width: 46rem; padding-top: 3rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.brewery-closing p { font-size: 1.05rem; line-height: 1.85; margin: 0 0 1.2rem; }
.brewery-closing p:last-child { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; color: var(--forest); }
@media (max-width: 900px) { .brewery-intro { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 640px) { .beer-grid { grid-template-columns: 1fr; } }
