html {height:100%;}

body {
	margin: 0; padding: 0; 
	height:100%;
	background: #c1af9e url(../images/bodybg.jpg) repeat fixed;
    color:#333333;
	line-hight: 100%;
	font-size: 15px;
	font-family:'akzidenz-grotesk_bqregular';
}

img {max-width:100%; height:auto;}

a {color:#9e8d7b; text-decoration: none;}
a:hover {color: #333333;}

p {line-height:150%; }

h1, h2, h3, h4, h5, h6 { color: #333333; }
h1 { font-size: 48px; margin: 0 0 10px 0;} 
h2 { font-size: 28px; margin: 0 0 10px 0;} 
h3 { font-size: 22px; margin: 0 0 10px 0;} 
h4 { font-size: 18px; margin: 0 0 10px 0;} 
h5 { font-size: 15px; margin: 0 0 10px 0;}
h6 { font-size: 13px; margin: 0 0 10px 0;}

a:hover {color: #000;} 

hr{
	border: none;
	border-bottom:solid #9e8d7b 1px; height:1px;
	clear:both;
}


.wrapper {
	max-width: 1920px; /*max 1920px*/
    width: 93%;
    margin: 0 auto;
	background: transparent url(../images/bg.png); 
	z-index:300;
	position:relative;
	box-shadow: 0 0 60px #3e3025;
	
}

/*Felder*/
.input_name_field,
.input_message_field,
.input_mail_field,
.input_website_field {
	font-family: 'akzidenz-grotesk_bqregular';
	font-size: 15px;
	border: 1px solid #9e8d7b; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	padding: 4px 8px 4px 8px; 
}
textarea { 
	font-family: 'akzidenz-grotesk_bqregular';
	font-size: 15px;
	border: 1px solid #9e8d7b; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
/*	min-width: 250px;*/
	width: 240px;
	padding: 4px 8px 4px 8px; 
}
input[type=text],
input[type=email],
input[type=password] {
	font-family: 'akzidenz-grotesk_bqregular';
	font-size: 15px;
	border: 1px solid #9e8d7b; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	padding: 4px 8px 4px 8px; 
}

select {
	font-family: 'akzidenz-grotesk_bqregular';
	font-size: 15px;
    border: 1px solid #9e8d7b; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	padding: 4px 8px 4px 8px; 
	min-width: 268px; 
}

button[type=button], 
input[type=submit] {
	font-family: 'akzidenz-grotesk_bqregular';
	border: 1px solid #333; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	font-size: 15px;
	letter-spacing: 0px;
    word-spacing: 0px; 
	padding: 4px 8px 4px 8px; 
	width: auto;
    cursor:pointer;
	box-shadow: 4px 3px 5px 1px #9e8d7b;
}
button[type=button]:active,
input[type=submit]:active {
transform: scale(0.99);
	box-shadow: 1px 1px 2px 0px #9e8d7b;
}

input[type=number] {
	font-family: 'akzidenz-grotesk_bqregular';
	font-size: 15px;
	border: 1px solid #9e8d7b; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	padding: 4px 8px 4px 8px;  
	width:50px; 
	letter-spacing: 5px
}

input[type="checkbox"] { display: none; }

input[type="checkbox"] +label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 5px;
  font: 14px/20px 'Open Sans', Arial, sans-serif; 
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input[type="checkbox"] + label:last-child { margin-bottom: 0;}

input[type="checkbox"] + label:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1.5px solid #9e8d7b;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;		
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent; 
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

input[type=radio] {
  --s: 1.3em;     /* control the size */
  --c: #9e8d7b; /* the active color */
	margin: 0 5px -4px 0;
  
  height: var(--s);
  aspect-ratio: 1;
  border: calc(var(--s)/20) solid #9e8d7b;
  padding: calc(var(--s)/10);
  background: 
     radial-gradient(farthest-side,var(--c) 94%,#0000) 
     50%/0 0 no-repeat content-box;
  border-radius: 50%;
  outline-offset: calc(var(--s)/10);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  font-size: inherit;
  transition: .3s;
}
input[type=radio]:checked {
  border-color: var(--c);
  background-size: 100% 100%;
}

.captcha_iframe{
font-family: 'akzidenz-grotesk_bqregular';
	border: 1px solid #9e8d7b; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	font-size: 15px;
	letter-spacing: 0px;
    word-spacing: 0px; 
	padding:0px 0px 0px 0px; 
	margin: 0 0 0 -3px;
    cursor:pointer;
}

input::file-selector-button  {
font-family: 'akzidenz-grotesk_bqregular';
	border: 1px solid #333; 
	border-radius: 5px;
	background: #fff; 
	color: #333; 
	font-size: 12px;
	letter-spacing: 0px;
    word-spacing: 0px; 
	padding: 2px 4px 2px 4px; 
	width: auto;
    cursor:pointer;
}

/*Scrollbar*/
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 10px #ddd;
	background: #ddd;
}
::-webkit-scrollbar-thumb {
  background: #9e8d7b;
}

 .img-a {
        bottom: 0;
        right: 0;
    }

.img-b {
        top: 0;
        left: 0;
	padding: 20% 0% 0% 58%;
        z-index: 100000;
	position: absolute;
	width: 40%;
	opacity: 0.8;
    }


.mySlides {display: none;}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 6s;
}


@keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
}

.wrap {
	float: left;
    display: block;
	width: 185px; 
    height: 200px; 
    padding: 0;
    overflow: hidden;
} 




.frame {
    width: 800px;
    height: 600px;
    overflow: hidden;
    pointer-events: none;
    border: 0;
    -ms-transform: scale(0.20);
    -moz-transform: scale(0.20);
    -o-transform: scale(0.20);
    -webkit-transform: scale(0.20);
    transform: scale(0.20);
	
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}


/* Back to Top */
#backtotop {
  display: inline-block;
  background-color: #333333;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 5px;
  right: 5px;
  transition: background-color .5s, 
  opacity .5s, visibility .5s;
  opacity: 0.4;
  visibility: hidden;
  z-index: 1000;
}
#backtotop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 25px;
  line-height: 30px;
  color: #ffffff;
}
#backtotop:hover {
  cursor: pointer;
  background-color: #222222;
}
#backtotop:active {
  background-color: #333333;
}
#backtotop.show {
	opacity: 0.4;
  visibility: visible;
}

