/**
 * Site footer — single source of truth, loaded on every page (incl. the front
 * page). Ported from the "Footer — Tightened Current" design. Responsive:
 * 4-up desktop  →  tightened 4-up tablet  →  stacked single column on mobile
 * with the three link groups in a 2-up grid. Tokens are self-scoped to .ftr so
 * the footer renders identically regardless of the per-page CSS bundle.
 *
 * @package wmb-2026
 */

.ftr {
  --black:    #0a0a0a;
  --border:   #262626;
  --white:    #f4f4f4;
  --muted:    #9a9a9a;
  --muted-2:  #6a6a6a;
  --accent:   #c8102e;
  --accent-2: #e63946;
  --f-display: "Latin CT Not Wide", "Latin CT", "Oswald", "Impact", sans-serif;
  --f-text:    "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-text);
}
.ftr * { box-sizing: border-box; }
.ftr a { color: inherit; text-decoration: none; cursor: pointer; }

/* Outer block — capped + centred to match the rest of the site (1440). */
.v1 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 56px 28px;
  border-top: 1px solid var(--border);
}

/* Top row: brand block + the three link groups. */
.v1__top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.v1__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

/* Brand / newsletter */
.v1__brand .logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 0 4px -8px;
}
.v1__brand .rule {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  margin: 18px 0;
}
.v1__brand p {
  margin: 0 0 24px;
  max-width: 36ch;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}
/* "A programme of Wacken Open Air" */
.v1__presents {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.v1__presents-logo { display: block; width: 64px; height: auto; flex-shrink: 0; }
.v1__presents-text { display: flex; flex-direction: column; gap: 6px; }
.v1__presents-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.v1__presents-meta {
  font-family: var(--f-text);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.v1__news-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.v1__news-label::before { content: "// "; color: var(--accent); }
.v1__news { display: flex; max-width: 360px; }
.v1__news input {
  flex: 1; min-width: 0;
  height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-right: 0;
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.v1__news input::placeholder { color: var(--muted-2); }
.v1__news input:focus { outline: 0; border-color: var(--accent); }
.v1__news button {
  flex-shrink: 0;
  height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.v1__news button:hover { background: var(--accent-2); border-color: var(--accent-2); }
/* The Newsletter Plugin renders [newsletter_form] inside .v1__news as
   .tnp-subscription > form > (.tnp-field-email [label + input] , .tnp-field-button
   [submit]). Force the design's single-row [ email ][ subscribe ] layout: the
   plugin's own label stacks above the input (which threw the button out of line)
   so it's hidden — the "Stay in the loop" heading already labels the field — and
   !important overrides the plugin's default white input + grey button. */
.v1__news .tnp,
.v1__news .tnp-subscription { margin: 0; max-width: 360px; }
.v1__news .tnp-subscription form {
  display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; margin: 0;
}
.v1__news .tnp-field { margin: 0 !important; }
.v1__news .tnp-field-email { flex: 1 1 auto; min-width: 0; display: flex; }
.v1__news .tnp-field-email label { display: none !important; }
.v1__news .tnp-field-button { flex: 0 0 auto; }
.v1__news .tnp-email,
.v1__news .tnp-field-email input {
  box-sizing: border-box !important; width: 100%; height: 44px !important; margin: 0; padding: 0 14px !important; line-height: normal;
  background: transparent !important; color: var(--white) !important;
  border: 1px solid var(--border) !important; border-right: 0 !important; border-radius: 0 !important;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.v1__news .tnp-email::placeholder { color: var(--muted-2); }
.v1__news .tnp-email:focus { outline: 0; border-color: var(--accent) !important; }
.v1__news .tnp-submit,
.v1__news .tnp-field-button input {
  box-sizing: border-box !important; height: 44px !important; margin: 0; padding: 0 18px !important; line-height: normal;
  background: var(--accent) !important; color: #fff !important;
  border: 1px solid var(--accent) !important; border-radius: 0 !important;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease;
}
.v1__news .tnp-submit:hover { background: var(--accent-2) !important; border-color: var(--accent-2) !important; }
.v1__news .tnp-error,
.v1__news .tnp-success { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; margin-top: 8px; }

/* Link groups */
.v1__col-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.v1__col-title::before { content: "// "; color: var(--accent); }
.v1__col-no { color: var(--muted-2); font-size: 10px; letter-spacing: 0.1em; }
.v1__col a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 120ms ease;
}
.v1__col a:hover { color: var(--white); }
.v1__col-suffix { color: var(--muted-2); }

/* Legal strip */
.v1__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.v1__legal-links { display: flex; flex-wrap: wrap; gap: 20px; }
.v1__legal-links a { color: var(--muted-2); transition: color 120ms ease; }
.v1__legal-links a:hover { color: var(--accent-2); }

/* ---- Tablet (tightened, still 4-up) ---- */
@media (max-width: 1024px) {
  .v1 { padding: 56px 36px 24px; }
  .v1__top { grid-template-columns: 1.2fr 3fr; gap: 36px; padding-bottom: 36px; }
  .v1__cols { gap: 36px; }
  .v1__brand .logo { width: 200px; }
  .v1__brand p { font-size: 13px; }
  .v1__col a { font-size: 13px; padding: 6px 0; }
  .v1__col-title { margin-bottom: 18px; }
  .v1__legal { gap: 16px; margin-top: 20px; }
}

/* ---- Mobile (stack; brand centred; links 2-up) ---- */
@media (max-width: 680px) {
  .v1 { padding: 40px 24px 20px; }
  .v1__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 32px; }
  .v1__brand { text-align: center; }
  .v1__brand .logo { width: 180px; margin: 0 auto 4px; }
  .v1__brand .rule { margin-left: auto; margin-right: auto; }
  .v1__brand p { margin-left: auto; margin-right: auto; }
  .v1__news-label { text-align: left; }
  .v1__news { margin: 0 auto; }
  .v1__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .v1__legal { flex-direction: column; align-items: flex-start; gap: 12px; }
}
