/*
Theme Name: Nöske24 Event (Neve Child)
Theme URI: https://noeske24.de/
Description: Child Theme für Neve — Event-Landingpage mit Zeitstrahl, Video-Einbettungen und Ortswechsel-Hinweis. Alle Texte, Bilder und Zeitstrahl-Einträge sind im WP-Backend bearbeitbar. Mobile-first.
Author: Nöske24 – Mitteldeutsche Gastro und Camping GmbH
Template: neve
Version: 1.0.0
Text Domain: noeske24-event
*/

/* ---------- Tokens ---------- */
:root {
  --n24-bg: #f6f4ef;
  --n24-bg-alt: oklch(0.96 0.008 90);
  --n24-ink: oklch(0.24 0.02 140);
  --n24-ink-soft: oklch(0.40 0.02 140);
  --n24-line: oklch(0.88 0.015 90);
  --n24-dark: oklch(0.26 0.06 152);
  --n24-signal: oklch(0.72 0.24 32);   /* Signalrot */
  --n24-yellow: oklch(0.88 0.22 105);  /* Signalgelb */
  --n24-yellow-ink: oklch(0.20 0.05 120);
  --n24-sans: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --n24-serif: Newsreader, Georgia, "Times New Roman", serif;
  --n24-pad: 20px;
}
@media (min-width: 768px) { :root { --n24-pad: 32px; } }

/* ---------- Basis ---------- */
.n24 { font-family: var(--n24-sans); color: var(--n24-ink); background: var(--n24-bg); overflow-x: hidden; }
.n24 *, .n24 *::before, .n24 *::after { box-sizing: border-box; }
.n24 img { max-width: 100%; height: auto; display: block; }
.n24 a { color: oklch(0.62 0.24 32); text-decoration: none; }
.n24 a:hover, .n24 a:focus { color: oklch(0.50 0.22 32); }
.n24 h1, .n24 h2, .n24 h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; text-wrap: balance; }
.n24 p { margin: 0; }
.n24-wrap { max-width: 1180px; margin: 0 auto; }
.n24-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.62 0.24 32); }
.n24-lead { font-family: var(--n24-serif); font-size: clamp(17px, 4.2vw, 20px); line-height: 1.55; color: var(--n24-ink-soft); }
.n24-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px 24px; border-radius: 999px; font-size: 15px; font-weight: 800; line-height: 1;
  background: var(--n24-yellow); color: var(--n24-yellow-ink);
}
.n24-btn:hover, .n24-btn:focus { color: var(--n24-yellow-ink); filter: brightness(1.06); }
.n24-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(247,245,240,0.55); font-weight: 700; }
.n24-btn--ghost:hover, .n24-btn--ghost:focus { color: #fff; background: rgba(255,255,255,0.1); }
.n24-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sticky Ortswechsel-Banner ---------- */
.n24-alert {
  position: sticky; top: 0; z-index: 60;
  background: var(--n24-signal); color: #fff; text-align: center;
  padding: 11px var(--n24-pad); font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3;
}
.n24-alert a { color: #fff; text-decoration: underline; }

/* ---------- Sprungnavigation ---------- */
.n24-nav {
  display: flex; gap: 8px; align-items: center;
  padding: 10px var(--n24-pad);
  background: rgba(246,244,239,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--n24-line);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.n24-nav::-webkit-scrollbar { display: none; }
.n24-nav a {
  flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700;
  color: oklch(0.32 0.02 140); background: rgba(0,0,0,0.04);
}
.n24-nav a.is-cta { background: var(--n24-dark); color: var(--n24-bg); }

/* ---------- Hero ---------- */
.n24-hero { position: relative; display: flex; align-items: flex-end; min-height: 78svh; overflow: hidden; }
@media (min-width: 900px) { .n24-hero { min-height: 66vh; } }
.n24-hero__media { position: absolute; inset: 0; }
.n24-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.n24-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14,20,14,0.94) 0%, rgba(14,20,14,0.62) 48%, rgba(14,20,14,0.24) 100%);
}
.n24-hero__inner {
  position: relative; z-index: 3; width: 100%;
  display: flex; flex-wrap: wrap-reverse; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: 40px var(--n24-pad);
}
@media (min-width: 900px) { .n24-hero__inner { padding: 56px var(--n24-pad); gap: 28px; } }
.n24-hero__copy { flex: 1 1 420px; min-width: 0; }
.n24-hero__eyebrow { color: var(--n24-yellow); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.n24-hero h1 {
  margin: 12px 0 0; color: #fff; font-size: clamp(32px, 9vw, 78px); line-height: 0.98;
  text-shadow: 0 4px 24px rgba(10,16,10,0.5);
}
.n24-hero__loc {
  display: inline-block; margin: 18px 0 12px; padding: 11px 18px; border-radius: 4px;
  background: var(--n24-signal); color: #fff; font-weight: 800;
  font-size: clamp(18px, 5.4vw, 30px); letter-spacing: -0.02em; line-height: 1.15;
}
.n24-hero__intro { margin: 0 0 22px; max-width: 600px; color: #fff; font-family: var(--n24-serif); font-size: clamp(17px, 4.4vw, 21px); line-height: 1.5; }

/* Ortsschild */
.n24-plate {
  flex: 0 1 320px; align-self: flex-end; transform: rotate(-2.5deg);
  background: var(--n24-yellow); color: var(--n24-yellow-ink);
  padding: 16px 22px 18px; border-radius: 4px; box-shadow: 0 18px 40px rgba(10,16,10,0.45);
}
.n24-plate__label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.n24-plate__value { margin-top: 6px; font-size: clamp(26px, 8vw, 42px); line-height: 0.96; font-weight: 800; letter-spacing: -0.03em; }
.n24-plate__when { margin-top: 10px; padding-top: 10px; border-top: 2px solid rgba(20,30,20,0.35); font-size: 15px; font-weight: 700; }

/* ---------- Fakten-Leiste ---------- */
.n24-facts { display: grid; grid-template-columns: 1fr; background: var(--n24-dark); color: rgba(247,245,240,0.92); }
@media (min-width: 700px) { .n24-facts { grid-template-columns: repeat(3, 1fr); } }
.n24-facts__item { padding: 18px var(--n24-pad); border-top: 1px solid rgba(247,245,240,0.14); }
@media (min-width: 700px) { .n24-facts__item { border-top: 0; border-right: 1px solid rgba(247,245,240,0.14); } .n24-facts__item:last-child { border-right: 0; } }
.n24-facts__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.n24-facts__value { margin-top: 5px; font-size: 17px; font-weight: 800; }
.n24-facts__item.is-hot .n24-facts__label,
.n24-facts__item.is-hot .n24-facts__value { color: var(--n24-yellow); opacity: 1; }

/* ---------- Sektionen ---------- */
.n24-section { padding: 52px var(--n24-pad); }
@media (min-width: 900px) { .n24-section { padding: 76px var(--n24-pad); } }
.n24-section--alt { background: var(--n24-bg-alt); border-top: 1px solid var(--n24-line); border-bottom: 1px solid var(--n24-line); }
.n24-section h2 { margin: 12px 0 26px; font-size: clamp(28px, 7vw, 50px); }
.n24-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .n24-cols { grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; } }
.n24-prose { display: grid; gap: 16px; font-family: var(--n24-serif); font-size: clamp(17px, 4.2vw, 19px); line-height: 1.6; color: oklch(0.36 0.02 140); }

/* Video-Einbettungen */
.n24-embed { position: relative; width: 100%; border: 1px solid var(--n24-line); border-radius: 6px; overflow: hidden; background: #000; }
.n24-embed--wide { aspect-ratio: 16 / 9; }
.n24-embed--reel { max-width: 320px; margin: 0 auto; aspect-ratio: 9 / 16; }
.n24-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Zeitstrahl ---------- */
.n24-timeline { display: grid; gap: 0; border-left: 3px solid var(--n24-line); margin-left: 7px; }
.n24-tl { position: relative; padding: 0 0 36px 22px; }
@media (min-width: 700px) { .n24-tl { padding-left: 34px; padding-bottom: 44px; } }
.n24-tl:last-child { padding-bottom: 4px; }
.n24-tl::before {
  content: ""; position: absolute; left: -11px; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: oklch(0.62 0.24 32); border: 3px solid var(--n24-bg);
}
.n24-tl:last-child::before { background: var(--n24-yellow); }
.n24-tl__grid { display: grid; gap: 16px; }
@media (min-width: 780px) { .n24-tl__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 28px; align-items: start; } }
.n24-tl__date { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.62 0.24 32); }
.n24-tl__grid h3 { margin: 8px 0; font-size: clamp(20px, 5.4vw, 24px); }
.n24-tl__text { font-family: var(--n24-serif); font-size: clamp(16px, 4.2vw, 18px); line-height: 1.55; color: oklch(0.38 0.02 140); max-width: 620px; }
.n24-tl__figure { margin: 0; }
.n24-tl__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.n24-tl__figure figcaption { margin-top: 6px; font-size: 13px; color: oklch(0.50 0.02 140); }

