* {
  box-sizing: border-box;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  }
h1 {
  color: #CC5945;
  font-style: normal;
  font-size: 30px;
}

h2 {
  color: #111111;
  font-style: normal;
  font-size: 20px;
}

h3 {
  color: #CC5945;
  font-style: normal;
  font-size: 15px;
}

h5 {
  color: #111111;
  font-style: normal;
  font-size: 10px;
}
#Titelbild {   
	float: center;
  width: 100%;
  height: auto;
  margin-left: 0px;
	z-index:0;
}

#Portrait {   
  float: right;
  width: 30%;      /* Breite anpassen nach Wunsch */
  height: auto;
  margin-left: 20px;
  margin-bottom: 10px;
}
/*Balken*/
hr {
    height:5px;
    border-width:0;
    border-top:0;
    color:#CC5945;
    background-color:#CC5945;
	
  }

#Logo {
	position: absolute;top:25px;right:20px;
	width: 20%;
	height: auto;
	margin-right: 5px;
	margin-top:0px;
	z-index: 1;
	}

/* place the navbar under the hr and make it stick */
.topnav {
  overflow: hidden;
  background-color: #CC5945;
  margin-left: 00px;
}
/* Style the links inside the navigation*/
.topnav a {
  float: left;
  display: block;
  color:#ffffff;
  text-align: center;
  padding: 14px 16px;
  margin-left: 50px;
  text-decoration: transparent;
  font-size: 17;
}
/* change the color of links on hover*/
.topnav a:hover {
  background-color: rgb(206, 102, 84);
  color:#ffffff;
  }

.topnav a.active {
  background-color: rgb(206, 102, 84);
  color:#ffffff;
}

/*hide the link that should open and close the navbar on small screens*/
.topnav .icon{
  display: none;
}

/* Kasten */
.side {
  display: block;
  position: relative;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 100px;
  border: none #CC5945;
  background-color: rgb(240, 191, 182);
  color: #cc5945;
  font-style: italic;
  text-align: left;
  padding: 5px;
}
.main {
  background-color: #ffffff;
  padding: 40px 60px;
  width: 100%;        /* volle Breite */
  margin: 0;          /* kein auto-zentrieren */
}

.row {
  width: 100%;
  margin: 0;
  padding: 0;
}
.footer {
  clear: both;    /* ← Das verhindert, dass der Footer neben dem Bild erscheint */
  padding: 14px 16px;
  text-align: left;
  background-color: #CC5945;
  width: 100%;        /* statt 250% */
  margin: 0;
}
/* Tablet (bis 768px) */
@media (max-width: 768px) {
  #Portrait {
    width: 50%;
    margin-left: 10px;
  }

  .main {
    padding: 20px 30px;
  }

  .topnav a {
    margin-left: 10px;
    padding: 10px 8px;
    font-size: 14px;
  }

  #Logo {
    width: 30%;
  }
}

/* Mobil (bis 480px) */
@media (max-width: 480px) {
  #Portrait {
    float: none;        /* Bild nicht mehr rechts, sondern normal im Fluss */
    width: 100%;
    margin: 0 0 15px 0;
  }

  .side {
    width: 100%;
  }

  .main {
    padding: 15px;
  }

  .topnav a {
    display: none;      /* Links verstecken */
  }

  .topnav a.icon {
    display: block;     /* Burger-Menü anzeigen */
    float: right;
  }

  .topnav.responsive a {
    float: none;
    display: block;     /* Links untereinander beim Burger-Menü */
    text-align: left;
    margin-left: 10px;
  }

  #Logo {
    width: 40%;
    top: 10px;
    right: 10px;
  }

  h1 { font-size: 22px; }
  h2 { font-size: 17px; }
}