:root {
  --ink: #121212;
  --muted: #5f6669;
  --line: #dde2e4;
  --paper: #ffffff;
  --soft: #f0f1f3;
  --charcoal: #1c272a;
  --charcoal-2: #263336;
  --orange: #ea7827;
  --yellow: #fcc902;
  --red: #bf3a30;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  font-family: Poppins, Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 26px;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
}

.skip-link:focus {
  top: 20px;
}

.topbar {
  background: var(--charcoal);
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 32px;
}

.brand img {
  width: 70px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
}

.main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--yellow);
  background: rgb(255 255 255 / 0.06);
}

.nav-check,
.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  color: #fff;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(28 39 42 / 0.64);
}

.hero__inner {
  position: relative;
  max-width: 860px;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
  margin-right: auto;
  padding: 92px 0 112px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
}

.hero p {
  max-width: 680px;
  font-size: 20px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 700;
}

.hero .eyebrow {
  color: var(--yellow);
}

.section {
  padding: 64px 0;
}

.subhero + .section {
  padding-top: 46px;
}

.section--intro {
  padding: 56px 0 20px;
}

.section--muted {
  background: var(--soft);
}

.center-copy {
  max-width: 820px;
  text-align: center;
}

.split {
  padding-top: 42px;
  padding-bottom: 42px;
}

.split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 72px;
}

.split--reverse .split__media {
  order: 2;
}

.split--reverse .split__copy {
  order: 1;
}

.split__media {
  margin: 0;
  overflow: hidden;
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.split__copy {
  color: var(--muted);
}

.split__copy h2 {
  color: var(--ink);
  text-transform: uppercase;
}

.richtext strong {
  color: var(--ink);
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 6px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button--primary {
  background: var(--orange);
  color: #fff;
}

.button--primary:hover {
  background: var(--red);
  color: #fff;
}

.button--secondary {
  background: var(--charcoal);
  color: #fff;
}

.button--light {
  background: #fff;
  color: var(--charcoal);
}

.button--light:hover,
.button--secondary:hover {
  background: var(--yellow);
  color: var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-card.is-featured {
  border-color: var(--orange);
  box-shadow: 0 18px 42px rgb(28 39 42 / 0.12);
}

.price {
  color: var(--muted);
}

.price span {
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
}

.feature-list {
  padding: 0;
  margin: 8px 0 28px;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.feature-status {
  flex: 0 0 auto;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.feature-status::after {
  content: "+";
}

.feature-status.is-yes {
  background: #2f7d59;
}

.feature-status.is-no {
  background: #b7443d;
}

.feature-status.is-no::after {
  content: "-";
}

.feature-status.is-warn {
  background: #c89214;
}

.feature-status.is-warn::after {
  content: "!";
}

.price-card .button {
  margin-top: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
}

.gallery-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-grid figure:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.03);
}

body.is-lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 16px;
  align-items: center;
  padding: 30px;
  background: rgb(5 5 5 / 0.92);
  color: #fff;
}

.lightbox__figure {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
}

.lightbox__figure img {
  width: auto;
  max-width: min(100%, 1120px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 90px rgb(0 0 0 / 0.5);
}

.lightbox__figure figcaption {
  max-width: 900px;
  color: rgb(255 255 255 / 0.86);
  font-weight: 700;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 34px;
  line-height: 1;
}

.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.lightbox__nav--prev {
  justify-self: end;
}

.lightbox__nav--next {
  justify-self: start;
}

.cta-band {
  background: var(--charcoal);
  color: #fff;
}

.cta-band .richtext,
.cta-band .richtext strong {
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.cta-grid h2 {
  text-transform: uppercase;
}

.map-card {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 8px;
  background: var(--charcoal-2);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(0.98);
}

.map-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 34px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgb(28 39 42 / 0.92) 36%, rgb(28 39 42 / 0.98));
}

.map-card p {
  color: var(--yellow);
  font-weight: 800;
}

.map-card a {
  color: #fff;
  font-weight: 800;
}

.map-card a:hover {
  color: var(--yellow);
}

.map-card--contact {
  min-height: 300px;
  margin-top: 18px;
}

.team-strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 0 62px;
  background: #050505;
  color: #fff;
  text-align: center;
}

.team-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.58), rgb(0 0 0 / 0.82)),
    radial-gradient(circle at center, rgb(234 120 39 / 0.18), transparent 58%);
}

.team-strip__smoke {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.team-strip.is-visible .team-strip__smoke {
  opacity: 1;
}

.team-strip__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.62;
  filter: contrast(1.05) saturate(0.9);
  transform: scale(1.02);
  animation: smokeBreath 16s ease-in-out infinite;
  animation-play-state: paused;
  will-change: opacity, transform;
}

.team-strip.is-visible .team-strip__video {
  animation-play-state: running;
}

@keyframes smokeBreath {
  0% {
    opacity: 0.52;
    transform: scale(1.02);
  }

  45% {
    opacity: 0.66;
    transform: scale(1.045);
  }

  100% {
    opacity: 0.52;
    transform: scale(1.02);
  }
}

.team-strip h2 {
  max-width: 920px;
  margin-inline: auto;
  font-size: 22px;
}

.team-strip a {
  color: var(--yellow);
}

