body {
  background:
    radial-gradient(circle at 50% -12%, rgba(216, 170, 85, 0.2), transparent 34rem),
    linear-gradient(180deg, var(--color-night), #140f0b 48%, #0c0907);
  color: var(--color-cream);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-line);
  background: rgba(12, 9, 7, 0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--content);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 180px;
}

.brand--with-logo {
  grid-template-columns: 42px 1fr;
  align-items: center;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(216, 170, 85, 0.22));
}

.brand__name {
  display: block;
  color: var(--color-gold-soft);
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.brand__event {
  display: block;
  color: var(--color-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 245, 223, 0.04);
  color: var(--color-cream);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  display: none;
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));
  border-bottom: 1px solid var(--color-line);
  background: rgba(12, 9, 7, 0.98);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: var(--space-2);
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-gold-soft);
}

.section,
.footer-shell {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: var(--space-8) 0 var(--space-6);
  position: relative;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.08), rgba(12, 9, 7, 0.9)),
    radial-gradient(circle at 74% 24%, rgba(240, 216, 154, 0.24), transparent 17rem),
    linear-gradient(135deg, rgba(183, 109, 56, 0.14), transparent 34%),
    url("../assets/images/hero-market-final.png") center/cover no-repeat;
  opacity: 0.95;
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.hero__content {
  width: var(--content);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.hero::after,
body:not(.page-baukran):not(.page-partner) .page-hero::after {
  content: "KI-generiertes Bild";
  position: absolute;
  right: max(16px, calc((100vw - var(--content)) / 2));
  bottom: 14px;
  z-index: 2;
  border: 1px solid rgba(240, 216, 154, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(255, 245, 223, 0.72);
  background: rgba(12, 9, 7, 0.62);
  font-size: 0.66rem;
  line-height: 1;
}

.page-hero {
  min-height: 46vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: var(--space-7) 0 var(--space-6);
}

.page-baukran .page-hero {
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.16), rgba(12, 9, 7, 0.88)),
    url("../assets/images/baukran-herrnhuter-stern.png") center 57%/cover no-repeat;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.2), rgba(12, 9, 7, 0.92)),
    url("../assets/images/hero-market-final.png") center 46%/cover no-repeat;
}

.page-hero__content {
  width: var(--content);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
}

.eyebrow {
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  margin-top: var(--space-3);
  font-size: clamp(2.55rem, 10vw, 7.3rem);
  max-width: min(100%, 980px);
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 680px;
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero__note {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.pill {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--color-gold-soft);
  background: rgba(12, 9, 7, 0.45);
  font-size: 0.86rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.hero .actions {
  justify-content: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 11px 16px;
  color: var(--color-cream);
  background: rgba(255, 245, 223, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 216, 154, 0.55);
  background: rgba(255, 245, 223, 0.1);
}

.button--primary {
  border-color: rgba(216, 170, 85, 0.65);
  color: #140f0b;
  background: linear-gradient(135deg, var(--color-gold-soft), var(--color-gold));
}

.section {
  padding: var(--space-7) 0;
}

.section--tight {
  padding-top: var(--space-5);
}

.section__intro {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.section__intro p {
  max-width: 700px;
  color: var(--color-muted);
}

.split {
  display: grid;
  gap: var(--space-5);
}

.feature-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  background:
    linear-gradient(160deg, rgba(240, 216, 154, 0.1), rgba(33, 25, 18, 0.92)),
    var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.feature-panel p,
.card p,
.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.logo-showcase {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-3);
}

.logo-showcase__mark {
  width: min(520px, 92%);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(216, 170, 85, 0.18));
}

.logo-showcase--image-only {
  min-height: 480px;
  padding: var(--space-3);
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 170, 85, 0.16), transparent 19rem),
    linear-gradient(160deg, rgba(240, 216, 154, 0.08), rgba(33, 25, 18, 0.92)),
    var(--color-panel);
}

.grid {
  display: grid;
  gap: var(--space-3);
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  min-height: 168px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: rgba(255, 245, 223, 0.035);
}

.topic-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

.topic-card {
  min-height: 190px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  color: var(--color-cream);
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.05), rgba(12, 9, 7, 0.96)),
    url("../assets/images/hero-market-final.png") center/cover no-repeat;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, border-color 220ms ease;
}

