/*
Theme Name: Black Rider MC
Theme URI: https://black-rider.de
Author: Black Rider MC
Description: Custom One-Page Theme fuer den Black Rider Motorcycle Club. Chapter, News, Events, Gallery, Memorial, Kontakt, Support-Shop und Member-Shop mit echtem Login.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: black-rider
*/

:root {
  --bg: #080808;
  --panel: #0d0d0d;
  --card: #141414;
  --line: #2a2a2a;
  --yellow: #f2c230;
  --text: #f3f0e9;
  --muted: #9b9b95;
  --header: 100px;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html{
    scroll-behavior:smooth;
    scroll-snap-type:none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 194, 48, 0.09),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.96),
    rgba(8, 8, 8, 0.78)
  );
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-logo{
    width:85px;
    height:85px;
    object-fit:contain;
    display:block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: "Bebas Neue";
  font-size: 24px;
  color: var(--yellow);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-copy strong {
  font-family: "Bebas Neue";
  font-size: 22px;
  letter-spacing: 1.8px;
}
.brand-copy small {
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 26px);
}
.main-nav a {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #b7b7b2;
  position: relative;
  padding: 32px 0;
}
.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 2px;
  background: var(--yellow);
  transition: 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
  color: white;
}
.main-nav a:hover:after,
.main-nav a.active:after {
  right: 0;
}
.nav-toggle {
  display: none;
  background: 0;
  border: 0;
}
.nav-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: #fff;
  margin: 6px;
}
.panel {
  position: relative;
  min-height: 100vh;
  scroll-margin-top: var(--header);
  scroll-snap-align: start;
}
.section {
  padding: calc(var(--header) + 6vh) 5vw 7vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero {
  display: flex;
  align-items: center;
  padding: var(--header) 7vw 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #050505;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.65);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-bg:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.96) 4%,
      rgba(5, 5, 5, 0.7) 42%,
      rgba(5, 5, 5, 0.15) 70%
    ),
    linear-gradient(0deg, #080808 0%, transparent 32%);
  pointer-events: none;
}
.hero-bg:after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 120px,
    rgba(255, 255, 255, 0.012) 121px 122px
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
}
.hero h1,
.section h2 {
  font-family: "Bebas Neue", sans-serif;
  margin: 0;
  line-height: 0.82;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(86px, 13vw, 190px);
}
.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
}
.lead {
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.7;
  color: #c8c8c2;
  max-width: 670px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--yellow);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary {
  background: var(--yellow);
  color: #0b0b0b;
}
.btn-primary:hover {
  background: white;
  border-color: white;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(0, 0, 0, 0.18);
}
.btn-ghost:hover {
  background: var(--yellow);
  color: #0b0b0b;
}
.hero-badge {
  position: absolute;
  right: 7vw;
  bottom: 12vh;
  z-index: 2;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(242, 194, 48, 0.65);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(8deg);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.hero-badge span,
.hero-badge small {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
}
.hero-badge strong {
  font-family: "Bebas Neue";
  font-size: 40px;
  color: var(--yellow);
}
.scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 30px;
  background: var(--yellow);
  margin: 0 auto 10px;
  animation: pulse 1.5s infinite;
}
.section:nth-of-type(even) {
  background: var(--panel);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 5vh;
}
.section h2 {
  font-size: clamp(70px, 9vw, 130px);
}
.section-head > p {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}
.horizontal-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 28px;
  scrollbar-color: var(--yellow) #222;
  scrollbar-width: thin;
}
.horizontal-rail::-webkit-scrollbar {
  height: 7px;
}
.horizontal-rail::-webkit-scrollbar-track {
  background: #1b1b1b;
}
.horizontal-rail::-webkit-scrollbar-thumb {
  background: var(--yellow);
}
.rail-wrap {
  position: relative;
}
.rail-btn {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid var(--yellow);
  background: rgba(0, 0, 0, 0.82);
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.rail-btn.prev {
  left: -22px;
}
.rail-btn.next {
  right: -22px;
}
.chapter-card {
  position: relative;
  flex: 0 0 clamp(250px, 24vw, 360px);
  height: 48vh;
  min-height: 390px;
  scroll-snap-align: start;
  overflow: hidden;
  background: #111;
  border: 1px solid #242424;
}
.chapter-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: 0.55s;
}
.chapter-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.96), transparent 65%);
}
.chapter-card:after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  z-index: 2;
  transition: 0.35s;
}
.chapter-card:hover img {
  transform: scale(1.08);
  filter: grayscale(0.25);
}
.chapter-card:hover:after {
  border-color: var(--yellow);
}
.chapter-card .card-copy {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 25px;
}
.chapter-card small {
  color: var(--yellow);
  letter-spacing: 2px;
}
.chapter-card h3 {
  font-family: "Bebas Neue";
  font-size: 34px;
  line-height: 1;
  margin: 8px 0;
}
.chapter-card .status {
  font-size: 10px;
  color: #8f8f89;
}
.news-card {
  flex: 0 0 clamp(280px, 32vw, 460px);
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #292929;
  border-left: 3px solid var(--yellow);
  color: var(--text);
  background: #0d0d0d;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
}
.news-card:first-child {
  flex-basis: clamp(320px, 42vw, 620px);
}
.news-card-media {
  display: flex;
  height: 310px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
}
.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.news-card-placeholder {
  font-family: "Bebas Neue";
  color: #252525;
  font-size: clamp(42px, 6vw, 84px);
  letter-spacing: 3px;
}
.news-card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}
.news-card-copy small {
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 2px;
}
.news-card-copy strong {
  font-family: "Bebas Neue";
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}
.news-card-copy > span {
  color: #bbb;
  font-size: 11px;
  letter-spacing: 1px;
}
.news-card-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}
.news-card:hover,
.news-card:focus-visible {
  border-color: var(--yellow);
  outline: none;
}
.news-card-empty {
  cursor: default;
}
.calendar {
  border: 2px solid var(--yellow);
  background: #050505;
  box-shadow: 0 0 50px rgba(242, 194, 48, 0.08);
  padding: clamp(20px, 3vw, 45px);
  max-width: 1300px;
  width: 100%;
  margin: auto;
}
.calendar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-bottom: 25px;
}
.calendar-top a,
.calendar-top button {
  width: 44px;
  height: 44px;
  background: #111;
  color: white;
  border: 1px solid #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.calendar-top small {
  color: var(--yellow);
  letter-spacing: 3px;
}
.calendar-top h3 {
  font-family: "Bebas Neue";
  font-size: 38px;
  margin: 4px 0;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar-weekdays span {
  text-align: center;
  padding: 12px;
  color: #777;
  font-size: 10px;
  letter-spacing: 2px;
}
.calendar-day {
  min-height: 90px;
  border: 1px solid #1d1d1d;
  padding: 10px;
  position: relative;
  color: #aaa;
}
.calendar-day.muted {
  opacity: 0.25;
}
.calendar-day.today {
  outline: 1px solid var(--yellow);
  color: white;
}
.calendar-events {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}
.calendar-day .event-dot {
  display: block;
  width: 100%;
  border: 0;
  background: var(--yellow);
  color: #111;
  padding: 5px 6px;
  text-align: left;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.calendar-day .event-dot:hover,
.calendar-day .event-dot:focus-visible {
  background: white;
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}
.event-dialog {
  width: min(980px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 2px solid var(--yellow);
  border-radius: 0;
  padding: 28px;
  color: var(--text);
  background: #0d0d0d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
}
.event-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}
.event-dialog h3 {
  margin: 6px 42px 22px 0;
  color: var(--yellow);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  text-transform: uppercase;
}
.event-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.event-dialog-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.event-dialog-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
}
.event-dialog-facts dt {
  color: #9b9b95;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.event-dialog-facts dd {
  margin: 0;
}
.event-dialog-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}
.event-dialog-media > * {
  border: 1px solid var(--line);
}
.event-dialog-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}
.event-dialog-flyer {
  margin: 0;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-dialog-flyer[hidden],
.event-dialog-media[hidden] {
  display: none !important;
}
.event-dialog-flyer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
.gallery-card {
  flex: 0 0 clamp(320px, 47vw, 730px);
  height: 52vh;
  min-height: 390px;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: 0.55s;
}
.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}
.gallery-card span {
  position: absolute;
  left: 22px;
  bottom: 18px;
  background: #000;
  padding: 9px 13px;
  border-left: 3px solid var(--yellow);
  font-family: "Bebas Neue";
  font-size: 22px;
}
.memorial-rail {
  min-height: 58vh;
}
.memorial-card {
  position: relative;
  flex: 0 0 clamp(280px, 30vw, 430px);
  height: min(68vh, 620px);
  min-height: 500px;
  scroll-snap-align: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, #232323 0, #0b0b0b 72%);
  border: 1px solid #262626;
}
.memorial-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: grayscale(1) brightness(0.78);
  transition: 0.45s;
}
.memorial-card:hover img {
  filter: grayscale(0.65) brightness(0.88);
}
.memorial-card .memorial-copy {
  position: absolute;
  inset: auto 18px 17px;
  z-index: 2;
}
.memorial-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95), transparent 70%);
}
.memorial-copy h3 {
  font-family: "Bebas Neue";
  font-size: 29px;
  margin: 0;
}
.memorial-copy p {
  font-size: 11px;
  color: #bbb;
  margin: 5px 0 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  align-items: center;
}
.contact-copy h2 {
  font-size: clamp(80px, 10vw, 145px);
}
.contact-copy > p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}
.contact-facts {
  margin-top: 45px;
  display: flex;
  gap: 50px;
}
.contact-facts div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-facts small {
  color: var(--yellow);
  letter-spacing: 2px;
}
.contact-form {
  border: 2px solid var(--yellow);
  background: #050505;
  padding: clamp(25px, 4vw, 58px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}
.contact-form .wpforms-container,
.contact-form .wpforms-form {
  --wpforms-field-text-color: var(--yellow);
  --wpforms-label-color: var(--yellow);
}
.contact-form .wpforms-field-label,
.contact-form .wpforms-field-sublabel,
.contact-form .wpforms-field-description,
.contact-form .wpforms-field-label-inline,
.contact-form input:not([type="submit"]):not([type="button"]),
.contact-form textarea,
.contact-form select {
  color: var(--yellow) !important;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 194, 48, 0.62) !important;
  opacity: 1;
}
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--yellow) !important;
  box-shadow: 0 0 0 1000px #101010 inset;
}
.contact-form .wpforms-submit,
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
  background: var(--yellow) !important;
  border: 1px solid var(--yellow) !important;
  color: #0b0b0b !important;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.contact-form .wpforms-submit:hover,