.thrfooter{
	font-size: 20px;
	padding: 25px 0px 15px 0px;
	text-align: center;
    word-wrap: break-word;
}

.thrfooter a {
/*nix*/
}
.thrfooter a:hover {
/*nix*/
}

.copyright{
	padding: 10px 15px 0px 15px;
	font-size: 16px;  
}

.footer {
	color:white;
	font-size: 16px;  
	text-align: center;
	background: #9e8d7b;
	padding: 0px 15px 25px 15px;
	height:auto;
	clear:both;
}
.footer a {
color: #D3D3D3;
}
.footer a:hover {
color: #ffffff;
}

.grid {
  display: grid;
  gap: 0px;
	grid-template-columns: 70% 30%;
}
.main {
	padding: 0 20px 0px 20px;
}
.side {
	margin: -20px 0 0 0;
	padding: 20px 20px 0 20px;
	background-color:#dacfbd; border-left: 1px solid #9e8d7b;
}
.side h4 {color: #fff;}

.main,
.side {
/*nix*/
}

@media(max-width: 900px){
  .grid {
	  grid-template-columns: 100%; 
  }
	.side {
	border-left: none;
		margin: 0 0 0 0;
		border-top: 1px solid #9e8d7b;
		padding: 20px 10px 0 10px;
  }
	.main {
	padding: 0 10px 0px 10px;
  }
}

/* Der Hauptcontainer für das Raster */
.bild-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px; /* Etwas mehr Abstand für den Text */
}

/* Die Box, die Bild + Text zusammenhält */
.grid-item {
  display: flex;
  flex-direction: column; /* Stapelt Bild und Text untereinander */
}

/* Das Bild innerhalb der Box */
.grid-item img {
/*  width: 100%; */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
