ul#topul{
	margin: 0;
	padding: 0;
	color: var(--primary-color);
	list-style-type: none;
	display:inline-block;
}
ul#topul li{
	float:left;
}

#main_content{
    padding: 0;
    display: block;
    clear: both;
}
h2{
	font-size:1.6em;
	margin:30px 0 0 10px;
}
p.photoprev{
	margin:10px 0 10px 2%;
	font-size:0.8em;
	line-height:1em;
	font-style:italic;
}
div.photoswipe_gallery{
	display: inline-block;
	margin: 0 0 30px 0;
}
div.photoswipe_gallery figure{
	width:31%;
	padding:0;
	margin:0 1%;
	float:left;
	height:240px;
	display:inline-block;
}
div.photoswipe_gallery figure img{ 
	width:248px;
	height:186px;
	display:inline-block;
}
div.photoswipe_gallery figcaption{
	font-size:0.8em;
	line-height:1em;
	text-align:center;
	padding:0 10px;
}
h2.lch2{
	
	  appearance: none;
	  background-color: #fafbfc;
	  border: 1px solid rgba(27, 31, 35, 0.15);
	  border-radius: 6px;
	  box-shadow:
	    rgba(27, 31, 35, 0.04) 0 1px 0,
	    rgba(255, 255, 255, 0.25) 0 1px 0 inset;
	  box-sizing: border-box;
	  color: #24292e;
	  cursor: pointer;
	  display: inline-block;
	  font-size: 14px;
	  font-weight: 500;
	  line-height: 20px;
	  list-style: none;
	  padding: 6px 16px;
	  position: relative;
	  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
	  user-select: none;
	  -webkit-user-select: none;
	  touch-action: manipulation;
	  vertical-align: middle;
	  white-space: nowrap;
	  word-wrap: break-word;
      margin: 0 20px 20px 0;
}
h2.lch2:hover {
  background-color: #f3f4f6;
  text-decoration: none;
  transition-duration: 0.1s;
}

h2.lch2:disabled {
  background-color: #fafbfc;
  border-color: rgba(27, 31, 35, 0.15);
  color: #959da5;
  cursor: default;
}

h2.lch2:active {
  background-color: #edeff2;
  box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none 0s;
}

h2.lch2:focus {
  outline: 1px transparent;
}

h2.lch2:before {
  display: none;
}

h2.lch2:-webkit-details-marker {
  display: none;
}


div.h2b{
	display:inline-block;
	margin:20px 0;
	text-align:center;
}
div.h2b figure.bildrahmen {
	display:inline-block;
	float: left;
    margin: 0 auto;
    width: 33%;
    text-align: center;
}
div.h2b figure.bildrahmen img{
	border-width: 10px;
	border: 10px solid rgb(194, 213, 180);
	padding: 0;
	border-collapse: separate;
	border-image: linear-gradient(307deg, #CA453C 0%, #e89696 50%) 10 repeat;
	width: 220px;
	height: 220px;
}
div.h2b figure.bildrahmen figcaption{
 	font-size:0.8em;
	line-height:1em;
	margin:0;
	display:inline-block;
	height:2em;
	width:220px;
	padding:5px 10px;
}
img#titelbild,
img.second_pic{
	float: right;
	margin: 7px 0 10px 20px;
	width: 400px;
	height: 300px;
}
h3.lch3{
	
	  appearance: none;
	  background-color: #fafbfc;
	  border: 1px solid rgba(27, 31, 35, 0.15);
	  border-radius: 6px;
	  box-shadow:
	    rgba(27, 31, 35, 0.04) 0 1px 0,
	    rgba(255, 255, 255, 0.25) 0 1px 0 inset;
	  box-sizing: border-box;
	  color: #24292e;
	  cursor: pointer;
	  display: inline-block;
	  font-weight: 500;
	  line-height: 10px;
	  list-style: none;
	  padding: 6px 10px 10px 10px;
	  position: relative;
	  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
	  user-select: none;
	  -webkit-user-select: none;
	  touch-action: manipulation;
	  vertical-align: middle;
	  white-space: nowrap;
	  word-wrap: break-word;
      margin: 0 20px 20px 0;
}
h3.lch3:hover {
  background-color: #f3f4f6;
  text-decoration: none;
  transition-duration: 0.1s;
}

h3.lch3:disabled {
  background-color: #fafbfc;
  border-color: rgba(27, 31, 35, 0.15);
  color: #959da5;
  cursor: default;
}

h3.lch3:active {
  background-color: #edeff2;
  box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none 0s;
}

h3.lch3:focus {
  outline: 1px transparent;
}

h3.lch3:before {
  display: none;
}

h3.lch3:-webkit-details-marker {
  display: none;
} 

h3.lch3 a{
	color: #696868;
	font-size: 10px;
}
 
div.h4b figure{
	border:1px solid var(--primary-color);
	margin:0;
	display:inline-block;
	width:352px;
	height:195px;
	margin:10px;
	color: var(--primary-color);
	background: #fff4f0;
	text-align:center;
} 
div.h4b figure img{
	height:150px;
	width:350px;
}
 
div.h4b figure figcaption{
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width:90%;
}

h4.lch4{
	display:inline-block;
	float:left;
	margin:0 10px 10px 0;
	line-height:14px;
	clear:none;
} 

h4.lch4 a{
	color: #696868;
	font-size: 10px;
}
div.stichw h2{
	display:inline-block;
	/* float:left; */
	clear:none;
	margin:0 10px;
}
div.stichw h2 img{
	height:80px;
	width:80px;
}
div.stichw h2 a{
	position: absolute;
	    font-size: 10px;
	    color: #fff;
	    background: #000;
	    line-height: 14px;
	    width: 80px;
	    text-align: center;
	    margin: 66px 0 0 -80px;	
		height: 14px;
		    display: inline-block;
		    white-space: nowrap;
		    overflow: hidden;
		    text-overflow: ellipsis;
}
div.h4b{
	display:inline-block;
	padding:20px;
	text-align:center;
}
div#bewertungen{
	display:block;
}

.miniquote{
	font-size:0.8em;
	font-style:italic;
	color: var(--primary-color);
	display:block;
	margin:10px 0;
}
div.stichw{
	display: block;
	    width: 100%;
	    text-align: center;
	    background: #d95959;
	    padding: 30px 0;
}

/* From Uiverse.io by adeladel522 */ 

.actionbuttondiv{
	display:block;
	clear:both;
	text-align:center;
	margin:30px auto 50px auto;
	width:450px;
}

.beratung {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(107 208 77);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a5607;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
}

.beratung .icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.beratung:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.beratung:hover .icon {
  transform: translate(4px);
}

.beratung:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.beratung::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}


@media screen and (max-width: 960px) {
    img#titelbild, img.second_pic {
        height: auto !important;
		margin: 0 0 20px 0;
    }

	.actionbuttondiv{
		display:block;
		clear:both;
		text-align:center;
		margin:30px auto 50px auto;
		width:94%;
	}
	.actionbuttondiv button svg{
		display:none;
	}
	
	.beratung{
		border-radius: 30px;
	}
	div.photoswipe_gallery figure {
	    width: 100%;
		margin:0;
	}
	
	div.photoswipe_gallery figure a {
		width: 100%;
	    display: block;
	    text-align: center;
	}
	div.h2b figure.bildrahmen{
		width:100%;
	}
	div.h4b{
		padding:0;
		margin:0;
	}
	div.h4b figure{
		width:100%;
		padding:0;
		margin:0 0 15px 0;
	}
	div.h4b figure img {
	    height: auto;
	    width: 100%;
		padding:0;
		margin:0;
	}
	
}