.market-intro-centered {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.market-intro-centered .section__intro,
.market-intro-centered .section__intro p,
.market-intro-centered h2 {
  max-width: none;
}

.market-intro-centered .intro-media {
  width: min(760px, 100%);
  max-height: 480px;
  margin: var(--space-5) auto 0;
  object-position: center 72%;
}

.market-intro-centered .intro-media .photo {
  object-position: center 72%;
}

.hero-stand-crop {
  object-position: center 78%;
}

.topic-card:nth-child(2) { background-position: 58% 72%; }
.topic-card:nth-child(3) { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.12), rgba(12, 9, 7, 0.95)), url("../assets/images/feuerzangenbowle-clean.png"); }
.topic-card:nth-child(4) { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.12), rgba(12, 9, 7, 0.95)), url("../assets/images/bratwurst-grill.png"); }
.topic-card:nth-child(5) { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.12), rgba(12, 9, 7, 0.95)), url("../assets/images/buehne-markt-visualisierung-v2.png"); background-position: center 58%; }
.topic-card:nth-child(6) { background-position: 85% 65%; }
.topic-card:nth-child(7) { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.12), rgba(12, 9, 7, 0.95)), url("../assets/gallery/schokofruechte.jpeg"); }

.topic-card::after {
  content: "KI-generiertes Bild";
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(240, 216, 154, 0.24);
  border-radius: 999px;
  padding: 4px 7px;
  color: rgba(255, 245, 223, 0.68);
  background: rgba(12, 9, 7, 0.58);
  font-size: 0.62rem;
  line-height: 1;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 216, 154, 0.55);
}

.topic-card h3 {
  margin-top: var(--space-1);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.topic-card p {
  margin-top: var(--space-1);
  color: var(--color-muted);
}

.single-media {
  max-width: 920px;
  margin: 0 auto;
}

.crane-story {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.crane-gallery {
  display: grid;
  gap: var(--space-3);
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: var(--space-5);
}

.crane-gallery figure {
  margin: 0;
}

.crane-gallery .photo {
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 5;
}

.crane-gallery__historic {
  object-fit: contain;
  background: #dfceb0;
}

.crane-gallery__technical {
  object-fit: contain;
  background: #fff;
}

.crane-gallery__wide {
  grid-column: 1 / -1;
}

.crane-gallery .crane-gallery__construction {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
}

.crane-copy {
  display: grid;
  gap: var(--space-3);
}

.crane-copy h2 {
  max-width: 24ch;
}

.crane-copy p {
  max-width: 82ch;
}

.fact-list {
  display: grid;
  gap: var(--space-2);
  list-style: none;
}

.fact-list li {
  border-bottom: 1px solid var(--color-line);
  padding: 12px 0;
  color: var(--color-gold-soft);
}

.stand-content {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.stand-description {
  margin-bottom: var(--space-5);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.stand-offer {
  align-items: start;
}

.partner-section {
  margin-top: var(--space-6);
}

.partner-logo-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.partner-logo-grid--single {
  max-width: 420px;
}

.partner-logo-card {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #f3ead8;
  box-shadow: var(--shadow-soft);
}

.partner-logo-card--dark {
  background: #0b0d0f;
}

.partner-logo-card img {
  width: 100%;
  max-width: 280px;
  max-height: 130px;
  object-fit: contain;
}

.fire-offer {
  max-width: 920px;
  margin: var(--space-4) auto 0;
}

.fire-offer > :last-child {
  margin-top: var(--space-2);
  color: var(--color-gold-soft);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.impressions-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  outline: none;
}

.impressions-carousel:focus-visible {
  border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(240, 216, 154, 0.65);
}

.impressions-carousel__viewport {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #090705;
  box-shadow: var(--shadow-soft);
  touch-action: pan-y;
}

.impressions-carousel__track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.impressions-carousel__slide {
  min-width: 100%;
  height: clamp(360px, 62vw, 680px);
  display: grid;
  place-items: center;
  margin: 0;
}

.impressions-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.impressions-carousel__button {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 216, 154, 0.65);
  border-radius: 50%;
  color: var(--color-gold-soft);
  background: rgba(12, 9, 7, 0.82);
  box-shadow: var(--shadow-soft);
  font-size: 2.35rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  z-index: 2;
}

.impressions-carousel__button:hover,
.impressions-carousel__button:focus-visible {
  background: rgba(111, 70, 31, 0.96);
  transform: translateY(-50%) scale(1.05);
}

.impressions-carousel__button--previous {
  left: 18px;
}

.impressions-carousel__button--next {
  right: 18px;
}

.impressions-carousel__counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 72px;
  padding: 8px 12px;
  border: 1px solid rgba(240, 216, 154, 0.42);
  border-radius: 999px;
  color: var(--color-gold-soft);
  background: rgba(12, 9, 7, 0.82);
  text-align: center;
  z-index: 2;
}

.address-card {
  min-height: 300px;
  position: relative;
  display: grid;
  place-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(216, 170, 85, 0.18), transparent 16rem),
    rgba(255, 245, 223, 0.035);
}

.address-card::before {
  content: "";
  width: 18px;
  height: 18px;
  margin: 0 auto var(--space-3);
  border: 3px solid var(--color-gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.address-card h2 { max-width: none; }

.card__number {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-copper);
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  list-style: none;
}

.menu-list li {
  border-bottom: 1px solid var(--color-line);
  padding: 12px 0;
  color: var(--color-gold-soft);
}

.image-placeholder,
.gallery-card__image {
  min-height: 280px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.18), rgba(12, 9, 7, 0.86)),
    radial-gradient(circle at 50% 24%, rgba(216, 170, 85, 0.36), transparent 11rem),
    linear-gradient(135deg, #25170e, #130e0a 54%, #352216);
  display: grid;
  place-items: end start;
  padding: var(--space-4);
  overflow: hidden;
}

.image-placeholder span,
.gallery-card__image span {
  color: var(--color-gold-soft);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.photo {
  width: 100%;
  min-height: 280px;
  max-height: 560px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--color-panel);
}

.ai-image {
  margin: 0;
}

.ai-image figcaption,
.ai-caption {
  margin-top: 7px;
  color: rgba(255, 245, 223, 0.58);
  font-size: 0.7rem;
  line-height: 1.3;
  text-align: right;
}

.ai-image .photo {
  display: block;
}

.photo--tall {
  min-height: 420px;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3);
}

