/* This code is only meant for previewing your Reflow design. */
body {
	margin: 0;
	padding: 0;
	height: 100%;
  font-family: sans-serif;
  background: #f2f2f2;
	   opacity: 0;
   transition: opacity 1s;
}

.primaryContainer {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    width: 100%;
	background: #f2f2f2;
	position: absolute;

}

.topbar {
top: 0px;
  width: 100%;
  background-color: #571d00;
  display: flex;
  justify-content: flex-end;  /* 👈 aligns content to the right */
  gap: 1.5rem;
  padding: 1rem 2rem;
	position:fixed;;
	z-index : 9999;
}

.topbar .icon {
	
margin-top: 4px;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* turns black SVGs white */
  transition: transform 0.2s;
  cursor: pointer;
}

.topbar .icon2 {
	width: 30px;
	height: 30px;
	filter: brightness(0) invert(1); /* turns black SVGs white */
	transition: transform 0.2s;
	cursor: pointer;
	margin-left: 10px;
	padding-left: 10px;
	border-left: thin solid #FFF;
}

.topbar .icon:hover {
  transform: scale(1.2);
}
.topbar .icon2:hover {
  transform: scale(1.2);
}
* {
  box-sizing: border-box;
}
transition {
	transition: 1s;
}

.container {
	position: relative;
margin-top: 15%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Each image box + caption */
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image + text box */
.square {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #ccc;
border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
  width: 18vw;
}

.square img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s;
  z-index: 1;
}

.square .text {
	position: absolute;
	z-index: 0;
	padding: 1rem;
	width: 100%;
	height: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font: 300 1.1rem "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	color: #333;
}

.square:hover img {
  opacity: 0;
}

/* Caption under box */
.caption {
	text-align: center;
	font: 1.0rem "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	color: #666;
	margin-top: 0.3rem;
	width: 18vw;
}

.Box_Inhalt {
	float: left;
	height: auto;
	margin-left: 0px;
	margin-top: 12%;
	padding-top: 30px;
	padding-bottom: 30px;
	clear: both;
	width: 100%;
	position: relative;
	z-index: 999 !important;
}

.Box_InhaltOther {
		position: relative;
margin-top: 6em;
	float: left;
	height: auto;
	margin-left: 0px;
	padding-top: 30px;
	padding-bottom: 30px;
	clear: both;
	width: 100%;
	z-index: 999 !important;
}

#Box_Title {
    float: none;
    height: auto;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    clear: none;
    width: 80%;
    margin-right: auto;
    position: relative;
}

#Box_Text {
    float: none;
    height: auto;
    margin-left: auto;
    margin-top: 10px;
    clear: none;
    width: 80%;
    margin-right: auto;
    position: relative;
}
#BoxImageRight {
	position: relative;
	float: right;
	height: auto;
	margin-right: 0px;
	margin-top: 1em;
	clear: both;
	width: 80%;
	text-align: right;
	z-index: 999 !important;
	object-fit: contain;
}
#BoxImageLeft {
	position: relative;
	float: left;
	height: auto;
	margin-left: 0px;
	margin-top: 1em;
	clear: both;
	width: 80%;
	text-align: right;
	z-index: 999 !important;
	object-fit: contain;
}

#Box_Footer {
    float: left;
    height: auto;
    margin-left: 0%;
    bottom: 0px;
    clear: both;
    width: 100%;
    min-width: 0px;
    background-color:#571d00;
	position: absolute;
	text-align: center;
	z-index: 9999;
}

#Box_Footer_Logo {
    float: none;
    height: auto;
    margin-left: auto;
    margin-top: 10px;
    clear: none;
    width: 10%;
    margin-right: auto;
    overflow:visible;
    margin-bottom: 10px;
	text-align: center;
	z-index: 999;

}

#Box_Footer_Address {
    float: none;
    height: auto;
    margin-left: auto;
    margin-top: 10px;
    clear: none;
    width: 90%;
    margin-right: auto;
}
/* ==== Responsive Rules ==== */

/* 🖥️ Desktop (min 1201px): all visible */
@media (min-width: 1201px) {
  .item {
    display: flex;
  }

  .square,
  .caption {
    width: 18vw;
  }
}

/* 📱📱 Tablet (601px – 1024px): only box2, box3, box4 */
@media (min-width: 768px) and (max-width: 1024px) {
.primaryContainer {
	max-width: 1024px;
	}
	
  .item {
    display: none;
  }

  .box2,
  .box3,
  .box4 {
    display: flex;
  }

  .box2 .square,
  .box3 .square,
  .box4 .square,
  .box2 .caption,
  .box3 .caption,
  .box4 .caption {
    width: 26vw;
  }
.text {font-size: 0.9rem !important;
}
	.caption {
  font-size: 0.7rem;
	}
}
/* 📱 Phone (max 600px): only box3, no caption */
@media (orientation: portrait) and (max-width: 980px) {
  .item {
    display: none;
  }

  .box3 {
    display: flex;
  }

  .box3 .square {
    width: 80vw;
  }

  .box3 .caption {
    display: none;
  }
			.text {font-size: 1.0rem !important;
	}
}
@media (orientation: landscape) and (max-width: 980px) {
.primaryContainer {
	max-width: 980px;
	}
	
  .item {
    display: none;
  }

  .box2,
  .box3,
  .box4 {
    display: flex;
  }

  .box2 .square,
  .box3 .square,
  .box4 .square,
  .box2 .caption,
  .box3 .caption,
  .box4 .caption {
    width: 26vw;
  }
	.text {
	font: 400 0.8rem "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
}
}