/* ---------- Ort / Footer ---------- */
.n24-place { background: var(--n24-dark); color: #f7f5f0; padding: 52px var(--n24-pad) 28px; }
@media (min-width: 900px) { .n24-place { padding: 76px var(--n24-pad) 32px; } }
.n24-place h2 { margin: 12px 0 16px; font-size: clamp(28px, 7vw, 44px); }
.n24-place .n24-eyebrow { color: var(--n24-yellow); }
.n24-place__lead { margin-bottom: 22px; max-width: 440px; font-family: var(--n24-serif); font-size: clamp(17px, 4.4vw, 19px); line-height: 1.55; color: rgba(247,245,240,0.85); }
.n24-place__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .n24-place__grid { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; } }
.n24-place__meta { font-size: 15px; line-height: 1.85; color: rgba(247,245,240,0.82); }
.n24-place__meta .n24-facts__label { color: rgba(247,245,240,0.5); display: block; margin-bottom: 8px; }
.n24-place__meta a { color: #fff; text-decoration: underline; }
.n24-foot {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(247,245,240,0.16);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: rgba(247,245,240,0.6);
}
.n24-foot a { color: rgba(247,245,240,0.75); }
.n24-foot__links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.n24-foot__links li { list-style: none; }

/* Klebender Handy-CTA */
.n24-sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  display: flex; gap: 10px;
}
.n24-sticky-cta .n24-btn { flex: 1 1 0; box-shadow: 0 10px 30px rgba(10,16,10,0.35); }
.n24-sticky-cta .n24-btn--dark { background: var(--n24-dark); color: #fff; }
@media (min-width: 900px) { .n24-sticky-cta { display: none; } }
body.n24-has-sticky-cta .n24-place { padding-bottom: 96px; }
@media (min-width: 900px) { body.n24-has-sticky-cta .n24-place { padding-bottom: 32px; } }

/* Neve-Ballast auf der Landingpage ausblenden */
.page-template-front .nv-title-meta-wrap, .n24-page .nv-page-title { display: none; }
.n24-page .container, .n24-page .nv-single-page-wrap { max-width: none; padding: 0; margin: 0; }
