/*
Theme Name: MBG-Xperience Theme
Theme URI: https://mbg-xperience.de/
Author: IT-Dienstleistungen C. Metzner
Author URI: https://christmetz-it.de/
Description: Modern event and experience theme for MBG-Xperience.
Version: 1.0.0
Text Domain: mbg-xperience
*/

:root {
  --mbg-black: #1c2224;
  --mbg-black-2: #101415;
  --mbg-white: #fff;
  --mbg-blue: #7fc4ea;
  --mbg-blue-dark: #4f9dca;
  --mbg-gray: #eef0f1;
  --mbg-muted: #8a9194;
  --mbg-border: rgba(255, 255, 255, .12);
  --mbg-radius: 18px;
  --mbg-max: 1240px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mbg-black);
  background: #fff;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(calc(100% - 40px), var(--mbg-max));
  margin-inline: auto
}

.site-main {
  overflow: hidden
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.mbg-eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mbg-blue)
}

.mbg-title {
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  line-height: .91;
  letter-spacing: -.055em;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase
}

.mbg-title span {
  color: var(--mbg-blue)
}

.mbg-copy {
  max-width: 650px;
  color: #aeb5b7;
  font-size: 1.05rem
}

.mbg-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: #fff;
  color: var(--mbg-black);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .08em;
  transition: .2s ease;
}

.mbg-btn:hover {
  transform: translateY(-2px);
  background: var(--mbg-blue);
  border-color: var(--mbg-blue)
}

.mbg-btn--dark {
  background: var(--mbg-black);
  color: #fff;
  border-color: var(--mbg-black)
}

.mbg-btn--dark:hover {
  background: var(--mbg-blue);
  color: var(--mbg-black);
  border-color: var(--mbg-blue)
}

.mbg-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3)
}

.mbg-btn--outline:hover {
  color: var(--mbg-black)
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
}

.header-shell {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .14);
}

.header-inner {
  min-height: 76px;
  padding: 10px 16px 10px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.site-branding a {
  display: flex;
  align-items: center
}

.custom-logo {
  width: auto;
  height: auto;
  max-height: 48px
}

.header-logo {
  width: auto;
  height: 48px;
  max-width: 170px;
  object-fit: contain
}

.main-navigation {
  margin-left: auto
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none
}

.main-navigation li {
  margin: 0;
  padding: 0
}

.main-navigation a {
  font-size: .69rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--mbg-black);
  transition: .2s ease;
}

.main-navigation a:hover {
  color: var(--mbg-blue-dark)
}

.header-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 11px 16px;
  background: var(--mbg-black);
  color: #fff;
  border: 1px solid var(--mbg-black);
  font-size: .69rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: .2s ease;
}

.header-ticket:hover {
  background: var(--mbg-blue);
  color: var(--mbg-black);
  border-color: var(--mbg-blue)
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--mbg-black);
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--mbg-black);
  margin: 5px 0
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #101415;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 11, .94) 0%, rgba(8, 10, 11, .7) 45%, rgba(8, 10, 11, .25) 100%),
    linear-gradient(0deg, rgba(8, 10, 11, .92) 0%, transparent 55%);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: grayscale(100%) contrast(1.08)
}

.hero-media .hero-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 75% 45%, rgba(127, 196, 234, .2), transparent 20%),
    linear-gradient(135deg, #252c2e 0%, #0c0f10 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 170px 0 82px;
  width: 100%
}

@media (min-width:901px) {
  .hero-content {
    padding-left: 50px;
  }
}

.hero-content .mbg-title {
  max-width: 760px
}

.hero-content .mbg-copy {
  margin: 28px 0 34px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.logo-watermark {
  position: absolute;
  right: -2vw;
  bottom: -6vw;
  z-index: 1;
  font-size: clamp(16rem, 38vw, 36rem);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .6;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
  pointer-events: none;
}

.mission {
  background: #fff;
  padding: 90px 0
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center
}

.mission .mbg-title {
  font-size: clamp(2.6rem, 5vw, 5rem)
}

.mission-copy {
  font-size: 1.05rem;
  color: #4c5457;
  max-width: 600px
}

.mission-mark {
  font-size: clamp(8rem, 18vw, 17rem);
  font-weight: 900;
  line-height: .65;
  letter-spacing: -.1em;
  color: var(--mbg-black);
  opacity: .08;
  text-align: right;
}

.values {
  background: var(--mbg-black);
  color: #fff;
  padding: 72px 0
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr)
}

.value {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, .13)
}

.value:last-child {
  border-right: 0
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 24px
}

.value h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .04em
}

.value p {
  margin: 0;
  color: #aeb5b7;
  font-size: .92rem
}