.photo-strip img {
  height: 100%;
  min-height: 180px;
}

.gallery-card__image {
  padding: 0;
}

.gallery-card__image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-card:hover .gallery-card__image img {
  filter: brightness(1.08);
  transform: scale(1.04);
}

.fire-section {
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.96), rgba(12, 9, 7, 0.62)),
    url("../assets/images/feuerzangenbowle.svg") center/cover no-repeat;
}

.fire-section .feature-panel {
  background: rgba(12, 9, 7, 0.74);
}

.info-band {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(90deg, rgba(33, 25, 18, 0.42), rgba(183, 109, 56, 0.12));
}

.info-band .section {
  padding: var(--space-5) 0;
}

.map-card {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  background:
    linear-gradient(135deg, rgba(216, 170, 85, 0.16), rgba(12, 9, 7, 0.92)),
    repeating-linear-gradient(30deg, rgba(255, 245, 223, 0.04) 0 1px, transparent 1px 38px);
  display: grid;
  align-content: end;
}

.gallery-grid {
  display: grid;
  gap: var(--space-3);
}

.gallery-card {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.gallery-card__caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-2);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: var(--space-4);
  background: rgba(6, 4, 3, 0.86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__body {
  width: min(860px, 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-panel);
  overflow: hidden;
}

.lightbox__media {
  min-height: 420px;
}

.lightbox__caption {
  padding: var(--space-4);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-cream);
  background: var(--color-panel);
  cursor: pointer;
}

.contact-box {
  display: grid;
  gap: var(--space-3);
}

.contact-box .actions {
  justify-content: center;
}

.jobs-panel {
  max-width: 760px;
  margin: 0 auto;
}

.jobs-panel h2 {
  max-width: none;
  text-align: center;
}

.jobs-panel .fact-list li::before {
  content: "– ";
}

.jobs-panel .actions {
  justify-content: center;
}

.contact-link {
  color: var(--color-gold-soft);
  overflow-wrap: anywhere;
}

.legal-content {
  display: grid;
  gap: var(--space-4);
  max-width: 860px;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  margin-top: var(--space-6);
  padding: var(--space-5) 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-shell {
  display: grid;
  gap: var(--space-3);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--color-gold-soft);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-cream);
  background: rgba(33, 25, 18, 0.92);
}

.back-to-top.is-visible {
  display: grid;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
