@charset "utf-8";  
/* CSS-Dokument */

h1 {
	color: #E31E25;
}

.container-fluid4 {
	text-align: left;
	width: 80%; 
  	margin: 0 auto; 
  	padding: 20px;
}

.pic-right {
    display: flex;
	align-items: center;
    flex-wrap: wrap;
	justify-content: space-between;
    margin-bottom: 40px;	
}

.pic-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.text-left {
    flex: 1;
	text-align: left;
    padding-right: 30px;
}

.text-right {
	flex: 1;
	text-align: left;
	padding-left: 40px;
}

 h2 {
    font-size: 24px;
    margin-bottom: 10px;
	text-align: left;
}

 p {
    font-size: 16px;
    line-height: 1.5;
	text-align: left;
}

.bild {
    flex: 1;
    max-width: 400px;
}

.bild img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.custom-line {
  border: none; 
  height: 2px; 
  background-color: #E31E25;
  margin: 20px 0;
}

.bild {
    flex: 1;
    max-width: 400px;
}

.bild img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.bild-unten img {
	border-radius: 8px;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    padding: 60px;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    margin: auto;
    display: block;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.clickable-img {
    cursor: pointer;
    width: 100%;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .pic-right,
  .pic-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .text-left,
  .text-right,
  .bild,
  .bild-unten {
    padding: 0;
    max-width: 100%;
    width: 100%;
  }

  .pic-left .text-right {
    order: 1;
  }

  .pic-left .bild {
    order: 2;
  }

  .pic-right .text-left {
    order: 1;
  }

  .pic-right .bild {
    order: 2;
  }

  .bild-unten {
    order: 2;
  }

  .pic-left .bild-unten {
    order: 2;
  }

  .text-right {
    order: 1;
  }

  h2 {
	font-size: 18px;
    text-align: left;
    word-break: break-word;
	hyphens: auto; 
	line-height: 1.3;
  }

  p {
    font-size: 16px;
    text-align: left;
  }
}
