/**
 * home_overlays.css - Vollbild-Overlays der Startseite (js/home_overlays.js): Bild, Galerie, News.
 * Palette/Schrift wie home.css (Oliv, Gold, Fraunces); Infos stehen in schraegen, halbtransparenten Panels bzw.
 * gruenen Boxen wie "Wo bin ich".
 */
html.hv-open, html.hv-open body { overflow: hidden; }

.hv-layer { position: fixed; inset: 0; z-index: 2100; background: rgba(6,10,0,.9); }
.hv { position: absolute; inset: 0; overflow: hidden; color: var(--home-gold, #FFC752); font-family: Arial, sans-serif; }

/* Hoehenlinien-Symbol der Startseite dezent im Hintergrund */
.hv-contour { position: absolute; left: -6%; bottom: -14%; width: min(88vh, 70vw); pointer-events: none; z-index: 0; }
.hv-contour svg { width: 100%; height: auto; display: block; opacity: .2; }

/* Foto: so gross wie moeglich, ohne Rand oben/unten */
.hv-photo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hv-photo img { max-width: 100%; max-height: 100%; display: block; object-fit: contain; }

/* Knoepfe */
.hv-btn, .hv-pill { position: absolute; z-index: 30; border: 0; cursor: pointer; color: var(--home-gold, #FFC752); background: rgba(13,20,0,.72); font-family: inherit; transition: background .2s ease, opacity .2s ease, color .2s ease; }
.hv-btn:hover, .hv-pill-btn:hover { background: var(--home-card, #35450c); color: #fff; }
.hv-x { top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; }
.hv-i { top: 14px; right: 62px; width: 40px; height: 40px; border-radius: 50%; font: italic 19px var(--home-display); }
.hv-i.on { background: var(--home-card, #35450c); box-shadow: 0 0 0 1.5px rgba(255,199,82,.55) inset; }
.hv-arrow { top: 50%; width: 48px; height: 80px; margin-top: -40px; font-size: 32px; border-radius: 3px; opacity: .8; }
.hv-arrow:hover { opacity: 1; }
.hv-arrow[disabled] { opacity: .22; cursor: default; background: rgba(13,20,0,.72); color: var(--home-gold, #FFC752); }
.hv-arrow-l { left: 12px; } .hv-arrow-r { right: 12px; }
.hv-pill { left: 50%; transform: translateX(-50%); top: 14px; border-radius: 17px; padding: 8px 18px; font-size: 12px; letter-spacing: .12em; color: #f4e6c0; cursor: default; }
.hv-pill-btn { cursor: pointer; color: var(--home-gold, #FFC752); }

/* Schraeges, halbtransparentes Info-Panel */
.hv-slant {
    position: absolute; z-index: 20; top: 0; right: 0; bottom: 0; width: min(38%, 560px);
    background: rgba(13,20,0,.72); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    padding: 64px 26px 26px 11%; overflow-y: auto; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #456000 transparent;
}
.hv-title { margin: 0 0 10px; color: #fff6dd; font: 300 clamp(20px, 2.1vw, 32px)/1.12 var(--home-display, Georgia, serif); letter-spacing: -.01em; }
.hv-desc { margin: 0 0 4px; color: #e2d5ae; font-size: 13.5px; line-height: 1.6; white-space: pre-line; }
.hv-desc-big { font-size: clamp(13px, 1.25vw, 17px); max-width: 46ch; }
.hv-lab { margin: 0 0 6px; color: var(--home-muted, #cbb27a); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.hv-lab-first { margin-top: 0; }
.hv-block { margin-top: 16px; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-map { height: 210px; border-radius: 5px; border: 1px solid var(--home-card-border, #2B3A00); }
.hv-tip { background: rgba(13,20,0,.78); border: 0; color: #fff6dd; box-shadow: none; font: 11px Arial, sans-serif; padding: 1px 6px; }
.hv-tip::before { display: none; }
.hv-routes { display: flex; flex-direction: column; gap: 6px; }
.hv-route { display: flex; gap: 11px; align-items: center; padding: 8px 11px; border: 1px solid rgba(159,194,79,.4); border-radius: 6px; background: rgba(0,0,0,.22); text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.hv-route:hover { background: var(--home-card, #35450c); border-color: var(--home-accent, #ed8208); }
.hv-route i { width: 34px; height: 34px; border-radius: 4px; background: #1d2b06; display: grid; place-items: center; font-style: normal; color: var(--home-gold, #FFC752); font-size: 18px; flex: none; }
.hv-route b { display: block; font-weight: normal; color: var(--home-gold, #FFC752); font-size: 14px; }
.hv-route small { color: var(--home-muted, #cbb27a); font-size: 11px; }

/* Galerie-Uebersicht (Titelbild-Folie) */
.hv-hero { position: absolute; inset: 0; z-index: 1; }
.hv-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); display: block; }
.hv-hero-text { position: absolute; left: 4.5%; top: 13%; width: min(46%, 640px); max-height: 62%; overflow-y: auto; scrollbar-width: none; }
.hv-hero-title { margin: 0 0 14px; color: #fff6dd; font: 300 clamp(30px, 4.4vw, 66px)/1.04 var(--home-display, Georgia, serif); letter-spacing: -.015em; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.hv-go { margin-top: 22px; padding: 0 0 4px; color: var(--home-gold, #FFC752); letter-spacing: .1em; font-size: 12px; text-transform: uppercase; background: none; border: 0; border-bottom: 1px solid rgba(255,199,82,.5); cursor: pointer; }
.hv-go:hover { color: var(--home-accent, #ed8208); border-color: var(--home-accent, #ed8208); }
.hv-slant-overview { padding-top: 70px; padding-bottom: 150px; }
.hv-strip { position: absolute; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 34px 20px 14px; overflow-x: auto; background: linear-gradient(0deg, rgba(13,20,0,.94) 0%, rgba(13,20,0,0) 100%); scrollbar-width: thin; scrollbar-color: #456000 transparent; }
.hv-tile { position: relative; flex: 0 0 128px; height: 86px; overflow: hidden; border: 1px solid var(--home-card-border, #2B3A00); border-radius: 5px; cursor: pointer; background: #1a2400; transition: transform .2s ease, border-color .2s ease; }
.hv-tile:hover { transform: scale(1.04); border-color: var(--home-accent, #ed8208); }
.hv-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font: bold 11px Arial, sans-serif; color: var(--home-gold, #FFC752); background: linear-gradient(0deg, rgba(13,20,0,.92), rgba(13,20,0,0)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* News: Lesespalte + Metaspalte */
.hv-news { display: grid; grid-template-columns: minmax(0, 1fr) min(380px, 32%); background: rgba(10,16,0,.82); }
.hv-read { position: relative; z-index: 1; overflow-y: auto; padding: 62px 46px 40px; scrollbar-width: thin; scrollbar-color: #456000 transparent; }
.hv-read-inner { max-width: 68ch; margin: 0 auto; }
.hv-date { color: var(--home-muted, #cbb27a); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.hv-news-title { margin: 0 0 24px; color: #fff6dd; font: 300 clamp(28px, 3.6vw, 52px)/1.05 var(--home-display, Georgia, serif); letter-spacing: -.01em; }
.hv-read p { margin: 0 0 1.05em; color: #e2d5ae; font: clamp(15px, 1.25vw, 18px)/1.75 var(--home-display); }
.hv-read-inner > p:first-of-type::first-letter { font: 300 3.2em/.8 var(--home-display, Georgia, serif); float: left; padding: 6px 10px 0 0; color: var(--home-gold, #FFC752); }
.hv-fig { margin: 4px 0 16px; cursor: zoom-in; }
.hv-fig-r { float: right; width: 46%; margin-left: 22px; } .hv-fig-l { float: left; width: 46%; margin-right: 22px; } .hv-fig-c { clear: both; width: 100%; }
.hv-fig img { width: 100%; display: block; border-radius: 3px; border: 1px solid var(--home-card-border, #2B3A00); transition: border-color .2s ease; }
.hv-fig:hover img { border-color: var(--home-accent, #ed8208); }
.hv-fig figcaption { margin-top: 5px; color: var(--home-muted, #cbb27a); font-size: 12px; }
.hv-aside { position: relative; z-index: 1; overflow-y: auto; background: rgba(53,69,12,.6); border-left: 1px solid var(--home-card-border, #2B3A00); padding: 62px 22px 24px; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #456000 transparent; }
.hv-aside .hv-block:first-child { margin-top: 0; }

@media (max-width: 900px) {
    .hv-slant { width: 100%; top: auto; max-height: 58%; clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); padding: 38px 18px 18px; }
    .hv-slant-overview { max-height: 46%; padding-bottom: 130px; }
    .hv-hero-text { width: 90%; top: 9%; max-height: 40%; }
    .hv-news { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
    .hv-aside { max-height: 40vh; border-left: 0; border-top: 1px solid var(--home-card-border, #2B3A00); padding-top: 20px; }
    .hv-read { padding: 58px 20px 24px; }
    .hv-fig-r, .hv-fig-l { float: none; width: 100%; margin: 4px 0 14px; }
    .hv-arrow { width: 38px; height: 64px; margin-top: -32px; }
}
