/* Eigenständiger Rundgang: die übrigen Seiten laden diese Datei nicht. */
.cellar-tour {
    width: min(1720px, calc(100% - 40px));
    margin: 148px auto 48px;
    color: #f4ead8;
}
.cellar-tour > h1 { margin: 8px 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.035em; }
.cellar-tour > p { max-width: 78ch; line-height: 1.6; }
.cellar-tour > .back { margin: 0 0 12px; }
.cellar-tour > .back a { color: #392514; }
.cellar-tour > h1, .cellar-tour > p { color: #231b13; }
.tour-intro { color: #251c12; margin-bottom: 22px; max-width: 80ch; }
.tour-intro h1 { margin: 6px 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.035em; }
.tour-intro p { line-height: 1.55; margin: 8px 0; }
.tour-intro > a { display: inline-block; color: #392514; font-size: .875rem; margin-top: 6px; }
.tour-statistics { font-weight: 600; font-size: .9rem; letter-spacing: .025em; }
.tour-award-tooltip { position: absolute; z-index: 3; top: 16px; left: 16px; max-width: min(440px, calc(100% - 32px)); padding: 12px 16px; border: 1px solid #d8b770; border-radius: 8px; color: #ffedc7; background: #171a19ec; font-size: .85rem; line-height: 1.5; pointer-events: none; white-space: pre-line; box-shadow: 0 6px 24px #0005; }
.tour-awards { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.tour-awards:empty { display: none; }
.tour-awards li { padding: 9px 12px 9px 34px; position: relative; background: linear-gradient(115deg, #8c652c44, #b3955c11); border: 1px solid #a88547; border-radius: 7px; }
.tour-awards li::before { content: "★"; position: absolute; left: 11px; top: 11px; color: #edc879; }
.tour-awards strong, .tour-awards span { display: block; font-size: .85rem; line-height: 1.5; }
.tour-awards strong { color: #f7d89d; }
.tour-awards span { color: #d9c8a5; font-variant-numeric: tabular-nums; }
.tour-catalog .tour-catalog-awards { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tour-catalog .tour-catalog-awards li { display: block; padding: 4px 7px; font-size: .74rem; line-height: 1.4; color: #634310; background: #ead6a7; border: 1px solid #b3924f; border-radius: 5px; }
.tour-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
    background: #1b1813;
    border: 1px solid #584531;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 64px #1a100b45;
}
.tour-stage { min-width: 0; position: relative; background: #1b1712; }
.tour-viewport { position: relative; }
.tour-loading { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 6vw, 64px); background: radial-gradient(ellipse at 50% 20%, #574128, #201b14 78%); color: #fff1d8; }
.tour-loading > .kicker { color: #d8b770; }
.tour-loading h2 { font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.2; margin: 10px 0 16px; }
.tour-loading p { font-size: .9rem; line-height: 1.5; min-height: 3em; margin: 0 0 12px; color: #e6d4b5; }
.tour-progress-row { display: flex; align-items: center; gap: 14px; }
.tour-progress-row progress { appearance: none; border: 0; border-radius: 10px; overflow: hidden; background: #ffffff24; color: #e2bd7d; height: 9px; flex: 1; min-width: 0; }
.tour-progress-row progress::-webkit-progress-bar { background: #ffffff24; border-radius: 10px; }
.tour-progress-row progress::-webkit-progress-value { background: #e2bd7d; border-radius: 10px; }
.tour-progress-row progress::-moz-progress-bar { background: #e2bd7d; border-radius: 10px; }
#tour-loading-percent { font-size: .85rem; font-variant-numeric: tabular-nums; width: 4ch; text-align: right; }
.tour-loading > a { color: #e9c98e; font-size: .875rem; line-height: 1.5; margin-top: 28px; align-self: flex-start; }
.tour-load-note { padding: 14px 18px 0; margin: 0; font-size: .875rem; color: #e6ceaa; }
.cellar-tour[data-tour-state="loading"] .tour-canvas canvas { visibility: hidden; }
.cellar-tour[data-tour-state="loading"] .tour-detail > :not(.tour-detail-hint) { display: none !important; }
.cellar-tour[data-tour-state="loading"] .tour-detail-hint { display: block; }
#tour-catalog { scroll-margin-top: 140px; }
.tour-canvas { position: relative; width: 100%; height: clamp(480px, 65vh, 850px); overflow: hidden; background: #211b14; touch-action: none; scroll-margin-top: 130px; }
.tour-canvas canvas { display: block; width: 100%; height: 100%; outline-offset: -5px; cursor: grab; touch-action: none; }
.tour-canvas canvas:active { cursor: grabbing; }
.tour-canvas::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px #120c0733; pointer-events: none; }
.tour-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px 16px; }
.cellar-tour button, .cellar-tour select {
    font: inherit;
    font-size: .875rem;
    line-height: 1.35;
    min-height: 44px;
    border: 1px solid #82613c;
    border-radius: 8px;
    background: #30261b;
    color: #fff1d8;
    padding: 10px 13px;
    cursor: pointer;
}
.cellar-tour button:hover, .cellar-tour select:hover { background: #493620; border-color: #c39451; }
.cellar-tour button:disabled { opacity: .55; cursor: default; }
.cellar-tour button:focus-visible, .cellar-tour select:focus-visible, .cellar-tour a:focus-visible, .cellar-tour canvas:focus-visible, .cellar-tour summary:focus-visible { outline: 3px solid #efc37c; outline-offset: 3px; }
.cellar-tour [hidden] { display: none !important; }
#tour-play { background: #d8ab65; border-color: #d8ab65; color: #20170c; font-weight: 700; }
#tour-play:hover { background: #f0c98e; }
#tour-status { margin: 0; min-height: 2.7em; padding: 14px 18px 0; color: #e6ceaa; font-size: .875rem; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
.tour-detail { min-width: 0; padding: 24px; background: linear-gradient(150deg, #322719, #201b15 75%); border-left: 1px solid #584531; }
.tour-detail > :first-child { margin-top: 0; }
.tour-detail-hint { display: none; line-height: 1.7; color: #d7c8af; }
.tour-detail-hint h2 { color: #fff1d8; font-size: 2rem; line-height: 1.18; margin: 18px 0 26px; }
.tour-detail-note { display: block; font-size: .78rem; opacity: .72; margin-top: 36px; }
.cellar-tour[data-tour-state="ready"]:not([data-beer-selected="true"]) .tour-detail > :not(.tour-detail-hint) { display: none !important; }
.cellar-tour[data-tour-state="ready"]:not([data-beer-selected="true"]) .tour-detail-hint { display: block; }
.tour-walk { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px 16px; }
.tour-walk button { min-width: 48px; }
#tour-beer-number { display: block; font-size: .875rem; letter-spacing: .16em; color: #e0b878; font-weight: 700; margin: 22px 0 6px; }
#tour-beer-name { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.13; letter-spacing: -.025em; margin: 6px 0 12px; overflow-wrap: anywhere; color: #fff2dc; }
#tour-beer-style { font-size: 1rem; line-height: 1.5; color: #ecd9bb; margin: 0 0 8px; }
#tour-beer-state { font-size: .8125rem; color: #cbb795; line-height: 1.6; margin-bottom: 20px; }
#tour-beer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; border-top: 1px solid #70583b; border-bottom: 1px solid #70583b; padding: 18px 0; margin: 18px 0; }
#tour-beer-facts div { min-width: 0; }
#tour-beer-facts dt { font-size: .8125rem; color: #c7b392; margin: 0 0 5px; }
#tour-beer-facts dd { color: #fff2dc; margin: 0; font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#tour-beer-ingredients { white-space: pre-line; font-size: .875rem; line-height: 1.55; color: #d7c5a8; overflow-wrap: anywhere; max-height: 190px; overflow-y: auto; scrollbar-color: #8e6d41 #241c14; }
#tour-beer-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 10px; padding: 11px 18px; background: #dfb879; color: #21190e; border-radius: 8px; text-decoration: none; font-weight: 700; }
#tour-beer-link:hover { background: #f4d7a4; }
.tour-year-control { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: .875rem; }
.tour-help { font-size: .875rem; line-height: 1.6; color: #d5c1a0; padding: 0 18px 16px; margin: 0; text-align: center; }
.tour-stage noscript p { padding: 0 18px 18px; }
.tour-catalog { margin-top: 22px; padding: 18px 22px; border: 1px solid #b49b78; border-radius: 12px; color: #312519; background: #fff7eae8; }
.tour-catalog summary { cursor: pointer; font-weight: 650; min-height: 30px; line-height: 1.6; }
.tour-catalog ul, .tour-catalog ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.tour-catalog li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid #c9b694; min-width: 0; }
.tour-catalog li a { color: #493013; font-size: .9375rem; flex: 1 1 150px; overflow-wrap: anywhere; }
.tour-catalog li button { font-size: .8125rem; background: #f3e7d5; color: #523a1e; border-color: #b99a6d; min-height: 44px; }
.tour-catalog li button[aria-pressed="true"] { background: #dfb879; color: #261b0e; }
.tour-catalog li span { font-size: .8125rem; color: #705a3d; }
.tour-catalog li > div { flex: 1 1 150px; min-width: 0; }
.tour-catalog li p { margin: 5px 0 0; font-size: .8125rem; line-height: 1.5; color: #705a3d; }
.tour-catalog-year h2 { margin: 22px 0 0; font-size: 1.2rem; }
.cellar-tour[data-tour-state="fallback"] .tour-canvas { height: 100px; background: linear-gradient(130deg, #302416, #181510); }
.cellar-tour[data-tour-state="fallback"] .tour-canvas::after { display: none; }
.cellar-tour[data-tour-state="fallback"] #tour-status { padding-bottom: 24px; }
@media (max-width: 1050px) {
    .tour-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .tour-detail { padding: 20px; }
    .tour-catalog ul, .tour-catalog ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .cellar-tour { width: calc(100% - 24px); margin-top: 96px; }
    .tour-layout { grid-template-columns: minmax(0, 1fr); border-radius: 12px; }
    .tour-canvas { height: clamp(400px, 115vw, 570px); }
    .tour-detail { border-left: 0; border-top: 1px solid #584531; padding: 20px; }
    #tour-beer-name { font-size: 1.65rem; }
    #tour-beer-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    #tour-beer-facts dd { font-size: 1.08rem; }
    #tour-beer-ingredients { max-height: 150px; }
    .tour-controls { padding: 12px 8px; gap: 6px; }
    .tour-controls button { padding: 10px; font-size: .8125rem; }
    .tour-catalog { padding: 16px; }
    .tour-catalog ul, .tour-catalog ol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
    #tour-beer-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .cellar-tour *, .cellar-tour *::before, .cellar-tour *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