.event-strip {
  background: var(--mbg-blue);
  padding: 24px 0;
  min-height: 78px
}

.event-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.event-strip .date {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase
}

.event-strip h3 {
  margin: 3px 0 0;
  font-size: 1.3rem;
  text-transform: uppercase
}

.event-strip .mbg-btn {
  background: transparent;
  border-color: var(--mbg-black);
  color: var(--mbg-black)
}

.events {
  background: #fff;
  padding: 92px 0
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px
}

.section-head h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin: 0
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.event-card {
  position: relative;
  min-height: 390px;
  background: #121719;
  color: #fff;
  overflow: hidden;
  border-radius: var(--mbg-radius)
}

.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: .75;
  transition: .35s
}

.event-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0);
  opacity: .9
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .92), transparent 65%)
}

.event-card-content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px
}

.event-date {
  display: inline-flex;
  background: var(--mbg-blue);
  color: var(--mbg-black);
  padding: 5px 8px;
  font-weight: 900;
  font-size: .68rem;
  text-transform: uppercase
}

.event-card h3 {
  margin: 10px 0 3px;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase
}

.event-location {
  font-size: .78rem;
  color: #c6cbcd
}

.event-ticket-link {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 11px;
  background: var(--mbg-blue);
  color: var(--mbg-black);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-ticket-link:hover {
  background: #fff
}

.event-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #252d2f, #0c0f10)
}

.partners {
  background: #f3f5f5;
  padding: 56px 0
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch
}

.partner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid #dde1e2;
  font-weight: 900;
  font-size: .9rem;
  text-align: center;
  opacity: .78;
  text-transform: uppercase;
  transition: .2s ease
}

.partner:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06)
}

.partner a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center
}

.partner img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: .2s ease
}

.partner:hover img {
  filter: grayscale(0)
}

.newsletter {
  background: var(--mbg-black);
  color: #fff;
  padding: 58px 0
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.newsletter h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 0;
  text-transform: uppercase
}

.newsletter p {
  color: #aeb5b7;
  margin: 8px 0 0
}

.newsletter-form {
  display: flex;
  min-width: min(100%, 480px)
}

.newsletter-form input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, .25);
  background: #fff;
  padding: 0 16px;
  min-height: 48px;
  outline: 0
}

.newsletter-form button {
  border: 0;
  background: var(--mbg-blue);
  padding: 0 18px;
  font-weight: 900;
  text-transform: uppercase
}

.site-footer {
  background: #0c0f10;
  color: #fff;
  padding: 52px 0 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px
}

.footer-logo {
  width: 130px;
  filter: invert(1);
  margin-bottom: 20px
}

.footer h3 {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 14px
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer li {
  margin: 8px 0;
  color: #92999b;
  font-size: .85rem
}

.footer a:hover {
  color: var(--mbg-blue)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777e80;
  font-size: .72rem
}

.page-hero {
  background: var(--mbg-black);
  color: #fff;
  padding: 190px 0 80px
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.06em
}

.content-page {
  padding: 80px 0
}

.content-page .entry-content {
  max-width: 850px
}

.entry-content h2,
.entry-content h3 {
  line-height: 1.05
}

.entry-content p,
.entry-content li {
  color: #50585b
}

@media (max-width:900px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 84px;
    left: 14px;
    right: 14px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18)
  }

  .main-navigation.is-open {
    display: block
  }

  .main-navigation ul {
    display: block
  }

  .main-navigation li {
    padding: 9px 0
  }

  .menu-toggle {
    display: block;
    margin-left: auto
  }

  .header-ticket {
    display: none
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .mission-mark {
    text-align: left
  }

  .values-grid,
  .event-grid {
    grid-template-columns: 1fr
  }

  .value {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13)
  }

  .value:last-child {
    border-bottom: 0
  }

  .event-card {
    min-height: 330px
  }

  .partners-list {
    grid-template-columns: repeat(2, 1fr)
  }

  .newsletter-inner {
    display: block
  }

  .newsletter-form {
    margin-top: 25px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:600px) {
  .container {
    width: min(calc(100% - 28px), var(--mbg-max))
  }

  .site-header {
    padding: 14px 0
  }

  .custom-logo,
  .site-branding img {
    max-height: 40px
  }

  .header-logo {
    height: 40px;
    max-width: 145px
  }

  .hero {
    min-height: 680px
  }

  .hero-content {
    padding: 140px 0 55px
  }

  .mbg-copy {
    font-size: .94rem
  }

  .section-head,
  .event-strip-inner {
    display: block
  }

  .section-head .mbg-btn {
    margin-top: 18px
  }

  .event-strip .mbg-btn {
    margin-top: 15px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    display: block
  }

  .footer-bottom>* {
    margin-top: 8px
  }
}