/* stack-sans-headline-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Stack Sans Headline';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/stack-sans-headline-v1-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* stack-sans-headline-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Stack Sans Headline2';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/stack-sans-headline-v1-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
    
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
   font-family: 'Stack Sans Headline';
}

/* ===== Desktop ===== */

.layout {
  display: flex;
  height: 100vh;
}

/* Linke Spalte */
.left-column {
  position: fixed;
  top: 0;
  left: 0;

  width: 40%;
  max-width: 600px;
  height: 100vh;

  overflow: hidden;
}

/* Bild selbst */
.left-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rechte Spalte */
.right-column {
  margin-left: min(40%, 600px);
  width: calc(100% - min(40%, 600px));
  height: 100vh;
  overflow-y: auto;
  padding: 40px;
}

.content {
  max-width: 800px;
}

.major {margin-top: 30px;}


#menue {width:100%;display: block;margin-bottom: 30px;}
#menue ul {  display: flex; /* Ordnet Elemente in einer Reihe an */
  list-style: none; /* Entfernt Aufzählungszeichen */color: black;}
#menue li {
  display: inline;            /* Listenelemente nebeneinander */
  list-style-type: none;      /* Aufzählungszeichen entfernen */
}

	p {
		margin: 1em 0 1em 0;
        font-size: 1.3em;
        font-weight: normal;
        line-height: 1.5;
	}

	#dse p {
		margin: 0 0 2em 0;
        font-size: 1em;
        font-weight: normal;
        line-height: 1.5;
	}

	h1, h2, h3, h4{
		color: #787878;
		font-weight: 400;
		line-height: 1em;
		margin: 0 0 1em 0;
	}

		h1 a, h2 a, h3 a, h4 a {
			color: inherit;
			text-decoration: none;
		}

	h1 {
		  font-family: 'Stack Sans Headline2';
		line-height: 1.8em;
        color: #E4032E;
	}

	h2 {
          font-family: 'Stack Sans Headline2';
		font-size: 1.5em;
		line-height: 1.6em;
        color: #E4032E;
        padding-top: 120px;
        margin-top: 0px;
	}

	#dse h2 {
          font-family: 'Stack Sans Headline2';
		font-size: 1.6em;
		line-height: 1.5em;
        color: #E4032E;
        padding-top:0;
        margin-top: 10px;
     
	}

	h3 {
          font-family: 'Stack Sans Headline2';
		font-size: 1.4em;
		line-height: 1.5em;
         color: #E4032E;
      
	}

	h4 {
          font-family: 'Stack Sans Headline2';
		font-size: 1.3em;
		line-height: 1em;
          color: #000;
        margin-bottom: 0 !important;
	}

	a {
		-moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
		-ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
		transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
		color: #49bf9d;
		text-decoration: none;
	}

		a:hover {
			border-bottom-color: transparent;
			color: #666 !important;
			text-decoration: none;
		}



		.image.right {
			float: right;
			margin: 0 0 0 1em;
			top: 0.25em;
            background-color: #ffffff !important;          
    
		}
			.image.left img, .image.right img {
				width: 100%;
			}


	ul {
		list-style: disc;
		margin: 0 0 2em 0;
		padding-left: 1em;
	}

		ul li {
			padding-left: 0.5em;
		}


#dse ul {
    
    	margin: 1em 0;
        font-size: 1em;
        font-weight: normal;
        line-height: 1.5;
}

#menue {margin-left: -20px;background: #fff;}
#menue li a {padding: 0 1em 0 0;color: black;font-size: 1.2em;border: none;}
#menue li a:hover {color: #E4032E !important;}

		}

		.image.right {
			float: right;
			margin: 0 0 0 1em;
			top: 0.25em;
            background-color: #ffffff !important;          
    
		}
			.image.left img, .image.right img {
				width: 250px;
			}


.button-group {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  background-color: #E4032E;
   color: #ffffff;
  text-decoration: none;
    margin-right: 20px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
    border-radius: 8px;
  transition: background-color 0.2s ease;
}
.btn:hover,
.btn:focus,
.btn:active {
  color: #ffffff;
}

.btn:hover {
  background-color: #44C4AF;
    color: #ffffff !important;
  
}


/* ===== Mobile ===== */

.mobile-image {
  display: none;
}

@media (max-width: 768px) {

  .layout {
    display: block;
    height: auto;
  }

  .left-column {
    display: none;
  }

  .mobile-image {
    display: block;
    height: 20vh;
    background-image: url("../../images/bg-baechle-sm.png");
    background-size: cover;
    background-position: center;
  }

  .right-column {
    margin-left: 0;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 20px;
  }
    
    .button-group {
  margin-top: 40px;
  margin-right: 20px;
          display: flex;
  flex-direction: column;
  gap: 16px;
}
    
    .btn {margin-bottom: 10px;margin-right: 20px;}
    
    .image.right {float: none !important; margin: 10px 50px 50px 50px;width: 100%;height: 250px;}
    h1 {font-size: 1.2em;} 
   h2, h3, h4, p, li, a {font-size: 1em;}
   
    p {margin-top: 20px;float: none;}
}