/* TerraTransfer · Halloween-Diorama. Bewusst immer dunkel: Das Bild ist eine Nachtszene. */
.hw {
  --hw-bg: #03141f; --hw-card: #0a2433; --hw-line: #1a4256; --hw-fg: #e8f3f6; --hw-dim: #a4c0cb;
  --hw-teal: #5fe3d4; --hw-amber: #ffb057;
  background: var(--hw-bg); color: var(--hw-fg);
  padding-block: clamp(20px, 4vw, 44px) clamp(36px, 6vw, 72px);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.hw-in { max-width: 1120px; margin: 0 auto; display: grid; gap: clamp(20px, 3vw, 36px); }
.hw-head { display: grid; gap: 10px; max-width: 62ch; }
.hw-kick { color: var(--hw-amber); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.hw h1 { color: var(--hw-fg); margin: 0; font-size: clamp(1.75rem, 4.6vw, 3rem); line-height: 1.08; text-wrap: balance; }
.hw-lead { color: var(--hw-dim); margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.55; }
.hw-view { position: relative; margin: 0 auto; width: 100%; max-width: min(980px, calc((100vh - 110px) * 1.2)); aspect-ratio: 6 / 5; border-radius: 14px; overflow: hidden; background: var(--hw-bg); }
.hw-view img { display: block; width: 100%; height: 100%; object-fit: cover;  }
.hw-view { display: block; text-decoration: none; }
.hw-view:focus-visible { outline: 2px solid var(--hw-teal); outline-offset: 3px; }
.hw-open { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 11px 22px; border-radius: 10px; background: var(--hw-teal); color: #03211f; font-weight: 700; white-space: nowrap; }
.hw-view:hover .hw-open { background: var(--hw-fg); }
.hw-note { color: var(--hw-dim); font-size: .85rem; margin: 0; text-align: center; }
.hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.hw-shot { margin: 0; display: grid; gap: 8px; min-width: 0; }
.hw-shot img { width: 100%; height: auto; display: block; border-radius: 10px; }
.hw-shot figcaption { color: var(--hw-dim); font-size: .93rem; line-height: 1.45; }
.hw-cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.hw-cta a.hw-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--hw-teal); color: #03211f; font-weight: 700; text-decoration: none; }
.hw-cta a.hw-btn:focus-visible { outline: 2px solid var(--hw-fg); outline-offset: 2px; }
.hw-cta a.hw-link { color: var(--hw-teal); }
/* Startseite: Banner ganz oben im ersten Bereich (Einbau durch halloween-home.js) */
.hw-banner { --hw-fg: #e8f3f6; --hw-dim: #bcd2db; --hw-teal: #5fe3d4; --hw-amber: #ffb057; position: relative; display: block; margin-bottom: 40px; border-radius: 16px; overflow: hidden; aspect-ratio: 24 / 7; background: #03141f; box-shadow: 0 0 0 1px #1a4256, 0 18px 50px rgba(0, 0, 0, .35); text-decoration: none; }
.hw-banner picture, .hw-banner img { display: block; width: 100%; height: 100%; }
.hw-banner img { object-fit: cover; transition: transform .5s ease; }
.hw-banner:hover img { transform: scale(1.015); }
.hw-banner:focus-visible { outline: 3px solid var(--hw-teal); outline-offset: 3px; }
.hw-banner-text { position: absolute; inset: 0 auto 0 0; width: min(54%, 620px); padding: clamp(18px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(6px, .9vw, 12px); }
.hw-banner-kick { color: var(--hw-amber); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hw-banner strong { color: var(--hw-fg); font-size: clamp(1.5rem, 3.1vw, 2.75rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.hw-banner-lead { color: var(--hw-dim); font-size: clamp(.9rem, 1.25vw, 1.08rem); line-height: 1.45; max-width: 46ch; }
.hw-banner-btn { margin-top: 6px; padding: 11px 22px; border-radius: 10px; background: var(--hw-teal); color: #03211f; font-weight: 700; white-space: nowrap; }
.hw-banner:hover .hw-banner-btn { background: var(--hw-fg); }
@media (max-width: 760px) {
  .hw-banner { aspect-ratio: auto; margin-bottom: 22px; order: -1; width: 100%; }
  .hw-banner picture, .hw-banner img { height: auto; }
  .hw-banner img { aspect-ratio: 6 / 5; }
  .hw-banner-text { position: static; width: auto; padding: 16px 18px 18px; }
  .hw-banner-btn { align-self: stretch; text-align: center; min-height: 46px; }
}