.team-strip a:hover {
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.team-grid figure {
  margin: 0;
}

.team-grid img {
  width: 100%;
  max-width: 220px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgb(0 0 0 / 0.32);
}

.team-grid figcaption {
  margin-top: 10px;
  font-weight: 700;
  color: #fff;
}

.subhero {
  padding: 42px 0 48px;
  background: #11191b;
  color: #fff;
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.subhero h1 {
  margin-bottom: 8px;
  font-size: 54px;
}

.subhero p:last-child {
  margin-bottom: 0;
  max-width: 920px;
}

.contact-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.contact-panel,
.hours-panel,
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-person {
  width: 148px;
  height: 148px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hours-grid article {
  padding: 18px;
  background: var(--soft);
  border-radius: 8px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.advantage-grid article,
.fact-grid p,
.faq-list details {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.fact-grid p {
  margin: 0;
  font-weight: 700;
}

.contact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  font-weight: 700;
}

.form-message {
  padding: 14px 16px;
  margin: 0 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.form-message p {
  margin: 0;
}

.form-message p + p {
  margin-top: 8px;
}

.form-message--success {
  color: #17452f;
  background: #dceee5;
}

.form-message--error {
  color: #70221d;
  background: #f4ddda;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9d1d4;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.check-field {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
  font-weight: 400 !important;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 5px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--muted);
}

.legal-page {
  max-width: 880px;
  padding: 48px 0 64px;
}

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page h4 {
  margin-top: 1.35em;
}

.legal-page h1:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 52px 0 22px;
  background: var(--charcoal);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 44px;
}

.footer-logo img {
  width: 112px;
  height: auto;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer address {
  font-style: normal;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  font-size: 14px;
}

.footer-legal p {
  margin: 0;
}

.maintenance-body {
  min-height: 100vh;
  background:
    linear-gradient(rgb(28 39 42 / 0.78), rgb(28 39 42 / 0.78)),
    url("../images/eventraum-mieten-baden-baden.webp") center / cover;
  color: #fff;
}

.maintenance-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.maintenance-card {
  width: min(100%, 680px);
  padding: 42px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 8px;
  background: rgb(28 39 42 / 0.88);
  box-shadow: 0 24px 80px rgb(0 0 0 / 0.28);
}

.maintenance-logo {
  width: 138px;
  height: auto;
  margin-bottom: 28px;
}

.maintenance-card h1 {
  font-size: 46px;
}

.maintenance-card .richtext {
  color: rgb(255 255 255 / 0.86);
}

.maintenance-note {
  margin: 28px 0 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 14px;
}

.maintenance-ip {
  margin: 14px 0 0;
  color: rgb(255 255 255 / 0.68);
  font-size: 13px;
}

.maintenance-ip code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}

@media (max-width: 980px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .topbar__inner,
  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .subhero {
    padding: 36px 0 40px;
  }

  .subhero h1 {
    font-size: 44px;
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgb(255 255 255 / 0.22);
    border-radius: 6px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--charcoal);
  }

  .nav-check:checked ~ .main-nav {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 500px;
  }

  .split__grid,
  .pricing-grid,
  .cta-grid,
  .contact-grid,
  .contact-form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split__grid,
  .cta-grid,
  .contact-grid,
  .contact-form-grid,
  .footer-grid {
    gap: 30px;
  }

  .split--reverse .split__media,
  .split--reverse .split__copy {
    order: initial;
  }

  .gallery-grid,
  .team-grid,
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    display: none;
  }

  .site-header__inner {
    min-height: 66px;
    gap: 16px;
  }

  .brand img {
    width: 62px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    top: 66px;
    padding-inline: 14px;
  }

  .hero {
    min-height: 420px;
  }

  .hero__inner {
    margin-inline: auto;
    padding: 54px 0 66px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 42px 0;
  }

  .subhero + .section {
    padding-top: 32px;
  }

  .section--intro {
    padding: 42px 0 14px;
  }

  .subhero {
    padding: 30px 0 34px;
  }

  .subhero h1 {
    margin-bottom: 6px;
    font-size: 34px;
  }

  .legal-page {
    padding: 34px 0 48px;
  }

  .split {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .split__grid {
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid,
  .advantage-grid,
  .hours-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .contact-panel,
  .hours-panel,
  .contact-form,
  .price-card,
  .maintenance-card {
    padding: 22px;
  }

  .map-card {
    min-height: 250px;
  }

  .map-card__content {
    padding: 20px;
  }

  .team-strip {
    padding: 52px 0 48px;
  }

  .team-strip h2 {
    font-size: 18px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 68px 14px 86px;
  }

  .lightbox__figure {
    grid-column: 1;
  }

  .lightbox__figure img {
    max-height: 70vh;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox__nav {
    position: fixed;
    bottom: 18px;
  }

  .lightbox__nav--prev {
    left: calc(50% - 62px);
  }

  .lightbox__nav--next {
    right: calc(50% - 62px);
  }

  .maintenance-card h1 {
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 24px;
  }

  .gallery-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .button {
    min-height: 48px;
  }

  .hero {
    min-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-strip__smoke {
    display: none;
  }

  .team-strip__video {
    animation: none;
  }
}