.contact-form .wpforms-submit:focus,
.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus,
.contact-form input[type="submit"]:hover,
.contact-form input[type="submit"]:focus {
  background: #ffe066 !important;
  border-color: #ffe066 !important;
  color: #0b0b0b !important;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #bcbcb6;
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
input,
textarea {
  width: 100%;
  background: #101010;
  border: 1px solid #303030;
  color: #fff;
  padding: 16px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
}
input:focus,
textarea:focus {
  border-color: var(--yellow);
}
.check {
  flex-direction: row;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}
.check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--yellow);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}
.product-card {
  background: #111;
  border: 1px solid #272727;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}
.product-card a.product-image-link{
  display:block;
}
.product-card .product-image {
  height: 220px;
  background: #171717;
  overflow: hidden;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: 0.4s;
}
.product-card:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.product-info {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}
.product-info h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.product-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.product-info strong {
  color: var(--yellow);
  white-space: nowrap;
}
.login-card {
  width: min(440px, 100%);
  margin: auto;
  border: 2px solid var(--yellow);
  padding: 42px;
  background: #050505;
  text-align: center;
}
.login-logo{
    display:flex;
    justify-content:center;
    margin-bottom:20px;
}

.login-logo img{
    width:220px;
    max-width:100%;
    height:auto;
    object-fit:contain;
    filter:drop-shadow(0 0 20px rgba(242,194,48,.4));
}

.login-card h3 {
  font-family: "Bebas Neue";
  font-size: 38px;
  margin: 0;
}
.login-card p,
.login-card small {
  color: var(--muted);
}
.login-card form {
  text-align: left;
  margin-top: 28px;
}
.login-card .btn {
  width: 100%;
}
/* Ultimate Member form re-skin inside .login-card */
.login-card .um {
  text-align: left;
}
.login-card .um input[type="text"],
.login-card .um input[type="password"],
.login-card .um input[type="email"] {
  background: #101010 !important;
  border: 1px solid #303030 !important;
  color: #fff !important;
}
.login-card .um-button,
.login-card button[type="submit"] {
  background: var(--yellow) !important;
  color: #0b0b0b !important;
  border: 1px solid var(--yellow) !important;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.member-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding: 0 0 18px;
  margin-bottom: 18px;
}
.member-shop-content[hidden] {
  display: none;
}
footer {
  min-height: 220px;
  padding: 50px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #222;
  background: #050505;
  color: #777;
  font-size: 12px;
}
footer .footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--yellow);
  color: #0b0b0b;
  padding: 15px 20px;
  font-weight: 700;
  transform: translateY(120px);
  transition: 0.35s;
  z-index: 100;
}
.toast.show {
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.24s;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* --- Generic content page (Impressum, Datenschutz, ...) --- */
.content-page {
  padding: calc(var(--header) + 8vh) 5vw 10vh;
  max-width: 900px;
  margin: 0 auto;
}
.content-page h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(50px, 7vw, 90px);
  margin: 0 0 30px;
}
.content-page h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  margin: 40px 0 14px;
}
.content-page p,
.content-page li {
  color: #c8c8c2;
  line-height: 1.75;
}

/* --- Non-front-page templates: keep content clear of the fixed header --- */
body:not(.home) main {
  padding-top: var(--header);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 5vw;
  padding-right: 5vw;
  padding-bottom: 8vh;
}

/* --- WooCommerce default templates (cart, checkout, my account, single product) --- */
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  color: var(--text);
  border-color: #292929;
}
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  background: var(--yellow);
  color: #0b0b0b;
  border: 1px solid var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  padding: 12px 22px;
}
.woocommerce a { color: var(--yellow); }
.woocommerce input,
.woocommerce select,
.woocommerce textarea {
  background: #101010;
  border: 1px solid #303030;
  color: #fff;
}
.woocommerce ul.products li.product h2,
.woocommerce div.product .product_title,
.woocommerce-page h1 {
  font-family: "Bebas Neue", sans-serif;
}

@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #080808;
    padding: 20px 5vw 30px;
    border-bottom: 1px solid #333;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 10px 0;
    font-size: 15px;
  }
  .main-nav a:after {
    bottom: 3px;
  }
  .nav-toggle {
    display: block;
  }
  .hero-badge {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
  .panel {
    min-height: auto;
  }
  .hero {
    min-height: 100vh;
  }
  .section {
    min-height: 100vh;
  }
  .calendar-day {
    min-height: 75px;
  }
}
@media (max-width: 760px) {
  :root {
    --header: 72px;
  }
  .site-header {
    padding: 0 20px;
  }
  .brand-copy {
    display: none;
  }
  .section {
    padding: calc(var(--header) + 40px) 20px 55px;
  }
  .hero {
    padding: var(--header) 20px 0;
  }
  .hero h1 {
    font-size: 23vw;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head > p {
    font-size: 14px;
  }
  .news-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .event-dialog-media {
    grid-template-columns: 1fr;
  }
  .featured-news {
    min-height: 440px;
  }
  .calendar {
    padding: 14px;
  }
  .calendar-day {
    min-height: 58px;
    font-size: 11px;
    padding: 6px;
  }
  .calendar-day .event-dot {
    font-size: 0;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    padding: 0;
    left: 6px;
    bottom: 6px;
  }
  .calendar-weekdays span {
    padding: 8px 0;
  }
  .rail-btn {
    display: none;
  }
  .chapter-card {
    height: 55vh;
    min-height: 390px;
    flex-basis: 82vw;
  }
  .gallery-card {
    flex-basis: 88vw;
    height: 48vh;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .memorial-card {
    flex-basis: 82vw;
    height: 62vh;
    min-height: 430px;
  }
  .product-card {
    min-height: 390px;
  }
  .contact-facts {
    flex-direction: column;
    gap: 22px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  .cursor-glow {
    display: none;
  }
}
